/* ======================================================================
   TABLE OF CONTENTS
   ----------------------------------------------------------------------
   1.  Reset & CSS Variables
   2.  Global Element Defaults (body, img, a, html)
   3.  Layout Utilities (container, section, titles, description text)
   4.  Shared Buttons (WhatsApp / secondary / add-to-cart / clear)
   5.  Navbar
   6.  Hero Section
   7.  Products Section (grid, cards, badges, weight input)
   8.  Floating Cart Button + Cart Drawer (overlay, items, footer)
   9.  Dev Services Section
   10. About Section
   11. Delivery Section
   12. Contact Section
   13. Footer
   14. Reviews (auto-scrolling testimonials)
   15. Scroll Animations (fade-in)
   16. Review Modal Controls (stars, tags, inputs)
   17. Responsive Media Queries
   ====================================================================== */

/* ======================================================================
   1. RESET & CSS VARIABLES
   ====================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand green scale, light -> dark */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;

  /* Neutral / text colors */
  --soil: #2d2010; /* primary dark text color */
  --cream: #fefdf8; /* page background */
  --white: #ffffff;
  --text-muted: rgba(45, 32, 16, 0.55); /* soil at reduced opacity */

  /* Fonts */
  --font-display: "Playfair Display", Georgia, serif; /* headings */
  --font-body: "DM Sans", system-ui, sans-serif; /* body text */

  /* Card shadows */
  --shadow-card: 0 4px 24px rgba(22, 163, 74, 0.1);
  --shadow-card-hover: 0 12px 40px rgba(22, 163, 74, 0.18);

  /* Shared border radii */
  --radius-card: 20px;
  --radius-pill: 999px;
}

/* ======================================================================
   2. GLOBAL ELEMENT DEFAULTS
   ====================================================================== */
html {
  scroll-behavior: smooth; /* smooth in-page anchor navigation */
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--soil);
  line-height: 1.6;
  overflow-x: hidden; /* prevents horizontal scroll from decorative blobs */
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ======================================================================
   3. LAYOUT UTILITIES
   ====================================================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--soil);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--green-600); /* highlighted word inside a heading */
}

.section-desc {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ======================================================================
   4. SHARED BUTTONS
   ====================================================================== */

/* Primary "WhatsApp green" call-to-action button, reused everywhere */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-500);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  white-space: nowrap;
}
.btn-wa:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.28);
}
.btn-wa:active {
  transform: scale(0.97);
}
.btn-wa svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Secondary (outline / glass) button, used next to a primary btn-wa */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--soil);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green-200);
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* "Add to cart" pill button on product cards */
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-50);
  color: var(--green-700);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--green-200);
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: var(--green-500);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.btn-add-cart.added {
  /* state after the item has been added, shown briefly via JS */
  background: var(--green-600);
  color: #fff;
  border-color: transparent;
}

/* Ghost "clear cart" text button, used inside the cart drawer footer */
.btn-clear {
  width: 100%;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.btn-clear:hover {
  color: #ef4444; /* red hint on hover to signal a destructive action */
}

/* ======================================================================
   TOP DELIVERY BANNER
   ====================================================================== */
#top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110; /* above navbar */
  height: 38px;
  background: linear-gradient(
    90deg,
    var(--green-600),
    var(--green-500),
    var(--green-600)
  );
  background-size: 200% 100%;
  animation: tb-shimmer 6s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.25);
}

@keyframes tb-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.top-banner-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0 1rem;
  text-align: center;
}

.tb-sep {
  opacity: 0.6;
  font-size: 0.7rem;
}

/* Push navbar down below the banner */
#navbar {
  top: 38px;
}

/* Push hero content down to account for banner + navbar */
#hero {
  padding-top: 106px; /* 68px navbar + 38px banner */
}

@media (max-width: 640px) {
  #top-banner {
    height: auto;
    min-height: 34px;
    padding: 0.35rem 0;
  }
  .top-banner-track {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.72rem;
    gap: 0.4rem;
    white-space: normal;
    text-align: center;
  }
  #navbar {
    top: 0; /* let banner scroll away on small screens if you prefer stacking, or keep as below */
  }
}

/* ======================================================================
   5. NAVBAR
   ====================================================================== */
#navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    backdrop-filter 0.4s;
}
#navbar.scrolled {
  /* applied via JS once the user scrolls past the hero */
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(22, 163, 74, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: background 0.2s;
}
.nav-logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-600);
  line-height: 1;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(45, 32, 16, 0.65);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  /* animated underline on hover / active */
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--green-600);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--green-600);
}
.nav-links a.active::after {
  width: 100%;
}

/* Mobile hamburger icon (3 bars -> X animation) */
.hamburger {
  display: none; /* shown only on small screens, see media queries */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.2s;
}
.hamburger:hover {
  background: var(--green-50);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--soil);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--green-100);
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(45, 32, 16, 0.1);
  border-radius: 0 0 16px 16px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(45, 32, 16, 0.75);
  transition:
    background 0.2s,
    color 0.2s;
}
.mobile-menu a:hover {
  background: var(--green-50);
  color: var(--green-600);
}
.mobile-menu .btn-wa {
  margin-top: 0.5rem;
  justify-content: center;
}

/* ======================================================================
   6. HERO SECTION
   ====================================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--green-50) 0%,
    var(--cream) 50%,
    #e7f5ec 100%
  );
  padding-top: 68px; /* offset for fixed navbar height */
}

/* Decorative blurred/soft circles behind hero content */
.hero-blob-1 {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(134, 239, 172, 0.35) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-blob-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Giant faint watermark text behind the hero content */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 22vw;
  font-weight: 700;
  color: rgba(134, 239, 172, 0.18);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr; /* text | visual, stacks on mobile */
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

/* Small "live/status" pill above the hero heading */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green-200);
  margin-bottom: 1.25rem;
}
.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--soil);
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: var(--green-600);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Larger variant of the shared WhatsApp button, used only in the hero */
.btn-wa.hero-cta {
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--green-200);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-600);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Right-hand hero visual: rotating ring + center logo + floating badges */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-circle-wrap {
  position: relative;
  width: 400px;
  height: 400px;
}
.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(134, 239, 172, 0.5);
  animation: spin 30s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-center {
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(22, 163, 74, 0.35);
}
.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 20px;
}
.hero-center span {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.hero-badge {
  position: absolute;
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: float 6s ease-in-out infinite;
}
/* Each badge sits at a different point around the ring, with a staggered
   animation delay so they don't all float in sync */
.hero-badge:nth-child(1) {
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}
.hero-badge:nth-child(2) {
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  animation-delay: 0.7s;
}
.hero-badge:nth-child(3) {
  bottom: 10%;
  right: 12%;
  animation-delay: 1.4s;
}
.hero-badge:nth-child(4) {
  bottom: 10%;
  left: 12%;
  animation-delay: 2.1s;
}
.hero-badge:nth-child(5) {
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
  animation-delay: 2.8s;
}

/* Wave SVG divider at the bottom of the hero, blending into next section */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  fill: var(--white);
}

/* ======================================================================
   7. PRODUCTS SECTION
   ====================================================================== */
#products {
  background: var(--white);
}

.products-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.products-header .section-desc {
  margin: 0 auto; /* center the description under the centered heading */
}

/* Category filter pills above the product grid */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green-100);
  background: var(--green-50);
  color: rgba(45, 32, 16, 0.65);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.filter-btn:hover {
  background: var(--green-100);
  border-color: var(--green-200);
}
.filter-btn.active {
  background: var(--green-500);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Responsive auto-filling product card grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(187, 247, 208, 0.6);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--green-50);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.07); /* subtle zoom-in effect on card hover */
}

/* Badges overlaid on the top-left of a product image */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.badge-bestseller {
  background: rgba(251, 191, 36, 0.9);
  color: #78350f;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.badge-seasonal {
  background: rgba(125, 211, 252, 0.9);
  color: #0c4a6e;
  border: 1px solid rgba(56, 189, 248, 0.4);
}
.badge-sale {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

.card-body {
  padding: 1.1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--soil);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  transition: color 0.2s;
}
.product-card:hover .card-name {
  color: var(--green-700);
}
.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.6rem;
  flex: 1;
  /* clamp description to 2 lines so all cards stay the same height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Weight/quantity input row shown on each product card */
