/* ================================================================
   Organic Heritage – Main Design System
   style.css
   ================================================================ */

/* ─── Google Fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  --green-deep:      #123D32;
  --green-leaf:      #6F8F54;
  --green-lime:      #B7D866;
  --yellow:          #F4C64E;
  --terracotta:      #D96C3D;
  --coral:           #EFA38F;
  --rose:            #F6D9D2;
  --cream:           #FFF9ED;
  --beige:           #EEDFC3;
  --brown:           #352B25;
  --white:           #FFFFFF;
  --text-main:       #352B25;
  --text-muted:      #7A6B5F;
  --text-light:      #FFF9ED;

  --font-heading:    'Cormorant Garamond', Georgia, serif;
  --font-body:       'Manrope', system-ui, sans-serif;

  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       40px;
  --radius-pill:     999px;

  --shadow-sm:       0 2px 12px rgba(18,61,50,.08);
  --shadow-md:       0 8px 32px rgba(18,61,50,.12);
  --shadow-lg:       0 20px 60px rgba(18,61,50,.15);

  --transition:      0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.18s ease;

  --container-max:   1280px;
  --container-pad:   clamp(1rem, 5vw, 4rem);

  --nav-height:      72px;
  --announce-height: 40px;
}

/* ─── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* Accessible focus */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display-1 { font-size: clamp(3rem, 6vw, 5rem); }
.display-2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); }
.section-sub   { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-leaf);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--green-leaf);
  border-radius: 2px;
}

/* ─── Layout Helpers ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition-fast); fill: none; stroke: currentColor; stroke-width: 2; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(217,108,61,.3);
}
.btn--primary:hover {
  background: #c45c2d;
  border-color: #c45c2d;
  box-shadow: 0 6px 28px rgba(217,108,61,.4);
  transform: translateY(-2px);
}

.btn--green {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}
.btn--green:hover {
  background: #0d2d24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn--outline:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
}

.btn--lg {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

.btn--add-to-cart {
  background: var(--green-deep);
  color: var(--white);
  border: 2px solid var(--green-deep);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  flex: 1;
  justify-content: center;
  transition: var(--transition);
}
.btn--add-to-cart:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}
.btn--add-to-cart.added {
  background: var(--green-leaf);
  border-color: var(--green-leaf);
  pointer-events: none;
}
.btn--add-to-cart svg { fill: currentColor; stroke: none; width: 14px; height: 14px; }

.btn--detail {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
  font-weight: 600;
}
.btn--detail:hover {
  background: var(--green-deep);
  color: var(--white);
}

/* ─── Stars ─────────────────────────────────────────────────────── */
.stars { display: inline-flex; gap: 2px; }
.star { width: 14px; height: 14px; }
.star--full { fill: var(--yellow); color: var(--yellow); }
.star--half { fill: var(--yellow); color: var(--yellow); }
.star--empty { fill: none; stroke: var(--beige); stroke-width: 1.5; color: var(--beige); }

/* ─── Badges ────────────────────────────────────────────────────── */
.product-card__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--green     { background: var(--green-deep); color: var(--white); }
.badge--lime      { background: var(--green-lime); color: var(--green-deep); }
.badge--yellow    { background: var(--yellow); color: var(--brown); }
.badge--terracotta{ background: var(--terracotta); color: var(--white); }
.badge--coral     { background: var(--coral); color: var(--white); }

/* ─── Announcement Bar ──────────────────────────────────────────── */
.announce-bar {
  background: var(--green-deep);
  color: var(--white);
  height: var(--announce-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  width: 100%;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.announce-bar--hidden {
  opacity: 0;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}

.announce-bar__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.announce-bar__track:hover { animation-play-state: paused; }

.announce-bar__item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.announce-bar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-lime);
  flex-shrink: 0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: var(--announce-height);
  left: 0;
  right: 0;
  z-index: 210;
  height: var(--nav-height);
  background: rgba(255, 249, 237, 0.96);
  border-bottom: 1px solid rgba(18, 61, 50, 0.06);
  transition: top var(--transition), background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav.nav--sticky {
  top: 0 !important;
}

.nav--transparent { background: rgba(255, 249, 237, 0.72); border-color: transparent; }
.nav--solid { box-shadow: var(--shadow-sm); }

.home-page .nav--transparent:not(.nav--solid) {
  background: linear-gradient(135deg, rgba(18,61,50,0.5), rgba(18,61,50,0.2));
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.home-page .nav--transparent:not(.nav--solid) .nav__link { color: rgba(255,255,255,0.94); }
.home-page .nav--transparent:not(.nav--solid) .nav__link:hover { color: var(--beige); }
.home-page .nav--transparent:not(.nav--solid) .nav__logo-name { color: var(--white); }
.home-page .nav--transparent:not(.nav--solid) .nav__logo-tag { color: var(--green-lime); }
.home-page .nav--transparent:not(.nav--solid) .nav__action-btn { color: rgba(255,255,255,0.9); }
.home-page .nav--transparent:not(.nav--solid) .nav__hamburger span { background: var(--white); }

.nav__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.4rem 0.25rem;
}

.nav__logo-mark {
  width: clamp(40px, 3.2vw, 54px);
  height: clamp(40px, 3.2vw, 54px);
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: var(--cream);
  padding: 3px;
  box-shadow: inset 0 0 0 1px rgba(18,61,50,0.08), 0 12px 24px rgba(18,61,50,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(-3deg) scale(1.02); }

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  transition: color var(--transition);
}

.nav__logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
}

.nav--solid .nav__logo-name { color: var(--green-deep); }

.nav__logo-tag {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-lime);
}
.nav--solid .nav__logo-tag { color: var(--green-leaf); }

/* Primary links */
.nav__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.nav__link {
  position: relative;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(18,61,50,0.85);
  transition: color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-lg);
}
.nav--solid .nav__link { color: var(--text-main); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: transparent;
  border-radius: 999px;
  box-shadow: inset 0 -2px 0 0 rgba(217,108,61,0.35);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateY(4px);
}
.nav__link:hover::after,
.nav__link.active::after { opacity: 1; transform: translateY(0); }

.nav__link:hover { color: var(--terracotta); }
.nav--solid .nav__link:hover { color: var(--terracotta); }
.nav--solid .nav__link.active { color: var(--terracotta); }

/* Mega menu trigger */
.nav__mega-wrap {
  position: relative;
}

.nav__mega-wrap:hover .nav__mega { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav__mega-wrap:hover .nav__link::after { transform: scaleX(1); }

.nav__mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(960px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.nav__mega::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav__mega-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--beige);
}

.nav__mega-links { display: flex; flex-direction: column; gap: 0.5rem; }
.nav__mega-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav__mega-link:hover { background: var(--cream); color: var(--terracotta); }
.nav__mega-link-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.nav__mega-link-name { font-weight: 600; font-size: 0.88rem; }
.nav__mega-link-sub  { font-size: 0.72rem; color: var(--text-muted); line-height: 1.35; }

