/* =========================================================================
   Mangi Greens — Design System
   "Rajasthan greenhouse at golden hour" — Indian botanical luxe.
   Mobile-first. Cormorant Garamond (display) + Plus Jakarta Sans (body).
   ========================================================================= */

/* ---------- 1. Custom properties ---------- */
:root {
  /* Palette — deep jungle + marigold */
  --forest: #0B1F17;
  --leaf: #1A5C3F;
  --mint: #A8D5A2;
  --cream: #F7F3EB;
  --terracotta: #C45C3E;
  --gold: #E6A817;
  --saffron: #F0B429;
  --lotus: #E8B4B8;

  --ink: #14201A;
  --ink-soft: #4A5C52;
  --white: #FFFFFF;

  --surface: #FBFAF6;
  --surface-alt: #F0EBE0;
  --border-soft: rgba(11, 31, 23, 0.10);
  --glass: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.18);

  /* Fonts */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --fs-sm: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-md: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lg: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
  --fs-xl: clamp(2.2rem, 1.7rem + 2vw, 3.4rem);
  --fs-2xl: clamp(2.8rem, 2rem + 3.2vw, 4.8rem);
  --fs-3xl: clamp(3.4rem, 2.4rem + 4.8vw, 6.4rem);

  /* Spacing scale */
  --sp-3xs: 0.25rem;
  --sp-2xs: 0.5rem;
  --sp-xs: 0.75rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4.5rem;
  --sp-2xl: 7rem;
  --sp-3xl: 10rem;

  /* Motion */
  --ease-organic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-med: 380ms;
  --dur-slow: 700ms;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --nav-h: 78px;

  --shadow-soft: 0 12px 32px -14px rgba(11, 31, 23, 0.28);
  --shadow-lift: 0 28px 56px -18px rgba(11, 31, 23, 0.38);
  --shadow-glow: 0 0 60px -10px rgba(230, 168, 23, 0.45);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.08;
  margin: 0 0 var(--sp-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-3xl); font-weight: 600; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-sm); }

/* ---------- 3. Grain + ambient mesh ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 4. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-sm);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-lg); } }

.grid { display: grid; gap: var(--sp-md); }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

section { padding-block: var(--sp-xl); }

/* Leaf-wave section divider */
.leaf-wave {
  display: block;
  width: 100%;
  height: clamp(40px, 8vw, 90px);
  line-height: 0;
}
.leaf-wave svg { width: 100%; height: 100%; display: block; }
.leaf-wave--forest svg path { fill: var(--forest); }
.leaf-wave--cream svg path { fill: var(--cream); }
.leaf-wave--mint svg path { fill: var(--mint); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3xs);
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  transition: transform var(--dur-fast) var(--ease-organic),
    box-shadow var(--dur-fast) var(--ease-organic),
    background-color var(--dur-fast) var(--ease-organic);
  position: relative;
  will-change: transform;
}
.btn:hover { transform: scale(1.045); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 55%, #d4920f 100%);
  color: var(--forest);
  box-shadow: var(--shadow-soft), 0 0 0 0 rgba(230, 168, 23, 0.35);
  font-weight: 700;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f5c040 0%, var(--saffron) 55%, var(--gold) 100%);
  box-shadow: var(--shadow-lift), var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid rgba(11, 31, 23, 0.28);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.btn-ghost {
  background: var(--glass);
  color: var(--cream);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-terracotta {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-terracotta:hover { background: #b24d32; }

.btn-block { width: 100%; }
.btn-lg { padding: 1.05em 2.1em; font-size: var(--fs-base); }

/* ---------- 6. Sticky header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--dur-med) var(--ease-organic),
    background var(--dur-med) var(--ease-organic);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -14px rgba(11, 31, 23, 0.22);
  background: rgba(251, 250, 246, 0.97);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}
@media (min-width: 768px) { .nav-inner { padding-inline: var(--sp-lg); } }

/* Logo — high contrast wordmark + solid mark */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease-organic);
}
.logo:hover { opacity: 0.92; }
.logo .logo-mark {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  filter: drop-shadow(0 2px 6px rgba(11, 31, 23, 0.18));
}
.logo .logo-mark svg {
  width: 38px;
  height: 38px;
  display: block;
}
.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.3rem + 0.55vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-name {
  color: #0B1F17;
  font-weight: 700;
}
.logo-accent {
  color: #1A5C3F;
  font-style: italic;
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex: 1;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 0.5em 0.85em;
  border-radius: 999px;
  transition: color var(--dur-fast) var(--ease-organic),
    background var(--dur-fast) var(--ease-organic);
}
.nav-links a:hover {
  color: var(--forest);
  background: rgba(26, 92, 63, 0.08);
}
.nav-links a.is-active {
  color: var(--forest);
  background: rgba(26, 92, 63, 0.1);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.25em;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: left var(--dur-med) var(--ease-organic), right var(--dur-med) var(--ease-organic);
  opacity: 0;
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
  left: 0.85em;
  right: 0.85em;
  opacity: 1;
}
/* About is last — slightly softer weight so primary shop path leads */
.nav-links a:last-child {
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-actions { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--white);
  transition: background var(--dur-fast) var(--ease-organic),
    border-color var(--dur-fast) var(--ease-organic);
}
.cart-link:hover {
  background: rgba(168, 213, 162, 0.35);
  border-color: rgba(26, 92, 63, 0.2);
}
.cart-link svg { width: 22px; height: 22px; stroke: var(--forest); }

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  border: 2px solid var(--surface);
}
.cart-badge.bounce { animation: cart-bounce 480ms var(--ease-organic); }
@keyframes cart-bounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.55); }
  60% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--white);
}
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-organic), opacity var(--dur-fast);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in menu */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--forest);
  color: var(--cream);
  padding: calc(var(--nav-h) + var(--sp-sm)) var(--sp-lg) var(--sp-lg);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-organic);
  z-index: 600;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__brand {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cream) !important;
  border-bottom: 1px solid rgba(250, 246, 239, 0.18) !important;
  padding-bottom: var(--sp-md) !important;
  margin-bottom: var(--sp-xs);
}
.mobile-menu a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  padding-block: 0.95rem;
  border-bottom: 1px solid rgba(250, 246, 239, 0.12);
  color: rgba(247, 243, 235, 0.88);
  transition: color var(--dur-fast);
}
.mobile-menu a:hover,
.mobile-menu a.is-active {
  color: var(--gold);
}
.mobile-menu__cta {
  margin-top: auto;
  text-align: center;
  border: none !important;
  color: var(--forest) !important;
  font-family: var(--font-body) !important;
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 67, 50, 0.35);
  backdrop-filter: blur(2px);
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-organic);
}
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.menu-lock { overflow: hidden; }

