/* ==========================================================================
   Herbholic Glow - design system
   Colours come from the brand guide (assets/brand/source/brand-guide.png):
   cream, yellowish gold, dark muddy brown, dark green. EB Garamond echoes the
   serif in the logo; Manrope carries body copy and controls. Flat grounds,
   fine rules and generous space; the product photography supplies the colour.
   ========================================================================== */

:root {
  /* Brand guide */
  --cream:      #E8D8BF;
  --gold:       #C9A15F;
  --brown:      #5B4636;
  --green:      #203126;

  /* Derived */
  --green-deep: #17241B;
  --ivory:      #FBF8F2;
  --sand:       #F3ECE0;
  --gold-ink:   #7E5F2A;  /* gold dark enough for small text on ivory */

  --text:       var(--green);
  --text-soft:  var(--brown);
  --text-faint: #7A685A;
  --line:       rgba(91, 70, 54, 0.18);
  --line-strong: rgba(91, 70, 54, 0.38);
  --line-gold:  rgba(201, 161, 95, 0.45);

  --display: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1240px;
  --section: clamp(56px, 7vw, 96px);
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;

  /* Soft tints drawn from the brand and her packaging, for the filter circles */
  --blush: #F7E1DC;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* `clip` on <html>, never `overflow-x: hidden` on <body>: hidden turns the
     body into a scroll container, which kills window scrolling, position:sticky
     and every IntersectionObserver that watches the viewport. */
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
p { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: var(--ivory); padding: 12px 24px;
}
.skip:focus { left: 12px; top: 12px; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Shared pieces
   ========================================================================== */

.section { padding-block: var(--section); }
.section-sand { background: var(--sand); }

.section-head {
  display: grid; justify-items: center; text-align: center; gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); }
.section-head p { margin: 0; max-width: 54ch; color: var(--text-soft); }

.lede { font-size: 18px; color: var(--text-soft); margin: 0; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 32px;
  border: 1px solid transparent; border-radius: var(--pill);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              border-color 0.5s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--ivory); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--cream); }
.btn-line { border-color: var(--line-gold); color: var(--cream); }
.btn-line:hover { border-color: var(--cream); background: rgba(232, 216, 191, 0.08); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.link-underline {
  display: inline-block; padding-bottom: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  transition: color 0.4s var(--ease);
}
.link-underline:hover { color: var(--gold-ink); }

.more { margin: 48px 0 0; text-align: center; }
.more-left { margin: 32px 0 0; }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
/* Hard fallback set by app.js: if a transition never completes, the content
   must still be readable. */
.reveals-done .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ==========================================================================
   Promo bar and header
   ========================================================================== */

.promo-bar { background: var(--green-deep); color: var(--cream); font-size: 13px; padding: 8px 0; text-align: center; }
.promo-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; align-items: center; }
.promo-bar strong { color: var(--gold); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.header { position: sticky; top: 0; z-index: 90; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; height: 80px;
}

.logo { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { height: 48px; width: auto; }
.logo-word { height: 28px; width: auto; }

.nav { display: none; grid-column: 1; grid-row: 1; gap: 28px; }
.nav a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-soft); padding-block: 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }

.header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.bag-btn:hover { color: var(--gold-ink); }
.bag-count {
  min-width: 20px; height: 20px; padding: 0 4px; display: inline-grid; place-items: center;
  background: var(--green); color: var(--ivory); border-radius: 999px;
  font-size: 11px; letter-spacing: 0; line-height: 1;
  transition: transform 0.4s var(--ease);
}
.bag-count[hidden] { display: none; }
.bag-count.bump { transform: scale(1.3); }

