/* ==========================================================================
   FOLLIVLE — Hair Wellness. Design system + site styles.
   ========================================================================== */

:root {
  /* Navy & gold — chosen from a set of six candidate palettes. Navy carries
     both the body-text ink AND doubles as a dark section background (footer,
     stat band); gold is the reserved accent. --sage-* / --terracotta-* names
     are kept (avoids a 78-usage rewrite) but now all resolve into one navy
     system, with --gold-* separate. */
  --cream:        #F8FAFC;
  --cream-deep:   #EAF0F7;
  --sand:         #E2E8F0;
  --sage:         #1E3A8A;    /* secondary blue — decorative/bare accent, hover states */
  --sage-dark:    #0F172A;    /* navy — buttons/bg-with-white-text (17.85:1) AND text-on-cream (17.06:1) */
  --sage-pale:    #E6EEF7;    /* pale blue tint for soft card/badge backgrounds */
  --terracotta:   #1E3A8A;    /* unified with --sage: one accent hue, not two */
  --terracotta-dark:#0F172A;
  --terracotta-ink: #0F172A;
  --ink:          #0F172A;    /* navy doubles as primary text color */
  --ink-soft:     #475569;    /* slate-600 — 7.24:1 on cream, 6.61:1 on cream-deep */
  --white:        #FFFFFF;
  --gold:         #A16207;    /* passes 4.71:1 as text on cream — usable directly, unlike the old coral accent */
  --gold-ink:     #8B5306;    /* slightly deeper for star glyphs on light bg (6.01:1) */
  --gold-on-dark: #AF792C;    /* lightened for small text on navy (4.76:1); raw gold on navy is only 3.63:1 */
  --on-sage-muted:#94A3B8;    /* slate-400 — muted text on navy dark sections (6.96:1) */

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(43,42,36,0.06);
  --shadow-md: 0 10px 30px rgba(43,42,36,0.10);
  --shadow-lg: 0 20px 60px rgba(43,42,36,0.16);

  /* Geometric Modern pairing: Outfit for all headings, Work Sans for body/UI. */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); line-height: 1.65; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--terracotta); display: inline-block; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 17px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: var(--radius-pill); border: none;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--sage-dark); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sage); transform: translateY(-2px); box-shadow: var(--shadow-md); } /* --terracotta-dark equals --sage-dark now, so hover needs a different token to actually shift color */
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--sage-dark); }
.btn-light:hover { background: var(--sage-pale); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.announce {
  background: var(--sage-dark); color: var(--cream); text-align: center;
  font-size: 13px; font-weight: 500; letter-spacing: .03em; padding: 10px 16px;
}
.announce strong { color: var(--gold-on-dark); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43,42,36,0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--sage-dark); }
.logo svg { width: 30px; height: 30px; }
.main-nav { display: flex; gap: 34px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--terracotta); transition: width .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: transparent; border: none; position: relative; }
.icon-btn:hover { background: var(--sage-pale); }
.cart-count { position: absolute; top: -2px; right: -2px; background: var(--terracotta-dark); color: #fff; font-size: 10px; font-weight: 700; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; background: none; border: none; }

@media (max-width: 900px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: min(320px,80%); height: 100vh; background: var(--cream); flex-direction: column; padding: 100px 32px; gap: 26px; transition: right .3s ease; box-shadow: var(--shadow-lg); z-index: 200; }
  .main-nav.open { right: 0; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: 10px; }
}
@media (max-width: 520px) {
  .header-actions .icon-btn[aria-label="Search"],
  .header-actions > a.btn-primary.btn-sm { display: none; }
  .header-actions { gap: 8px; }
  .logo { font-size: 20px; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(36px, 5.2vw, 64px); }
.hero-copy .accent { color: var(--terracotta-ink); font-style: italic; }
.hero-copy p.lead { font-size: 18px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--sage-dark); }
.hero-stats div span { font-size: 13px; color: var(--ink-soft); }
.stars { color: var(--gold-ink); letter-spacing: 2px; font-size: 15px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-blob { position: absolute; inset: -10% ; z-index: 0; }
.hero-visual .bottle-wrap { position: relative; z-index: 2; filter: drop-shadow(var(--shadow-lg)); animation: float 6s ease-in-out infinite; }
.floating-badge { position: absolute; z-index: 3; background: var(--white); border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.floating-badge.b1 { top: 6%; left: -4%; }
.floating-badge.b2 { bottom: 10%; right: -6%; }
.floating-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
@keyframes float { 0%,100% { transform: translateY(0px);} 50% { transform: translateY(-14px);} }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 300px; margin: 0 auto; }
  .hero-copy p.lead { max-width: 100%; }
}

