/* ============================================================
   Risen Health — Design System
   Palette drawn from the RH brand: deep teal, warm cream, gold.
   ============================================================ */

:root {
  --teal-900: #0e343d;
  --teal-800: #123f4a;
  --teal-700: #17505d;
  --teal-600: #1e6272;
  --teal-500: #2a7688;
  --teal-100: #dcebee;
  --cream: #f7f1e5;
  --paper: #fbf7ee;
  --white: #ffffff;
  --ink: #1c2b2f;
  --ink-soft: #48595e;
  --gold: #c2a15f;
  --gold-soft: #e6d7b8;
  --line: #e4dcc9;
  --shadow-sm: 0 1px 3px rgba(14, 52, 61, 0.08);
  --shadow-md: 0 10px 30px -12px rgba(14, 52, 61, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(14, 52, 61, 0.35);
  --radius: 14px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 76px;
  /* Category palette — one muted hue per research field, used on badges, chips, and tiles */
  --c-repair: #245f47;     --c-repair-soft: #e1efe7;
  --c-gh: #1e6272;         --c-gh-soft: #dcebee;
  --c-metabolic: #8a5a12;  --c-metabolic-soft: #f7ecd6;
  --c-cognitive: #4a3f86;  --c-cognitive-soft: #e7e3f3;
  --c-cosmetic: #93404f;   --c-cosmetic-soft: #f6e2e7;
  --c-longevity: #4a6530;  --c-longevity-soft: #e8efdc;
  --c-vitality: #8e4222;   --c-vitality-soft: #f7e3da;
  --c-supply: #435760;     --c-supply-soft: #e3e9eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--teal-900);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--cream); }

a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 4px;
}
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-800); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-900);
  letter-spacing: 0.01em;
}

.container { width: min(1180px, 92%); margin: 0 auto; }
.container--narrow { width: min(820px, 92%); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--teal-700); color: var(--cream); }
.btn--primary:hover { background: var(--teal-900); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--teal-900); }
.btn--gold:hover { background: #d3b476; color: var(--teal-900); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(247, 241, 229, 0.55); }
.btn--ghost:hover { background: rgba(247, 241, 229, 0.12); color: var(--white); border-color: var(--cream); }
.btn--outline { background: transparent; color: var(--teal-800); border-color: var(--teal-700); }
.btn--outline:hover { background: var(--teal-700); color: var(--cream); }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--teal-900);
  color: rgba(247, 241, 229, 0.85);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 9px 16px;
}
.announce em { color: var(--gold-soft); font-style: normal; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 247, 238, 0.92);
  border-bottom: 1px solid var(--line);
}
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself
   would turn it into the containing block for the fixed mobile menu, which then
   scrolls away with the page instead of staying on screen. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 44px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 5px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--teal-800); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-700);
  background: transparent;
  color: var(--teal-800);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-btn:hover { background: var(--teal-700); color: var(--cream); }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--teal-900);
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.cart-count.is-empty { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--teal-900);
}
.nav-toggle span { display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 40px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-900);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 40, 47, 0.88) 0%, rgba(14, 52, 61, 0.62) 45%, rgba(14, 52, 61, 0.28) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 90px 0; }
.hero-inner { max-width: 640px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 78px);
  color: var(--white);
  font-weight: 500;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p.lead {
  color: rgba(247, 241, 229, 0.88);
  font-size: 18.5px;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note {
  margin-top: 42px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 241, 229, 0.55);
}

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 84px 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 36px);
  font-style: italic;
  font-weight: 500;
  color: var(--teal-800);
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.4;
}
.quote-band .mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.4;
  color: var(--gold);
  display: block;
  margin-bottom: 26px;
}