.card-weight-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.card-weight-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.card-weight-input {
  width: 100px;
  padding: 0.3rem 0.5rem;
  border: 1.5px solid var(--green-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--soil);
  background: var(--green-50);
  outline: none;
  transition: border-color 0.2s;
  appearance: auto;
}
.card-weight-input:focus {
  border-color: var(--green-500);
  background: #fff;
}
.card-weight-unit {
  font-size: 0.72rem;
  color: var(--green-600);
  font-weight: 600;
}
.card-weight-price {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.card-price {
  font-weight: 600;
  color: var(--green-600);
  font-size: 0.95rem;
}
.old-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.8rem;
  margin-right: 0.4rem;
}
.new-price {
  color: var(--green-600);
  font-weight: 700;
}

.products-note {
  text-align: center;
  margin-top: 2.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.products-note a {
  color: var(--green-600);
  font-weight: 500;
}
.products-note a:hover {
  text-decoration: underline;
}

/* Out-of-stock overlay state for a product card */
.product-card.out-of-stock {
  opacity: 0.55;
  filter: grayscale(0.4);
  pointer-events: none;
  position: relative;
}
.product-card.out-of-stock::after {
  content: "Out of Stock";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ======================================================================
   8. FLOATING CART BUTTON + CART DRAWER
   ====================================================================== */

/* Floating "view cart" button, fixed to the bottom-right of the viewport */
#cart-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  background: var(--green-600);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.4);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.2s;
}
#cart-fab:hover {
  background: var(--green-700);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.45);
}
#cart-fab .fab-count {
  background: #fff;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
#cart-fab.bump .fab-count {
  /* "bump" class toggled via JS each time an item is added, to give
     a quick pop animation on the item-count badge */
  animation: bump 0.35s ease;
}
@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
#cart-fab.hidden {
  /* used when the cart is empty, so the FAB doesn't show with 0 items */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Dark backdrop shown behind the cart drawer */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 32, 16, 0.4);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-in cart drawer panel */
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: #fff;
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 48px rgba(45, 32, 16, 0.15);
}
#cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--green-100);
  flex-shrink: 0;
}
.cart-header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--soil);
}
.cart-header h2 span {
  /* small item-count text next to the "Cart" heading */
  font-size: 0.85rem;
  color: var(--green-600);
  font-family: var(--font-body);
  font-weight: 500;
  margin-left: 0.4rem;
}
.cart-close {
  background: var(--green-50);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s;
}
.cart-close:hover {
  background: var(--green-100);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Empty-state placeholder shown inside the cart body when there are
   no items yet */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.cart-empty .empty-icon {
  font-size: 3.5rem;
}
.cart-empty p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* A single line item row inside the cart */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--green-50);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--green-100);
  transition: background 0.2s;
}
.ci-info {
  flex: 1;
  min-width: 0; /* allows text-overflow ellipsis to work in a flex child */
}
.ci-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--soil);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ci-weight-line {
  /* shows the selected weight and unit price below the item name */
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.ci-price {
  font-size: 0.78rem;
  color: var(--green-600);
  font-weight: 500;
  margin-top: 0.1rem;
}
.ci-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--green-300);
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  line-height: 1;
}
.qty-btn:hover {
  background: var(--green-500);
  color: #fff;
  border-color: transparent;
}
.qty-val {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--soil);
  min-width: 20px;
  text-align: center;
}
.ci-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.4;
  transition: opacity 0.2s;
  flex-shrink: 0;
  padding: 0.25rem;
}
.ci-remove:hover {
  opacity: 1;
}

/* Cart drawer footer: notes, address, payment method, totals, actions */
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--green-100);
  flex-shrink: 0;
  background: #fff;
}
.cart-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.cart-details-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
}
#cart-details-toggle {
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-radius: 8px;
  padding: 0.22rem 0.6rem;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-700);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
#cart-details-chevron {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.cart-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: #b91c1c;
  margin-bottom: 0.85rem;
}
.cart-info-box.field-error {
  border-color: #fca5a5;
}

/* Shared style for all cart info boxes (order note, address, payment) */
.cart-info-box {
  background: var(--green-50);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--green-100);
}
.cart-info-box label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  display: block;
  margin-bottom: 0.4rem;
}
.cart-info-box textarea,
.cart-info-box input[type="text"] {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--soil);
  resize: none;
  outline: none;
  line-height: 1.5;
}
.cart-info-box input[type="text"]::placeholder,
.cart-info-box textarea::placeholder {
  color: var(--text-muted);
}

