:root {
  --olive: #7B8350;
  --muted: #8b8b8b;
  --text: #222;
  --bg: #fff;
  --card: #ffffff;
  --maxw: 1200px;
  --gap: 28px;
  --footer-padding: 30px;
  /* Added this as it was used in index footer */
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
  position: fixed;
  /* Always stays at top */
  top: 0;
  left: 0;
  width: 100%;
  background: #7b8350;
  /* Change color if needed */
  color: #fff;
  overflow: hidden;
  height: 30px;
  display: flex;
  align-items: center;
  z-index: 9999;
  font-size: 15px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
}

/* Wrapper for scrolling */
.scroll-wrapper {
  display: flex;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

/* Text styling */
.scroll-text {
  white-space: nowrap;
  padding-right: 50px;
  /* space between repeated text */
}

/* Marquee Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Push whole website content down so it doesn't hide behind bar */

/*Slider*/
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  background: #fff;

}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out, transform 6s ease-in-out;
}

/* Active slide */
.hero-slide.active {
  opacity: 1;
  transform: scale(1.08);
  z-index: 1;
}

/*shop by category*/

/* ===== SECTION ===== */
.shop-category {
  padding: 40px 0 60px 0;
  /* reduce top padding */
  text-align: center;
}

/* Center Container */
.container {
  width: 97%;
  max-width: 1800px;
  margin: 0 auto;
}

/* Title */
.section-title {
  font-size: 45px;
  font-weight: 600;
  font-family: Poppins, sans-serif;
  color: #222;
}

/* Decorative Line */

/* ===== GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 5%;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .category-card h3 {
    font-size: 14px;
    margin-top: 10px;
  }
}

/* ===== CARD ===== */
.category-card {
  cursor: pointer;
  transition: none;
  width: 100%;
}


/* Image Wrapper */
.image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* perfect square */
  overflow: hidden;
  border-radius: 0px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-wrapper:hover img {
  transform: scale(1.08);
}


/* Category Title */
.category-card h3 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 500;
  font-family: Poppins, sans-serif;
  color: #333;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .image-wrapper img {
    height: 300px;
  }
}


/*Two side by side images*/
.two-banner-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  margin-top: 5%;
}

.banner-box {
  width: 48%;
  overflow: hidden;
  /* important for clean zoom */

}

.banner-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  /* smooth animation */
}

/* ZOOM ON HOVER */
.banner-box img:hover {
  transform: scale(1.08);
  /* zoom level */
}

/*icon box*/

.icon-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  /* Spacious horizontal spread like the screenshot */
  padding: 40px 0;
  flex-wrap: wrap;
  margin-top: 5%;
}

.icon-box {
  text-align: center;
  width: 150px;
  /* controls text width */
}

/* 👇 MAIN CIRCLE CONTROL */
.icon-box img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid #5e6837;
  /* Thin green border */
  padding: 10px;
  background: #fff;
  object-fit: contain;
  /* Prevents inside images from cropping against the circular border */
}

.icon-img {
  width: 90px;
  height: 90px;
  margin: auto;
  border: 2px solid #e6e6e6;
  border-radius: 50%;
  overflow: hidden;
  transition: border 0.4s ease;
}

/* Image default zoomed-in slightly */
.icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  /* start zoomed */
  transition: transform 0.6s ease;
}

/* HOVER EFFECT */
.icon-box:hover .icon-img img {
  transform: scale(1);
  /* zoom OUT smoothly */
}

.icon-box:hover .icon-img {
  border: 2px solid transparent;
  /* border disappears */
}