/* ---------- Value cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.value-card h3 { font-size: 23px; margin-bottom: 10px; }
.value-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .thumb {
  position: relative;
  background: #101e22;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(251, 247, 238, 0.92);
  color: var(--teal-800);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 22px; }
.product-body .sku { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em; }
.variant-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.variant-select:focus { outline: 2px solid var(--teal-500); }
.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--teal-800); }
.price small { font-size: 13px; font-family: var(--font-body); font-weight: 500; color: var(--ink-soft); }

@media (min-width: 981px) {
  #featured-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card .thumb { cursor: pointer; }
.product-card .p-title { cursor: pointer; }
.product-card .p-title:hover { color: var(--teal-600); }
.product-card .teaser {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.details-link {
  background: none;
  border: none;
  padding: 6px 0 2px;
  min-height: 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-600);
  cursor: pointer;
  text-align: left;
  width: fit-content;
}
.details-link:hover { color: var(--teal-900); text-decoration: underline; }

/* ---------- Trust strip (home) ---------- */
.trust-strip {
  background: var(--teal-900);
  border-top: 1px solid rgba(247, 241, 229, 0.12);
  padding: 18px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247, 241, 229, 0.85);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Category tiles (home) ---------- */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
  position: relative;
}
.cat-tile::after {
  content: "\2192";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 18px;
  opacity: 0;
  transition: all 0.22s ease;
}
.cat-tile:hover { box-shadow: var(--shadow-md); border-color: var(--teal-500); }
.cat-tile:hover::after { opacity: 1; right: 18px; }
.cat-tile::after { top: 34px; transform: none; }
.cat-tile-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 28px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cat-tile strong {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--teal-900);
  line-height: 1.2;
}
.cat-tile-head:hover strong { color: var(--teal-600); }
.cat-tile span { font-size: 13px; color: var(--ink-soft); }
.cat-tile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.cat-tile-list a {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  padding: 2px 0;
  border-bottom: 1px dotted transparent;
  width: fit-content;
}
.cat-tile-list a::before {
  content: "\2022";
  color: var(--gold);
  margin-right: 8px;
}
.cat-tile-list a:hover { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.cat-tile-more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-600);
  width: fit-content;
}
.cat-tile-more:hover { color: var(--teal-900); text-decoration: underline; }

.featured-note {
  margin: 10px 0 0;
  max-width: 560px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.featured-note strong { color: var(--teal-900); }
.featured-more {
  margin-top: 34px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.featured-more p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.featured-more strong { color: var(--teal-900); }

/* ---------- Ordering steps band (shop) ---------- */
.steps-band {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step { display: flex; align-items: flex-start; gap: 13px; }
.step-n {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step strong { display: block; font-size: 14.5px; color: var(--teal-900); }
.step small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; display: block; margin-top: 2px; }

@media (max-width: 980px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cat-tiles { grid-template-columns: 1fr; }
  .featured-more { padding: 22px 20px; }
  .cat-tile-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .cat-tile-list a { font-size: 14px; padding: 6px 0; }
  .cat-tile-more { display: inline-block; padding: 8px 0; }
  .featured-more .btn { width: 100%; }
  .steps-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-row { justify-content: flex-start; }
}

/* ---------- Category chips ---------- */
.shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -14px 0 34px;
}
.cat-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s ease;
}
.cat-chip:hover { border-color: var(--teal-600); color: var(--teal-700); }
.cat-chip.active {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--cream);
}