/* Nav actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-end;
}

.nav__action-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-main);
  position: relative;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav--solid .nav__action-btn { color: var(--text-main); }
.nav__action-btn:hover { background: var(--cream); color: var(--terracotta); }
.nav--solid .nav__action-btn:hover { background: var(--cream); color: var(--terracotta); }
.nav__action-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.nav__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  transition: transform var(--transition-fast);
}
.nav__action-btn:hover .nav__badge { transform: scale(1.2); }

.nav__shop-btn {
  padding: 0.6rem 1.3rem;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  margin-left: 0.65rem;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(217,108,61,0.18);
}
.nav__shop-btn:hover {
  background: #c45c2d;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(217,108,61,.28);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(238,222,208,0.45);
  transition: background var(--transition), transform var(--transition);
}
.nav__hamburger:hover { background: rgba(238,222,208,0.7); transform: translateY(-1px); }
.nav--solid .nav__hamburger:hover { background: rgba(238,222,208,0.7); }
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}
.nav--solid .nav__hamburger span { background: var(--text-main); }
.nav--open .nav__hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Mobile Menu ───────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 185;
  display: flex;
  pointer-events: none;
}

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18,61,50,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav__panel {
  position: relative;
  width: min(360px, 90vw);
  height: 100%;
  background: var(--green-deep);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0;
}

.mobile-nav--open .mobile-nav__overlay { opacity: 1; pointer-events: auto; }
.mobile-nav--open { pointer-events: auto; }
.mobile-nav--open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.mobile-nav__logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  background: var(--cream);
  padding: 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.mobile-nav__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
}

.mobile-nav__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: background var(--transition-fast);
}
.mobile-nav__close:hover { background: rgba(255,255,255,0.15); }
.mobile-nav__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.mobile-nav__link:hover { color: var(--yellow); padding-left: 6px; }

.mobile-nav__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.mobile-nav__cat {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: background var(--transition-fast), color var(--transition-fast);
  text-align: center;
}
.mobile-nav__cat:hover { background: var(--yellow); color: var(--brown); }

.mobile-nav__footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav__contact {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav__socials {
  display: flex;
  gap: 0.75rem;
}
.mobile-nav__social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition-fast);
}
.mobile-nav__social:hover { background: var(--terracotta); }
.mobile-nav__social svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── Hero Banner ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  max-height: 980px;
  overflow: hidden;
  margin-top: 0;
  isolation: isolate;
  background: var(--green-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.hero-slide__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 12%, rgba(240,205,135,0.055) 44%, transparent 66%);
  opacity: 0;
  transform: translateX(-18%);
  pointer-events: none;
}
.hero-slide.active .hero-slide__bg {
  animation: heroCinematicPan 8s ease-out forwards;
}
.hero-slide.active .hero-slide__bg::after {
  animation: heroLightSweep 6.5s ease-in-out infinite;
}

.hero-slide--artwork .hero-slide__bg {
  background-color: #143918;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: none;
}

.hero-slide--artwork.active .hero-slide__bg {
  animation: none;
  transform: none;
}

.hero-slide--artwork .hero-slide__bg::after {
  display: none;
}

.hero-slide--grain-story .hero-slide__bg {
  background-color: #143918;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  transform: none;
}

.hero-slide--grain-story.active .hero-slide__bg {
  animation: heroGrainZoom 7.5s ease-in-out infinite;
}

.hero-slide--grain-story .hero-slide__bg::after {
  background: radial-gradient(circle at 72% 45%, rgba(238,223,195,0.16), transparent 34%);
  opacity: 0;
  transform: none;
}

.hero-slide--grain-story.active .hero-slide__bg::after {
  animation: heroPanelGlow 4.5s ease-in-out infinite;
}

.hero-slide--grain-story .hero-slide__content {
  min-height: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 2.5vw, 3rem);
  padding-bottom: 7rem;
}

.hero-grain-copy {
  width: min(700px, 39vw);
  margin-left: auto;
  text-align: center;
  color: var(--beige);
}

.hero-grain-rule {
  display: block;
  width: min(360px, 58%);
  height: 1px;
  margin: 0 auto 1.35rem;
  background: linear-gradient(90deg, transparent, rgba(224,176,88,0.95), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}

.hero-slide--grain-story.active .hero-grain-rule {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.1s;
}

.hero-slide--grain-story .hero-slide__title {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: clamp(2.35rem, 3vw, 3.35rem);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  color: #fff1d1;
  text-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-title-line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  filter: blur(4px);
}

.hero-slide--grain-story.active .hero-title-line {
  animation: heroLetterZoom 0.85s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-slide--grain-story.active .hero-title-line:nth-child(1) { animation-delay: 0.28s; }
.hero-slide--grain-story.active .hero-title-line:nth-child(2) { animation-delay: 0.42s; }

.hero-grain-desc {
  max-width: none;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,249,237,0.92);
}

.hero-grain-btns {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-slide--grain-story .hero-slide__btns .btn--primary {
  min-width: 365px;
  min-height: 54px;
  padding: 0.82rem 2rem;
  color: #12351f;
  background: linear-gradient(90deg, #d7a14d, #efc477);
  border-color: rgba(239,196,119,0.95);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 18px 38px -18px rgba(0,0,0,0.8);
}

.hero-slide--grain-story.active .hero-slide__btns .btn--primary {
  animation: heroButtonBreath 2.8s ease-in-out infinite;
}

.hero-slide--grain-story .hero-slide__btns .btn--primary:hover {
  color: #12351f;
  background: linear-gradient(90deg, #efc477, #f5d28c);
  border-color: #f5d28c;
}

.hero-grain-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(500px, 82%);
  margin: 0 0 0 auto;
  align-items: start;
}

.hero-slide--grain-story .hero-feature {
  color: rgba(255,249,237,0.9);
  border-right-color: rgba(224,176,88,0.48);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 4px 14px rgba(0,0,0,0.28);
}

.hero-slide--grain-story .hero-feature__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.6rem;
  border-color: rgba(224,176,88,0.92);
  color: #e0b058;
}

.hero-slide--collection-story .hero-slide__bg {
  background-color: #f7eddb;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  transform: none;
}

.hero-slide--collection-story.active .hero-slide__bg {
  animation: heroCollectionZoom 8s ease-out forwards;
}

.hero-slide--collection-story .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(255,249,237,0.22), rgba(255,249,237,0.1) 34%, transparent 64%),
    radial-gradient(circle at 20% 40%, rgba(255,249,237,0.36), transparent 34%);
  opacity: 1;
  transform: none;
}

.hero-slide--collection-story.active .hero-slide__bg::after {
  animation: none;
}

.hero-slide--collection-story .hero-slide__content {
  min-height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 4.8rem;
}

.hero-collection-copy {
  width: min(610px, 42vw);
  color: #263f19;
}

.hero-slide--collection-story .hero-slide__title {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(3.1rem, 5vw, 5.2rem);
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
  color: #2e481d;
}

.hero-slide--collection-story .hero-title-line {
  white-space: nowrap;
}

.hero-slide--collection-story.active .hero-title-line {
  animation: heroLetterZoom 0.85s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-slide--collection-story.active .hero-title-line:nth-child(1) { animation-delay: 0.24s; }
.hero-slide--collection-story.active .hero-title-line:nth-child(2) { animation-delay: 0.38s; }

.hero-slide--collection-story .hero-collection-desc {
  max-width: 440px;
  margin-bottom: 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: #7a351d;
  text-shadow: 0 1px 0 rgba(255,249,237,0.7);
}

.hero-collection-btns {
  margin-bottom: 1.5rem;
}

.hero-slide--collection-story .hero-slide__btns .btn--primary {
  min-width: 290px;
  min-height: 54px;
  padding: 0.82rem 1.95rem;
  background: linear-gradient(90deg, #b7532f, #cf6b3e);
  border-color: #b7532f;
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px -16px rgba(103,47,28,0.75);
}

.hero-slide--collection-story.active .hero-slide__btns .btn--primary {
  animation: heroButtonBreath 2.8s ease-in-out infinite;
}

.hero-slide--collection-story .hero-slide__btns .btn--primary:hover {
  background: linear-gradient(90deg, #cf6b3e, #dd7a4c);
  border-color: #cf6b3e;
}

.hero-collection-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(430px, 100%);
  margin: 0;
}

.hero-slide--collection-story .hero-feature {
  color: #51331f;
  border-right-color: rgba(81,51,31,0.24);
  font-size: 1rem;
}

.hero-slide--collection-story .hero-feature__icon {
  width: 48px;
  height: 48px;
  border-color: rgba(81,51,31,0.42);
  color: #6f7b45;
}

@keyframes heroCinematicPan {
  from { transform: scale(1.15) translate3d(0, 0, 0); }
  to   { transform: scale(1.035) translate3d(var(--hero-pan-x, 0), var(--hero-pan-y, 0), 0); }
}

@keyframes heroGrainZoom {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.018) translate3d(var(--hero-pan-x, 0), var(--hero-pan-y, 0), 0); }
}

@keyframes heroCollectionZoom {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.018) translate3d(var(--hero-pan-x, 0), var(--hero-pan-y, 0), 0); }
}

@keyframes heroPanelGlow {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.55; }
}

@keyframes heroLetterZoom {
  0% { opacity: 0; transform: translateY(18px) scale(0.94); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes heroButtonBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 18px 38px -18px rgba(0,0,0,0.8); }
  50% { transform: scale(1.045); box-shadow: 0 22px 46px -18px rgba(239,196,119,0.45); }
}

@keyframes heroLightSweep {
  0%, 100% { opacity: 0; transform: translateX(-18%); }
  18%, 58% { opacity: 0.28; }
  72% { opacity: 0; transform: translateX(18%); }
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,30,23,0.82) 0%, rgba(13,45,34,0.58) 42%, rgba(11,28,22,0.18) 72%, rgba(8,20,16,0.1) 100%),
    linear-gradient(180deg, rgba(4,17,13,0.16) 0%, rgba(9,31,24,0.1) 48%, rgba(6,23,17,0.62) 100%);
}

.hero-slide--light .hero-slide__overlay {
  background:
    radial-gradient(circle at 78% 56%, rgba(111,74,35,0.2), transparent 34%),
    linear-gradient(90deg, rgba(255,249,237,0.88) 0%, rgba(255,249,237,0.72) 31%, rgba(243,225,184,0.35) 48%, rgba(40,72,30,0.1) 68%, rgba(18,45,22,0.1) 100%),
    linear-gradient(180deg, rgba(255,249,237,0.03), rgba(20,40,18,0.34));
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  padding: calc(var(--nav-height) + var(--announce-height) + 3rem) var(--container-pad) 2rem;
  margin: 0 auto;
}

.hero-slide--grain-story .hero-slide__content {
  max-width: none;
  padding-left: clamp(1rem, 3vw, 3rem);
  padding-right: clamp(1rem, 2.5vw, 3rem);
  padding-bottom: 7rem;
}

.hero-slide--collection-story .hero-slide__content {
  max-width: none;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding-left: clamp(2rem, 4vw, 5rem);
  padding-right: clamp(2rem, 4vw, 5rem);
  padding-bottom: 5rem;
}

.hero-slide__eyebrow {
  min-height: 32px;
  width: fit-content;
  padding: 0.35rem 1rem 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-slide__eyebrow svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 5.25vw, 4.75rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.02;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.hero-slide__title em {
  font-style: normal;
  color: var(--beige);
}

.hero-slide--light .hero-slide__title {
  max-width: 760px;
  font-size: clamp(4rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 0.9;
  color: #244d17;
}

.hero-slide--light .hero-slide__title em {
  color: #315f1f;
}

.hero-slide__desc {
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 3rem;
}

.hero-slide--light .hero-slide__tagline {
  max-width: 660px;
  margin-bottom: 1.4rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(121,82,56,0.3);
  border-bottom: 1px solid rgba(121,82,56,0.2);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: #51331f;
}

.hero-slide__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(660px, 100%);
  margin-bottom: 1.5rem;
}

.hero-feature {
  min-width: 0;
  padding: 0 0.9rem;
  border-right: 1px solid rgba(121,82,56,0.25);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.05;
  color: #51331f;
}

.hero-feature:first-child { padding-left: 0; }
.hero-feature:last-child { border-right: 0; }

.hero-feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.45rem;
  border: 1px solid rgba(79,125,40,0.55);
  border-radius: 50%;
  color: #39701f;
}

.hero-feature__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slide__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-slide__eyebrow,
.hero-slide__title,
.hero-slide__desc,
.hero-slide__features,
.hero-slide__btns {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
}
.hero-slide.active .hero-slide__eyebrow { transition-delay: 0.12s; }
.hero-slide.active .hero-slide__title { transition-delay: 0.24s; }
.hero-slide.active .hero-slide__desc { transition-delay: 0.36s; }
.hero-slide.active .hero-slide__features { transition-delay: 0.48s; }
.hero-slide.active .hero-slide__btns { transition-delay: 0.6s; }
.hero-slide.active .hero-slide__eyebrow,
.hero-slide.active .hero-slide__title,
.hero-slide.active .hero-slide__desc,
.hero-slide.active .hero-slide__features,
.hero-slide.active .hero-slide__btns { opacity: 1; transform: translateY(0); }

.hero-slide__btns .btn {
  min-width: 205px;
  min-height: 48px;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  text-transform: none;
  letter-spacing: 0;
  border-width: 1px;
}
.hero-slide__btns .btn--primary {
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.65);
}
.hero-slide__btns .btn--primary:hover {
  background: #0d2d24;
  border-color: #0d2d24;
}
.hero-slide__btns .btn--outline-white {
  color: var(--green-deep);
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.96);
}
.hero-slide__btns .btn--outline-white:hover {
  color: var(--green-deep);
  background: var(--beige);
  border-color: var(--beige);
  transform: translateY(-2px);
}

.hero-slide--light .hero-slide__btns .btn--primary {
  min-width: 290px;
  background: linear-gradient(90deg, #315f1f, #244d17);
  border-color: #315f1f;
  box-shadow: 0 14px 28px -14px rgba(36,77,23,0.75);
}

/* Hero controls */
.hero__controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 3;
}

