/* ==========================================================================
   GREEN AGRO EXIM — Design System
   Natural · Organic · Premium · Export Quality
   ========================================================================== */

:root {
  /* Brand */
  --gae-green-900: #14331d;
  --gae-green-800: #1e4d2b;
  --gae-green-700: #2f6b3a;
  --gae-green-600: #3d8449;
  --gae-green-500: #519a5c;
  --gae-green-100: #e4efe4;
  --gae-green-050: #f2f8f1;

  --gae-gold-700: #a86f1c;
  --gae-gold-600: #c8892a;
  --gae-gold-500: #e0a33e;
  --gae-gold-100: #fbf0da;

  --gae-clay: #b4552f;
  --gae-cream: #fbf8f1;
  --gae-sand: #f4ede0;

  --gae-ink: #1f241d;
  --gae-body: #4a5147;
  --gae-muted: #7d867a;
  --gae-line: #e6e2d7;

  --gae-danger: #c0392b;
  --gae-success: #2f7d43;
  --gae-warning: #d68910;

  /* Type */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(31, 36, 29, .05), 0 2px 8px rgba(31, 36, 29, .04);
  --shadow: 0 4px 12px rgba(31, 36, 29, .07), 0 12px 32px rgba(31, 36, 29, .06);
  --shadow-lg: 0 18px 48px rgba(20, 51, 29, .14);
  --ease: cubic-bezier(.2, .7, .3, 1);

  --header-h: 76px;
}

/* ---------- Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gae-body);
  background: var(--gae-cream);
  font-size: .96rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  color: var(--gae-ink);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.18;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

a { color: var(--gae-green-700); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--gae-gold-600); }

::selection { background: var(--gae-green-100); color: var(--gae-green-900); }

.text-muted-2 { color: var(--gae-muted) !important; }
.text-green { color: var(--gae-green-700) !important; }
.text-gold { color: var(--gae-gold-600) !important; }
.bg-cream { background: var(--gae-cream) !important; }
.bg-sand { background: var(--gae-sand) !important; }
.bg-green-soft { background: var(--gae-green-050) !important; }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gae-gold-700);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1.5px;
  background: var(--gae-gold-500);
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3.25rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  font-size: .9rem;
  border-radius: 999px;
  padding: .7rem 1.5rem;
  transition: all .2s var(--ease);
  border-width: 1.5px;
}
.btn:active { transform: translateY(1px); }

.btn-primary,
.btn-gae {
  background: var(--gae-green-700);
  border-color: var(--gae-green-700);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 107, 58, .22);
}
.btn-primary:hover, .btn-gae:hover,
.btn-primary:focus, .btn-gae:focus {
  background: var(--gae-green-800);
  border-color: var(--gae-green-800);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 58, .3);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gae-gold-600);
  border-color: var(--gae-gold-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(200, 137, 42, .24);
}
.btn-gold:hover { background: var(--gae-gold-700); border-color: var(--gae-gold-700); color: #fff; transform: translateY(-1px); }

.btn-outline-gae {
  border-color: var(--gae-green-700);
  color: var(--gae-green-700);
  background: transparent;
}
.btn-outline-gae:hover { background: var(--gae-green-700); color: #fff; }

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--gae-line);
  color: var(--gae-body);
}
.btn-ghost:hover { border-color: var(--gae-green-700); color: var(--gae-green-700); background: var(--gae-green-050); }

.btn-lg { padding: .9rem 2rem; font-size: .98rem; }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--gae-green-900);
  color: #cfe0cf;
  font-size: .78rem;
  letter-spacing: .01em;
}
.topbar a { color: #eaf3ea; }
.topbar a:hover { color: var(--gae-gold-500); }
.topbar .marquee-item + .marquee-item::before {
  content: '•';
  margin: 0 .65rem;
  opacity: .45;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(251, 248, 241, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--gae-line);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--gae-green-700), var(--gae-green-900));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(20, 51, 29, .25);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--gae-green-900);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.brand__tag {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gae-gold-700);
  font-weight: 600;
}
.brand__logo { max-height: 48px; width: auto; }

.main-nav .nav-link {
  color: var(--gae-ink);
  font-weight: 550;
  font-size: .92rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--gae-green-700); background: var(--gae-green-050); }

.header-action {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gae-ink);
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  transition: all .2s var(--ease);
}
.header-action:hover { background: var(--gae-green-050); color: var(--gae-green-700); border-color: var(--gae-line); }
.header-action .badge-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--gae-gold-600);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  display: grid; place-items: center;
  padding: 0 5px;
  border: 2px solid var(--gae-cream);
}

/* ---------- Currency switcher ---------- */
.currency-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--gae-line);
  background: #fff;
  border-radius: 999px;
  padding: .42rem .8rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--gae-ink);
  transition: all .2s var(--ease);
}
.currency-toggle:hover { border-color: var(--gae-green-600); color: var(--gae-green-700); }
.currency-toggle .flag { font-size: 1rem; line-height: 1; }