/* ---------- Logo strip ---------- */
.strip { padding: 30px 0; border-top: 1px solid rgba(43,42,36,.08); border-bottom: 1px solid rgba(43,42,36,.08); }
.strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); }
.strip span svg { flex-shrink: 0; color: var(--sage-dark); }

/* ---------- Values / cards ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-2 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3, .grid-5 { grid-template-columns: 1fr; } }

.value-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--sage-dark); }
.value-card h3 { font-size: 19px; }
.value-card p { font-size: 14.5px; margin: 0; }
.value-card .ingredient-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); display: block; margin: 0 0 18px; border: 1px solid rgba(15,23,42,.08); box-shadow: 0 8px 20px rgba(15,23,42,.10); }
.value-card .ingredient-photo.contain { object-fit: contain; background: var(--cream); padding: 14px; }

.bg-sage { background: var(--sage-dark); color: var(--cream); }
.bg-sage p, .bg-sage h2, .bg-sage h3 { color: var(--cream); }
.bg-sand { background: var(--cream-deep); }

.bg-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-photo .eyebrow { color: var(--gold); }
.bg-photo .eyebrow::before { background: var(--gold); }
.bg-photo > .container > h1,
.bg-photo .section-head h2,
.bg-photo .grid-2 > div > h2 { color: var(--white); }
.bg-photo > .container > p,
.bg-photo .section-head p,
.bg-photo .grid-2 > div > p { color: rgba(255,255,255,.85); }
.bg-photo .breadcrumb { color: rgba(255,255,255,.65); }
.bg-photo .breadcrumb a { color: var(--white); }
.bg-photo .breadcrumb a:hover { color: var(--gold); }
.bg-photo .btn-outline { color: var(--white); border-color: var(--white); }
.bg-photo .btn-outline:hover { background: var(--white); color: var(--ink); }
.bg-photo .value-card h3 { color: var(--ink); }
.bg-photo .value-card p { color: var(--ink-soft); }
.bg-photo > .container > .stars { color: var(--gold-on-dark); }

.bg-illustration { background-size: cover; background-position: center; }
.bg-illustration .eyebrow { color: var(--white); }
.bg-illustration .eyebrow::before { background: var(--white); }
.bg-illustration .section-head h2 { color: var(--white); }

/* ---------- Ingredients ---------- */
.ingredient-row { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(43,42,36,.1); }
.ingredient-row .num { font-family: var(--font-display); font-size: 22px; color: var(--terracotta-ink); width: 40px; flex-shrink: 0; }
.ingredient-row h4 { margin: 0 0 4px; font-size: 18px; }
.ingredient-row p { margin: 0; font-size: 14.5px; }

/* ---------- Before / After ---------- */
.ba-slider { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); user-select: none; }
.ba-slider .layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; }
.ba-slider .after { background: linear-gradient(135deg, var(--sage-pale), var(--sand)); color: var(--sage-dark); }
.ba-slider .before { background: linear-gradient(135deg, #ded6c4, #cfc6ae); color: var(--ink); }
.ba-slider .before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 3px solid var(--white); }
.ba-slider .handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; z-index: 5; }
.ba-slider input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.85); }
.ba-tag.left { left: 16px; } .ba-tag.right { right: 16px; }
.ba-caption { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-band .stat strong { display: block; font-family: var(--font-display); font-size: 46px; color: var(--gold); }
.stat-band .stat p { color: rgba(248,250,252,.8); font-size: 13.5px; max-width: 220px; margin: 6px auto 0; }
@media (max-width: 768px) { .stat-band { grid-template-columns: repeat(2,1fr); } }

/* ---------- Product card / pricing ---------- */
.product-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.product-card.featured { border: 2px solid var(--terracotta-dark); box-shadow: var(--shadow-md); }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--terracotta-dark); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill); }
.product-card .thumb { aspect-ratio: 1; border-radius: var(--radius-md); background: linear-gradient(160deg, var(--sage-pale), var(--sand)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product gallery (real photos) ---------- */
.product-gallery { position: sticky; top: 100px; }
.product-gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumb-btn { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; transition: border-color .15s ease; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn.active, .thumb-btn:hover { border-color: var(--sage-dark); }
.product-card h3 { font-size: 20px; margin-bottom: 4px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 16px; }
.price-row .now { font-family: var(--font-display); font-size: 26px; color: var(--sage-dark); }
.price-row .was { text-decoration: line-through; color: var(--ink-soft); font-size: 15px; }
.save-tag { background: var(--sage-pale); color: var(--sage-dark); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); }
.feat-list li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; align-items: flex-start; }
.feat-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--sage); }