.menu-btn { grid-column: 1; grid-row: 1; justify-self: start; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 1.5px; background: var(--green);
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1180px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 560px) {
  .header-inner { height: 64px; gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark { height: 34px; }
  .logo-word { height: 21px; }
  .bag-btn > span:not(.bag-count) { display: none; }
}
@media (max-width: 359px) { .logo-word { height: 18px; } }

.mobile-nav { display: grid; padding: 0 var(--gutter) 24px; background: var(--ivory); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font-family: var(--display); font-size: 26px; padding: 12px 0; border-top: 1px solid var(--line); }

/* ==========================================================================
   Hero: copy on dark green, product in an arched frame
   ========================================================================== */

.hero { background: var(--green); color: var(--ivory); }
.hero-grid { display: grid; gap: 48px; padding-block: 48px 56px; }
.hero-copy { align-self: center; text-align: center; }
.hero-kicker {
  margin: 0 0 24px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.hero h1 { font-size: clamp(46px, 7vw, 92px); line-height: 1; color: var(--ivory); letter-spacing: -0.02em; }
.hero-sub { max-width: 44ch; margin: 24px auto 32px; font-size: 17px; color: var(--cream); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.arch {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--cream);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero-arch { margin: 0 auto; width: min(100%, 440px); }
.hero-arch .arch { outline: 1px solid var(--line-gold); outline-offset: 10px; }
.hero-arch figcaption { margin-top: 24px; text-align: center; font-family: var(--display); font-size: 18px; color: var(--cream); }
.hero-arch figcaption a:hover { color: var(--gold); }

.hero-arch .arch img { object-position: 50% 0; }
@media (max-width: 899px) {
  .hero-grid { gap: 24px; padding-block: 24px 40px; }
  .hero-arch { order: -1; width: min(58vw, 300px); }
  .hero-arch .arch { outline-offset: 6px; }
  .hero-arch .arch img { object-position: 50% 30%; }
  .hero-arch figcaption, .hero-kicker { display: none; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero-sub { margin-block: 12px 20px; font-size: 15px; line-height: 1.6; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; padding-block: 56px 40px; }
  .hero-copy { text-align: left; }
  .hero-sub { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-arch { width: min(100%, 440px, 54vh); min-width: 320px; }
}

/* ==========================================================================
   Rotating banner
   Phone: picture above, words below on green. Wide: words over the left side
   of the picture, which is why banner artwork keeps that side calm.
   ========================================================================== */

.hero-banner { position: relative; }
.slides { position: relative; aspect-ratio: 1; max-height: 44svh; width: 100%; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.banner-copy { display: grid; gap: 20px; padding-block: 16px 28px; }
@media (max-width: 899px) {
  .banner-copy .offers { margin-bottom: 10px; }
}
.offers { display: grid; justify-items: center; margin-bottom: 16px; }
.offer { grid-area: 1 / 1; padding: 6px 18px; border-radius: var(--pill); background: var(--blush); color: #7A2F3C; font-size: 13px; font-weight: 700; visibility: hidden; }
.offer.is-on { visibility: visible; }
.hero-banner .hero-kicker { display: none; }
.slide-controls { display: flex; align-items: center; justify-content: center; gap: 4px; }
.dot { width: 44px; height: 32px; display: grid; place-items: center; }
.dot::before, .dot::after { content: ""; grid-area: 1 / 1; width: 8px; height: 4px; border-radius: var(--pill); background: rgba(232, 216, 191, 0.4); transition: width 0.4s var(--ease); }
.dot::after { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.dot[aria-current="true"]::before, .dot[aria-current="true"]::after { width: 40px; }
.dot[aria-current="true"]::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .hero-banner { display: grid; min-height: clamp(520px, 78vh, 720px); }
  .slides { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
  .slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 36, 27, 0.92) 0%, rgba(23, 36, 27, 0.7) 40%, rgba(23, 36, 27, 0) 68%); }
  .banner-copy { position: relative; align-content: center; padding-block: 64px; }
  .banner-copy .hero-copy { max-width: 560px; }
  .offers { justify-items: start; }
  .hero-banner .hero-kicker { display: block; }
  .slide-controls { justify-content: flex-start; }
}

/* ==========================================================================
   Trust line
   ========================================================================== */

.trust { border-bottom: 1px solid var(--line); background: var(--ivory); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; padding-block: 28px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: grid; justify-items: center; text-align: center; align-content: start; gap: 8px; }
.trust-ico { color: var(--gold-ink); line-height: 0; }
.trust-item strong { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.25; }
.trust-item div > span { display: block; font-size: 13px; color: var(--text-faint); line-height: 1.5; }

/* ==========================================================================
   Concerns
   ========================================================================== */

/* Fixed column counts: six concerns land as 2x3 or 3x2 with no orphans. */
.concern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
@media (min-width: 900px) { .concern-grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }
.concern { display: flex; flex-direction: column; text-align: center; }
.concern-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: var(--radius); }
.concern-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.concern:hover .concern-media img { transform: scale(1.04); }
.concern-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 20px; flex: 1; }
.concern h3 { font-size: clamp(21px, 2.4vw, 28px); }
.concern p { margin: 0; font-size: 14px; color: var(--text-soft); max-width: 34ch; flex: 1; }
.concern .go {
  margin-top: 8px; padding-bottom: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}
@media (max-width: 560px) { .concern p { display: none; } }

/* ==========================================================================
   Product cards
   ========================================================================== */

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; } }
@media (min-width: 1080px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; text-align: center; }
.card[hidden] { display: none; }
.card.is-out .card-media img { opacity: 0.55; }
.card-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--cream);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 48px; color: var(--line-strong); }