/* ---------- 7. Product card ---------- */
.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(11, 31, 23, 0.12);
  border: 1px solid rgba(11, 31, 23, 0.06);
  transition: box-shadow var(--dur-med) var(--ease-organic),
    transform var(--dur-med) var(--ease-organic),
    border-color var(--dur-med) var(--ease-organic);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(26, 92, 63, 0.18);
}

.product-card__media {
  display: block; /* the media is an <a>; inline would void aspect-ratio and clip the card body */
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #e8f0e6 0%, var(--surface-alt) 100%);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-organic);
}
.product-card:hover .product-card__media img { transform: scale(1.07); }

.product-card__badges {
  position: absolute;
  top: var(--sp-xs);
  left: var(--sp-xs);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.badge-pill {
  display: inline-block;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(251, 250, 246, 0.92);
  color: var(--forest);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(11, 31, 23, 0.08);
}
.badge-pill--sale { background: var(--terracotta); color: var(--cream); }
.badge-pill--bestseller { background: var(--gold); color: var(--forest); }

.product-card__body { padding: 1.1rem 1rem 1.15rem; }
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 0.45em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin-bottom: var(--sp-xs);
}
.price-current { font-weight: 700; color: var(--leaf); font-size: var(--fs-sm); }
.price-original { text-decoration: line-through; color: var(--ink-soft); font-size: var(--fs-xs); }
.price-from { font-size: var(--fs-xs); color: var(--ink-soft); }

.stock-hint { font-size: var(--fs-xs); color: var(--terracotta); font-weight: 600; margin-bottom: var(--sp-xs); }

.product-card__cta {
  width: 100%;
  padding: 0.72em 1em;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background var(--dur-fast) var(--ease-organic), transform var(--dur-fast) var(--ease-organic);
}
.product-card__cta:hover { background: var(--leaf); transform: scale(1.02); }

/* ---------- 8. Trust badges ---------- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  text-align: center;
  padding-block: var(--sp-lg);
}
@media (min-width: 768px) { .trust-badges { grid-template-columns: repeat(4, 1fr); } }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2xs); }
.trust-badge svg { width: 32px; height: 32px; stroke: var(--leaf); }
.trust-badge span { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); }

/* ---------- 9. Footer ---------- */
.site-footer {
  background: var(--forest);
  color: rgba(250, 246, 239, 0.85);
  padding-top: var(--sp-xl);
}
.footer-grid {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-lg);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

.footer-col h4 {
  color: var(--mint);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-sm);
}
.footer-col p { color: rgba(250, 246, 239, 0.72); font-size: var(--fs-sm); }
.footer-col ul li { margin-bottom: 0.6em; }
.footer-col ul a { font-size: var(--fs-sm); opacity: 0.85; transition: opacity var(--dur-fast); }
.footer-col ul a:hover { opacity: 1; text-decoration: underline; }

.newsletter-form { display: flex; gap: var(--sp-2xs); margin-top: var(--sp-sm); }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75em 1em;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 239, 0.3);
  background: rgba(250, 246, 239, 0.08);
  color: var(--cream);
}
.newsletter-form input::placeholder { color: rgba(250, 246, 239, 0.55); }
.newsletter-note { font-size: var(--fs-xs); margin-top: 0.6em; color: rgba(250, 246, 239, 0.55); }

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 239, 0.15);
  padding-block: var(--sp-md);
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(250, 246, 239, 0.6);
}
.footer-legal {
  margin-top: 0.4em;
  font-size: 0.85em;
  color: rgba(250, 246, 239, 0.45);
}

/* ---------- 10. WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--sp-sm);
  bottom: var(--sp-sm);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
  z-index: 400;
  transition: transform var(--dur-fast) var(--ease-organic);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- 11. Toast ---------- */
.toast-stack {
  position: fixed;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(360px, 90vw);
}
.toast {
  background: var(--forest);
  color: var(--cream);
  padding: 0.85em 1.2em;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-med) var(--ease-organic), transform var(--dur-med) var(--ease-organic);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.toast--error { background: var(--terracotta); }

/* Fly-to-cart ghost image */
.fly-to-cart {
  position: fixed;
  z-index: 950;
  border-radius: var(--radius-sm);
  object-fit: cover;
  pointer-events: none;
  transition: transform 650ms var(--ease-organic), opacity 650ms var(--ease-organic), left 650ms var(--ease-organic), top 650ms var(--ease-organic);
}

/* ---------- 12. Misc components ---------- */
.section-heading { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--sp-lg); }
.section-heading .eyebrow {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  margin-bottom: var(--sp-2xs);
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-alt) 25%, #e9e2d1 37%, var(--surface-alt) 63%);
  background-size: 400% 100%;
  animation: skeleton-shine 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shine {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .product-card:hover .product-card__media img { transform: none; }
  .btn:hover { transform: none; }
}

/* =========================================================================
   14. Homepage — Indian botanical luxe
   ========================================================================= */

/* ---- Hero (split layout) ---- */
.home-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 75% 40%, rgba(26, 92, 63, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(230, 168, 23, 0.12) 0%, transparent 50%),
    linear-gradient(155deg, #0d281c 0%, var(--forest) 42%, #06140f 100%);
  color: var(--cream);
  padding: var(--sp-sm) 0 var(--sp-lg);
}
@media (min-width: 960px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: calc(100svh - var(--nav-h));
    padding: var(--sp-md) 0 var(--sp-lg);
  }
}

.home-hero__stage {
  position: relative;
  order: -1;
  height: min(38vh, 300px);
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}
@media (min-width: 600px) {
  .home-hero__stage {
    height: min(44vh, 380px);
    max-width: 480px;
  }
}
@media (min-width: 960px) {
  .home-hero__stage {
    order: 0;
    height: min(78vh, 680px);
    max-width: none;
    margin: 0;
  }
}

.home-hero__plant {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.home-hero__plant img {
  width: min(86%, 520px);
  height: auto;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 34px 56px rgba(0,0,0,0.42));
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.home-hero__glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -40%);
  background: radial-gradient(circle, rgba(168, 213, 162, 0.28) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -40%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -40%) scale(1.08); }
}

.home-hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: orb-drift 14s ease-in-out infinite;
}
.home-hero__orb--1 {
  width: 220px; height: 220px;
  background: #1a5c3f;
  top: 10%; right: 8%;
  animation-delay: 0s;
}
.home-hero__orb--2 {
  width: 160px; height: 160px;
  background: rgba(230, 168, 23, 0.55);
  bottom: 18%; left: 12%;
  animation-delay: -4s;
}
.home-hero__orb--3 {
  width: 120px; height: 120px;
  background: rgba(168, 213, 162, 0.5);
  top: 55%; right: 28%;
  animation-delay: -7s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}