.currency-menu {
  min-width: 268px;
  border: 1px solid var(--gae-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .4rem;
  max-height: 340px;
  overflow-y: auto;
}
.currency-menu .dropdown-item {
  border-radius: var(--radius-sm);
  padding: .55rem .7rem;
  display: flex; align-items: center; gap: .65rem;
  font-size: .87rem;
}
.currency-menu .dropdown-item:hover { background: var(--gae-green-050); }
.currency-menu .dropdown-item.active { background: var(--gae-green-100); color: var(--gae-green-900); font-weight: 600; }
.currency-menu .code { font-weight: 700; min-width: 38px; }
.currency-menu .sym { margin-left: auto; color: var(--gae-muted); }

.currency-notice {
  background: var(--gae-green-050);
  border-bottom: 1px solid var(--gae-green-100);
  font-size: .82rem;
  color: var(--gae-green-900);
}

/* ---------- Search ---------- */
.search-shell { position: relative; flex: 1; max-width: 460px; }
.search-input {
  border-radius: 999px;
  border: 1px solid var(--gae-line);
  background: #fff;
  padding: .62rem 1.1rem .62rem 2.6rem;
  font-size: .88rem;
  width: 100%;
  transition: all .2s var(--ease);
}
.search-input:focus {
  outline: none;
  border-color: var(--gae-green-600);
  box-shadow: 0 0 0 4px var(--gae-green-050);
}
.search-shell .bi-search {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--gae-muted);
  pointer-events: none;
}
.search-results {
  position: absolute;
  top: calc(100% + .5rem); left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--gae-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1040;
  overflow: hidden;
  display: none;
}
.search-results.show { display: block; }
.search-results a {
  display: flex; gap: .8rem; align-items: center;
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--gae-line);
  color: var(--gae-ink);
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover { background: var(--gae-green-050); }
.search-results img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(224, 163, 62, .16), transparent 60%),
    linear-gradient(165deg, var(--gae-green-900) 0%, var(--gae-green-800) 46%, #245c33 100%);
  color: #f4f7f2;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 6c9 8 13 15 13 22a13 13 0 1 1-26 0c0-7 4-14 13-22z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.2'/%3E%3C/svg%3E");
  opacity: .8;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

/* ---------- Hero video background ----------
   Two clips share the frame and cross-fade on a single 24s cycle: clip one is
   opaque for the first half, clip two for the second. Both loop independently,
   so the fade never waits on either file's own duration. */
.hero--video { background: var(--gae-green-900); }

.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroCrossfade 24s infinite;
  will-change: opacity;
}
.hero-media__clip.is-first  { animation-delay: 0s; }
.hero-media__clip.is-second { animation-delay: 12s; }

@keyframes heroCrossfade {
  0%    { opacity: 0; }
  6%    { opacity: 1; }
  46%   { opacity: 1; }
  52%   { opacity: 0; }
  100%  { opacity: 0; }
}

/* Keeps the white copy readable whatever frame is showing: a green wash plus a
   stronger gradient behind the text column. */