.card-flag {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: var(--pill);
  background: var(--ivory); color: var(--text);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.card-flag.is-sale { background: var(--green); color: var(--cream); }

.card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding-top: 16px; }
.card-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.card h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; }
.card h3 a:hover { color: var(--gold-ink); }
.card-sub { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-faint); }
@media (max-width: 759px) { .card-sub { display: none; } }
.card-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 8px; }

.price { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--text-soft); }
.price.on-request, .pdp-price.on-request {
  font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint);
}
.price.is-sale, .pdp-price.is-sale { display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.was { font-family: var(--body); font-size: 13px; font-weight: 400; color: var(--text-faint); text-decoration: line-through; }

.add-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
button.add-btn:hover { background: var(--green); border-color: var(--green); color: var(--ivory); }
.add-btn.added { background: var(--green); border-color: var(--green); color: var(--cream); }
.add-btn[aria-disabled="true"] { opacity: 0.5; cursor: default; }

/* Quantity control that replaces "Add to bag" once an item is in the bag */
.in-bag { display: grid; gap: 4px; justify-items: center; width: 100%; }
.stepper { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; border-radius: var(--pill); background: var(--green); color: var(--ivory); }
.stepper button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--pill); font-size: 20px; line-height: 1; }
.stepper button:hover { background: rgba(251, 248, 242, 0.14); }
.stepper span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.in-bag .remove-link { min-height: 32px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: #8E3B35; text-decoration: underline; text-underline-offset: 3px; }
.btn-wa { background: #1F7A45; color: #fff; }
.btn-wa:hover { background: #176136; }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.pdp-buy .in-bag { flex: 1 0 100%; }
.pdp-buy [hidden], .bundle-body [hidden], .card-foot [hidden] { display: none; }

/* ==========================================================================
   Statement
   ========================================================================== */

.statement { background: var(--green); color: var(--ivory); text-align: center; padding-block: var(--section); }
.statement img { margin: 0 auto 32px; height: 72px; width: auto; }
.statement p {
  margin: 0 auto; max-width: 820px;
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.25; text-wrap: balance;
}
.word { transition: opacity 0.8s var(--ease); }
.is-waiting .word { opacity: 0.28; }

/* ==========================================================================
   Routine
   ========================================================================== */

.routine {
  max-width: 980px; margin-inline: auto; padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line-gold); border-radius: var(--radius);
}
.routine-cols { display: grid; gap: 40px; }
@media (min-width: 760px) { .routine-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.routine-when { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 26px; }
.routine-steps { list-style: none; margin: 0; padding: 0; }
.routine-step { display: grid; grid-template-columns: 20px 72px 1fr; gap: 16px; align-items: center; padding: 12px 0; }
.routine-num { font-family: var(--display); font-size: 20px; color: var(--gold-ink); }
.routine-thumb { display: block; width: 72px; height: 88px; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); }
.routine-thumb img { width: 100%; height: 100%; object-fit: cover; }
.routine-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.routine-name { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.routine-name:hover { color: var(--gold-ink); }
.routine-outro { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; font-family: var(--display); font-size: 20px; color: var(--text-soft); }
.routine-buy { display: grid; justify-items: center; gap: 12px; margin-top: 24px; }
.routine-total { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); }

/* ==========================================================================
   Bundles
   ========================================================================== */

.bundle-list { display: grid; gap: 48px; }
.bundle { display: grid; max-width: 1040px; width: 100%; margin-inline: auto; background: var(--ivory); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 800px) { .bundle { grid-template-columns: 1fr 1fr; } }
.bundle.is-out { opacity: 0.65; }
.bundle-media { aspect-ratio: 4 / 5; background: var(--cream); }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(24px, 5vw, 64px); }
.bundle h3 { font-size: clamp(30px, 3.6vw, 44px); }
.bundle-tag { margin: 0; color: var(--text-soft); }
.bundle-parts { list-style: none; width: 100%; margin: 0; padding: 0; }
.bundle-parts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 19px; }
.bundle-parts li:first-child { border-top: 1px solid var(--line); }
.bundle-parts a:hover { color: var(--gold-ink); }
.bundle-buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.bundle-buy .price { font-size: 30px; }
.bundle-save { font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.add-btn-wide { width: 100%; }

/* ==========================================================================
   Ingredients, steps, quotes, delivery
   ========================================================================== */

.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split h2 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 24px; }