/* Payment method toggle buttons (e.g. Cash / Card) */
.payment-options {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.35rem;
}
.payment-btn {
  flex: 1;
  padding: 0.55rem;
  border-radius: 10px;
  border: 1.5px solid var(--green-200);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.payment-btn.selected {
  background: var(--green-500);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cart-summary .total-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cart-summary .total-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-700);
}
.cart-summary .total-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
}

/* Main checkout button inside the cart drawer (sends order via WhatsApp) */
.btn-wa-order {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.95rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}
.btn-wa-order:hover {
  border-radius: 14px;
}

/* ======================================================================
   9. DEV SERVICES SECTION
   ====================================================================== */
.dev-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.dev-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--green-100);
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.dev-card::before {
  /* diagonal light-sweep highlight shown on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(34, 197, 94, 0.08),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.dev-card:hover::before {
  opacity: 1;
}
.dev-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green-300);
}
.dev-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.dev-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.dev-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.dev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.dev-tags span {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-700);
}

/* ======================================================================
   10. ABOUT SECTION
   ====================================================================== */
#about {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-box {
  border-radius: 24px;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-300), var(--green-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  gap: 0.5rem;
}
.about-img-box .emoji {
  font-size: 5rem;
}
.about-img-box p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.about-img-box small {
  opacity: 0.65;
  font-size: 0.85rem;
}

/* Small floating stat card overlapping the bottom-right of the image */
.about-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--green-100);
}
.about-float .f-icon {
  width: 44px;
  height: 44px;
  background: var(--green-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.about-float .f-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--soil);
}
.about-float .f-text small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* 2x2 grid of small feature/benefit cards under the about text */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: var(--green-300);
}
.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--soil);
  margin-bottom: 0.2rem;
}
.feature-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ======================================================================
   11. DELIVERY SECTION
   ====================================================================== */
#delivery {
  background: var(--green-700);
  position: relative;
  overflow: hidden;
}

/* Decorative blurred glow blobs on the dark green background */
.delivery-blob1 {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  filter: blur(60px);
  pointer-events: none;
}
.delivery-blob2 {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.4);
  filter: blur(60px);
  pointer-events: none;
}

/* Giant faint watermark text, same idea as .hero-bg-text but for a dark bg */
.delivery-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 15vw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

#delivery .container {
  position: relative;
  z-index: 1; /* keeps content above the decorative blobs/watermark */
}

.delivery-header {
  text-align: center;
  margin-bottom: 2.75rem;
}
.delivery-header .section-label {
  color: rgba(255, 255, 255, 0.55);
}
.delivery-header .section-title {
  color: #fff;
}
.delivery-header .section-desc {
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
}

/* Row of delivery-area chips (e.g. neighborhood names) */
.areas-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  cursor: default;
  transition:
    background 0.2s,
    transform 0.2s;
}
.area-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}
.area-chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86efac;
  animation: pulse 2s infinite; /* reuses the @keyframes pulse from hero */
}

/* Glassy notice card, e.g. for areas outside the delivery zone */
.delivery-notice {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}
.delivery-notice .notice-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}
.delivery-notice h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
}
.delivery-notice p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Inverted (white) WhatsApp button variant, used on the dark green bg */
.btn-wa.notice-btn {
  background: #fff;
  color: var(--green-600);
}
.btn-wa.notice-btn:hover {
  background: var(--green-50);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ======================================================================
   12. CONTACT SECTION
   ====================================================================== */
#contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Numbered "how it works" steps list */
.contact-steps {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-wa.contact-cta {
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  margin: 1.5rem 0;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

/* Grid of small info cards (phone / hours / location / etc.) */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.info-card {
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 18px;
  padding: 1.25rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.info-card:hover {
  border-color: var(--green-300);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
}
.info-card .ic-icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}
.info-card .ic-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.info-card .ic-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--soil);
}
.info-card a {
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-block;
}
.info-card a:hover {
  text-decoration: underline;
}

/* ======================================================================
   13. FOOTER
   ====================================================================== */
footer {
  background: var(--soil);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* brand column is wider */
  gap: 3rem;
  padding: 4rem 0 2rem;
}

.footer-brand .f-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-brand .f-logo .f-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.footer-brand .f-logo .brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
  text-transform: capitalize;
}
.footer-col ul li a:hover {
  color: var(--green-400);
}
.footer-col ul li.area-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col ul li.area-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-400);
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ======================================================================
   14. REVIEWS (auto-scrolling testimonials)
   ====================================================================== */