.hero-media__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 51, 29, .93) 0%, rgba(20, 51, 29, .78) 42%, rgba(20, 51, 29, .42) 100%),
    linear-gradient(180deg, rgba(20, 51, 29, .55) 0%, transparent 34%, rgba(20, 51, 29, .62) 100%);
}

@media (max-width: 991.98px) {
  .hero-media__scrim {
    background: linear-gradient(180deg, rgba(20, 51, 29, .82) 0%, rgba(20, 51, 29, .88) 100%);
  }
}

/* A visitor who has asked for less motion gets the poster frame, held still. */
@media (prefers-reduced-motion: reduce) {
  .hero-media__clip { animation: none; }
  .hero-media__clip.is-first  { opacity: 1; }
  .hero-media__clip.is-second { opacity: 0; }
}
.hero h1 { color: #fff; }
.hero p.lead { color: #d8e4d6; font-size: 1.03rem; max-width: 48ch; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-badge {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .38rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #eaf3e7;
  backdrop-filter: blur(6px);
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(150deg, #2f6b3a, #14331d);
  position: relative;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--gae-line);
}
.trust-item {
  display: flex; align-items: center; gap: .75rem;
  padding: 1.05rem .5rem;
}
.trust-item i { font-size: 1.35rem; color: var(--gae-green-700); }
.trust-item strong { display: block; font-size: .87rem; color: var(--gae-ink); font-weight: 650; }
.trust-item span { font-size: .76rem; color: var(--gae-muted); }

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--gae-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Product card ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--gae-line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gae-green-100);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gae-sand);
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.07); }

.product-card__badges {
  position: absolute; top: .65rem; left: .65rem;
  display: flex; flex-direction: column; gap: .3rem;
  z-index: 2;
}
.pill {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .26rem .6rem;
  border-radius: 999px;
  color: #fff;
  background: var(--gae-green-700);
}
.pill--sale { background: var(--gae-clay); }
.pill--best { background: var(--gae-gold-600); }
.pill--new { background: var(--gae-green-600); }
.pill--out { background: #6c757d; }

.wish-btn {
  position: absolute; top: .6rem; right: .6rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--gae-line);
  display: grid; place-items: center;
  color: var(--gae-body);
  z-index: 3;
  transition: all .2s var(--ease);
}
.wish-btn:hover { color: var(--gae-clay); transform: scale(1.08); }
.wish-btn.is-active { color: #fff; background: var(--gae-clay); border-color: var(--gae-clay); }

.product-card__quick {
  position: absolute;
  left: .65rem; right: .65rem; bottom: .65rem;
  display: flex; gap: .4rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all .28s var(--ease);
  z-index: 2;
}
.product-card:hover .product-card__quick { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .product-card__quick { opacity: 1; transform: none; }
}

.product-card__body { padding: .95rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gae-gold-700); font-weight: 650; }
.product-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gae-ink);
  margin: .3rem 0 .25rem;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__desc {
  font-size: .8rem; color: var(--gae-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: .55rem;
}
.product-card__price { display: flex; align-items: baseline; gap: .45rem; margin-top: auto; }
.price-now { font-size: 1.08rem; font-weight: 700; color: var(--gae-green-800); }
.price-was { font-size: .82rem; color: var(--gae-muted); text-decoration: line-through; }
.price-from { font-size: .7rem; color: var(--gae-muted); text-transform: uppercase; letter-spacing: .08em; }

.rating-stars { color: var(--gae-gold-500); font-size: .8rem; letter-spacing: -.5px; }

.stock-dot { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; }
.stock-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--gae-success); }
.stock-low { color: var(--gae-warning); }
.stock-out { color: var(--gae-danger); }

/* ---------- Category tile ---------- */
.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2.15;
  background: linear-gradient(160deg, var(--gae-green-700), var(--gae-green-900));
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .6s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__body {
  position: absolute; inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(15, 38, 21, .88));
  color: #fff;
}
.cat-tile__body h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.cat-tile__body span { font-size: .76rem; opacity: .85; }