.ingredient { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ingredient:first-child { border-top: 1px solid var(--line); }
@media (min-width: 560px) { .ingredient { grid-template-columns: 160px 1fr; gap: 24px; align-items: baseline; } }
.ingredient h3 { font-size: 26px; }
.ingredient p { margin: 0; font-size: 14px; color: var(--text-soft); }

.order-steps { list-style: none; margin: 32px 0 0; padding: 0; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-gold); }
.step-num { font-family: var(--display); font-size: 32px; line-height: 1; color: var(--gold-ink); }
.step h3 { font-size: 22px; margin-bottom: 4px; }
.step p { margin: 0; font-size: 14px; color: var(--text-soft); }

.quotes { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 25px; line-height: 1.4; text-wrap: balance; }
.quote cite { margin-top: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }

.delivery-points { list-style: none; margin: 16px 0 0; padding: 0; }
.delivery-points li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-soft); }
.delivery-cta { margin-top: 24px; }
.delivery-media { width: min(100%, 420px); margin-inline: auto; }

/* ==========================================================================
   Shop
   ========================================================================== */

.shop-head { padding-block: clamp(48px, 7vw, 88px) 40px; text-align: center; }
.shop-head h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 16px; }
.shop-head .lede { max-width: 56ch; margin-inline: auto; }
.shop-body { padding-bottom: var(--section); }

.filters { margin-bottom: 32px; }
.filter-label { margin: 0 0 12px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: var(--gold-ink); }
.filter-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 24px; padding: 4px var(--gutter); margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); }
.filter-row::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .filter-row { flex-wrap: wrap; justify-content: center; gap: 16px 12px; overflow: visible; } }
.filter { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 78px; padding: 4px 0; border-radius: var(--radius-sm); }
@media (min-width: 900px) { .filter { width: 104px; } }
.filter-ico {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: var(--pill);
  background: var(--tint); color: var(--ink);
  box-shadow: 0 0 0 1px transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
@media (min-width: 900px) { .filter-ico { width: 80px; height: 80px; } }
.filter:hover .filter-ico { transform: translateY(-3px); }
.filter-name { font-size: 12px; font-weight: 600; line-height: 1.35; text-align: center; color: var(--text-soft); text-wrap: balance; }
.filter[aria-pressed="true"] .filter-ico { background: var(--ink); color: #fff; box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px var(--ink); }
.filter[aria-pressed="true"] .filter-name { color: var(--text); font-weight: 700; }
.tint-rose   { --tint: #F7E1DC; --ink: #8F4450; }
.tint-peach  { --tint: #FAE4CF; --ink: #8C5224; }
.tint-butter { --tint: #F7ECC6; --ink: #76591A; }
.tint-sage   { --tint: #DFE9D6; --ink: #3D5A37; }
.tint-aqua   { --tint: #D9EAE6; --ink: #2C5C57; }
.tint-lilac  { --tint: #E8E0F1; --ink: #5B477D; }
.filter-count { margin: 0 0 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: var(--text-faint); }

.empty { padding: clamp(48px, 8vw, 96px) 24px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); }
.empty[hidden] { display: none; }
.empty h3 { font-size: 30px; margin-bottom: 12px; }
.empty p { color: var(--text-soft); margin: 0 auto 24px; max-width: 40ch; }

/* ==========================================================================
   Product page
   ========================================================================== */

.crumbs { padding-top: 24px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin-inline: 8px; }

.pdp { padding-block: 24px var(--section); }
.pdp-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; } }
.pdp-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-sub { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.pdp h1 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 16px; }
.pdp-tagline { margin: 0 0 16px; font-family: var(--display); font-size: 23px; line-height: 1.35; color: var(--text-soft); }
.pdp-desc { margin: 0 0 32px; max-width: 52ch; color: var(--text-soft); }
.pdp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 24px; border-block: 1px solid var(--line); }
.pdp-price { font-family: var(--display); font-weight: 600; font-size: 32px; }
.pdp-price .was { font-size: 16px; }
.pdp-size { font-size: 13px; color: var(--text-faint); }
.pdp-buy .btn { flex: 1 0 100%; }

.spec { margin: 0 0 24px; }
.spec > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .spec > div { grid-template-columns: 160px 1fr; gap: 24px; } }
.spec dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); padding-top: 4px; }
.spec dd { margin: 0; color: var(--text-soft); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 2px 12px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 13px; }
.pdp-note { margin: 0; padding: 16px; border-radius: var(--radius-sm); background: var(--sand); font-size: 13px; color: var(--text-soft); }

.pairs { padding-top: var(--section); }
.pairs h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 40px; text-align: center; }