/* ---------- Category colour coding ---------- */
.pp-media .badge[data-cat="repair"], .badge[data-cat="repair"], .cat-chip.active[data-cat="repair"], .cat-tile[data-cat="repair"] { --cat: var(--c-repair); --cat-soft: var(--c-repair-soft); }
.badge[data-cat="gh"], .cat-chip.active[data-cat="gh"], .cat-tile[data-cat="gh"] { --cat: var(--c-gh); --cat-soft: var(--c-gh-soft); }
.badge[data-cat="metabolic"], .cat-chip.active[data-cat="metabolic"], .cat-tile[data-cat="metabolic"] { --cat: var(--c-metabolic); --cat-soft: var(--c-metabolic-soft); }
.badge[data-cat="cognitive"], .cat-chip.active[data-cat="cognitive"], .cat-tile[data-cat="cognitive"] { --cat: var(--c-cognitive); --cat-soft: var(--c-cognitive-soft); }
.badge[data-cat="cosmetic"], .cat-chip.active[data-cat="cosmetic"], .cat-tile[data-cat="cosmetic"] { --cat: var(--c-cosmetic); --cat-soft: var(--c-cosmetic-soft); }
.badge[data-cat="longevity"], .cat-chip.active[data-cat="longevity"], .cat-tile[data-cat="longevity"] { --cat: var(--c-longevity); --cat-soft: var(--c-longevity-soft); }
.badge[data-cat="vitality"], .cat-chip.active[data-cat="vitality"], .cat-tile[data-cat="vitality"] { --cat: var(--c-vitality); --cat-soft: var(--c-vitality-soft); }
.badge[data-cat="supply"], .cat-chip.active[data-cat="supply"], .cat-tile[data-cat="supply"] { --cat: var(--c-supply); --cat-soft: var(--c-supply-soft); }
.cat-chip[data-cat="repair"] { --cat: var(--c-repair); } .cat-chip[data-cat="gh"] { --cat: var(--c-gh); } .cat-chip[data-cat="metabolic"] { --cat: var(--c-metabolic); } .cat-chip[data-cat="cognitive"] { --cat: var(--c-cognitive); }
.cat-chip[data-cat="cosmetic"] { --cat: var(--c-cosmetic); } .cat-chip[data-cat="longevity"] { --cat: var(--c-longevity); } .cat-chip[data-cat="vitality"] { --cat: var(--c-vitality); } .cat-chip[data-cat="supply"] { --cat: var(--c-supply); }

.product-card .badge[data-cat], .pd-body .badge[data-cat] { background: var(--cat-soft); color: var(--cat); }
.product-card .badge[data-cat] { background: color-mix(in srgb, var(--cat-soft) 94%, transparent); }
.cat-chip[data-cat]:not([data-cat="all"])::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cat); margin-right: 8px; vertical-align: 1px; }
.cat-chip.active[data-cat]:not([data-cat="all"]) { background: var(--cat); border-color: var(--cat); color: var(--cream); }
.cat-chip.active[data-cat]:not([data-cat="all"])::before { background: rgba(247,241,229,0.85); }
.cat-tile[data-cat] { border-top: 4px solid var(--cat); }
.cat-tile-head { min-height: 78px; justify-content: flex-start; }
.cat-tile[data-cat] .cat-tile-list a::before { color: var(--cat); }
.cat-tile[data-cat]:hover { border-color: var(--line); border-top-color: var(--cat); }
#catalog { background: var(--teal-100); }
#catalog .section-head p { color: var(--teal-800); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--teal-700);
  color: var(--cream);
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 85;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-900); }