.home-hero__content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: 0 var(--sp-sm);
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) { .home-hero__content { padding-inline: var(--sp-lg); } }
@media (min-width: 960px) {
  .home-hero__content {
    text-align: left;
    margin: 0 0 0 auto;
    padding-right: var(--sp-md);
    padding-left: var(--sp-lg);
  }
}

.home-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45em 0.95em 0.45em 0.55em;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mint);
  margin-bottom: var(--sp-md);
}
.home-hero__pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(230, 168, 23, 0.6);
  animation: pill-ping 2s ease infinite;
}
@keyframes pill-ping {
  0% { box-shadow: 0 0 0 0 rgba(230, 168, 23, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(230, 168, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 168, 23, 0); }
}

.home-hero__headline {
  color: var(--cream);
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-md);
  line-height: 1.02;
}
.home-hero__headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.home-hero__headline .word { display: inline-block; }
html.js .home-hero__headline .word {
  opacity: 0;
  transform: translateY(0.55em) rotate(1.5deg);
  will-change: transform, opacity;
}
.home-hero__sub {
  color: rgba(247, 243, 235, 0.82);
  font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.25rem);
  max-width: 34rem;
  margin-bottom: var(--sp-md);
  line-height: 1.55;
}
@media (min-width: 960px) {
  .home-hero__sub { margin-inline: 0; margin-bottom: var(--sp-lg); }
}
@media (max-width: 959px) { .home-hero__sub { margin-inline: auto; } }

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: var(--sp-md);
}
@media (min-width: 960px) {
  .home-hero__actions { justify-content: flex-start; margin-bottom: var(--sp-lg); }
}
@media (max-width: 599px) {
  .home-hero__actions .btn-lg { padding: 0.85em 1.4em; font-size: var(--fs-sm); }
}

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: center;
  font-size: var(--fs-xs);
  color: rgba(247, 243, 235, 0.72);
  font-weight: 500;
}
@media (min-width: 960px) { .home-hero__meta { justify-content: flex-start; } }
.home-hero__meta strong {
  display: block;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.1em;
}

.home-hero__scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(247, 243, 235, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (min-width: 960px) {
  .home-hero__scroll-cue { display: flex; }
}
.home-hero__scroll-cue span {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ---- Marquee ---- */
.home-marquee {
  background: var(--forest);
  color: var(--mint);
  border-block: 1px solid rgba(168, 213, 162, 0.15);
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
}
.home-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee-scroll 40s linear infinite;
}
.home-marquee__track:hover { animation-play-state: paused; }
.home-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding-inline: 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}
.home-marquee__item::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.7em;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Trust strip ---- */
.home-trust {
  background: var(--surface);
  padding-block: var(--sp-md);
  border-bottom: 1px solid var(--border-soft);
}
.home-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}
@media (min-width: 800px) { .home-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.home-trust__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem;
}
.home-trust__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f2e6, var(--surface-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--leaf);
}
.home-trust__icon svg { width: 22px; height: 22px; }
.home-trust__item strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--forest);
  font-weight: 700;
  line-height: 1.25;
}
.home-trust__item span {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

/* ---- Category showcase ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}
/* Feature card runs full width on the narrowest layout. */
.category-grid > :first-child { grid-column: 1 / -1; }

@media (min-width: 1000px) {
  /* 5 cards, 4 columns x 2 rows: the feature card holds the left 2x2 block and
     the other four fill the right half exactly — no wrapped card, no gap.
     Row heights come from the 4:3 small cards; the feature card stretches. */
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
  }
  .category-grid > :first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-med) var(--ease-organic), box-shadow var(--dur-med) var(--ease-organic);
}
.category-grid > :first-child { aspect-ratio: 16 / 10; }
@media (min-width: 1000px) {
  /* feature card is sized by the two rows it spans, not by a ratio */
  .category-grid > :first-child { aspect-ratio: auto; height: 100%; }
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-organic);
}
.category-card:hover img { transform: scale(1.08); }
.category-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 23, 0.05) 20%, rgba(6, 20, 15, 0.88) 100%);
}
.category-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  color: var(--cream);
}
.category-card__body h3 {
  color: var(--cream);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);
  margin-bottom: 0.25em;
}
.category-card__body span {
  font-size: var(--fs-xs);
  color: rgba(247, 243, 235, 0.78);
  font-weight: 500;
}
.category-card__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-med) var(--ease-organic), transform var(--dur-med) var(--ease-organic);
}
.category-card:hover .category-card__arrow { opacity: 1; transform: none; }
.category-card__arrow svg { width: 16px; height: 16px; }

/* ---- Bestseller carousel ---- */
#home-bestsellers {
  position: relative;
  overflow: hidden;
}
#home-bestsellers::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 168, 23, 0.12), transparent 70%);
  top: -100px;
  right: -80px;
  pointer-events: none;
}
.carousel-wrap { position: relative; }
.carousel-track {
  /* --cards = how many whole cards fill the track at this width, so the row
     always ends flush instead of slicing a card in half. */
  --cards: 1;
  --card-gap: var(--sp-md);
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: var(--sp-2xs) var(--sp-sm);
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* old Edge */
}
.carousel-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.carousel-track .product-card {
  flex: 0 0 calc((100% - (var(--cards) - 1) * var(--card-gap)) / var(--cards));
  scroll-snap-align: start;
  background: rgba(255,255,255,0.97);
}
@media (min-width: 560px)  { .carousel-track { --cards: 2; } }
@media (min-width: 900px)  { .carousel-track { --cards: 3; } }
@media (min-width: 1200px) { .carousel-track { --cards: 4; } }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }
#home-bestsellers .product-card__name a { color: var(--forest); }
#home-bestsellers .price-current { color: var(--leaf); }



/* =========================================================================
   Shared page hero banner (all pages except the homepage)
   ========================================================================= */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  background: var(--forest);
}
.page-hero--tall    { min-height: clamp(280px, 42vh, 420px); }
.page-hero--default { min-height: clamp(230px, 34vh, 340px); }
.page-hero--slim    { min-height: clamp(170px, 24vh, 240px); }

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,31,23,0.94) 0%, rgba(11,31,23,0.78) 42%, rgba(11,31,23,0.42) 100%);
}
.page-hero--center .page-hero__scrim {
  background: linear-gradient(180deg, rgba(11,31,23,0.72) 0%, rgba(11,31,23,0.86) 100%);
}