/* ---------- Product detail ---------- */
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gae-sand);
  border: 1px solid var(--gae-line);
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.gallery-main.zoomed img { transform: scale(1.9); cursor: zoom-out; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .6rem; }
.gallery-thumb {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--gae-sand);
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--gae-green-600); }

.variant-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip {
  border: 1.5px solid var(--gae-line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: .55rem .95rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--gae-ink);
  cursor: pointer;
  transition: all .2s var(--ease);
  text-align: center;
  min-width: 86px;
}
.variant-chip small { display: block; font-weight: 500; font-size: .72rem; color: var(--gae-muted); }
.variant-chip:hover { border-color: var(--gae-green-600); }
.variant-chip.active {
  border-color: var(--gae-green-700);
  background: var(--gae-green-050);
  color: var(--gae-green-900);
  box-shadow: 0 0 0 3px rgba(47, 107, 58, .1);
}
.variant-chip.disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.qty-picker {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--gae-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-picker button {
  width: 40px; height: 42px;
  border: 0; background: transparent;
  color: var(--gae-ink); font-size: 1.05rem;
  transition: background .18s var(--ease);
}
.qty-picker button:hover { background: var(--gae-green-050); color: var(--gae-green-700); }
.qty-picker input {
  width: 52px; height: 42px;
  border: 0; text-align: center;
  font-weight: 650; font-size: .95rem;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-picker input::-webkit-outer-spin-button,
.qty-picker input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.price-block .current { font-size: 2rem; font-weight: 700; color: var(--gae-green-800); font-family: var(--font-display); }
.price-block .was { font-size: 1.05rem; color: var(--gae-muted); text-decoration: line-through; }
.price-block .save {
  background: var(--gae-gold-100); color: var(--gae-gold-700);
  font-size: .76rem; font-weight: 700;
  padding: .22rem .6rem; border-radius: 999px;
}

.spec-table td { padding: .55rem .25rem; border-bottom: 1px solid var(--gae-line); font-size: .87rem; vertical-align: top; }
.spec-table td:first-child { color: var(--gae-muted); width: 38%; font-weight: 600; }

.nav-tabs-gae { border-bottom: 1px solid var(--gae-line); gap: .25rem; }
.nav-tabs-gae .nav-link {
  border: 0; border-bottom: 2.5px solid transparent;
  color: var(--gae-muted); font-weight: 600; font-size: .9rem;
  padding: .75rem 1.1rem; border-radius: 0;
}
.nav-tabs-gae .nav-link:hover { color: var(--gae-green-700); }
.nav-tabs-gae .nav-link.active { color: var(--gae-green-800); border-bottom-color: var(--gae-green-700); background: transparent; }

/* ---------- Filters ---------- */
.filter-panel {
  background: #fff;
  border: 1px solid var(--gae-line);
  border-radius: var(--radius);
  padding: 1.15rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-title {
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gae-ink);
  margin-bottom: .75rem;
}
.form-check-input:checked { background-color: var(--gae-green-700); border-color: var(--gae-green-700); }
.form-check-label { font-size: .87rem; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--gae-line);
  padding: .6rem .85rem;
  font-size: .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gae-green-600);
  box-shadow: 0 0 0 4px var(--gae-green-050);
}
.form-label { font-size: .82rem; font-weight: 600; color: var(--gae-ink); margin-bottom: .35rem; }
.form-range::-webkit-slider-thumb { background: var(--gae-green-700); }

.active-filter {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gae-green-050);
  border: 1px solid var(--gae-green-100);
  color: var(--gae-green-900);
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .78rem;
  font-weight: 600;
}

