/* ✅ Existing styles remain the same */
body {font-family: 'Segoe UI', sans-serif; background:#f5f5f5; margin:0;}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.extra-menu-bar {
        width: 100%;
        background: #fdbb2d;
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 10px 15px;
        position: relative;   /* ❌ sticky hatao */
        top: unset;
        z-index: 4000;
        flex-wrap: wrap;
    }

    .extra-menu-bar a {
        text-decoration: none;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        padding: 6px 10px;
        border-radius: 6px;
        transition: 0.3s;
        white-space: nowrap;
    }

    .extra-menu-bar a:hover {
        background: #f2f2f2;
        color: #000;
    }

    /* Mobile Responsive */
    @media (max-width: 600px) {
        .extra-menu-bar {
            gap: 10px;
            padding: 8px;
        }
        .extra-menu-bar a {
            font-size: 14px;
            padding: 6px 8px;
        }
    }

/* ✅ CATEGORY CAROUSEL STYLES */
.category-carousel-container {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  position: relative;
}

.category-carousel {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 0 15px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-carousel::-webkit-scrollbar {
  display: none;
}

.category-item {
  flex: 0 0 auto;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 80px;
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-item.active {
  border-bottom: 2px solid #0b9444;
}

.category-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.category-item.active img {
  border-color: #0b9444;
}

.category-item span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  text-align: center;
  color: #333;
  font-weight: 500;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-nav:hover {
  background: white;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.carousel-nav.prev {
  left: 5px;
}

.carousel-nav.next {
  right: 5px;
}

.carousel-nav i {
  color: #333;
  font-size: 16px;
}

/* ✅ PRODUCT CAROUSEL STYLES FOR EACH CATEGORY */
.category-products-section {
  margin: 25px 0;
  padding: 0 15px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.category-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.view-all-btn {
  background: #0b9444;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.view-all-btn:hover {
  background: #087535;
}

.products-carousel {
  position: relative;
  overflow: hidden;
}

.products-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 5px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  width: 160px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 10px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  margin: 5px 0;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: #0b9444;
  margin: 5px 0;
}

.product-shop {
  font-size: 11px;
  color: #666;
  margin: 3px 0;
}

.add-to-cart-btn {
  width: 100%;
  padding: 8px;
  border: none;
  background: #0b9444;
  color: white;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 5px;
}

.add-to-cart-btn:hover {
  background: #087535;
}

.wishlist-icon {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}

.wishlist-icon i {
  color: #888;
  font-size: 16px;
}

.wishlist-icon.active i {
  color: #e63946;
}

.discount-badge {
  position: absolute;
  top: 8px;
  left: 10px;
  background: #ff4444;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
}

.product-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
  transition: all 0.3s ease;
}

.product-carousel-nav:hover {
  background: white;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.product-carousel-nav.prev {
  left: 5px;
}

.product-carousel-nav.next {
  right: 5px;
}

.product-carousel-nav i {
  color: #333;
  font-size: 14px;
}

/* ✅ Hide navigation buttons on mobile */
@media (max-width: 768px) {
  .carousel-nav, .product-carousel-nav {
    display: none;
  }
  
  .category-title {
    font-size: 18px;
  }
  
  .product-card {
    width: 140px;
  }
}


.topbar {
  position: sticky;
  top: 0;
  z-index: 99999;

  width: 100%;
  min-height: 70px;   /* 🔥 VERY IMPORTANT */
  background: linear-gradient(90deg,#52c763,#de8d85,#fdbb2d);

  display: flex;
  align-items: center;

  box-sizing: border-box;
  color: white;
  padding: 10px 20px;
  gap: 10px;
}

/*.topbar {*/
/*  background: linear-gradient(90deg,#52c763,#de8d85,#fdbb2d);*/
/*  will-change: transform;*/
/*  color: white;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: space-between;*/
/*  padding: 10px 20px;*/
/*  position: -webkit-sticky;*/
/*  position: sticky;*/
/*  top: 0;*/
/*  z-index: 99999;*/
/*  gap: 15px;*/
/*  min-height: 60px;*/
/*}*/

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  white-space: nowrap;
}

.logo-img {
  height: 100%;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
}

.search-bar {
  flex: 1;
  max-width: 1000px;
  position: relative;
  margin: 0 auto;
}

.search-bar input {
  width: 100%;
  padding: 8px 40px 8px 15px;
  border-radius: 25px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-bar i {
  position: absolute;
  right: 15px;
  top: 9px;
  color: #555;
}

.top-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.top-icons div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  cursor: pointer;
}

.top-icons i {
  font-size: 18px;
  transition: transform 0.2s;
}
.top-icons i:hover {
  transform: scale(1.2);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: 8px;
  background: #ff3333;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  padding: 2px 5px;
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }
  .logo {
    order: 1;
    justify-content: center;
  }
  .logo-img {
    max-height: 35px;
  }
  .logo-text {
    font-size: 18px;
  }
  .top-icons {
    order: 2;
    justify-content: center;
    margin-top: 5px;
  }
  .search-bar {
    order: 3;
    width: 100%;
    max-width: 90%;
  }
}
.search-suggestions {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
}

.search-suggestions div {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f57236;
}

.search-suggestions div:last-child {
  border-bottom: none;
  color: #f57236;
}

.search-suggestions div:hover {
  background: #c44e1b;
}

.search-suggestions .type {
  font-size: 11px;
  color: #f57236;
  display: block;
}

footer {
    background: linear-gradient(90deg,#0f2027,#203a43,#2c5364);
    color: white;
    padding: 30px 10px;
    text-align: center;
    margin-top: 40px;
}
footer .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}
footer .links a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
footer .links a:hover { color: #fff; }
footer p { margin: 0; font-size: 13px; color: #ccc; }

.notification {background:#203a43;color:white;text-align:center;padding:10px;}
.banner-categories {background:#fff; padding:15px; box-shadow:0 2px 8px rgba(0,0,0,0.1);}
.banner-categories img.banner {width:100%; max-height:180px; object-fit:cover; border-radius:10px; margin-bottom:10px;}

.slider {position: relative; max-width: 100%; margin: 10px auto; overflow: hidden; border-radius: 10px; z-index: 1;}
/*.slides {display: flex; transition: transform 0.5s ease-in-out;}*/
.slides {
  display: flex;
}

.slide-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}



.slide {min-width: 100%;}
/*.slide img {width: 100%; height: 200px; object-fit: cover;}*/
.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/*.dots {text-align: center; margin: 10px 0;}*/
/*.dot {display: inline-block; width: 10px; height: 10px; margin: 0 4px; background-color: #bbb; border-radius: 50%; cursor: pointer;}*/
/*.dot.active {background-color: #333;}*/

.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
}

.dot.active {
  background: #fff;
}





.sub-cat-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #0b9444;
    background: #fff;
    color: #0b9444;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.sub-cat-btn:hover {
    background: #0b9444;
    color: #fff;
}

.sub-cat-btn.active {
    background: #0b9444;
    color: #fff;
}

.vendor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  
  .vendor-info h2 {
    margin: 0;
    font-size: 20px;
    color: #222;
  }
  
  .vendor-rating {
    font-size: 14px;
    color: #f39c12;
    margin-top: 4px;
  }
  
  .back-btn {
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #0b9444;
    color: #fff;
  }
  
  /* Product name link */
.product-card a {
    text-decoration: none;
    color: inherit;
}

/* Product name specifically */
.product-name {
    text-decoration: none;
    color: #222;
}

/* Store / Vendor name */
.product-shop {
    text-decoration: none;
    color: #555;
    font-size: 13px;
}

/* Hover effect (optional – clean UX) */
.product-card a:hover .product-name,
.product-card a:hover .product-shop {
    color: #0b9444; /* same green theme */
}

.banner-slider {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.banner-slider .slides {
    display: flex;
    width: 100%;
    will-change: transform;
}

.banner-slider .slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.banner-slider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile fix */
@media (max-width: 768px) {
  .banner-slider img {
    max-height: 160px;
  }
}


.home-banner {
    width: 100%;
    padding: 0;
    margin: 0;
    /*overflow: hidden;*/
    overflow: visible;
}


  