.hero__prev,
.hero__next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12,43,33,0.72);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.25);
}
.hero__prev:hover, .hero__next:hover { background: rgba(18,61,50,0.92); transform: translateY(-2px); }
.hero__prev svg, .hero__next svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero__dots {
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.hero__dot.active {
  background: var(--white);
  width: 28px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--container-pad);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7));
  animation: scrollLine 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.001% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Floating botanicals */
.hero__botanicals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.botanical {
  position: absolute;
  font-size: 2rem;
  opacity: 0.12;
  animation: floatBotanical var(--dur, 18s) ease-in-out infinite var(--delay, 0s);
  user-select: none;
}

@keyframes floatBotanical {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot0, 0deg)); }
  33%       { transform: translate(var(--x1, 12px), var(--y1, -15px)) rotate(var(--rot1, 15deg)); }
  66%       { transform: translate(var(--x2, -8px), var(--y2, 10px)) rotate(var(--rot2, -8deg)); }
}

/* ─── Trust Strip ───────────────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  padding: 3rem 0;
  position: relative;
}

.trust-strip::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.trust-item__icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.trust-item:hover .trust-item__icon {
  transform: translateY(-4px) scale(1.05);
  background: var(--green-deep);
}
.trust-item:hover .trust-item__icon svg { stroke: var(--white); }

.trust-item__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 1.8;
  transition: stroke var(--transition);
}

.trust-item__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-item__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 160px;
}

/* ─── Two Worlds Split Section ──────────────────────────────────── */
.two-worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.two-worlds__side {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
}

.two-worlds__side--grains {
  background: linear-gradient(135deg, var(--green-deep) 0%, #1a5040 100%);
}

.two-worlds__side--cosmetics {
  background: linear-gradient(135deg, var(--rose) 0%, #f0c8be 100%);
}

.two-worlds__img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.25;
  transition: transform 0.8s ease, opacity 0.4s ease;
  width: 100%;
  height: 100%;
}

.two-worlds__side--grains .two-worlds__img {
  object-position: 58% center;
  opacity: 0.36;
}

.two-worlds__side--cosmetics .two-worlds__img {
  object-position: 50% 58%;
  opacity: 0.34;
}

.two-worlds__side:hover .two-worlds__img { transform: scale(1.05); opacity: 0.35; }

.two-worlds__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.two-worlds__side--grains .two-worlds__content { color: var(--white); }
.two-worlds__side--cosmetics .two-worlds__content { color: var(--green-deep); }

.two-worlds__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.two-worlds__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.two-worlds__side--grains .two-worlds__eyebrow { color: var(--green-lime); }
.two-worlds__side--cosmetics .two-worlds__eyebrow { color: var(--terracotta); }

.two-worlds__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.two-worlds__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.two-worlds__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.two-worlds__list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.two-worlds__side--cosmetics .two-worlds__list li::before {
  background: rgba(18,61,50,0.15);
}

/* ─── Category Explorer ─────────────────────────────────────────── */
.category-explorer {
  background:
    linear-gradient(180deg, rgba(255,252,242,0.96) 0%, rgba(246,235,210,0.88) 100%),
    var(--cream);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(270px, 1fr) minmax(270px, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.cat-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: var(--green-deep);
  border: 1px solid rgba(101, 74, 43, 0.18);
  box-shadow: 0 18px 46px rgba(35, 29, 19, 0.14);
  min-height: 270px;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 160, 82, 0.55);
  box-shadow: 0 28px 58px rgba(35, 29, 19, 0.2);
}

.cat-card:nth-child(1) { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.cat-card:nth-child(2) { grid-column: 6 / span 3; grid-row: 1; }
.cat-card:nth-child(3) { grid-column: 9 / span 4; grid-row: 1; }
.cat-card:nth-child(4) { grid-column: 6 / span 7; grid-row: 2; }

.cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }

.cat-card:nth-child(1) .cat-card__img {
  object-position: 82% center;
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(18,61,50,0.08) 0%, rgba(18,61,50,0.18) 45%, rgba(12,39,32,0.86) 100%),
    linear-gradient(90deg, rgba(12,39,32,0.58) 0%, rgba(12,39,32,0.12) 48%, rgba(12,39,32,0) 100%);
  transition: opacity var(--transition);
}

.cat-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(1.15rem, 2vw, 1.75rem);
  width: 100%;
  max-width: 520px;
}

.cat-card__name {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0.45rem;
  text-shadow: 0 3px 16px rgba(0,0,0,0.38);
}

.cat-card__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  margin-bottom: 1rem;
  max-width: 360px;
}

.cat-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: linear-gradient(135deg, #f4ca74 0%, #e3a948 100%);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  min-height: 42px;
  transition: gap var(--transition-fast);
}
.cat-card:hover .cat-card__arrow { gap: 12px; }
.cat-card__arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* ─── Marquee ───────────────────────────────────────────────────── */
.marquee-section {
  background: var(--green-deep);
  padding: 1.4rem 0;
  overflow: hidden;
  display: none;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
  gap: 0;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-sep {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-lime);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Featured Products ─────────────────────────────────────────── */
.featured-products {
  background: var(--beige);
  padding: clamp(2.25rem, 4vw, 3.75rem) 0;
}

.product-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 6px;
  width: fit-content;
}

.product-tab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
.product-tab.active {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.product-tab:hover:not(.active) { color: var(--green-deep); background: var(--cream); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 1.4vw, 1.15rem);
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__img-wrap {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: var(--cream);
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition), transform var(--transition);
}
.product-card__img--main { opacity: 1; }
.product-card__img--hover { opacity: 0; }
.product-card:hover .product-card__img--main { opacity: 0; transform: scale(1.04); }
.product-card:hover .product-card__img--hover { opacity: 1; }

.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background var(--transition-fast);
  opacity: 0;
}
.product-card:hover .product-card__wishlist { opacity: 1; }
.product-card__wishlist:hover { transform: scale(1.15); background: var(--rose); }
.product-card__wishlist svg { width: 16px; height: 16px; fill: none; stroke: var(--terracotta); stroke-width: 1.8; }
.product-card__wishlist.wishlisted svg { fill: var(--terracotta); }