/* ---------- Cart / checkout ---------- */
.summary-card {
  background: #fff;
  border: 1px solid var(--gae-line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: .42rem 0; font-size: .9rem; }
.summary-row.total {
  border-top: 1px dashed var(--gae-line);
  margin-top: .5rem; padding-top: .85rem;
  font-size: 1.15rem; font-weight: 700; color: var(--gae-ink);
  font-family: var(--font-display);
}
.summary-row .label { color: var(--gae-body); }
.summary-row .value { font-weight: 650; color: var(--gae-ink); }
.summary-row .value.free { color: var(--gae-success); }
.summary-row .value.discount { color: var(--gae-clay); }

.cart-line {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gae-line);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line__img {
  width: 92px; height: 92px;
  border-radius: 12px; overflow: hidden;
  background: var(--gae-sand); flex-shrink: 0;
}
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }

.checkout-steps { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.checkout-step {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 600; color: var(--gae-muted);
}
.checkout-step .num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gae-line); color: var(--gae-body);
  display: grid; place-items: center; font-size: .76rem;
}
.checkout-step.active { color: var(--gae-green-800); }
.checkout-step.active .num { background: var(--gae-green-700); color: #fff; }
.checkout-step.done .num { background: var(--gae-green-100); color: var(--gae-green-800); }
.checkout-step + .checkout-step::before {
  content: ''; width: 26px; height: 1.5px; background: var(--gae-line); margin-right: .35rem;
}

.payment-option {
  border: 1.5px solid var(--gae-line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: flex; gap: .85rem; align-items: flex-start;
}
.payment-option:hover { border-color: var(--gae-green-600); }
.payment-option.active { border-color: var(--gae-green-700); background: var(--gae-green-050); box-shadow: 0 0 0 3px rgba(47,107,58,.08); }

/* ---------- Order timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.35rem 2rem;
  border-left: 2px solid var(--gae-line);
  margin-left: .55rem;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute; left: -8px; top: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--gae-line);
}
.timeline li.done { border-left-color: var(--gae-green-600); }
.timeline li.done::before { background: var(--gae-green-600); border-color: var(--gae-green-600); }
.timeline li.current::before {
  background: var(--gae-gold-500); border-color: var(--gae-gold-500);
  box-shadow: 0 0 0 5px rgba(224, 163, 62, .22);
}
.timeline li.cancelled::before { background: var(--gae-danger); border-color: var(--gae-danger); }
.timeline .t-label { font-weight: 650; color: var(--gae-ink); font-size: .9rem; }
.timeline .t-meta { font-size: .78rem; color: var(--gae-muted); }

/* ---------- Empty & error states ---------- */
.empty-state { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.empty-state__icon {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--gae-green-050);
  color: var(--gae-green-700);
  display: grid; place-items: center;
  font-size: 2.4rem;
  margin: 0 auto 1.25rem;
}
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--gae-muted); max-width: 42ch; margin: 0 auto 1.5rem; }