.page-hero .container { padding-block: var(--sp-lg); }
.page-hero__inner { max-width: 62ch; }
.page-hero--center .page-hero__inner { max-width: 72ch; margin-inline: auto; text-align: center; }

.page-hero__eyebrow { color: var(--mint); }
.page-hero__title {
  color: var(--cream);
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  margin: 0.18em 0 0;
}
.page-hero__lead {
  color: rgba(250,246,239,0.88);
  margin: 0.7em 0 0;
  max-width: 58ch;
}
.page-hero--center .page-hero__lead { margin-inline: auto; }

.policy-entity {
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  background: var(--surface-alt);
  border: 1px solid rgba(11,31,23,0.08);
  border-left: 4px solid var(--leaf);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}
.policy-entity h2,
.policy-entity h3 { margin-top: 0; font-size: var(--fs-base); }
.policy-entity p { margin: 0.35em 0; }
.policy-entity dl { margin: 0.35em 0 0; }
.policy-entity dt { font-weight: 600; margin-top: 0.5em; }
.policy-entity dd { margin: 0 0 0.2em; color: var(--ink-soft); }

.promise-grid { display: grid; gap: var(--sp-md); }
@media (min-width: 640px)  { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise-card {
  background: var(--white);
  border: 1px solid rgba(11,31,23,0.07);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  box-shadow: 0 4px 20px -12px rgba(11,31,23,0.18);
}
.promise-card h3 { font-size: var(--fs-base); margin: 0 0 0.4em; }
.promise-card p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

/* =========================================================================
   About page
   ========================================================================= */

.about-band { padding-block: var(--sp-lg); }
.about-band--soft { background: var(--surface-alt); }

.about-figure { margin: 0; }
.about-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-lift);
}
.about-figure figcaption {
  margin-top: 0.7em;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.about-figure--wide img { max-height: 60vh; object-fit: cover; }

.about-story { padding-block: var(--sp-xl); }
.about-story__grid { display: grid; gap: var(--sp-lg); }
.about-story__text h2 { margin-top: var(--sp-md); }
.about-story__text h2:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .about-story__grid { grid-template-columns: 1.25fr 1fr; align-items: start; gap: var(--sp-xl); }
  .about-story .about-figure { position: sticky; top: 100px; }
}

.about-values { padding-block: var(--sp-xl); background: var(--surface); }
.about-values__grid { display: grid; gap: var(--sp-md); }
@media (min-width: 640px)  { .about-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .about-values__grid { grid-template-columns: repeat(4, 1fr); } }
.about-value {
  background: var(--white);
  border: 1px solid rgba(11,31,23,0.07);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  box-shadow: 0 4px 20px -12px rgba(11,31,23,0.18);
}
.about-value__num {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--gold);
  display: block;
  margin-bottom: 0.2em;
}
.about-value h3 { font-size: var(--fs-base); margin: 0 0 0.4em; }
.about-value p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

.about-packing { display: grid; gap: var(--sp-lg); align-items: center; }
@media (min-width: 900px) { .about-packing { grid-template-columns: 1fr 1.15fr; gap: var(--sp-xl); } }
.about-packing__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}
.about-packing__stats div { display: flex; flex-direction: column; }
.about-packing__stats strong { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--forest); }
.about-packing__stats span { font-size: var(--fs-sm); color: var(--ink-soft); }

.about-cta { padding-block: var(--sp-xl); text-align: center; }
.about-cta p { color: var(--ink-soft); margin-bottom: var(--sp-md); }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); justify-content: center; }

/* =========================================================================
   Cinematic film band (homepage)
   ========================================================================= */
.home-film {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 62vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
}
.home-film__media { position: absolute; inset: 0; z-index: -2; }
.home-film__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-film__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11,31,23,0.92) 0%, rgba(11,31,23,0.55) 42%, rgba(11,31,23,0.25) 100%);
}
.home-film__copy { padding-block: var(--sp-xl) var(--sp-lg); max-width: 62ch; }
.home-film__copy h2 {
  color: var(--cream);
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.05;
  margin: 0.2em 0 0.5em;
}
.home-film__copy p { color: rgba(250,246,239,0.86); margin-bottom: var(--sp-md); }
@media (prefers-reduced-motion: reduce) {
  .home-film__video { display: none; }
  .home-film { background: var(--forest); }
}

/* ---- Story / stats ---- */
.story-section {
  background: var(--surface);
  position: relative;
}
.story-grid {
  display: grid;
  gap: var(--sp-xl);
  align-items: center;
}
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-2xl); } }
.story-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lift);
}
.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-visual__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  max-width: 220px;
}
.story-visual__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--leaf);
  line-height: 1;
}
.story-visual__badge span {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  font-weight: 600;
}
.story-copy .eyebrow { color: var(--terracotta); }
.story-copy p { color: var(--ink-soft); font-size: var(--fs-base); max-width: 38rem; }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}
.stat-block {
  padding: 1rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  text-align: center;
  border: 1px solid var(--border-soft);
}
.stat-block .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem);
  color: var(--leaf);
  font-weight: 700;
  line-height: 1;
}
.stat-block .stat-label {
  display: block;
  margin-top: 0.45em;
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

/* ---- Testimonials ---- */
#home-testimonials {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(168, 213, 162, 0.18), transparent 60%),
    var(--surface-alt);
}
.testimonial-slider {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.testimonial-slide {
  display: none;
  padding: var(--sp-md) var(--sp-sm);
}
.testimonial-slide.is-active { display: block; animation: testimonial-in 500ms var(--ease-organic); }
@keyframes testimonial-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.testimonial-slide .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.testimonial-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.9rem);
  color: var(--forest);
  margin: 0 0 var(--sp-md);
  line-height: 1.35;
  font-weight: 500;
}
.testimonial-slide cite {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  font-weight: 600;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15em;
}
.testimonial-slide cite span {
  color: var(--leaf);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--sp-md);
}
.testimonial-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 31, 23, 0.15);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.testimonial-dots button.is-active {
  background: var(--leaf);
  transform: scale(1.25);
}

/* ---- Gallery ---- */
#home-gallery {
  background: var(--forest);
  padding-block: var(--sp-xl);
  position: relative;
  overflow: hidden;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 700px) {
  /* 8 tiles, 4 columns: an even 4x2 block. Row-spans here used to push the
     last tile onto a third row and leave two empty cells. */
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-organic);
}
.gallery-tile:hover img { transform: scale(1.1); }
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,23,0.35), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-med);
}
.gallery-tile:hover::after { opacity: 1; }