.product-card__quickview {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 2;
  background: var(--white);
  color: var(--green-deep);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  letter-spacing: 0.04em;
}
.product-card:hover .product-card__quickview { opacity: 1; transform: translateX(-50%) translateY(0); }
.product-card__quickview:hover { background: var(--green-deep); color: var(--white); }
.product-card__quickview svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }

.product-card__body { padding: 0.85rem 0.95rem 1rem; }

.product-card__cat {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-leaf);
  margin-bottom: 0.22rem;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.36rem;
  line-height: 1.25;
}
.product-card__name a { color: var(--text-main); transition: color var(--transition-fast); }
.product-card__name a:hover { color: var(--terracotta); }

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.35rem;
}
.product-card__rating-count { font-size: 0.72rem; color: var(--text-muted); }

.product-card__size {
  margin-bottom: 0.45rem;
}
.product-card__size-select {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.product-card__size-select:focus { border-color: var(--green-deep); outline: none; }

.product-card__pricing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-deep);
}
.product-card__orig {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
}

.product-card .btn--add-to-cart,
.product-card .btn--detail {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  font-size: 0.73rem;
}

/* ─── Ingredient Story ──────────────────────────────────────────── */
.ingredient-story {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.ingredient-story__inner {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  gap: 3rem;
  align-items: start;
}

.ingredient-story__left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  padding-top: 4rem;
}

.ingredient-story__right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  padding-top: 4rem;
}

.ingredient-btn {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text-main);
  border: 2px solid var(--beige);
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
}
.ingredient-btn:hover { border-color: var(--green-deep); color: var(--green-deep); }
.ingredient-btn.active {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
  box-shadow: var(--shadow-md);
}

.ingredient-story__center {
  text-align: center;
}

.ingredient-story__img-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-lg);
}

.ingredient-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ingredient-story__name {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.ingredient-story__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ingredient-story__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.ingredient-benefit {
  background: var(--green-deep);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ─── Our Story ─────────────────────────────────────────────────── */
.our-story {
  background: var(--beige);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

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

.our-story__media {
  position: relative;
}

.our-story__img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.our-story__img-sub {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--beige);
  box-shadow: var(--shadow-lg);
}

.our-story__heritage-text {
  position: absolute;
  top: 20px;
  left: -20px;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(18,61,50,0.08);
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

.our-story__content { padding-bottom: 2rem; }

.our-story__year {
  font-size: 5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  right: 0;
  top: -20px;
}

.our-story__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--green-deep);
  margin-bottom: 1.25rem;
  position: relative;
}

.our-story__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.our-story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(18,61,50,0.12);
  border-bottom: 1px solid rgba(18,61,50,0.12);
}

.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ─── Why Choose Us ─────────────────────────────────────────────── */
.why-us {
  background: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.why-us__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.why-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card:nth-child(1) { background: var(--green-deep); color: var(--white); }
.why-card:nth-child(2) { background: var(--beige); color: var(--text-main); }
.why-card:nth-child(3) { background: var(--yellow); color: var(--brown); }
.why-card:nth-child(4) { background: var(--rose); color: var(--text-main); }

.why-card:hover { filter: brightness(1.05); transform: translateY(-4px); z-index: 1; }

.why-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
}

.why-card__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  opacity: 0.8;
}

/* ─── Sustainability ────────────────────────────────────────────── */
.sustainability {
  background: var(--green-deep);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.sustainability__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.sustainability__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sustainability__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.sustainability__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sustainability__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}
.pillar:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }

.pillar__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pillar__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.sustainability__img-col {
  position: relative;
}

.sustainability__img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ─── Product Comparison ─────────────────────────────────────────── */
.comparison {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.comparison-table thead th {
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.comparison-table thead th:first-child {
  background: var(--beige);
  color: var(--text-muted);
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.comparison-table thead th:nth-child(2) { background: var(--green-deep); color: var(--white); }
.comparison-table thead th:nth-child(3) { background: var(--beige); color: var(--text-main); }

.comparison-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--beige);
  font-size: 0.9rem;
  text-align: center;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
  background: var(--cream);
}

.comp-check { color: var(--green-leaf); font-size: 1.1rem; }
.comp-x { color: var(--coral); font-size: 1.1rem; }
.comp-partial { color: var(--yellow); font-size: 1.1rem; }

/* ─── Testimonials ──────────────────────────────────────────────── */
.testimonials {
  background: var(--rose);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  min-width: 380px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 0.5rem 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.testimonial-verified {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-leaf);
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-product {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.testimonial-btn:hover { background: var(--green-deep); color: var(--white); }
.testimonial-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ─── Gallery ───────────────────────────────────────────────────── */
.gallery-section {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__cap {
  position: absolute;
  inset: 0;
  background: rgba(18,61,50,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  padding: 1rem;
  text-align: center;
}
.gallery-item:hover .gallery-item__cap { opacity: 1; }
.gallery-item__cap-text {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18,61,50,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(8px);
}
.lightbox--open { opacity: 1; pointer-events: auto; }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.25);
}
.lightbox__close:hover { background: rgba(255,255,255,0.3); }

.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.25);
}
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.3); }
.lightbox__prev svg, .lightbox__next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* ─── Newsletter ────────────────────────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, var(--green-deep) 0%, #1e5040 40%, var(--terracotta) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C17.3 5 7 15.3 7 28s10.3 23 23 23 23-10.3 23-23S42.7 5 30 5zm0 4c10.5 0 19 8.5 19 19S40.5 47 30 47 11 38.5 11 28 19.5 9 30 9z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
}

.newsletter__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.newsletter__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 1rem;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.25);
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.7rem 1.2rem;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.6); }

.newsletter__btn {
  padding: 0.7rem 1.6rem;
  background: var(--white);
  color: var(--green-deep);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.newsletter__btn:hover { background: var(--yellow); color: var(--brown); }

.newsletter__privacy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--brown);
  color: rgba(255,249,237,0.85);
  padding-top: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.footer__botanical {
  position: absolute;
  font-size: 20rem;
  opacity: 0.03;
  user-select: none;
  pointer-events: none;
  bottom: -4rem;
  right: -4rem;
  line-height: 1;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,249,237,0.1);
}

.footer__brand .nav__logo-name { color: var(--cream); font-size: 1.4rem; }
.footer__brand .nav__logo-tag { color: var(--green-lime); }

.footer__tagline {
  font-size: 0.88rem;
  color: rgba(255,249,237,0.65);
  line-height: 1.7;
  margin: 1.25rem 0;
}

.footer__newsletter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
}
.footer__newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--white);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
}
.footer__newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer__newsletter-form button {
  padding: 0.7rem 1rem;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.footer__newsletter-form button:hover { background: #c45c2d; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,249,237,0.65);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer__links a:hover { color: var(--yellow); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: rgba(255,249,237,0.65);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer__contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--green-lime);
  stroke-width: 1.6;
}

.footer__socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.footer__social:hover { background: var(--terracotta); color: var(--white); transform: translateY(-3px); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,249,237,0.45);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom-links a { color: rgba(255,249,237,0.45); transition: color var(--transition-fast); }
.footer__bottom-links a:hover { color: var(--yellow); }

.footer__payment {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__payment-icon {
  height: 20px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ─── Offer Popup ───────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18,61,50,0.65);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(4px);
}
.popup-overlay--open { opacity: 1; pointer-events: auto; }

.popup {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.popup-overlay--open .popup { transform: scale(1) translateY(0); }

.popup__img-side {
  position: relative;
  overflow: hidden;
}
.popup__img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popup__img-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,61,50,0.4), rgba(244,198,78,0.2));
}

.popup__content-side {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  position: relative;
}

.popup__botanical-1, .popup__botanical-2 {
  position: absolute;
  font-size: 3rem;
  opacity: 0.08;
  user-select: none;
}
.popup__botanical-1 { top: -10px; right: 10px; transform: rotate(30deg); }
.popup__botanical-2 { bottom: -10px; left: 10px; transform: rotate(-20deg); }

.popup__welcome {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.popup__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.popup__title span {
  color: var(--terracotta);
  font-size: 3rem;
}

.popup__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup__input {
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition-fast);
}
.popup__input:focus { border-color: var(--green-deep); }
.popup__input.error { border-color: var(--terracotta); }

.popup__submit {
  background: var(--terracotta);
  color: var(--white);
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.popup__submit:hover { background: #c45c2d; transform: translateY(-2px); }

.popup__skip {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: underline;
}
.popup__skip:hover { color: var(--text-main); }

.popup__privacy { font-size: 0.67rem; color: var(--text-muted); text-align: center; }

.popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(53,43,37,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
  z-index: 2;
  border: none;
  cursor: pointer;
}
.popup__close:hover { background: var(--terracotta); color: var(--white); }

.popup__success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.popup__success-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.popup__success-title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--green-deep); margin-bottom: 0.5rem; }
.popup__success-code { background: var(--green-deep); color: var(--white); padding: 0.5rem 1.5rem; border-radius: var(--radius-pill); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.1em; display: inline-block; margin: 0.5rem 0 1rem; }
.popup__success-text { font-size: 0.82rem; color: var(--text-muted); }