/* Text styling */
.icon-box p {
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  /* Scaled down slightly to match delicate proportions */
  color: #444;
  /* Dark grey */
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

.icon-box p strong {
  display: block;
  /* puts second word on new line */
  margin-top: 2px;
}

/*farm support*/
.farm-support {
  text-align: center;
  padding: 40px 0;
  margin-top: 10px;
  max-width: 1300px;
  margin: 0 auto;
}

.farm-support h2 {
  font-size: 37px;
  font-weight: 600;
  margin-bottom: 50px;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

/* Image row */
.farm-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  overflow-x: hidden;
  padding: 10px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.farm-image-card {
  width: 200px;
  height: 300px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.farm-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* ZOOM EFFECT ON HOVER */
.farm-image-card:hover img {
  transform: scale(1.08);
}

.review-section {
  width: 100%;
  background: #fff;
  padding: 50px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin-top: 3;
}

.title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.google-rating {
  margin-bottom: 30px;
}

.google-logo {
  width: 80px;
  margin-top: 10px;
}


.review-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: #fff;
  width: 280px;
  min-height: 210px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  text-align: left;
  flex-shrink: 0;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.circle {
  background: #7b8350;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.stars {
  font-size: 18px;
  color: #ffb400;
  margin: 10px 0;
}

.see-more {
  margin-top: 30px;
  padding: 10px 20px;
  background: #7b8350;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

/*review component*/
.review-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* RIGHT SIDE CONTAINER */
.reviews-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Moving slider */
.review-slider {
  overflow: hidden;
  width: 100%;
}

.review-track {
  display: flex;
  gap: 20px;
  animation: scrollLeft 40s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* VIEW ALL BUTTON aligned right */
.view-all-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.view-all-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #dadce0;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.view-all-btn:hover {
  background: #f1f3f4;
}

.g-icon {
  width: 18px;
}

.divider img {
  width: 200px;
  height: auto;
  display: inline;
  margin: 0 auto 100px;
}

.section-title .divider {
  width: 200px;
  height: auto;
  display: block;
  margin: 8px auto 0 auto;
  /* small space above, none below */
}

.best-sellers .divider {
  width: 200px;
  height: auto;
  display: block;
  margin: 8px auto 0 auto;
  /* small space above, none below */
}

.farm-support .divider {
  width: 200px;
  height: auto;
  display: block;
  margin: 8px auto 0 auto;
  /* small space above, none below */
}

/* VIEW MORE BUTTON */
/* VIEW MORE */
.view-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.view-more-btn {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* SVG circle */
.arrow-circle {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG styling */
.down-icon {
  width: 42px;
  height: 42px;
  stroke: #222;
  stroke-width: 1.6;
  fill: none;
  transition: 0.3s;
}

/* hover effect like website */
.view-more-btn:hover .down-icon {
  stroke: #6b7742;
  transform: translateY(4px);
}

html,
body,
app-root {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

app-root {
  display: block;
}

.about-section {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  /* ⭐ makes both columns same height */
  gap: 60px;
  font-family: 'Poppins', sans-serif;
}

/* LEFT + RIGHT take equal width */
.about-left,
.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* LEFT SIDE */
.about-left h2 {
  font-size: 42px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

.about-left h1 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin-bottom: 25px;
}

.about-left p {
  color: #333;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* RIGHT SIDE */
.about-right h3 {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
  max-width: 380px;
}

/* Grid like screenshot */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 30px;
}

/* Pill buttons */
.value-pill {
  background: #7B8350;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.value-pill:hover {
  background: #5d643b;
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 950px) {
  .about-section {
    flex-direction: column;
    text-align: left;
  }

  .about-right h3 {
    margin-top: 40px;
  }
}

.best-sellers {
  text-align: center;
  padding: 20px 15px;
}

.best-sellers h2 {
  font-size: 45px;
  font-weight: 600;
  margin-top: 2%;
  font-family: Poppins, sans-serif;
  color: #222;
}

/* Product container */
.products-wrapper {
  margin-top: 5%;
  width: 100%;
  margin-bottom: 5%;
}

.products {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  /* ✅ THIS IS THE FIX */
  justify-content: center;
}

.product-card {
  width: 220px;
  text-align: center;
  border-radius: 0;
  /* ⭐ make card square */
}

.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
}

.img-box {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.img-box img {
  width: 1500%;
  height: 150%;
  object-fit: cover;
  transition: 0.4s ease;
}

/* Hover zoom effect (same as website) */
.img-box:hover img {
  transform: scale(1.08);
}

/* Offer tag */
.offer-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #719c52;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
}

/* Ratings */
.rating {
  font-size: 14px;
  margin-top: 10px;
}

.rating span {
  color: #555;
}

/* Price */
:host ::ng-deep .product-card .price {
  font-size: 18px;
  font-weight: 700;
  color: #7B8350;
  margin: 8px 0 14px;
}

/* Add to cart button (same as screenshot) */
.add-cart {
  background: #c27108;
  color: #fff;
  padding: 10px 0;
  width: 95%;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.add-cart:hover {
  background: #7B8350;
  color: #FFF;
  text-decoration: underline;
}

.img-box {
  width: 100%;
  height: 260px;
  /* controls image box height */
  overflow: hidden;
  border-radius: 12px;
  background: #f4f4f4;
  /* fallback bg */
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 🔥 makes image fit perfectly */
}


.page-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}

/* DOTS FIX */

.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  /* keeps dots always above slides */
}

.dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.9;
}

.dot.active {
  opacity: 1;
  background: #7B8350;
}

body {
  margin: 0;
  padding-top: 140px;
  /* space for fixed navbar */
  font-family: Poppins, sans-serif;
}

/* ===== Announcement Bar ===== */
.announcement-bar {
  position: fixed;
  /* Always stays at top */
  top: 0;
  left: 0;
  width: 100%;
  background: #7b8350;
  /* Change color if needed */
  color: #fff;
  overflow: hidden;
  height: 30px;
  display: flex;
  align-items: center;
  z-index: 9999;
  font-size: 15px;
  font-weight: 400;
  font-family: Poppins, sans-serif;
}

/* Wrapper for scrolling */
.scroll-wrapper {
  display: flex;
  width: max-content;
  animation: scroll-left 25s linear infinite;
}

/* Text styling */
.scroll-text {
  white-space: nowrap;
  padding-right: 50px;
  /* space between repeated text */
}

/* Marquee Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 30px;
  /* announcement bar space */
  left: 0;
  width: 100%;
  height: 110px;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(18px, 4vw, 40px);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 999;
  font-family: Poppins, sans-serif;

  overflow: visible;
  /* ⭐ ADD THIS */
}

/* ================= LOGO ================= */
.logo {
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 100%;
  max-height: 92px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ================= NAV LINKS ================= */
nav {
  display: flex;
  gap: clamp(18px, 3vw, 35px);
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: 0.3s;
}

nav a:hover {
  color: #7b8350;
}

/* ================= RIGHT ICONS ================= */
.icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.icon-btn {
  font-size: 18px;
  color: #000;
  transition: 0.3s;
}

.icon-btn:hover {
  color: #7b8350;
}

/* ================= MEGA DROPDOWN ================= */

.dropdown {
  position: relative;
}

/* create invisible hover bridge */
.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 25px;
  /* invisible bridge */
}

.mega-menu {
  position: absolute;
  top: 200%;
  left: -20px;
  width: 300px;
  background: #fff;
  display: flex;
  gap: 30px;
  padding: 10px 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  transform: translateY(10px);
}

/* show on hover */
.dropdown:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* columns */
.mega-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 5%;
}

.mega-column h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.mega-column a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.mega-column a:hover {
  color: #7b8350;
  text-decoration: underline;
}

/*our store*/
/* OUR STORE DROPDOWN */
.dropdown-store {
  position: relative;
}

.store-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 260px;
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-radius: 6px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

/* show dropdown */
.dropdown-store:hover .store-menu,
.store-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.store-menu a {
  display: block;
  padding: 5px 20px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

/* ⭐ UPDATED HOVER (grey removed) */
.store-menu a:hover {
  background: transparent;
  /* removed grey background */
  color: #7b8350;
  text-decoration: underline;
}

.user-email {
  margin-right: 15px;
  font-weight: 500;
  color: #333;
}

/* ALL CATEGORIES PAGE */

.all-cat {
  text-align: center;
}

/* Title */
.all-cat .title {
  text-align: center;
}

/* divider image */
.all-cat .divider {
  display: block;
  margin: 10px auto 40px auto;
}

/* category card */
.category-card {
  text-decoration: none;
  /* remove blue underline */
}

/* category name */
.category-card h3 {
  text-align: center;
  color: #333;
  margin-top: 15px;
}

/* ensure image block is centered */
.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* styles for shop */
/* ===== PAGE LAYOUT ===== */
.shop-page {
  display: flex;
  margin-top: 0px;
  font-family: Poppins;
}

/* ===== LEFT SIDEBAR ===== */
.filter-sidebar {
  width: 260px;
  padding: 40px 30px;
  border-right: 1px solid #e5e5e5;
  /* ⭐ RIGHT SIDE LINE */
  min-height: 600px;
}

/* Title */
.filter-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Category items */
.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  cursor: pointer;
  color: #333;
}

.filter-item input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-item:hover {
  color: #7b8350;
}

/* ===== RIGHT SIDE (products area placeholder) ===== */
.products-section {
  flex: 1;
  padding: 40px;
}

.filter-item input {
  width: 16px;
  height: 16px;
  cursor: pointer;

  accent-color: #000;
  /* ⭐ makes checkbox BLACK */
}

.products-section {
  padding: 40px 60px;
  margin-top: 0px;
  font-family: Poppins;
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* PRODUCT CARD */
.product-card {
  text-align: center;
  transition: 0.3s;
}

/* IMAGE SLIDER */
.image-slider {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
  transition: transform 0.5s ease;
}

/* ZOOM EFFECT */
.image-slider:hover .product-img {
  transform: scale(1.08);
}

/* NAME */
.product-name {
  font-size: 16px;
  font-weight: 600;
  margin: 15px 0 8px;
}

/* PRICE */
/* PRICE SECTION WRAPPER */
.price-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 16px;
  font-family: Poppins;
}

/* SELLING PRICE (MAIN PRICE) */
.sale-price {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.3px;
}

/* MRP (CUT PRICE) */
.mrp {
  font-size: 14px;
  color: #9e9e9e;
  text-decoration: line-through;
}

/* DISCOUNT BADGE */
.discount {
  font-size: 14px;
  font-weight: 600;
  color: #5c8c3a;
  /* herbal green */
  text-transform: lowercase;
}

/* BUTTON */
.add-cart {
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.add-cart:hover {
  background: #333;
}

/* NO PRODUCT */
.no-product {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-top: 80px;
}

.filter-item {
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
  color: #333;
}

.filter-item:hover {
  background: #f2f2f2;
}

/* ACTIVE CATEGORY */
.filter-item.active {
  background: #000;
  color: #fff;
}

/* DOTS CONTAINER */
.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

/* DOT STYLE */
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: 0.3s;
}

/* ACTIVE DOT */
.dot.active {
  background: #000;
  width: 18px;
  border-radius: 10px;
}

/* CART COUNT BADGE */
#cartCount {
  background: #7b8350;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 4px;
  position: relative;
  top: -8px;
}

/* OVERLAY */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);
  display: none;
  z-index: 998;
}