/* ---- Newsletter band ---- */
.newsletter-band {
  position: relative;
  background:
    radial-gradient(ellipse 80% 80% at 20% 50%, rgba(26, 92, 63, 0.5), transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(230, 168, 23, 0.18), transparent 50%),
    var(--forest);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.newsletter-band h2 { color: var(--cream); }
.newsletter-band p {
  color: rgba(247, 243, 235, 0.78);
  max-width: 28rem;
  margin-inline: auto;
}
.newsletter-band .newsletter-form {
  max-width: 480px;
  margin-inline: auto;
  justify-content: center;
  margin-top: var(--sp-md);
}
.newsletter-band .newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.08);
  border-color: rgba(247, 243, 235, 0.25);
}

/* ---- Section heading polish ---- */
.section-heading .eyebrow {
  color: var(--terracotta);
  font-family: var(--font-body);
}
.section-heading h2 {
  letter-spacing: -0.02em;
}

/* ---- Reveal-on-scroll ----
   Hidden state only applies when JS is running (html.js set inline in
   header.php) — without JS nothing would ever un-hide the content. */
html.js .reveal-up {
  opacity: 0;
  transform: translateY(32px);
}
html.js .reveal-up.is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 800ms var(--ease-organic), transform 800ms var(--ease-organic);
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__plant img,
  .home-hero__glow,
  .home-hero__orb,
  .home-hero__pill-dot,
  .home-hero__scroll-cue span,
  .home-marquee__track { animation: none !important; }
  .home-hero__headline .word,
  html.js .home-hero__headline .word { opacity: 1; transform: none; }
  .reveal-up,
  html.js .reveal-up { opacity: 1; transform: none; }
}

/* ---------- 10. Shop page ---------- */
.shop-page { padding-block: var(--sp-lg) var(--sp-xl); }
.shop-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
.shop-header .section-heading { text-align: left; margin: 0; max-width: none; }
.shop-result-count { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }
.shop-filter-toggle { display: inline-flex; }

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: start;
  margin-top: var(--sp-md);
}
@media (min-width: 900px) {
  .shop-layout { grid-template-columns: 260px 1fr; }
  .shop-filter-toggle { display: none; }
}

.shop-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 67, 50, 0.45);
  z-index: 40;
}
@media (max-width: 899px) {
  .shop-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--surface);
    z-index: 41;
    padding: var(--sp-md);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-organic);
    box-shadow: var(--shadow-lift);
  }
  .shop-sidebar.is-open { transform: translateX(0); }
  .shop-drawer-backdrop.is-open { display: block; }
}

.shop-filter-group { margin-bottom: var(--sp-md); }
.shop-filter-group h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-xs); }
.shop-radio, .shop-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-sm);
  margin-bottom: 0.5em;
  cursor: pointer;
}
.shop-radio em, .shop-checkbox em { font-style: normal; color: var(--ink-soft); }
.shop-search { position: relative; display: flex; align-items: center; }
.shop-search__icon {
  position: absolute;
  left: 0.7em;
  width: 1em;
  height: 1em;
  color: var(--ink-soft);
  pointer-events: none;
}
.shop-search input[type="search"] {
  width: 100%;
  padding: 0.62em 2em 0.62em 2.2em;
  border: 1px solid rgba(11, 31, 23, 0.16);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.shop-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.shop-search input[type="search"]:focus {
  outline: 2px solid var(--leaf);
  outline-offset: 1px;
  border-color: transparent;
}
.shop-search__clear {
  position: absolute;
  right: 0.55em;
  width: 1.35em;
  height: 1.35em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 31, 23, 0.08);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}
.shop-search__clear:hover { background: rgba(11, 31, 23, 0.16); color: var(--ink); }
.shop-search__go { margin-top: 0.6em; }

.shop-price-inputs { display: flex; align-items: center; gap: 0.5em; }
.shop-price-inputs input {
  width: 100%;
  padding: 0.55em 0.7em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.shop-sort-select {
  width: 100%;
  padding: 0.6em 0.7em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.shop-filter-actions { display: flex; align-items: center; gap: var(--sp-sm); flex-wrap: wrap; }
.shop-clear-all { font-size: var(--fs-sm); text-decoration: underline; color: var(--ink-soft); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card__cta:disabled,
.product-card__cta--disabled {
  background: var(--surface-alt);
  color: var(--ink-soft);
  cursor: not-allowed;
}
.product-card__cta:disabled:hover,
.product-card__cta--disabled:hover { background: var(--surface-alt); transform: none; }

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-2xl) var(--sp-md);
  background: var(--white);
  border-radius: var(--radius-md);
}
.shop-empty h3 { margin-bottom: var(--sp-2xs); }
.shop-empty p { color: var(--ink-soft); margin-bottom: var(--sp-sm); }

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2xs);
  margin-top: var(--sp-lg);
}
.pagination__link {
  padding: 0.5em 0.9em;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.pagination__link.is-active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.pagination__link.is-disabled { opacity: 0.4; pointer-events: none; }

/* ---------- 12. Product detail page ---------- */
.not-found { text-align: center; padding: var(--sp-2xl) var(--sp-md); }
.not-found__art { margin-bottom: var(--sp-sm); }
.not-found__art svg { display: block; margin-inline: auto; }
.not-found__art svg { animation: notfound-sway 5s ease-in-out infinite; transform-origin: 60% 90%; }
@keyframes notfound-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.5deg); }
}
.not-found__actions { display: flex; flex-wrap: wrap; gap: var(--sp-xs); justify-content: center; }
@media (prefers-reduced-motion: reduce) { .not-found__art svg { animation: none; } }
.not-found h1 { margin: var(--sp-xs) 0; }
.not-found p { color: var(--ink-soft); margin-bottom: var(--sp-md); }

.breadcrumb { font-size: var(--fs-xs); color: var(--ink-soft); margin: var(--sp-md) 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span { margin: 0 0.4em; }

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-xl);
}
@media (min-width: 900px) {
  .product-detail__layout { grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); }
}

.product-gallery__main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-alt);
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-organic);
  cursor: zoom-in;
}
.product-gallery__main:hover img { transform: scale(1.35); }
.product-gallery__thumbs {
  display: flex;
  gap: var(--sp-2xs);
  margin-top: var(--sp-xs);
  overflow-x: auto;
}
.product-gallery__thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
}
.product-gallery__thumb.is-active { border-color: var(--leaf); opacity: 1; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__badges { display: flex; gap: var(--sp-2xs); margin-bottom: var(--sp-xs); flex-wrap: wrap; }
.product-info__name { font-size: var(--fs-xl); margin-bottom: var(--sp-xs); }

.product-price-block { display: flex; align-items: baseline; gap: 0.6em; margin-bottom: var(--sp-sm); }
.product-price-block .price-current { font-size: var(--fs-lg); }

.product-variant-select { margin-bottom: var(--sp-sm); }
.product-variant-select label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); margin-bottom: 0.4em; }
.product-variant-select select {
  width: 100%;
  max-width: 320px;
  padding: 0.65em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--white);
  font-size: var(--fs-sm);
}