/* ---------- Product detail modal ---------- */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 52, 61, 0.55);
  backdrop-filter: blur(3px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pd-overlay.open { opacity: 1; pointer-events: auto; }
.pd-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -47%) scale(0.97);
  width: min(880px, 94vw);
  max-height: 90dvh;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 150;
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.pd-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.pd-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(251, 247, 238, 0.92);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pd-close:hover { background: var(--white); }
.pd-media { background: #101e22; min-height: 100%; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-body {
  padding: 36px 38px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-body .badge {
  position: static;
  align-self: flex-start;
  background: var(--teal-100);
  color: var(--teal-800);
}
.pd-body h3 { font-size: 32px; line-height: 1.1; }
.pd-cls { font-size: 14px; font-weight: 600; color: var(--teal-700); }
.pd-sku { letter-spacing: 0.08em; }
.pd-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.pd-areas-wrap { margin-top: 2px; }
.pd-areas-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.pd-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-area {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
}
.pd-buy {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pd-buy .price { font-size: 28px; }
.pd-storage { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
.pd-ruo {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 720px) {
  .pd-modal { grid-template-columns: 1fr; overflow-y: auto; display: block; }
  .pd-media { max-height: 300px; overflow: hidden; }
  .pd-body { padding: 26px 24px 24px; }
}

/* ---------- Products page toolbar ---------- */
.shop-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.shop-search {
  flex: 1 1 260px;
  position: relative;
}
.shop-search input {
  width: 100%;
  padding: 13px 18px 13px 46px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
}
.shop-search input:focus { outline: 2px solid var(--teal-500); }
.shop-search svg {
  position: absolute;
  left: 17px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}
.shop-toolbar select {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  cursor: pointer;
}
.shop-count { font-size: 14px; color: var(--ink-soft); margin-left: auto; }
.shop-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.split .photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.split .btn { margin-top: 12px; }

/* ---------- Dark CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--teal-900);
  overflow: hidden;
  text-align: center;
  padding: 110px 0;
}
.cta-band .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.cta-band p { color: rgba(247, 241, 229, 0.8); max-width: 560px; margin: 0 auto 34px; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--teal-800);
  line-height: 1.5;
  flex: 1;
}
.testi-card cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.testi-card cite small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.photo-strip figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-strip figure:hover img { transform: scale(1.04); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--teal-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform 0.25s ease; color: var(--gold); flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(45deg); }
.faq-item .answer { padding: 0 26px 24px; color: var(--ink-soft); font-size: 15.5px; }
.faq-item .answer p + p { margin-top: 10px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--teal-900);
  color: var(--cream);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(194, 161, 95, 0.35);
  pointer-events: none;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -60px; top: -220px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 229, 0.12);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); font-size: clamp(38px, 5vw, 58px); margin-bottom: 12px; }
.page-hero p { color: rgba(247, 241, 229, 0.8); font-size: 17.5px; max-width: 560px; }
.page-hero .eyebrow { color: var(--gold-soft); }

/* ---------- Policy / prose pages ---------- */
.prose { font-size: 16px; color: var(--ink-soft); }
.prose h2 { font-size: 27px; margin: 42px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose .notice {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 15px;
}

/* ---------- Contact block ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h3 { font-size: 21px; margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--ink-soft); }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(247, 241, 229, 0.75);
  padding: 76px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 54px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; font-size: 14px; line-height: 1.75; }
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: rgba(247, 241, 229, 0.75); }
.site-footer a:hover { color: var(--white); }
.footer-disclaimer {
  border-top: 1px solid rgba(247, 241, 229, 0.14);
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(247, 241, 229, 0.5);
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(247, 241, 229, 0.14);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(247, 241, 229, 0.55);
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 52, 61, 0.5);
  backdrop-filter: blur(2px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(430px, 94vw);
  background: var(--paper);
  z-index: 120;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 24px; }
.cart-close { background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 26px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 60px 0; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.cart-item .info { flex: 1; }
.cart-item .info strong { display: block; font-size: 15px; }
.cart-item .info span { font-size: 13px; color: var(--ink-soft); }
.cart-item .qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cart-item .qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
}
.cart-item .qty button:hover { border-color: var(--teal-600); color: var(--teal-700); }
.cart-item .line-price { font-weight: 600; color: var(--teal-800); font-size: 15px; white-space: nowrap; }
.cart-item .remove {
  background: none; border: none;
  color: var(--ink-soft);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-top: 6px;
}
.cart-foot { border-top: 1px solid var(--line); padding: 22px 26px 26px; background: var(--cream); }
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cart-ship {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.cart-ship-hint { font-size: 12px; color: var(--teal-700); font-weight: 600; min-height: 0; }
.cart-ship-hint:not(:empty) { margin-bottom: 8px; }
.cart-note { font-size: 12px; color: var(--ink-soft); margin-bottom: 16px; }
.cart-foot .btn { width: 100%; }
body.has-checkout .cart-order-btn { margin-top: 10px; }
.cart-foot .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.cart-pay-btn { display: none; }
body.has-checkout .cart-pay-btn { display: inline-flex; }
body.has-checkout .cart-note-email { display: none; }
.cart-note-card { display: none; }
body.has-checkout .cart-note-card { display: block; }
.cart-secure {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 10px;
}
body.has-checkout .cart-secure { display: flex; }
.cart-alt { text-align: center; font-size: 13px; margin-top: 12px; color: var(--ink-soft); }

/* ---------- Sold out ---------- */
.badge--out { background: #7a2e2e; color: #fff; }
.product-card .add-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.pd-add:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Related products (detail modal) ---------- */
.pd-related { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.pd-related-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.pd-related-list a:hover { border-color: var(--teal-500); transform: translateY(-1px); }
.pd-related-list img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; }

/* ---------- "Share your experience" card (testimonials) ---------- */
.share-card { margin-top: 44px; padding: 30px 34px; border-radius: var(--radius); background: var(--teal-900); color: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.share-card h3 { color: var(--white); font-size: 26px; margin-bottom: 4px; }
.share-card p { color: rgba(247,241,229,0.78); max-width: 52ch; }
@media (max-width: 760px) { .share-card { padding: 24px 22px; } .share-card .btn { width: 100%; } .to-top { right: 14px; bottom: 14px; } }

/* ---------- Product pages ---------- */
.pp-section { padding-top: 34px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 28px; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--teal-700); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.product-card--page, .product-card--page:hover { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 52px; align-items: start; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; overflow: visible; }
.pp-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--teal-900); box-shadow: var(--shadow-md); }
.pp-media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.pp-media .badge { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 999px; padding: 6px 13px; background: rgba(251,247,238,0.92); color: var(--teal-800); }
.pp-media .badge[data-cat] { background: var(--cat-soft); color: var(--cat); }
.pp-info { display: flex; flex-direction: column; gap: 14px; }
.pp-info h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.05; }
.pp-cls { font-size: 15px; font-weight: 600; color: var(--teal-700); }
.pp-desc { color: var(--ink-soft); }
.pp-buy { margin-top: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.pp-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.pp-buy .variant-select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font-body); font-size: 15px; background: var(--paper); color: var(--ink); }
.pp-size-one { display: flex; flex-direction: column; gap: 2px; }
.pp-size-one strong { font-size: 16px; }
.pp-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pp-buy-row .price { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--teal-900); }
.pp-buy-row .price small { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.pp-fine { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.pp-handling { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.pp-related { margin-top: 72px; }
.pp-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pp-related-head h2 { font-size: 28px; }
.pp-related-head a { font-size: 14px; font-weight: 600; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: all 0.2s; }
.mini-card:hover { border-color: var(--teal-500); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--teal-800); }
.mini-card img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; flex: none; background: var(--teal-900); }
.mini-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-card strong { font-size: 15px; line-height: 1.25; }
.mini-card small { font-size: 13px; color: var(--ink-soft); }
.pd-permalink { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 600; }
@media (max-width: 980px) { .mini-grid { grid-template-columns: 1fr 1fr; } .product-card--page, .product-card--page:hover { gap: 32px; } }
@media (max-width: 760px) {
  .product-card--page, .product-card--page:hover { grid-template-columns: 1fr; gap: 26px; }
  .pp-section { padding-top: 22px; }
  .pp-buy-row { flex-direction: column; align-items: stretch; }
  .pp-buy-row .btn { width: 100%; }
  .pp-related { margin-top: 52px; }
  .pp-related-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mini-grid { grid-template-columns: 1fr; }
}

/* ---------- Age / research-use gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 34, 41, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: gateIn 0.35s ease;
}
.gate.closing { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
@keyframes gateIn { from { opacity: 0; } to { opacity: 1; } }
.gate-box {
  width: min(520px, 100%);
  background: var(--cream);
  border-radius: var(--radius-lg, 22px);
  padding: 40px 38px 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold);
}
.gate-box img { width: 56px; height: 56px; margin: 0 auto 14px; display: block; }
.gate-box h2 { font-size: 34px; margin-bottom: 14px; }
.gate-box p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.gate-box p strong { color: var(--ink); }
.gate-accept { width: 100%; margin-top: 8px; }
.gate-leave {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: underline;
}
body.gate-open { overflow: hidden; }

/* ---------- Forms (contact + newsletter) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-800);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(31, 122, 138, 0.15);
}
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-size: 14px; min-height: 1.2em; }
.form-status.ok { color: var(--teal-700); font-weight: 600; }
.form-status.err { color: #9c2b2b; font-weight: 600; }
.form-status.pending { color: var(--ink-soft); }
.form-fine { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
.contact-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 22px);
  padding: 36px;
  box-shadow: var(--shadow-sm, 0 4px 20px rgba(0,0,0,0.05));
}
.contact-panel h2 { font-size: 30px; margin-bottom: 8px; }
.contact-panel > p { color: var(--ink-soft); margin-bottom: 26px; }
.contact-side h3 { font-size: 22px; margin-bottom: 8px; }
.contact-side p { color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; }
.contact-side .block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-side .block:first-child { padding-top: 0; }
.contact-side .block:last-child { border-bottom: none; }
.contact-side a { font-weight: 600; }
.contact-side .hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; font-size: 14.5px; }
.contact-side .hours span:nth-child(odd) { color: var(--ink); font-weight: 600; }
.contact-side .hours span:nth-child(even) { color: var(--ink-soft); }

/* Footer newsletter */
.footer-news {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(247,241,229,0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.footer-news h3 { margin-bottom: 6px; }
.footer-news p { font-size: 13.5px; color: rgba(247,241,229,0.7); margin: 0; }
.footer-news .newsletter-wrap { padding-bottom: 22px; }
/* Steps / FAQ copy that changes once card checkout is switched on */
.if-card { display: none; }
body.has-checkout .if-card { display: inline; }
body.has-checkout .if-email { display: none; }
body.has-checkout .cart-order-btn { background: transparent; color: var(--teal-800); border-color: var(--teal-700); }
body.has-checkout .cart-order-btn:hover { background: var(--teal-700); color: var(--cream); }
.cart-ship, .cart-ship-hint { display: none; }
body.has-checkout .cart-ship { display: flex; }
body.has-checkout .cart-ship-hint { display: block; }
.newsletter-form { display: flex; gap: 8px; position: relative; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247,241,229,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(247,241,229,0.45); }
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--gold); border-color: transparent; }
.newsletter-form button { padding: 11px 18px; font-size: 13px; white-space: nowrap; }
.newsletter-form.sent input, .newsletter-form.sent button { display: none; }
.newsletter-form .form-status { position: absolute; left: 0; top: calc(100% + 8px); font-size: 12.5px; color: var(--gold-soft); }
.newsletter-form.sent .form-status { position: static; }
/* ---------- Guides page ---------- */
.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 52px;
}
.guide-nav a {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-800);
  text-decoration: none;
  transition: all 0.2s;
}
.guide-nav a:hover { border-color: var(--teal-500); color: var(--teal-500); }
.guide { scroll-margin-top: 110px; }
.guide + .guide { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); }
.guide .eyebrow { display: block; margin-bottom: 10px; }
.guide h2, .guide.prose h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 14px; }
.prose .guide-card p:last-child, .prose .guide-card ul { margin-bottom: 0; }
.guide .notice { margin-top: 28px; }
.guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}
.guide-card h3 { font-size: 20px; margin-bottom: 8px; }
.guide-card p, .guide-card li { font-size: 15px; color: var(--ink-soft); }
.guide-card ul { margin: 6px 0 0 18px; }
.guide-card li { margin-bottom: 6px; }
.coa-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14.5px; }
.coa-table th, .coa-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.coa-table th { background: var(--cream); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-800); }
.coa-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.coa-table td { color: var(--ink-soft); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Reconstitution calculator */
.calc {
  background: var(--teal-900);
  color: var(--cream);
  border-radius: var(--radius-lg, 22px);
  padding: 36px;
  margin-top: 26px;
}
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-inputs label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.calc-inputs .unit-wrap { position: relative; }
.calc-inputs input {
  width: 100%;
  padding: 14px 52px 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(247,241,229,0.22);
  background: rgba(255,255,255,0.07);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
}
.calc-inputs input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.calc-inputs .unit {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: rgba(247,241,229,0.6); pointer-events: none;
}
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.calc-presets span { font-size: 12.5px; color: rgba(247,241,229,0.6); margin-right: 4px; }
.calc-presets button {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247,241,229,0.3);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.calc-presets button:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-900); }
#calc-out { margin-top: 24px; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-grid > div {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(247,241,229,0.14);
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.calc-grid span { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(247,241,229,0.6); margin-bottom: 6px; }
.calc-grid strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1.05; color: var(--gold-soft); }
.calc-grid small { display: block; font-size: 12.5px; color: rgba(247,241,229,0.6); margin-top: 6px; }
.calc-hint { color: rgba(247,241,229,0.65); font-size: 14.5px; }
.calc-note { margin-top: 16px; font-size: 12.5px; color: rgba(247,241,229,0.55); }