/* Outer wrapper clips the scrolling track and fades its left/right edges */
.reviews-track-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.reviews-track-outer::before,
.reviews-track-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.reviews-track-outer::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.reviews-track-outer::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

/* Horizontally auto-scrolling track of review cards (infinite loop via a
   duplicated set of cards + a -50% translateX keyframe) */
.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviews-scroll 38s linear infinite;
  padding: 0.5rem 0 1.5rem;
  cursor: grab;
  user-select: none;
}
.reviews-track:hover {
  animation-play-state: paused;
}
.reviews-track.dragging {
  /* toggled via JS while the user manually drags the track */
  animation-play-state: paused;
  cursor: grabbing;
}
@keyframes reviews-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  width: 300px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(187, 247, 208, 0.7);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.4rem 1.2rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  cursor: default;
}
.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Avatar circle color variants, assigned per reviewer */
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.av-green {
  background: #dcfce7;
  color: #15803d;
}
.av-amber {
  background: #fef3c7;
  color: #92400e;
}
.av-blue {
  background: #dbeafe;
  color: #1e40af;
}
.av-rose {
  background: #ffe4e6;
  color: #9f1239;
}
.av-purple {
  background: #ede9fe;
  color: #5b21b6;
}
.av-teal {
  background: #ccfbf1;
  color: #0f766e;
}

.review-quote {
  /* large decorative opening quotation mark */
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.4;
  color: #bbf7d0;
  float: left;
  margin-right: 5px;
  margin-top: 6px;
}
.review-text {
  font-size: 0.845rem;
  color: rgba(45, 32, 16, 0.72);
  line-height: 1.65;
}
.review-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* gap between separate tag pills */
}

.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green-600);
  width: fit-content;
  white-space: nowrap;
}

.review-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
}

/* ======================================================================
   15. SCROLL ANIMATIONS
   ====================================================================== */

/* Generic "fade + slide up" reveal, toggled via an IntersectionObserver
   (JS adds the .visible class once an element scrolls into view) */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ======================================================================
   16. REVIEW MODAL CONTROLS (leave-a-review form)
   ====================================================================== */

.rv-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-700);
  display: block;
  margin-bottom: 0.4rem;
}

/* Shared text input / textarea style used inside the review modal */
.rv-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--green-200);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--soil);
  background: var(--green-50);
  outline: none;
  display: block;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.rv-input:focus {
  border-color: var(--green-500) !important;
  background: #fff !important;
}

/* Modal close button hover state */
#rv-close:hover {
  background: var(--green-100) !important;
}

/* Star-rating buttons */
.rv-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  transition: transform 0.15s;
}
.rv-star-btn:hover {
  transform: scale(1.28);
}
.rv-star-btn svg {
  width: 32px;
  height: 32px;
  display: block;
  transition: fill 0.15s;
}

/* Selectable tag pills (e.g. "Great service", "Fast delivery") */
.rv-tag-btn {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--green-200);
  background: var(--green-50);
  color: rgba(45, 32, 16, 0.65);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.rv-tag-btn:hover {
  background: var(--green-100);
  border-color: var(--green-300);
}
.rv-tag-btn.rv-active {
  background: var(--green-500);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

/* ======================================================================
   17. RESPONSIVE MEDIA QUERIES
   (ordered widest -> narrowest breakpoint)
   ====================================================================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .coming-soon-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 640px) {
  #navbar {
    top: 54px;
  }
  #hero {
    padding-top: 122px;
  }

  .section {
    padding: 3.5rem 0;
  }
  .nav-links,
  #navbar .btn-wa {
    display: none; /* replaced by the hamburger + mobile menu */
  }
  .hamburger {
    display: flex;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  #cart-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem 1.1rem;
    font-size: 0.85rem;
  }
}

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