.care-meter { margin-bottom: var(--sp-sm); }
.care-meter__label { font-size: var(--fs-sm); display: block; margin-bottom: 0.4em; }
.care-meter__segments { display: flex; gap: 4px; }
.care-meter__segment { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-alt); }
.care-meter__segment.is-filled { background: var(--leaf); }

.care-icons { display: flex; gap: var(--sp-md); margin-bottom: var(--sp-sm); flex-wrap: wrap; }
.care-icon { display: flex; align-items: center; gap: 0.4em; font-size: var(--fs-xs); color: var(--ink-soft); }
.care-icon svg { width: 20px; height: 20px; color: var(--leaf); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  margin-bottom: var(--sp-sm);
  overflow: hidden;
}
.qty-stepper__btn {
  width: 40px;
  height: 40px;
  font-size: var(--fs-md);
  background: var(--surface-alt);
  color: var(--forest);
}
.qty-stepper__input {
  width: 48px;
  text-align: center;
  border: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-detail__add-btn { width: 100%; max-width: 360px; margin-bottom: var(--sp-md); }
.product-detail__add-btn:disabled { opacity: 0.5; pointer-events: none; }

.trust-badges--inline {
  grid-template-columns: repeat(2, 1fr);
  border: none !important;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.trust-badges--inline .trust-badge span { color: var(--ink); }

.product-tabs { margin-bottom: var(--sp-md); }
.product-tabs__nav { display: flex; gap: var(--sp-2xs); border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.product-tabs__btn {
  padding: 0.6em 1em;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.product-tabs__btn.is-active { color: var(--forest); border-color: var(--forest); }
.product-tabs__panel { display: none; padding: var(--sp-sm) 0; color: var(--ink-soft); }
.product-tabs__panel.is-active { display: block; }

.product-details-block, .product-description { margin-bottom: var(--sp-md); }
.product-details-block h3, .product-description h3 { font-size: var(--fs-md); margin-bottom: 0.4em; }
.product-description p { color: var(--ink-soft); }

.shipping-info {
  display: flex;
  gap: var(--sp-xs);
  align-items: flex-start;
  background: var(--mint);
  border-radius: var(--radius-md);
  padding: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.shipping-info svg { flex: 0 0 auto; width: 28px; height: 28px; }
.shipping-info p { font-size: var(--fs-sm); color: var(--forest); margin: 0; }

.related-products { padding-block: var(--sp-xl); }

.sticky-add-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(27,67,50,0.12);
  padding: var(--sp-xs) var(--sp-sm);
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease-organic);
}
.sticky-add-bar.is-visible { transform: translateY(0); }
@media (max-width: 899px) {
  .sticky-add-bar { display: flex; }
}
.sticky-add-bar__info { display: flex; align-items: center; gap: var(--sp-xs); min-width: 0; }
.sticky-add-bar__info img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; flex: 0 0 auto; }
.sticky-add-bar__name { font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.sticky-add-bar__price { font-size: var(--fs-sm); font-weight: 700; color: var(--forest); }
.sticky-add-bar .btn { flex: 0 0 auto; padding: 0.6em 1.2em; }

/* ---------- 14. Cart page ---------- */
.cart-page { padding-block: var(--sp-lg) var(--sp-2xl); }

.cart-empty {
  max-width: 460px;
  margin: var(--sp-xl) auto;
  text-align: center;
  padding: var(--sp-xl) var(--sp-md);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
}
.cart-empty svg { width: 64px; height: 64px; color: var(--leaf); margin-bottom: var(--sp-sm); }
.cart-empty h3 { font-size: var(--fs-md); margin-bottom: 0.4em; }
.cart-empty p { color: var(--ink-soft); margin-bottom: var(--sp-md); }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  align-items: start;
}
@media (min-width: 900px) {
  .cart-layout { grid-template-columns: 1fr 380px; }
}

.cart-lines { display: flex; flex-direction: column; gap: var(--sp-sm); }

.cart-line {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  grid-template-areas: "media body remove" "media qty total";
  gap: var(--sp-xs) var(--sp-sm);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-sm);
  transition: opacity var(--dur-med) var(--ease-organic), transform var(--dur-med) var(--ease-organic);
}
.cart-line.is-removing { opacity: 0; transform: translateX(24px); }
.cart-line__media { grid-area: media; display: block; border-radius: var(--radius-sm); overflow: hidden; width: 84px; height: 84px; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__body { grid-area: body; min-width: 0; }
.cart-line__name { font-size: var(--fs-sm); font-weight: 600; margin: 0 0 0.2em; }
.cart-line__variant { font-size: var(--fs-xs); color: var(--ink-soft); margin: 0 0 0.2em; }
.cart-line__unit-price { font-size: var(--fs-xs); color: var(--ink-soft); margin: 0; }
.cart-line__qty { grid-area: qty; }
.cart-line__qty .qty-stepper { margin-bottom: 0; }
.cart-line__total { grid-area: total; font-weight: 700; color: var(--forest); font-size: var(--fs-sm); justify-self: end; }
.cart-line__remove {
  grid-area: remove;
  justify-self: end;
  color: var(--ink-soft);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: color var(--dur-fast) var(--ease-organic), background var(--dur-fast) var(--ease-organic);
}
.cart-line__remove:hover { color: var(--terracotta); background: var(--surface-alt); }
.cart-line__remove svg { width: 18px; height: 18px; }

.cart-summary {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-sm));
}
.cart-summary h3 { font-size: var(--fs-md); margin-bottom: var(--sp-sm); }

.cart-coupon-form { margin-bottom: var(--sp-sm); }
.cart-coupon-form label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.3em;
}
.cart-code-row { display: flex; gap: var(--sp-2xs); }
.cart-code-row input {
  flex: 1;
  min-width: 0;
  padding: 0.6em 0.8em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}