.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 15vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gae-green-800);
  opacity: .16;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gae-green-900);
  color: #b9cbb8;
  padding-top: 3.5rem;
}
.site-footer h5 {
  color: #fff; font-family: var(--font-body);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.05rem;
}
.site-footer a { color: #c6d6c5; font-size: .875rem; }
.site-footer a:hover { color: var(--gae-gold-500); }
.site-footer .footer-links li { margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.5rem; padding: 1.25rem 0;
  font-size: .8rem;
}
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
  color: #dcebdb;
  transition: all .2s var(--ease);
}
.social-btn:hover { background: var(--gae-gold-600); color: #fff; transform: translateY(-2px); }

.newsletter-input {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  border-radius: 999px 0 0 999px;
}
.newsletter-input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-input:focus {
  background: rgba(255, 255, 255, .12);
  border-color: var(--gae-gold-500);
  color: #fff; box-shadow: none;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .42);
  z-index: 1050;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Toast ---------- */
.gae-toast-wrap { position: fixed; top: 90px; right: 18px; z-index: 1090; display: flex; flex-direction: column; gap: .5rem; }
.gae-toast {
  background: #fff;
  border: 1px solid var(--gae-line);
  border-left: 4px solid var(--gae-green-700);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .8rem 1rem;
  font-size: .87rem;
  min-width: 260px; max-width: 340px;
  display: flex; gap: .6rem; align-items: flex-start;
  animation: toastIn .28s var(--ease);
}
.gae-toast.error { border-left-color: var(--gae-danger); }
.gae-toast.warning { border-left-color: var(--gae-warning); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- Loading ---------- */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn-ghost.is-loading::after, .btn-outline-gae.is-loading::after { border-color: rgba(47,107,58,.3); border-top-color: var(--gae-green-700); }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, var(--gae-sand) 25%, #fbf7ef 50%, var(--gae-sand) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Misc ---------- */
.badge-soft {
  background: var(--gae-green-050);
  color: var(--gae-green-800);
  border: 1px solid var(--gae-green-100);
  font-weight: 600; font-size: .74rem;
  padding: .32rem .7rem; border-radius: 999px;
}
.divider-leaf { display: flex; align-items: center; gap: .75rem; color: var(--gae-gold-600); }
.divider-leaf::before, .divider-leaf::after { content: ''; height: 1px; background: var(--gae-line); flex: 1; }

.breadcrumb { font-size: .82rem; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--gae-muted); }
.breadcrumb a { color: var(--gae-muted); }
.breadcrumb .active { color: var(--gae-ink); font-weight: 600; }

.pagination .page-link {
  border: 1px solid var(--gae-line);
  color: var(--gae-body);
  border-radius: var(--radius-sm) !important;
  margin: 0 .15rem;
  font-size: .88rem;
  font-weight: 600;
}
.pagination .page-item.active .page-link { background: var(--gae-green-700); border-color: var(--gae-green-700); color: #fff; }
.pagination .page-link:hover { background: var(--gae-green-050); color: var(--gae-green-800); }

.table > :not(caption) > * > * { padding: .8rem .75rem; }
.table thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--gae-muted); font-weight: 700;
  border-bottom: 1px solid var(--gae-line);
}

/* ---------- Responsive grid rules (spec) ---------- */
/* Desktop 4 per row · Tablet 3 · Mobile 2 */
.product-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 575.98px) {
  .product-card__body { padding: .7rem .75rem .85rem; }
  .product-card__title { font-size: .88rem; }
  .price-now { font-size: .95rem; }
  .product-card__desc { display: none; }
  .btn { font-size: .84rem; padding: .6rem 1.15rem; }
  .wa-float { width: 48px; height: 48px; font-size: 1.4rem; bottom: 14px; right: 14px; }
  .gae-toast-wrap { left: 12px; right: 12px; top: auto; bottom: 78px; }
  .gae-toast { max-width: 100%; }
}

@media (max-width: 991.98px) {
  .filter-panel { position: static; }
  .summary-card { position: static; }
}