/* ---------- Bundle selector (product page) ---------- */
.bundle-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid rgba(43,42,36,.12); border-radius: var(--radius-md); padding: 18px 20px; cursor: pointer; transition: border-color .15s, background .15s; margin-bottom: 14px; }
.bundle-option:hover { border-color: var(--sage); }
.bundle-option.selected { border-color: var(--terracotta-dark); background: #FFF7F2; }
.bundle-option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-soft); flex-shrink: 0; position: relative; }
.bundle-option.selected .radio { border-color: var(--terracotta-dark); }
.bundle-option.selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--terracotta-dark); }
.bundle-option .info { flex: 1; }
.bundle-option .info strong { display: block; font-size: 15.5px; }
.bundle-option .info span { font-size: 13px; color: var(--ink-soft); }
.bundle-option .prices { text-align: right; }
.bundle-option .prices .now { font-weight: 700; font-size: 17px; font-family: var(--font-display); }
.bundle-option .prices .was { font-size: 12.5px; text-decoration: line-through; color: var(--ink-soft); }
.bundle-badge { background: var(--terracotta-dark); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); margin-left: 8px; }
.countdown-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--sage-pale); color: var(--sage-dark); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); margin-top: 6px; }
.countdown-tag svg { flex-shrink: 0; }

.qty-row { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid rgba(43,42,36,.2); border-radius: var(--radius-pill); overflow: hidden; }
.qty-stepper button { background: none; border: none; width: 38px; height: 38px; font-size: 18px; }
.qty-stepper span { width: 34px; text-align: center; font-weight: 600; }

.guarantee-strip { display: flex; align-items: center; gap: 14px; background: var(--sage-pale); border-radius: var(--radius-md); padding: 16px 18px; margin-top: 20px; }
.guarantee-strip svg { color: var(--sage-dark); flex-shrink: 0; }
.guarantee-strip strong { display: block; font-size: 14px; }
.guarantee-strip span { font-size: 12.5px; color: var(--ink-soft); }

.trust-icons { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.trust-icons div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* ---------- Sticky buy bar ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: -100px; background: var(--white); box-shadow: 0 -6px 24px rgba(0,0,0,.1); padding: 14px 0; z-index: 90; transition: bottom .25s ease; }
.sticky-bar.show { bottom: 0; }
.sticky-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sticky-bar .info { display: flex; align-items: center; gap: 12px; }
.sticky-bar .swatch { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(160deg, var(--sage-pale), var(--sand)); flex-shrink: 0; }
.sticky-bar strong { font-size: 14.5px; }
.sticky-bar .price { color: var(--terracotta-dark); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testi-track { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px) { .testi-track { grid-template-columns: 1fr; } }
.testi-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.testi-card .stars { margin-bottom: 12px; display: block; }
.testi-card p { color: var(--ink); font-size: 15px; font-style: italic; }
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-dark); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; font-family: var(--font-display); flex-shrink: 0; }
.testi-foot strong { display: block; font-size: 14px; }
.testi-foot span { font-size: 12.5px; color: var(--ink-soft); }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--sage-dark); font-weight: 700; margin-left: 6px; }