/* Floating offer tab */
.offer-tab {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  background: var(--terracotta);
  color: var(--white);
  min-width: 42px;
  min-height: 116px;
  padding: 0.75rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  display: none;
  transition: background var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.offer-tab:hover { background: #c45c2d; }
.offer-tab--visible { display: block; }

/* ─── Floating Actions ──────────────────────────────────────────── */
.fab-group {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  font-family: inherit;
  position: relative;
}
.fab:hover { transform: translateY(-4px) scale(1.08); box-shadow: var(--shadow-lg); }

.fab--whatsapp { background: #25D366; color: var(--white); }
.fab--cart      { background: var(--green-deep); color: var(--white); }
.fab--top       { background: var(--beige); color: var(--green-deep); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); }
.fab--top.visible { opacity: 1; pointer-events: auto; }

.fab svg { width: 22px; height: 22px; }

.fab__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--brown);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.fab:hover .fab__tooltip { opacity: 1; }

/* ─── Toast Notifications ───────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--green-deep);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.35s ease forwards, toastOut 0.35s ease forwards 2.8s;
}

@keyframes toastIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px); }
}

/* ─── Quick View Modal ──────────────────────────────────────────── */
.quickview-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(18,61,50,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.quickview-overlay--open { opacity: 1; pointer-events: auto; }

.quickview {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.quickview-overlay--open .quickview { transform: scale(1); }

.quickview__img-side { background: var(--cream); }
.quickview__img { width: 100%; height: 100%; object-fit: cover; }

.quickview__content { padding: 2rem; overflow-y: auto; }
.quickview__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: background var(--transition-fast);
}
.quickview__close:hover { background: var(--terracotta); color: var(--white); }

/* ─── Cart Drawer ───────────────────────────────────────────────── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}
.cart-drawer-overlay--open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 95vw);
  background: var(--white);
  z-index: 401;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer--open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--beige);
}
.cart-drawer__title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--green-deep); }
.cart-drawer__close { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; border: none; color: var(--text-muted); }

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--beige);
}

.cart-item__img { width: 72px; height: 72px; border-radius: var(--radius-md); object-fit: cover; background: var(--cream); }
.cart-item__name { font-size: 0.88rem; font-weight: 600; color: var(--text-main); margin-bottom: 2px; }
.cart-item__price { font-size: 0.82rem; color: var(--green-deep); font-weight: 700; }

.cart-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.cart-qty__btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  border: 1px solid var(--beige);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: background var(--transition-fast);
}
.cart-qty__btn:hover { background: var(--beige); }
.cart-qty__count { font-size: 0.82rem; font-weight: 600; min-width: 22px; text-align: center; }

.cart-item__remove { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 0.8rem; align-self: flex-start; padding: 2px; transition: color var(--transition-fast); }
.cart-item__remove:hover { color: var(--terracotta); }

.cart-drawer__footer { border-top: 1px solid var(--beige); padding: 1.25rem 1.5rem; }

.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.cart-total-row span { font-size: 0.85rem; color: var(--text-muted); }
.cart-total-row span:last-child { font-weight: 600; color: var(--text-main); }
.cart-total-row--grand span { font-size: 1rem; font-weight: 700; color: var(--green-deep); }
.cart-total-row--grand span:last-child { font-size: 1.15rem; color: var(--green-deep); }

.cart-drawer__cta { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-empty-title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--text-main); margin-bottom: 0.5rem; }

/* ─── Page Banner ───────────────────────────────────────────────── */
.page-banner {
  padding: calc(var(--nav-height) + var(--announce-height) + 3rem) 0 4rem;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.page-banner__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.page-banner__overlay { position: absolute; inset: 0; background: rgba(18,61,50,0.72); }
.page-banner__content { position: relative; z-index: 1; color: var(--white); }
.page-banner__eyebrow { color: var(--green-lime); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.75rem; }
.page-banner__title { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); margin-bottom: 0.75rem; }
.page-banner__desc { font-size: 1rem; color: rgba(255,255,255,0.82); max-width: 520px; line-height: 1.7; }

/* ─── Breadcrumbs ───────────────────────────────────────────────── */
.breadcrumbs {
  padding: 1rem 0;
  border-bottom: 1px solid var(--beige);
  margin-bottom: 2rem;
}
.breadcrumbs ol { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.breadcrumbs li { font-size: 0.8rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--green-deep); }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs__sep { padding: 0 0.5rem; color: var(--text-muted); }

/* ─── Filter Bar ────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  border: 2px solid var(--beige);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--green-deep); color: var(--green-deep); }
.filter-btn.active { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: var(--radius-pill);
  padding: 3px 10px 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}
.filter-chip button { background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 0; font-size: 1rem; line-height: 1; display: flex; }

.sort-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color var(--transition-fast);
  outline: none;
}
.sort-select:focus { border-color: var(--green-deep); }

/* ─── Contact Form ──────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-main); }

.form-input, .form-textarea, .form-select {
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(18,61,50,0.06);
}
.form-input.error, .form-textarea.error { border-color: var(--terracotta); }

.form-textarea { min-height: 140px; resize: vertical; }

.form-error { font-size: 0.75rem; color: var(--terracotta); font-weight: 600; display: none; }
.form-error.visible { display: block; }

.form-success {
  background: rgba(18,61,50,0.08);
  border: 2px solid var(--green-leaf);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--green-deep);
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.form-success.visible { display: flex; }

/* Honeypot */
.oh-hp { display: none !important; }

/* ─── Product Detail Page ───────────────────────────────────────── */
.product-detail { padding: 3rem 0; }

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

.product-gallery__main {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.product-gallery__thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; }
.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}
.product-thumb.active { border-color: var(--green-deep); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--text-main); margin-bottom: 0.75rem; }
.product-detail__rating { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.product-detail__review-count { font-size: 0.82rem; color: var(--text-muted); }

.product-detail__pricing { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.product-detail__price { font-size: 2rem; font-weight: 700; color: var(--green-deep); }
.product-detail__orig { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.product-detail__discount { background: var(--green-deep); color: var(--white); padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; }

.product-size-selector { margin-bottom: 1.5rem; }
.product-size-selector label { font-size: 0.82rem; font-weight: 700; color: var(--text-main); display: block; margin-bottom: 0.6rem; }
.size-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.size-btn {
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--white);
  color: var(--text-main);
  font-family: inherit;
}
.size-btn.active { border-color: var(--green-deep); color: var(--green-deep); background: rgba(18,61,50,0.05); }
.size-btn:hover { border-color: var(--green-deep); }

.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.qty-row label { font-size: 0.82rem; font-weight: 700; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 2px solid var(--beige); border-radius: var(--radius-md); overflow: hidden; }
.qty-btn { width: 36px; height: 36px; background: var(--cream); border: none; font-size: 1.2rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast); color: var(--text-main); }
.qty-btn:hover { background: var(--beige); }
.qty-num { min-width: 40px; text-align: center; font-size: 0.92rem; font-weight: 600; padding: 0 4px; }

.product-detail__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.product-detail__delivery { background: var(--cream); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.delivery-input { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.delivery-input input { flex: 1; padding: 0.6rem 0.9rem; border: 1.5px solid var(--beige); border-radius: var(--radius-md); font-size: 0.82rem; font-family: inherit; outline: none; }
.delivery-input button { padding: 0.6rem 1rem; background: var(--green-deep); color: var(--white); border-radius: var(--radius-md); font-size: 0.78rem; font-weight: 700; border: none; cursor: pointer; font-family: inherit; }

.product-tabs-detail { margin-top: 2rem; }
.product-tab-list { display: flex; border-bottom: 2px solid var(--beige); gap: 0; }
.product-tab-btn { padding: 0.75rem 1.25rem; font-size: 0.82rem; font-weight: 700; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; font-family: inherit; transition: color var(--transition-fast), border-color var(--transition-fast); }
.product-tab-btn.active { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.product-tab-btn:hover { color: var(--green-deep); }
.product-tab-panel { display: none; padding: 1.5rem 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.product-tab-panel.active { display: block; }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--beige); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color var(--transition-fast);
}
.faq-q:hover { color: var(--terracotta); }
.faq-q svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding var(--transition); padding: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1rem; }

/* ─── Cart Page ─────────────────────────────────────────────────── */
.cart-page { padding: 2rem 0 5rem; background: var(--cream); min-height: 70vh; }
.cart-page__grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }

.cart-page-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--beige);
}
.cart-page-item:last-child { border-bottom: none; }

.cart-page__img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-md); background: var(--cream); }
.cart-page__name { font-family: var(--font-heading); font-size: 1.05rem; color: var(--text-main); margin-bottom: 4px; }
.cart-page__sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-page__price { font-size: 1.1rem; font-weight: 700; color: var(--green-deep); }
.cart-page-item > img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--cream);
}
.cart-page-item .details h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.cart-page-item .details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.cart-page-item .details .price,
.cart-page-item .total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
}
.cart-page-item .qty-controls {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--beige);
  border-radius: var(--radius-md);
}
.cart-page-item .qty-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--cream);
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.cart-page-item .qty-controls input {
  width: 42px;
  height: 38px;
  border: 0;
  border-left: 1px solid var(--beige);
  border-right: 1px solid var(--beige);
  background: var(--white);
  text-align: center;
  font: 700 0.9rem/1 var(--font-body);
  color: var(--text-main);
  padding: 0;
}
.cart-page-item .remove-btn {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-height) + var(--announce-height) + 1rem);
}
.cart-summary__title { font-family: var(--font-heading); font-size: 1.4rem; color: var(--green-deep); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--beige); }