/* ---------- Print (invoice) ---------- */
@media print {
  .site-header, .site-footer, .topbar, .wa-float, .no-print { display: none !important; }
  body { background: #fff; }
  .card-soft { box-shadow: none; border-color: #ddd; }
}

/* ==========================================================================
   ORGANIC PASS — botanical texture, softened edges, WhatsApp enquiry panel
   ========================================================================== */

/* ---------- Organic section edges ----------
   A deckled top edge drawn in the footer's own colour, so whatever section
   sits above it — cream, sand or an image — shows through unchanged. */
.site-footer {
  position: relative;
  padding-top: 0;
  background: var(--gae-green-900);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 58px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 58' preserveAspectRatio='none'%3E%3Cpath fill='%2314331d' d='M0,58 C240,6 470,54 720,30 C980,4 1200,50 1440,14 L1440,58 Z'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
  transform: translateY(-57px);
  pointer-events: none;
}

/* Botanical watermark — deliberately faint; it should read as paper, not decal. */
.site-footer::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 240px; height: 420px;
  /* Masked, not background-image: the sprig uses currentColor, which a
     background image cannot inherit — as a mask we colour it here instead. */
  background-color: #ffffff;
  -webkit-mask: url('../img/leaf-sprig.svg') no-repeat center / contain;
          mask: url('../img/leaf-sprig.svg') no-repeat center / contain;
  opacity: .06;
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-top { padding-top: 3.25rem; }

/* ---------- WhatsApp enquiry panel ----------
   The one WhatsApp entry point on the storefront. Cream on deep green so it
   carries real weight, and worded as an enquiry so nobody expects a checkout. */
.footer-enquiry {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 0% 0%, #ffffff 0%, var(--gae-cream) 45%, var(--gae-sand) 100%);
  border: 1px solid rgba(224, 163, 62, .45);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.35rem);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
  margin-bottom: 3rem;
}
.footer-enquiry::before {
  content: '';
  position: absolute;
  right: -34px; top: -46px;
  width: 190px; height: 330px;
  background-color: var(--gae-green-700);
  -webkit-mask: url('../img/leaf-sprig.svg') no-repeat center / contain;
          mask: url('../img/leaf-sprig.svg') no-repeat center / contain;
  opacity: .16;
  transform: rotate(14deg);
  pointer-events: none;
}
.footer-enquiry__body { position: relative; z-index: 1; }
.footer-enquiry .eyebrow { color: var(--gae-gold-700); }
.footer-enquiry h3 {
  font-family: var(--font-display);
  color: var(--gae-green-900);
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  line-height: 1.22;
  margin: .35rem 0 .5rem;
}
.footer-enquiry p {
  color: var(--gae-body);
  font-size: .9rem;
  margin-bottom: 0;
  max-width: 54ch;
}
.footer-enquiry__points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.15rem;
}
.footer-enquiry__points li {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gae-green-800);
  display: flex;
  align-items: center;
  gap: .38rem;
}
.footer-enquiry__points i { color: var(--gae-gold-600); }

.btn-wa-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  background: #1f8a4c;
  border: 1px solid #1a7742;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(31, 138, 76, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-wa-enquiry:hover {
  background: #17703d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(31, 138, 76, .34);
}
.btn-wa-enquiry i { font-size: 1.24rem; }
.btn-wa-enquiry small {
  display: block;
  font-weight: 500;
  font-size: .72rem;
  opacity: .85;
  letter-spacing: .02em;
}
.footer-enquiry__alt {
  display: block;
  text-align: center;
  margin-top: .7rem;
  font-size: .82rem;
  color: var(--gae-body);
}
.footer-enquiry__alt a { color: var(--gae-green-700); font-weight: 600; text-decoration: underline; }
.footer-enquiry__alt a:hover { color: var(--gae-gold-700); }

.footer-enquiry__note {
  margin-top: .85rem;
  font-size: .76rem;
  color: var(--gae-muted);
  text-align: center;
}

/* ---------- Footer column rhythm ---------- */
.site-footer h5 { position: relative; padding-bottom: .55rem; }
.site-footer h5.no-rule { padding-bottom: 0; }
.site-footer h5.no-rule::after { content: none; }
.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--gae-gold-600);
  border-radius: 2px;
}
.footer-links a { transition: padding-left .18s var(--ease), color .18s var(--ease); }
.footer-links a:hover { padding-left: 5px; }

/* ---------- Linen ground for warm sections ---------- */
.bg-linen {
  background-color: var(--gae-sand);
  background-image: url('../img/texture-linen.png');
  background-size: 340px;
  background-blend-mode: multiply;
}

/* ---------- Botanical divider between sections ---------- */
.leaf-divider {
  height: 46px;
  background-color: var(--gae-green-700);
  -webkit-mask: url('../img/leaf-band.svg') no-repeat center / 1100px auto;
          mask: url('../img/leaf-band.svg') no-repeat center / 1100px auto;
  opacity: .55;
  margin: .5rem 0;
}

/* ---------- Softer, more natural product media ---------- */
.product-card__media img { transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }

@media (max-width: 767.98px) {
  .site-footer::after { display: none; }
  .footer-enquiry { text-align: center; }
  .footer-enquiry p { margin-inline: auto; }
  .footer-enquiry__points { justify-content: center; }
}