/* ---------- Review list (single-column, Judge.me-style) ---------- */
.review-summary-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(15,23,42,.1); }
.review-summary-bar .rating-line { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.review-summary-bar .rating-line .stars { font-size: 17px; }
.review-summary-bar .rating-line svg { color: var(--ink-soft); transition: transform .15s ease; }
.review-summary-bar .actions { display: flex; align-items: center; gap: 10px; }

.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-card { display: flex; gap: 20px; justify-content: space-between; background: var(--white); border: 1px solid rgba(15,23,42,.08); border-radius: var(--radius-md); padding: 20px 24px; }
.review-card.hidden-review { display: none; }
.review-card .review-body { flex: 1; min-width: 0; }
.review-card .review-name { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; }
.review-card .review-name svg { color: var(--sage-dark); flex-shrink: 0; }
.review-card .review-date { font-size: 12px; color: var(--ink-soft); margin: 2px 0 8px; }
.review-card .stars { display: block; margin-bottom: 8px; font-size: 14px; }
.review-card p { color: var(--ink); font-size: 14.5px; margin: 0; line-height: 1.6; }
.review-highlight { background: #FBEACB; padding: 1px 4px; border-radius: 3px; }
.review-photo { width: 84px; height: 84px; border-radius: var(--radius-sm); flex-shrink: 0; background: linear-gradient(160deg, var(--sage-pale), var(--sand)); display: flex; align-items: center; justify-content: center; color: var(--sage-dark); position: relative; }
.review-photo .more-badge { position: absolute; bottom: 4px; right: 4px; background: rgba(15,23,42,.75); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.review-reply { margin-top: 12px; padding: 12px 14px; background: var(--cream-deep); border-radius: var(--radius-sm); font-size: 13px; color: var(--ink-soft); }
.review-reply strong { color: var(--ink); }
@media (max-width: 560px) { .review-photo { display: none; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(43,42,36,.12); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.faq-q .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-pale); flex-shrink: 0; position: relative; transition: transform .25s ease; }
.faq-q .plus::before, .faq-q .plus::after { content:''; position: absolute; background: var(--sage-dark); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.faq-q .plus::before { width: 10px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 10px; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; margin: 0; font-size: 14.5px; }

/* ---------- Newsletter / CTA ---------- */
.cta-band { background: var(--terracotta-dark); border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-light { color: var(--terracotta-dark); }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 15px 18px; border-radius: var(--radius-pill); border: 1.5px solid rgba(43,42,36,.2); font-family: inherit; font-size: 14px; }

/* ---------- Footer ----------
   opositiv.com keeps its footer light (warm tan, dark ink text) — there's no
   dark section anywhere on that site, so this no longer inverts to --sage-dark. */
/* Navy suits a dark surface naturally (17.85:1 for white text) — footer goes
   back to a dark treatment, gold as the accent, unlike the coral scheme where
   the accent itself was too light to invert this way. */
.site-footer { background: var(--sage-dark); color: var(--cream); padding: 72px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 40px; margin-bottom: 56px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: repeat(2,1fr); } }
.site-footer h4 { color: var(--gold-on-dark); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 800; }
.site-footer .logo { color: var(--gold-on-dark); }
.site-footer p.tag { font-size: 14px; color: var(--on-sage-muted); max-width: 260px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul li a { font-size: 14px; color: var(--on-sage-muted); }
.site-footer ul li a:hover { color: var(--gold-on-dark); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--cream); display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.social-row a:hover { background: var(--gold-on-dark); color: var(--sage-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--on-sage-muted); }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.disclaimer { font-size: 11.5px; color: var(--on-sage-muted); max-width: 900px; margin-top: 18px; line-height: 1.6; }
.payment-icons { display: flex; gap: 8px; }
.payment-icons span { background: rgba(255,255,255,.1); color: var(--on-sage-muted); border-radius: 6px; padding: 5px 8px; font-size: 11px; font-weight: 700; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 56px 0 40px; text-align: center; background: var(--cream-deep); }
.page-hero h1 { font-size: clamp(32px,4.6vw,52px); }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--sage-dark); }

/* ---------- Table (ingredients science page) ---------- */
.science-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.science-table th, .science-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(43,42,36,.1); font-size: 14px; }
.science-table th { font-family: var(--font-display); font-weight: 700; color: var(--sage-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid rgba(43,42,36,.18); font-family: inherit; font-size: 14.5px; background: var(--white); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.error-page .big { font-family: var(--font-display); font-size: clamp(80px,14vw,160px); color: var(--sage-pale); line-height: 1; }

/* ---------- Accessibility: focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--terracotta-dark);
  outline-offset: 3px;
}
/* Tighter offset inside compact controls so the ring doesn't overlap neighbors */
.icon-btn:focus-visible,
.qty-stepper button:focus-visible,
.social-row a:focus-visible {
  outline-offset: 2px;
}

/* ---------- Fixed sticky bar: keep it from covering focused/footer content ---------- */
body.has-sticky-bar {
  padding-bottom: 84px;
}

/* ---------- Accessibility: respect reduced-motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-visual .bottle-wrap { animation: none; }
}