.coupon-row { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.coupon-input { flex: 1; padding: 0.7rem 1rem; border: 2px solid var(--beige); border-radius: var(--radius-md); font-size: 0.82rem; font-family: inherit; outline: none; transition: border-color var(--transition-fast); }
.coupon-input:focus { border-color: var(--green-deep); }

/* ─── Search Page ───────────────────────────────────────────────── */
.search-bar-wrap { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; }
.search-bar-input { flex: 1; padding: 1rem 1.5rem; border: 2px solid var(--beige); border-radius: var(--radius-pill); font-size: 1rem; font-family: inherit; outline: none; transition: border-color var(--transition-fast); }
.search-bar-input:focus { border-color: var(--green-deep); }
.search-bar-btn { padding: 1rem 1.75rem; background: var(--green-deep); color: var(--white); border-radius: var(--radius-pill); font-weight: 700; border: none; cursor: pointer; font-family: inherit; }

.no-results { text-align: center; padding: 5rem 1rem; color: var(--text-muted); }
.no-results-icon { font-size: 4rem; margin-bottom: 1rem; }
.no-results-title { font-family: var(--font-heading); font-size: 1.8rem; color: var(--text-main); margin-bottom: 0.5rem; }

/* ─── 404 Page ──────────────────────────────────────────────────── */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem; background: var(--cream); }
.error-code { font-family: var(--font-heading); font-size: 8rem; font-weight: 700; color: var(--green-deep); line-height: 1; opacity: 0.15; margin-bottom: -2rem; }
.error-title { font-family: var(--font-heading); font-size: 2.5rem; color: var(--green-deep); margin-bottom: 1rem; }
.error-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 420px; margin-left: auto; margin-right: auto; }

/* ─── Delivery Checker ──────────────────────────────────────────── */
.delivery-result { font-size: 0.82rem; font-weight: 600; margin-top: 0.5rem; }
.delivery-result.ok { color: var(--green-leaf); }
.delivery-result.err { color: var(--terracotta); }

/* ─── Sticky mobile buy bar ──────────────────────────────────────── */
.sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  z-index: 200;
  gap: 0.75rem;
}

/* ─── Utility ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ─── Scroll Animations (base) ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Offer popup refresh */
.popup-overlay {
  background: radial-gradient(circle at 50% 44%, rgba(239, 196, 119, 0.2), transparent 34%), rgba(8, 35, 27, 0.76);
  backdrop-filter: blur(8px);
}

  .popup {
    max-width: 860px;
    grid-template-columns: 0.95fr 1.05fr;
    border-radius: 30px;
    background: #fff8ea;
    border: 1px solid rgba(239, 196, 119, 0.42);
    box-shadow: 0 34px 90px rgba(6, 26, 20, 0.44);
    overflow: hidden;
  }

/* Premium promotional popup */
.premium-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: radial-gradient(circle at 14% 18%, rgba(216, 168, 66, 0.2), transparent 30%), rgba(12, 44, 33, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.premium-popup-overlay.popup-overlay--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.premium-popup {
  position: relative;
  width: min(850px, calc(100vw - 32px));
  max-height: min(90svh, 760px);
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  overflow: hidden;
  border: 1px solid rgba(216, 168, 66, 0.5);
  border-radius: 28px;
  background: #fff8e8;
  color: #173f2d;
  box-shadow: 0 34px 90px rgba(5, 25, 18, 0.46);
  transform: scale(0.94) translateY(16px);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-popup-overlay.popup-overlay--open .premium-popup {
  transform: scale(1) translateY(0);
}

.premium-popup::before,
.premium-popup::after {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0.14;
}

.premium-popup::before {
  width: 180px;
  height: 180px;
  right: -58px;
  top: -62px;
  border-radius: 50%;
  background: radial-gradient(circle, #d8a842, transparent 68%);
}

.premium-popup::after {
  left: 48%;
  bottom: -52px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(47, 107, 59, 0.18), transparent 70%);
}

.premium-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 232, 0.94);
  color: #5c4638;
  box-shadow: 0 14px 32px rgba(23, 63, 45, 0.18);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.premium-popup__close:focus-visible,
.premium-popup__copy:focus-visible,
.premium-popup__cta:focus-visible,
.premium-popup__skip:focus-visible {
  outline: 3px solid rgba(216, 168, 66, 0.75);
  outline-offset: 3px;
}

.premium-popup__visual {
  position: relative;
  min-height: 500px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 0.9fr;
  gap: 0.8rem;
  background:
    linear-gradient(135deg, rgba(23, 63, 45, 0.9), rgba(47, 107, 59, 0.62)),
    radial-gradient(circle at 20% 20%, rgba(216, 168, 66, 0.28), transparent 34%);
}

.premium-popup__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 248, 232, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 248, 232, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.35;
}

.premium-popup__brand-mark {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 248, 232, 0.96);
  box-shadow: 0 14px 28px rgba(5, 25, 18, 0.24);
}

.premium-popup__brand-mark img,
.premium-popup__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.premium-popup__image {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff8e8;
  box-shadow: 0 18px 36px rgba(5, 25, 18, 0.22);
}

.premium-popup__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.premium-popup__image--large {
  grid-row: 1 / span 2;
}

.premium-popup__image--millet img,
.premium-popup__image--care img {
  object-position: center;
}

.premium-popup__image--cream {
  transform: translateY(10px);
}