.cart-code-row .btn { flex: 0 0 auto; padding: 0.6em 1em; }
.cart-code-applied {
  display: flex;
  align-items: center;
  gap: var(--sp-2xs);
  background: var(--mint);
  border-radius: var(--radius-sm);
  padding: 0.5em 0.7em;
  font-size: var(--fs-sm);
  color: var(--forest);
}
.cart-code-remove { margin-left: auto; font-size: var(--fs-xs); font-weight: 600; color: var(--terracotta); text-decoration: underline; }
.cart-inline-error {
  color: var(--terracotta);
  font-size: var(--fs-xs);
  margin: 0.4em 0 0;
  min-height: 1em;
}
.cart-inline-error:empty { display: none; }

.cart-summary__chip {
  display: inline-block;
  background: var(--surface-alt);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.15em 0.6em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cart-summary__free-shipping { margin-bottom: var(--sp-sm); }
.cart-summary__progress-track {
  width: 100%;
  height: 8px;
  background: var(--surface-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.4em;
}
.cart-summary__progress-fill {
  height: 100%;
  background: var(--leaf);
  border-radius: 999px;
  transition: width var(--dur-slow) var(--ease-organic);
}
.cart-summary__free-shipping.is-unlocked .cart-summary__progress-fill { background: var(--gold); }
.cart-summary__progress-label { font-size: var(--fs-xs); color: var(--ink-soft); margin: 0; }
.cart-summary__free-shipping.is-unlocked .cart-summary__progress-label { color: var(--forest); font-weight: 600; }

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  padding: 0.4em 0;
  color: var(--ink-soft);
}
.cart-summary__row--discount { color: var(--terracotta); }
.cart-summary__row--total {
  border-top: 1px solid var(--border-soft);
  margin-top: 0.4em;
  padding-top: 0.6em;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--forest);
}
.cart-summary__free-tag { color: var(--leaf); font-weight: 700; }
.cart-summary__checkout-btn { width: 100%; margin-top: var(--sp-sm); text-align: center; }
.cart-summary__trust { margin-top: var(--sp-md); grid-template-columns: 1fr; background: var(--surface-alt); border-radius: var(--radius-md); padding: var(--sp-sm); border: none; }
.cart-summary__trust .trust-badge span { color: var(--ink); }

@media (max-width: 640px) {
  .cart-line {
    grid-template-columns: 64px 1fr auto;
  }
  .cart-line__media { width: 64px; height: 64px; }
}

/* ---------- Checkout page ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
}
.checkout-form h3 {
  font-size: var(--fs-md);
  margin: var(--sp-md) 0 var(--sp-sm);
}
.checkout-form h3:first-of-type { margin-top: 0; }

.checkout-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkout-field { margin-bottom: var(--sp-sm); }
.checkout-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0.35em;
  color: var(--ink);
}
.checkout-field label em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  padding: 0.65em 0.8em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  outline: 2px solid var(--mint);
  outline-offset: 1px;
}
.checkout-field textarea { resize: vertical; }
.checkout-field.has-error input,
.checkout-field.has-error select,
.checkout-field.has-error textarea {
  border-color: var(--terracotta);
}
.checkout-field-error {
  font-size: var(--fs-xs);
  color: var(--terracotta);
  margin: 0.3em 0 0;
  min-height: 1em;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}
@media (max-width: 560px) {
  .checkout-field-row { grid-template-columns: 1fr; }
}

.checkout-payment-methods {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}
.checkout-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--sp-sm);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-organic);
}
.checkout-payment-option:has(input:checked) { border-color: var(--leaf); background: var(--surface-alt); }
.checkout-payment-option input { margin-top: 0.3em; }
.checkout-payment-option__body strong { display: block; font-size: var(--fs-sm); color: var(--ink); }
.checkout-payment-option__body em { font-style: normal; font-size: var(--fs-xs); color: var(--ink-soft); }
.checkout-payment-option[data-not-ready] { opacity: 0.7; }

.checkout-submit-btn {
  width: 100%;
  margin-top: var(--sp-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
}
.checkout-submit-btn__spinner {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: checkout-spin 0.7s linear infinite;
}
.checkout-submit-btn.is-loading .checkout-submit-btn__spinner { display: inline-block; }
.checkout-submit-btn.is-loading .checkout-submit-btn__label { opacity: 0.8; }
@keyframes checkout-spin { to { transform: rotate(360deg); } }

.checkout-form-error {
  background: rgba(200, 107, 74, 0.12);
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
}

.checkout-summary-lines { margin-bottom: var(--sp-sm); }
.checkout-summary-line {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  padding: 0.4em 0;
  border-bottom: 1px dashed var(--border-soft);
  color: var(--ink-soft);
}
.checkout-summary-line__name { flex: 1; }
.checkout-summary-line__qty { color: var(--ink-soft); font-size: var(--fs-xs); }
.checkout-summary-line__total { white-space: nowrap; font-weight: 600; color: var(--ink); }

/* =========================================================================
   15. Order Success
   ========================================================================= */

.order-success-page { padding: var(--sp-xl) 0 var(--sp-2xl); }

.order-error-card {
  max-width: 560px;
  margin: var(--sp-xl) auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-xl) var(--sp-lg);
}
.order-error-card__icon { margin-bottom: var(--sp-sm); }
.order-error-card h1 { font-family: var(--font-display); font-size: var(--fs-lg); margin: 0 0 var(--sp-xs); }
.order-error-card p { color: var(--ink-soft); margin: 0 0 var(--sp-md); }
.order-error-card__actions { display: flex; gap: var(--sp-xs); justify-content: center; flex-wrap: wrap; }