/* SIDEBAR */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 420px;
  height: 100%;
  background: white;
  z-index: 999;
  padding: 25px;
  overflow-y: auto;
  transition: right 0.4s ease;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
}

/* SHOW SIDEBAR */
.cart-sidebar.open {
  right: 0;
}

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* ================= RESPONSIVE STYLES ================= */

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  body {
    padding-top: 120px;
  }

  .announcement-bar {
    height: 30px;
    font-size: 13px;
  }

  .navbar {
    padding: 10px 20px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 72px;
    max-height: 72px;
  }

  .menu-toggle {
    display: block;
    order: 1;
    font-size: 20px;
  }

  .icons {
    order: 3;
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .icon-btn {
    font-size: 18px;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(84vw, 340px);
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 28px;
    gap: 0;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
  }

  nav.active {
    left: 0;
  }

  /* Side Menu Header */
  .nav-mobile-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
  }

  .nav-mobile-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
  }

  .close-menu {
    font-size: 20px;
    cursor: pointer;
  }

  /* Nav Links in mobile drawer */
  nav a {
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #f9f9f9;
    font-size: 15px;
    font-weight: 500;
    justify-content: space-between;
  }

  .dropdown-store {
    width: 100%;
  }

  .dropdown-store > a {
    cursor: pointer;
  }

  .dropdown-store > a i {
    transition: transform 0.25s ease;
  }

  .dropdown-store.active > a i {
    transform: rotate(180deg);
  }

  .store-menu {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f8f8f4;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
  }

  .dropdown-store.active .store-menu {
    max-height: 60vh;
    overflow-y: auto;
  }

  .store-menu a {
    padding: 12px 28px;
    font-size: 14px;
    border-bottom: 1px solid #ededdf;
  }

  .cart-sidebar {
    width: min(92vw, 420px);
    padding: 20px;
  }

  /* About section mobile */
  .about-section {
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .about-left h2, .about-left h1 {
    font-size: 28px;
    text-align: center;
  }

  .about-left p {
    font-size: 15px;
  }

  .values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 108px;
  }

  .announcement-bar {
    height: 28px;
    font-size: 12px;
  }

  .navbar {
    top: 28px;
    height: 80px;
    padding: 8px 14px;
  }

  .logo img {
    height: 62px;
    max-height: 62px;
  }

  .menu-toggle {
    font-size: 20px;
  }

  .icons {
    gap: 10px;
  }

  .icon-btn {
    font-size: 17px;
  }

  #cartCount {
    font-size: 10px;
    padding: 1px 5px;
    top: -7px;
  }

  nav {
    width: min(88vw, 320px);
  }

  .cart-sidebar {
    width: 100vw;
    padding: 18px;
  }

  .icon-box {
    width: 100%;
  }

  .product-card {
    width: 100%;
    max-width: 280px;
  }
  
  .bs-carousel-container {
    padding: 0 10px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* ================= HOMEPAGE RESPONSIVE ================= */
.hero-slide {
  background-position: center center;
}

@media (max-width: 1200px) {
  .hero-slider {
    height: 68vh;
    min-height: 520px;
  }

  .about-section {
    max-width: 1000px;
    padding: 0 28px;
    gap: 36px;
  }

  .bs-carousel-container {
    max-width: 100%;
  }

  .bs-track-wrapper {
    max-width: calc(100vw - 120px) !important;
  }
}

@media (max-width: 1024px) {
  .hero-slider {
    height: 58vh;
    min-height: 460px;
  }

  .hero-slide {
    background-size: cover;
  }

  .shop-category,
  .best-sellers,
  .farm-support,
  .review-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-title,
  .best-sellers h2,
  .farm-support h2,
  .review-container .title {
    font-size: 34px !important;
    line-height: 1.25;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .image-wrapper img {
    height: 100%;
  }

  .about-section {
    margin: 34px auto;
    padding: 0 24px;
  }

  .about-left h2,
  .about-left h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .about-left p {
    font-size: 16px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-pill {
    white-space: normal;
  }

  .bs-track-wrapper {
    max-width: calc(100vw - 88px) !important;
  }

  .bs-track .product-card {
    width: 210px !important;
    flex: 0 0 210px !important;
  }

  .bs-track .image-slider,
  .bs-track .product-img {
    height: 210px !important;
  }

  .two-banner-section {
    padding: 18px;
    gap: 16px;
  }

  .icon-section {
    gap: 26px;
    padding: 34px 18px;
  }

  .farm-images {
    justify-content: flex-start;
    padding: 10px 4px 14px;
    scroll-snap-type: x mandatory;
  }

  .farm-image-card {
    width: 190px;
    height: 280px;
    scroll-snap-align: start;
  }

  .review-container {
    padding: 34px 0 !important;
  }

  .carousel-container {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 7;
  }

  .hero-slide {
    background-position: center center;
    background-size: 100% auto;
    background-color: #f7f3e8;
  }

  .shop-category {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .container {
    width: 100%;
    padding: 0 16px;
  }

  .section-title,
  .best-sellers h2,
  .farm-support h2,
  .review-container .title {
    font-size: 28px !important;
  }

  .section-title .divider,
  .best-sellers .divider,
  .farm-support .divider,
  .review-container .divider {
    width: 140px !important;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }

  .category-card h3 {
    font-size: 14px;
  }

  .about-section {
    text-align: left;
    margin: 28px auto;
    padding: 0 18px;
  }

  .about-left h2,
  .about-left h1 {
    font-size: 28px !important;
    text-align: left !important;
  }

  .about-right h3 {
    max-width: none;
    margin: 20px 0;
    font-size: 19px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .bs-carousel-container {
    gap: 10px !important;
    padding: 0 10px !important;
  }

  .best-sellers .bs-track {
    gap: 0 !important;
  }

  .bs-track-wrapper {
    flex: 0 0 min(calc(100vw - 128px), 320px);
    max-width: min(calc(100vw - 128px), 320px) !important;
    overflow: hidden !important;
  }

  .bs-track .product-card {
    width: min(calc(100vw - 128px), 320px) !important;
    max-width: none !important;
    flex: 0 0 min(calc(100vw - 128px), 320px) !important;
  }

  .bs-track .image-slider,
  .bs-track .product-img {
    height: min(calc(100vw - 128px), 320px) !important;
  }

  .bs-nav {
    display: flex !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    font-size: 18px !important;
  }

  .two-banner-section {
    flex-direction: column;
    padding: 16px;
    margin-top: 28px;
  }

  .banner-box {
    width: 100%;
  }

  .icon-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .icon-box {
    width: 100%;
  }

  .icon-box img {
    width: 92px;
    height: 92px;
  }

  .icon-box p {
    font-size: 13px;
  }

  .farm-support {
    padding-top: 28px;
  }

  .farm-image-card {
    width: 170px;
    height: 250px;
  }

  .review-main-content {
    gap: 20px !important;
  }

  .carousel-nav {
    display: none;
  }

  .google-review-card {
    width: min(84vw, 320px) !important;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .dots {
    bottom: 14px;
    gap: 7px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .about-left p {
    font-size: 14px;
    line-height: 1.65;
  }

  .value-pill {
    font-size: 14px;
    padding: 10px 14px;
  }

  .best-sellers {
    padding-left: 10px;
    padding-right: 10px;
  }

  .bs-track .product-card {
    width: calc(100vw - 128px) !important;
    max-width: none !important;
    flex-basis: calc(100vw - 128px) !important;
  }

  .bs-track-wrapper {
    flex-basis: calc(100vw - 128px);
    max-width: calc(100vw - 128px) !important;
  }

  .bs-track .image-slider,
  .bs-track .product-img {
    height: calc(100vw - 128px) !important;
    max-height: 300px;
  }

  .icon-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .farm-image-card {
    width: 150px;
    height: 220px;
  }

  .review-container {
    padding: 28px 0 !important;
  }

  .review-header-flex {
    margin-bottom: 14px !important;
  }

  .overall-rating {
    width: 100% !important;
  }

  .google-review-card {
    width: calc(100vw - 52px) !important;
    padding: 16px !important;
  }
}

/* CART ITEM */
.cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

/* IMAGE */
.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

/* QTY BOX */
.qty-box-cart {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  align-items: center;
}

/* QTY BUTTON */
.qty-box-cart button {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  border-radius: 4px;
}

/* CHECKOUT BUTTON */
.checkout-btn {
  width: 100%;
  background: black;
  color: white;
  padding: 14px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
}