.premium-popup__content {
  position: relative;
  padding: clamp(2rem, 4vw, 3.15rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  background:
    radial-gradient(circle at 92% 12%, rgba(216, 168, 66, 0.18), transparent 30%),
    linear-gradient(145deg, #fff8e8 0%, #f8ead0 100%);
}

.premium-popup__logo {
  width: 74px;
  height: 74px;
  margin-bottom: 0.85rem;
}

.premium-popup__label {
  margin: 0 0 0.7rem;
  color: #d9683a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.premium-popup__title {
  margin: 0;
  color: #173f2d;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.premium-popup__desc {
  max-width: 420px;
  margin: 0.9rem 0 1.15rem;
  color: #694f3e;
  font-size: 1rem;
  line-height: 1.6;
}

.premium-popup__offer {
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.72rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #d9683a, #b98254);
  color: #fff8e8;
  box-shadow: 0 14px 30px rgba(217, 104, 58, 0.26);
}

.premium-popup__offer span,
.premium-popup__offer small {
  display: block;
}

.premium-popup__offer span {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium-popup__offer small {
  margin-top: 0.12rem;
  font-size: 0.82rem;
}

.premium-popup__coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
  padding: 0.72rem;
  border: 2px dashed rgba(185, 130, 84, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.premium-popup__coupon-label {
  display: block;
  color: #7a604d;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-popup__coupon strong {
  display: block;
  margin-top: 0.12rem;
  color: #173f2d;
  font-size: 1.22rem;
  letter-spacing: 0.12em;
}

.premium-popup__copy {
  min-width: 86px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #173f2d;
  color: #fff8e8;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.premium-popup__copy-status {
  min-height: 1.1rem;
  margin: 0 0 0.72rem;
  color: #2f6b3b;
  font-size: 0.78rem;
  font-weight: 800;
}

.premium-popup__cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #173f2d, #2f6b3b);
  color: #fff8e8;
  box-shadow: 0 18px 36px rgba(23, 63, 45, 0.22);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.premium-popup__skip {
  min-height: 44px;
  width: fit-content;
  margin: 0.55rem auto 0;
  border: 0;
  background: transparent;
  color: #6f5846;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.premium-popup__note {
  margin: 0.2rem 0 0;
  color: #8a7564;
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 768px) {
  .premium-popup-overlay {
    align-items: flex-end;
    padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  }

  .premium-popup {
    width: calc(100% - 32px);
    max-height: 90svh;
    grid-template-columns: 1fr;
    border-radius: 26px;
    overflow-y: auto;
  }

  .premium-popup__visual {
    min-height: 205px;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 1fr;
    gap: 0.5rem;
    padding: 0.85rem;
  }

  .premium-popup__brand-mark {
    width: 46px;
    height: 46px;
  }

  .premium-popup__image {
    border-radius: 16px;
  }

  .premium-popup__image--large {
    grid-row: auto;
  }

  .premium-popup__image--care {
    display: none;
  }

  .premium-popup__image--cream {
    transform: none;
  }

  .premium-popup__content {
    padding: 1.25rem;
    overflow: visible;
  }

  .premium-popup__logo {
    width: 54px;
    height: 54px;
    margin-bottom: 0.5rem;
  }

  .premium-popup__title {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .premium-popup__desc {
    margin: 0.65rem 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .premium-popup__offer {
    width: 100%;
    text-align: center;
  }

  .premium-popup__coupon {
    align-items: stretch;
  }

  .premium-popup__cta {
    width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 380px) {
  .premium-popup__visual {
    min-height: 180px;
  }

  .premium-popup__label {
    font-size: 0.64rem;
  }

  .premium-popup__coupon {
    flex-direction: column;
  }

  .premium-popup__copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-popup-overlay,
  .premium-popup {
    transition: none;
  }
}

/* Reference-style premium popup finish */
.premium-popup {
  width: min(940px, calc(100vw - 32px));
  grid-template-columns: 1fr 1fr;
  border-radius: 26px;
  background: #fff8e8;
}

.premium-popup__visual {
  min-height: 540px;
  display: block;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.08), rgba(23, 63, 45, 0.52)),
    radial-gradient(circle at 18% 12%, rgba(216, 168, 66, 0.42), transparent 24%),
    #173f2d;
}

.premium-popup__visual::after {
  background:
    linear-gradient(180deg, rgba(23, 63, 45, 0), rgba(23, 63, 45, 0.5)),
    radial-gradient(circle at 12% 75%, rgba(216, 168, 66, 0.22), transparent 34%);
  opacity: 1;
}

.premium-popup__brand-mark {
  display: none;
}

.premium-popup__image {
  position: absolute;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.premium-popup__image img {
  object-fit: cover;
}

.premium-popup__image--large {
  inset: 0;
  z-index: 1;
}

.premium-popup__image--large img {
  object-position: 58% center;
}

.premium-popup__image--millet {
  left: 6%;
  bottom: 10%;
  z-index: 3;
  width: 34%;
  height: 27%;
  border-radius: 999px;
}

.premium-popup__image--cream {
  right: 12%;
  bottom: 17%;
  z-index: 4;
  width: 25%;
  height: 24%;
  border-radius: 16px;
  transform: none;
}

.premium-popup__image--care {
  right: 10%;
  top: 22%;
  z-index: 3;
  width: 24%;
  height: 35%;
  border-radius: 16px;
}

.premium-popup__photo-badge {
  position: absolute;
  left: 1.9rem;
  bottom: 1.9rem;
  z-index: 5;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 248, 232, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #d9683a, #b94f2f);
  color: #fff8e8;
  text-align: center;
  box-shadow: 0 16px 34px rgba(23, 63, 45, 0.34);
}

.premium-popup__photo-badge::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 248, 232, 0.68);
  border-radius: inherit;
}

.premium-popup__photo-badge span,
.premium-popup__photo-badge strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-heading);
  line-height: 0.88;
  text-transform: uppercase;
}

.premium-popup__photo-badge span {
  font-size: 2.6rem;
}

.premium-popup__photo-badge strong {
  font-size: 1.7rem;
}

.premium-popup__content {
  align-items: center;
  justify-content: center;
  padding: clamp(2.35rem, 4.2vw, 4rem);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(216, 168, 66, 0.12) 0 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 96% 8%, rgba(216, 168, 66, 0.18), transparent 30%),
    #fff8e8;
}

.premium-popup__content::before,
.premium-popup__content::after {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  pointer-events: none;
  opacity: 0.28;
  background: radial-gradient(circle, transparent 50%, rgba(216, 168, 66, 0.42) 51%, transparent 53%);
}

.premium-popup__content::before {
  top: -58px;
  left: -45px;
}

.premium-popup__content::after {
  right: -44px;
  bottom: -54px;
}

.premium-popup__logo {
  width: 118px;
  height: 118px;
  margin: 0 auto 1rem;
}

.premium-popup__label {
  margin-bottom: 0.75rem;
  color: #173f2d;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.premium-popup__title {
  max-width: 430px;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 0.94;
}

.premium-popup__desc {
  max-width: 420px;
  margin: 0.95rem auto 1.25rem;
  color: #1f2f29;
  font-size: 1.06rem;
  line-height: 1.45;
}

.premium-popup__offer-text {
  margin: 0 0 0.65rem;
  color: #b98254;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-popup__coupon {
  width: 100%;
  max-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1.8fr auto;
  align-items: center;
  gap: 0;
  margin: 0 auto 0.5rem;
  padding: 0;
  overflow: hidden;
  border: 1.5px dashed #b98254;
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.72);
}

.premium-popup__coupon-label,
.premium-popup__coupon strong,
.premium-popup__copy {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-popup__coupon-label {
  border-right: 1px solid rgba(185, 130, 84, 0.45);
  color: #173f2d;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.premium-popup__coupon strong {
  margin: 0;
  color: #173f2d;
  font-size: 1.68rem;
  letter-spacing: 0.06em;
}

.premium-popup__copy {
  min-width: 86px;
  margin: 8px;
  min-height: 42px;
  border-radius: 7px;
}

.premium-popup__cta {
  width: 100%;
  max-width: 420px;
  min-height: 58px;
  margin-top: 0.6rem;
  background: linear-gradient(135deg, #d9683a, #c9572f);
  box-shadow: 0 18px 34px rgba(217, 104, 58, 0.28);
  font-size: 1.05rem;
}

.premium-popup__cta::after {
  content: '->';
  margin-left: 0.9rem;
}

.premium-popup__skip {
  color: #173f2d;
  font-weight: 600;
}

@media (max-width: 768px) {
  .premium-popup {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    max-height: 90svh;
    border-radius: 24px;
  }

  .premium-popup__visual {
    min-height: 210px;
  }

  .premium-popup__image--large img {
    object-position: 60% center;
  }

  .premium-popup__image--millet,
  .premium-popup__image--cream,
  .premium-popup__image--care {
    display: none;
  }

  .premium-popup__photo-badge {
    width: 82px;
    height: 82px;
    left: 1rem;
    bottom: 1rem;
  }

  .premium-popup__photo-badge span {
    font-size: 1.8rem;
  }

  .premium-popup__photo-badge strong {
    font-size: 1.08rem;
  }

  .premium-popup__content {
    padding: 1.25rem;
  }

  .premium-popup__logo {
    width: 72px;
    height: 72px;
    margin-bottom: 0.55rem;
  }

  .premium-popup__title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .premium-popup__desc {
    font-size: 0.92rem;
  }

  .premium-popup__coupon {
    grid-template-columns: 1fr;
  }

  .premium-popup__coupon-label,
  .premium-popup__coupon strong,
  .premium-popup__copy {
    width: 100%;
    border-right: 0;
  }

  .premium-popup__copy {
    margin: 0;
    border-radius: 0;
  }
}

/* Dark heritage popup model */
.premium-popup {
  width: min(1120px, calc(100vw - 48px));
  height: min(720px, calc(100svh - 72px));
  max-height: calc(100svh - 72px);
  grid-template-columns: 1fr 0.96fr;
  border: 1.5px solid rgba(216, 168, 66, 0.86);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 78%, rgba(216, 168, 66, 0.12), transparent 22%),
    linear-gradient(145deg, #113828 0%, #173f2d 52%, #0e3024 100%);
  color: #fff8e8;
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(2, 16, 11, 0.58);
}

.premium-popup__content {
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  padding: clamp(1.65rem, 3vw, 2.6rem) clamp(1.6rem, 3.4vw, 3rem);
  color: #fff8e8;
  text-align: center;
  background:
    radial-gradient(circle at 15% 85%, rgba(216, 168, 66, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(17, 56, 40, 0.96), rgba(23, 63, 45, 0.98));
}

.premium-popup__content::before,
.premium-popup__content::after {
  width: 220px;
  height: 220px;
  opacity: 0.18;
  background:
    linear-gradient(70deg, transparent 48%, rgba(216, 168, 66, 0.7) 49%, transparent 51%),
    radial-gradient(circle, transparent 58%, rgba(216, 168, 66, 0.45) 59%, transparent 61%);
}

.premium-popup__visual {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  height: calc(100% - 4rem);
  margin: 2rem 2rem 2rem 0;
  border: 4px solid rgba(216, 168, 66, 0.82);
  border-radius: 999px 999px 0 0;
  overflow: visible;
  background: #d8a842;
}

.premium-popup__visual::after {
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.06), rgba(17, 56, 40, 0.42));
  opacity: 1;
}

.premium-popup__image--large {
  inset: 0;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}

.premium-popup__image--large img {
  object-position: 23% center;
}

.premium-popup__image--millet {
  left: 7%;
  bottom: 9%;
  width: 34%;
  height: 24%;
  border-radius: 50%;
  border: 3px solid rgba(216, 168, 66, 0.75);
}

.premium-popup__image--cream {
  right: 16%;
  bottom: 9%;
  width: 30%;
  height: 23%;
  border: 3px solid rgba(216, 168, 66, 0.75);
}

.premium-popup__image--care {
  right: 5%;
  top: 40%;
  width: 25%;
  height: 34%;
  border: 3px solid rgba(216, 168, 66, 0.75);
}

.premium-popup__photo-badge {
  left: 50%;
  bottom: -2.7rem;
  width: 132px;
  height: 132px;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #d9683a, #a94326);
}

.premium-popup__photo-badge strong::after {
  content: ' First Order';
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.premium-popup__logo {
  width: 118px;
  height: 118px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.22));
}