/* Order success */
.success-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 22px);
  padding: 56px 40px;
  box-shadow: var(--shadow-sm, 0 4px 20px rgba(0,0,0,0.05));
}
.success-card .check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.success-card h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 12px; }
.success-card p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 12px; }
.success-steps { text-align: left; max-width: 480px; margin: 28px auto 32px; display: grid; gap: 12px; }
.success-steps div { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.success-steps .step-n { flex: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--teal-900);
  color: var(--cream);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* Seven nav links need a little less air on small laptops / tablets in landscape */
@media (max-width: 1100px) and (min-width: 761px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 13.5px; letter-spacing: 0.04em; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .brand-name { display: none; }
  .main-nav { gap: 20px; }
}
.testi-grid--2 { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }

@media (max-width: 980px) {
  .value-grid, .testi-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .photo { order: -1; max-height: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .site-footer li { margin-bottom: 2px; }
  .site-footer li a { display: inline-block; padding: 7px 0; }
  .details-link { padding: 10px 0 4px; min-height: 40px; }
  .calc-presets button { padding: 10px 14px; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 86vw);
    background: var(--teal-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 36px;
    gap: 8px;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    z-index: 100;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { color: var(--cream); font-size: 19px; padding: 12px 0; }
  .main-nav a.active { color: var(--gold-soft); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; z-index: 101; }
  .nav-toggle.open { position: fixed; top: 16px; right: 16px; color: var(--cream) !important; }
  .value-grid, .testi-grid, .photo-strip, .contact-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .brand-name { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .shop-count { margin-left: 0; width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-panel { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .guide-cols { grid-template-columns: 1fr; }
  .calc { padding: 26px 20px; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-grid strong { font-size: 26px; }
  .gate-box { padding: 30px 22px 26px; }
  .gate-box h2 { font-size: 28px; }
  .pd-related-list { grid-template-columns: 1fr; }
  .success-card { padding: 40px 22px; }
  .footer-news { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- No-JS fallback + print ---------- */
.noscript-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; padding: 0; }
@media print {
  .announce, .site-header, .site-footer, .cart-btn, .nav-toggle, .cart-drawer, .cart-overlay, .gate, .to-top, .toast, .skip-link, .pd-overlay, .pd-modal, .cta-band, .hero-media, .newsletter-form { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 18pt 0; }
  .product-card, .pp-buy, .guide-card { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
}