.pdp-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pdp-nav a { color: var(--text-soft); max-width: 45%; }
.pdp-nav a:last-child { text-align: right; }
.pdp-nav a:hover { color: var(--text); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--green-deep); color: rgba(232, 216, 191, 0.8); padding-block: clamp(56px, 7vw, 96px) 96px; }
.footer a:hover { color: var(--gold); }
.reach { display: grid; gap: 20px; justify-items: center; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line-gold); }
.reach h2 { font-size: clamp(32px, 4vw, 44px); color: var(--cream); }
.reach-links { display: grid; gap: 12px; width: 100%; max-width: 760px; }
@media (min-width: 700px) { .reach-links { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.reach-btn { display: flex; align-items: center; gap: 16px; min-height: 80px; padding: 16px 28px; border-radius: var(--pill); color: #fff; transition: transform 0.4s var(--ease), filter 0.4s var(--ease); }
.reach-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.footer a.reach-btn:hover { color: #fff; }
.reach-btn svg { flex: none; width: 36px; height: 36px; }
.reach-btn.is-wa { background: #1F7A45; }
.reach-btn.is-wa svg { fill: currentColor; }
.reach-btn.is-ig { background: #B03064; }
.reach-btn strong { display: block; font-size: 16px; line-height: 1.3; }
.reach-btn small { display: block; font-size: 14px; opacity: 0.92; }

.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding-bottom: 48px; }
.footer-grid > div:first-child { grid-column: 1 / -1; justify-self: center; text-align: center; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .footer-grid > div:first-child { grid-column: auto; justify-self: start; }
}
.footer-logo { width: 180px; height: auto; margin-inline: auto; }
.footer-tag { margin: 16px 0 0; font-size: 13px; letter-spacing: 0.08em; color: var(--gold); text-align: center; }
.footer h4 { margin: 0 0 16px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; overflow-wrap: anywhere; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line-gold); font-size: 12px; color: rgba(232, 216, 191, 0.65); }
.footer-base p { margin: 0; }
.footer-disclaimer { max-width: 62ch; }

/* ==========================================================================
   Motion
   Only for people who have not asked for less of it. Entrances use "backwards"
   fill, so an element always ends in its normal, visible state.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  /* Hero: headline lines slide up out of a mask, the rest follows */
  .hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .hero h1 .line > span { display: block; animation: line-up 1.1s var(--ease) 0.15s backwards; }
  .hero h1 .line + .line > span { animation-delay: 0.3s; }
  .hero-kicker, .offers { animation: rise 0.9s var(--ease) backwards; }
  .hero-sub { animation: rise 0.9s var(--ease) 0.55s backwards; }
  .hero-cta { animation: rise 0.9s var(--ease) 0.7s backwards; }
  .hero-arch { animation: rise 1.2s var(--ease) 0.2s backwards; }

  /* Banner: each picture settles slowly while it is on screen */
  .slide.is-on img, .slide.was-on img { animation: drift 8s cubic-bezier(0.2, 0.6, 0.3, 1) forwards; }
  .offer.is-on { animation: offer-in 0.7s var(--ease) 0.3s backwards; }
  /* The gold bar is the timer: when it fills, the next banner shows */
  .is-auto .dot[aria-current="true"]::after { animation: slide-progress 6s linear forwards; }
  .is-auto.is-held .dot[aria-current="true"]::after { animation-play-state: paused; }

  /* Cards, tiles and circles arrive one after another as they scroll into view */
  .will-rise { opacity: 0; }
  .rise { animation: rise 0.8s var(--ease) calc(var(--i, 0) * 90ms) backwards; }
  .filter { animation: pop-in 0.6s var(--ease) calc(var(--i, 0) * 50ms) backwards; }
  .filter[aria-pressed="true"] .filter-ico { animation: pop 0.5s var(--ease); }
  .filter:hover .filter-ico svg { animation: wiggle 0.6s ease-in-out; }
  .in-bag { animation: pop 0.45s var(--ease); }

  .btn-gold, .reach-btn { position: relative; overflow: hidden; }
  .btn-gold::after, .reach-btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: rgba(255, 255, 255, 0.28); transform: skewX(-20deg); pointer-events: none;
  }
  .btn-gold:hover::after, .reach-btn:hover::after { left: 130%; transition: left 0.8s var(--ease); }
}

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes line-up { from { transform: translateY(110%); } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes offer-in { from { opacity: 0; transform: translateX(-16px); } }
@keyframes slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.7); } }
@keyframes pop { 40% { transform: scale(1.08); } }
@keyframes wiggle { 30% { transform: rotate(-9deg); } 65% { transform: rotate(7deg); } }