.premium-popup__label {
  position: relative;
  margin-bottom: 0.65rem;
  color: #d8a842;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.premium-popup__label::after {
  content: '';
  display: block;
  width: 225px;
  height: 1px;
  margin: 0.45rem auto 0;
  background: linear-gradient(90deg, transparent, #d8a842 45%, #d8a842 55%, transparent);
}

.premium-popup__title {
  max-width: 520px;
  color: #fff8e8;
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  line-height: 1.02;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.premium-popup__desc {
  max-width: 500px;
  color: rgba(255, 248, 232, 0.95);
  font-family: var(--font-heading);
  margin-top: 0.65rem;
  margin-bottom: 0.95rem;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.45;
}

.premium-popup__offer-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.premium-popup__coupon {
  max-width: 405px;
  grid-template-columns: 1.5fr 1.8fr auto;
  margin-top: 0.25rem;
  border: 1.5px dashed #b98254;
  border-radius: 8px;
  background: #fff8e8;
  color: #173f2d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.premium-popup__coupon-label {
  padding-inline: 0.85rem;
  color: #173f2d;
  font-size: 0.84rem;
  line-height: 1.1;
}

.premium-popup__coupon strong {
  color: #173f2d;
  font-size: 1.74rem;
}

.premium-popup__copy {
  background: linear-gradient(145deg, #c35b36, #9d3d24);
  color: #fff8e8;
}

.premium-popup__copy-status {
  color: #d8a842;
}

.premium-popup__cta {
  max-width: 405px;
  min-height: 56px;
  margin-top: 0.45rem;
  background: linear-gradient(145deg, #fff8e8, #f3dfb8);
  color: #173f2d;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.premium-popup__skip {
  color: #fff8e8;
}

.premium-popup__note {
  color: rgba(255, 248, 232, 0.82);
}

.premium-popup__close {
  background: #fff8e8;
  color: #173f2d;
  border: 1px solid rgba(23, 63, 45, 0.28);
}

@media (max-width: 768px) {
  .premium-popup {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    height: auto;
    max-height: 90svh;
    overflow-y: auto;
  }

  .premium-popup__content {
    grid-column: 1;
    grid-row: 1;
    padding: 1.5rem 1.15rem 1.25rem;
  }

  .premium-popup__visual {
    grid-column: 1;
    grid-row: 2;
    height: 235px;
    min-height: 235px;
    margin: 0 1.15rem 4rem;
    border-radius: 180px 180px 0 0;
  }

  .premium-popup__logo {
    width: 88px;
    height: 88px;
  }

  .premium-popup__title {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .premium-popup__desc {
    font-size: 1rem;
  }

  .premium-popup__coupon {
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .premium-popup__coupon-label,
  .premium-popup__coupon strong,
  .premium-popup__copy {
    min-height: 44px;
  }

  .premium-popup__photo-badge {
    width: 96px;
    height: 96px;
    bottom: -3rem;
  }
}

/* Final premium popup guard */
body .premium-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(5, 24, 17, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body .premium-popup-overlay.popup-overlay--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body .premium-popup-overlay .premium-popup {
  position: relative;
  width: min(1120px, calc(100vw - 48px));
  height: min(720px, calc(100svh - 72px));
  max-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  overflow: hidden;
  border: 1.5px solid rgba(216, 168, 66, 0.9);
  border-radius: 30px;
  background: linear-gradient(145deg, #113828, #173f2d 54%, #0e3024);
  box-shadow: 0 36px 100px rgba(2, 16, 11, 0.58);
}

body .premium-popup-overlay .premium-popup__content {
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1.65rem, 3vw, 2.6rem) clamp(1.6rem, 3.4vw, 3rem);
  background: linear-gradient(145deg, rgba(17, 56, 40, 0.96), rgba(23, 63, 45, 0.98));
  color: #fff8e8;
  text-align: center;
}

body .premium-popup-overlay .premium-popup__visual {
  grid-column: 2;
  grid-row: 1;
  height: calc(100% - 4rem);
  min-height: 0;
  margin: 2rem 2rem 2rem 0;
  overflow: visible;
  border: 4px solid rgba(216, 168, 66, 0.82);
  border-radius: 999px 999px 0 0;
  background: #d8a842;
}

body .premium-popup-overlay .premium-popup__image--large {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}

body .premium-popup-overlay .premium-popup__image--large img {
  object-position: 10% center;
}

body .premium-popup-overlay .premium-popup__visual--grains-only .premium-popup__image--large img {
  object-fit: cover;
  object-position: 10% center;
}

body .premium-popup-overlay .premium-popup__logo {
  width: 118px;
  height: 118px;
}

body .premium-popup-overlay .premium-popup__title {
  max-width: 520px;
  color: #fff8e8;
  font-size: clamp(2.35rem, 4.1vw, 3.65rem);
  line-height: 1.02;
}

body .premium-popup-overlay .premium-popup__desc {
  max-width: 500px;
  margin: 0.65rem auto 0.95rem;
  color: rgba(255, 248, 232, 0.95);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

body .premium-popup-overlay .premium-popup__coupon {
  max-width: 405px;
}

body .premium-popup-overlay .premium-popup__cta {
  max-width: 405px;
  min-height: 56px;
}

@media (max-width: 768px) {
  body .premium-popup-overlay {
    align-items: flex-end;
  }

  body .premium-popup-overlay .premium-popup {
    width: calc(100% - 32px);
    height: auto;
    max-height: 90svh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  body .premium-popup-overlay .premium-popup__content {
    grid-column: 1;
    grid-row: 1;
    overflow: visible;
    padding: 1.5rem 1.15rem 1.25rem;
  }

  body .premium-popup-overlay .premium-popup__visual {
    grid-column: 1;
    grid-row: 2;
    height: 235px;
    min-height: 235px;
    margin: 0 1.15rem 4rem;
    border-radius: 180px 180px 0 0;
  }

  body .premium-popup-overlay .premium-popup__visual--grains-only .premium-popup__image--large img {
    object-position: 10% center;
  }
}

  .popup__img-side {
    min-height: 470px;
    background: #123d32;
  }

  .popup__img-side--product {
    min-height: 470px;
    margin: 1.15rem 0 1.15rem 1.15rem;
    border-radius: 24px;
    background: radial-gradient(circle at 34% 24%, rgba(239, 196, 119, 0.22), transparent 34%), #123d32;
    box-shadow: inset 0 0 0 1px rgba(239, 196, 119, 0.36), 0 22px 48px rgba(6, 26, 20, 0.28);
  }

  .popup__img-side--product img {
    object-position: center;
    transform: none;
    border-radius: inherit;
  }

  .popup__img-side::after {
    background: linear-gradient(180deg, rgba(18, 61, 50, 0.02), rgba(18, 61, 50, 0.44));
  }

  .popup__image-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 248, 234, 0.26);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(18, 61, 50, 0.84), rgba(18, 61, 50, 0.46));
    color: #fff8ea;
    backdrop-filter: blur(10px);
  }

  .popup__image-caption span {
    display: block;
    color: #efc477;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .popup__image-caption strong {
    display: block;
    margin-top: 0.18rem;
    font-family: var(--font-heading);
    font-size: 1.22rem;
    line-height: 1.05;
  }

.popup__content-side {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: radial-gradient(circle at 92% 8%, rgba(177, 210, 79, 0.12), transparent 24%), linear-gradient(135deg, #fffaf0 0%, #f7ead2 100%);
}

.popup__content-side::before {
  content: 'WELCOME15';
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(18, 61, 50, 0.08);
  color: #123d32;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.popup__title {
  max-width: 420px;
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.02;
}

.popup__title span {
  display: inline-block;
  color: #d96a38;
  font-size: 1.22em;
  text-shadow: 0 8px 24px rgba(217, 106, 56, 0.22);
}

.popup__desc {
  max-width: 430px;
  margin-bottom: 1.35rem;
  color: #6f5846;
  font-size: 0.98rem;
}

.popup__form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
}

.popup__input {
  min-height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(195, 160, 95, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.popup__input:focus {
  border-color: #123d32;
  box-shadow: 0 0 0 4px rgba(18, 61, 50, 0.1);
}

.popup__submit {
  min-height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #db7340 0%, #bf552e 100%);
  box-shadow: 0 18px 34px rgba(191, 85, 46, 0.3);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.popup__skip {
  width: fit-content;
  margin: 0.1rem auto 0;
}

.popup__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 249, 237, 0.92);
  box-shadow: 0 10px 28px rgba(18, 61, 50, 0.14);
}

@media (max-width: 768px) {
    .popup {
      grid-template-columns: 1fr;
      max-width: min(94vw, 390px);
      border-radius: 24px;
    }

    .popup__img-side {
      min-height: 220px;
    }

    .popup__img-side--product {
      min-height: 230px;
      margin: 0.85rem 0.85rem 0;
      border-radius: 20px;
    }

    .popup__image-caption {
      left: 0.75rem;
      right: 0.75rem;
      bottom: 0.75rem;
      padding: 0.65rem 0.75rem;
      border-radius: 14px;
    }

    .popup__image-caption strong {
      font-size: 1rem;
    }

  .popup__content-side {
    padding: 1.35rem;
  }

  .popup__content-side::before {
    margin-bottom: 0.7rem;
  }

  .popup__title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .popup__desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}