.order-success-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(120% 100% at 50% 0%, #2a5a44 0%, var(--forest) 65%, #0f2a1e 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-md);
  margin-bottom: var(--sp-lg);
}
.order-success-hero .eyebrow { color: var(--mint); }
.order-success-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  max-width: 640px;
  margin: var(--sp-xs) auto var(--sp-md);
}
.order-success-hero__check {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-sm);
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: order-check-pop 0.6s var(--ease-organic) both;
}
.order-success-hero__check svg { width: 32px; height: 32px; }
@keyframes order-check-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.order-success-hero__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.confetti-leaf {
  position: absolute;
  top: -10%;
  width: 10px;
  height: 14px;
  border-radius: 60% 0 60% 0;
  opacity: 0.85;
  animation: confetti-fall 3.2s linear infinite;
}
.confetti-leaf--0 { left: 8%;  background: var(--mint);       animation-delay: 0s;   }
.confetti-leaf--1 { left: 24%; background: var(--gold);       animation-delay: 0.4s; }
.confetti-leaf--2 { left: 46%; background: var(--leaf);       animation-delay: 0.9s; }
.confetti-leaf--3 { left: 68%; background: var(--terracotta); animation-delay: 1.3s; }
.confetti-leaf:nth-child(4n)  { left: 84%; }
.confetti-leaf:nth-child(5n)  { left: 15%; animation-duration: 4s; }
.confetti-leaf:nth-child(7n)  { left: 55%; animation-duration: 2.6s; }
.confetti-leaf:nth-child(11n) { left: 92%; animation-duration: 3.8s; }
@keyframes confetti-fall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.9; }
  100% { transform: translateY(340px) rotate(340deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .confetti-leaf { display: none; }
  .order-success-hero__check { animation: none; }
}

.order-success-number { margin-top: var(--sp-sm); }
.order-success-number__label { display: block; font-size: var(--fs-xs); color: var(--mint); text-transform: uppercase; letter-spacing: 0.06em; }
.order-success-number__row { display: flex; align-items: center; justify-content: center; gap: var(--sp-xs); margin-top: 0.3em; flex-wrap: wrap; }
.order-success-number__value { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; letter-spacing: 0.02em; }
.order-success-number__copied { min-height: 1.2em; font-size: var(--fs-xs); color: var(--mint); margin: 0.3em 0 0; }

.btn-sm { padding: 0.4em 0.9em; font-size: var(--fs-xs); }

.order-note {
  border-radius: var(--radius-sm);
  padding: var(--sp-sm);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
}
.order-note--info { background: rgba(45, 106, 79, 0.1); border: 1px solid var(--leaf); color: var(--forest); }
.order-note--warn { background: rgba(212, 169, 74, 0.15); border: 1px solid var(--gold); color: #7a5c14; }

.order-success-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}
@media (min-width: 900px) {
  .order-success-layout { grid-template-columns: 1.6fr 1fr; align-items: start; }
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-md);
  margin-bottom: var(--sp-md);
}
.order-card h3 { margin-top: 0; font-family: var(--font-display); font-size: var(--fs-md); }

.order-items-list { display: flex; flex-direction: column; }
.order-item-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: 0.6em 0;
  border-bottom: 1px dashed var(--border-soft);
}
.order-item-row:last-child { border-bottom: none; }
.order-item-row__info { display: flex; flex-direction: column; }
.order-item-row__name { font-weight: 600; }
.order-item-row__variant { font-size: var(--fs-xs); color: var(--ink-soft); }
.order-item-row__qty { font-size: var(--fs-xs); color: var(--ink-soft); }
.order-item-row__total { white-space: nowrap; font-weight: 600; }

.order-totals { margin-top: var(--sp-sm); }
.order-totals__line { display: flex; justify-content: space-between; padding: 0.35em 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.order-totals__line--discount { color: var(--terracotta); }
.order-totals__line--total {
  border-top: 1px solid var(--border-soft);
  margin-top: 0.3em;
  padding-top: 0.6em;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
}

.order-address { font-style: normal; line-height: 1.7; color: var(--ink-soft); }

.order-payment-row { display: flex; gap: var(--sp-xs); flex-wrap: wrap; }
.order-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
}
.order-chip--method { background: var(--surface-alt); color: var(--ink); }
.order-chip--status-paid { background: rgba(45, 106, 79, 0.15); color: var(--forest); }
.order-chip--status-pending { background: rgba(212, 169, 74, 0.2); color: #7a5c14; }
.order-chip--status-failed,
.order-chip--status-refunded { background: rgba(200, 107, 74, 0.15); color: var(--terracotta); }

.order-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-sm); }
.order-steps__step { display: flex; gap: var(--sp-xs); align-items: flex-start; }
.order-steps__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-xs);
}
.order-steps__step p { margin: 0.2em 0 0; font-size: var(--fs-sm); color: var(--ink-soft); }

.order-share__whatsapp { display: inline-flex; align-items: center; gap: 0.5em; width: 100%; justify-content: center; }

.order-continue-cta { display: block; text-align: center; margin-top: var(--sp-xs); }
.btn-link {
  display: block;
  text-align: center;
  margin-top: var(--sp-sm);
  color: var(--leaf);
  font-size: var(--fs-sm);
  text-decoration: none;
}
.btn-link:hover { text-decoration: underline; }

/* =========================================================================
   16. Order Status & Form Messaging
   ========================================================================= */


.form-error-box {
  background: rgba(200, 107, 74, 0.12);
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm);
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
}
.form-error-box--rate { border-color: var(--gold); background: rgba(212, 169, 74, 0.15); color: #7a5c14; }



@keyframes order-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 67, 50, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(27, 67, 50, 0); }
}


@media (max-width: 640px) {
}

@media (prefers-reduced-motion: reduce) {
}


/* ========================================================================
   CONTACT
   ======================================================================== */


.contact-main { padding: var(--sp-xl) 0 var(--sp-2xl); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-lg);
}

.contact-form { display: flex; flex-direction: column; gap: var(--sp-sm); }
.contact-optional { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-sm); }

.contact-success {
  background: rgba(45, 106, 79, 0.08);
  border: 1px solid var(--leaf);
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
}
.contact-success h2 { margin-top: 0; color: var(--forest); }
.contact-success p { margin-bottom: 0; color: var(--ink-soft); }

.contact-side { display: flex; flex-direction: column; gap: var(--sp-md); }

.contact-whatsapp-card {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.contact-whatsapp-card svg { width: 34px; height: 34px; fill: #fff; flex-shrink: 0; }
.contact-whatsapp-card strong { display: block; font-size: var(--fs-base); }
.contact-whatsapp-card p { margin: 0.2em 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,0.9); }

.contact-address-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-md);
}
.contact-address-card h3 { margin-top: 0; }
.contact-address-card__note { color: var(--ink-soft); font-size: var(--fs-sm); }

.contact-map-placeholder {
  background: var(--leaf);
  color: var(--sand, #FAF6EF);
  border-radius: var(--radius-md);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xs);
}
.contact-map-placeholder svg { width: 48px; height: 48px; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ========================================================================
   POLICY PAGES
   ======================================================================== */


.policy-page { padding: var(--sp-xl) 0 var(--sp-2xl); }

.policy-prose {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--sp-lg);
}
.policy-prose h2 {
  font-family: var(--font-display);
  color: var(--forest);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-2xs);
}
.policy-prose h2:first-child { margin-top: 0; }
.policy-prose h3 {
  color: var(--leaf);
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-3xs);
}
.policy-prose p {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 var(--sp-sm);
}
.policy-prose ul, .policy-prose ol {
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 var(--sp-sm);
  padding-left: 1.4em;
}
.policy-prose li { margin-bottom: 0.35em; }
.policy-prose strong { color: var(--ink); }
.policy-prose a { color: var(--leaf); }