/* ==========================================================================
   Bag drawer
   ========================================================================== */

.bag-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(23, 36, 27, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); }
.bag-overlay.open { opacity: 1; pointer-events: auto; }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 101;
  width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--ivory);
  transform: translateX(101%); visibility: hidden;
  transition: transform 0.6s var(--ease), visibility 0s 0.6s;
}
.bag.open { transform: none; visibility: visible; transition: transform 0.6s var(--ease), visibility 0s; }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 28px; }
.bag-close { width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; margin-right: -12px; }
.bag-items { flex: 1; overflow-y: auto; padding: 0 24px; }
.bag-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { width: 64px; height: 80px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); font-family: var(--display); font-size: 20px; }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-item h3 { font-size: 18px; line-height: 1.25; margin-bottom: 2px; }
.bag-item .meta { font-size: 12px; color: var(--text-faint); line-height: 1.5; }
.bag-item .line-price { font-family: var(--display); font-size: 17px; font-weight: 600; text-align: right; }
.bag-item .line-price.on-request { font-family: var(--body); font-size: 11px; text-transform: uppercase; color: var(--text-faint); }
.bag-item .line-price s { display: block; font-family: var(--body); font-size: 11px; font-weight: 400; color: var(--text-faint); }
.qty { display: flex; align-items: center; gap: 2px; margin-top: 12px; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--pill); }
.qty button:hover { border-color: var(--green); }
.qty span { min-width: 32px; text-align: center; font-size: 14px; }
.bag-remove { display: block; margin-top: 12px; padding: 4px 16px; min-height: 32px; border: 1px solid #D9A9A3; border-radius: var(--pill); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8E3B35; }
.bag-remove:hover { background: var(--blush); }
.bag-empty { padding: 64px 0; text-align: center; color: var(--text-soft); }
.bag-empty p { margin: 0 0 24px; }
.bag-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; }
.bag-total dt { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.bag-total dd { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 600; }
.bag-saved { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.bag-saved[hidden], .bag-delivery[hidden] { display: none; }
.bag-delivery { margin: 0 0 12px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--sand); font-size: 13px; color: var(--text-soft); }
.bag-delivery.unlocked { background: var(--cream); color: var(--green); }
.bag-note { margin: 0 0 16px; font-size: 12px; line-height: 1.6; color: var(--text-faint); }

.toast {
  position: fixed; left: 50%; top: 88px; z-index: 120; transform: translate(-50%, -16px);
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: var(--pill);
  background: var(--green-deep); color: var(--cream); font-size: 13px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Floating WhatsApp shortcut */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 999px;
  background: var(--green); color: var(--cream); border: 1px solid var(--gold);
  transition: background 0.4s var(--ease);
}
.wa-float:hover { background: var(--green-deep); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; } }
