/* ==========================================================================
   Soro Research — styles.css
   Single stylesheet. No framework, no preprocessor, no utility classes.
   Naming: BEM (block__element--modifier). JS hooks use data-* attributes,
   never classes, so classes can be renamed freely.
   Sections 1-21 come from the design export unchanged; section 22 onward
   holds WordPress-only additions. WooCommerce overrides: woocommerce.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (self-hosted, latin subset). Preloaded in inc/enqueue.php.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-display-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-display-italic-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-mono-700.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors — neutrals */
  --color-ink: #121212;            /* primary text, buttons, rules, footer bg */
  --color-ink-strong: #000000;     /* primary button hover */
  --color-paper: #f5f4f0;          /* page background, text on ink */
  --color-surface: #ecebe7;        /* panels: COA feature, forms, order summary */
  --color-card: #ffffff;           /* cards, inputs, COA card */
  --color-header-bg: #ffffff;
  --color-line: rgba(0, 0, 0, 0.12);       /* row dividers */
  --color-line-soft: rgba(0, 0, 0, 0.08);  /* COA card rows */
  --color-border: rgba(0, 0, 0, 0.12);     /* input + chip borders */
  --color-text-body: #3a3a3a;      /* long-form body copy */
  --color-text-muted: #5a5a5a;     /* secondary copy */
  --color-text-subtle: #6b6b6b;    /* labels, eyebrows, meta */
  --color-text-faint: #767676;     /* captions */
  --color-placeholder-a: #ebe9e5;  /* placeholder stripes */
  --color-placeholder-b: #e4e2dd;
  /* Colors — footer */
  --color-footer-text: #d9d6d1;
  --color-footer-muted: #b3aea8;
  --color-footer-rule: #4a4644;
  /* Colors — accent (status / "pass" green). Hex ≈ in comments. */
  --color-accent: oklch(0.52 0.09 165);       /* ≈ #2b795c — status dots, progress */
  --color-accent-text: oklch(0.45 0.08 165);  /* ≈ #1f634a — "Pass" label */
  --color-link-hover: oklch(0.48 0.08 165);   /* ≈ #256b51 — link hover */

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-display: 700;               /* Playfair headings (loaded 600-700 only) */

  --fs-display: clamp(52px, 7vw, 104px);          /* home hero (split) */
  --fs-display-stacked: clamp(52px, 8vw, 120px);  /* home hero (stacked) */
  --fs-h1-xl: clamp(44px, 6vw, 88px);             /* about page title */
  --fs-h1: clamp(44px, 5vw, 72px);                /* page titles */
  --fs-h2: clamp(36px, 4vw, 56px);                /* section titles */
  --fs-h2-sm: clamp(30px, 3vw, 40px);             /* related products */
  --fs-price: 28px;
  --fs-h3: 22px;
  --fs-h4: 20px;
  --fs-lead: 18px;
  --fs-body-lg: 17px;
  --fs-body: 16px;
  --fs-base: 15px;
  --fs-sm: 14px;
  --fs-xs: 13px;
  --fs-eyebrow: 12px;
  --fs-label: 11px;

  --lh-tight: 0.95;
  --lh-heading: 1;
  --lh-body: 1.5;
  --lh-relaxed: 1.6;
  --lh-loose: 1.65;

  --tracking-tight: -0.02em;
  --tracking-snug: -0.01em;
  --tracking-bar: 0.06em;
  --tracking-label: 0.08em;

  /* Spacing (px scale, named by value) */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-22: 22px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-88: 88px;
  --space-96: 96px;

  /* Layout */
  --container-max: 1280px;
  --gutter: 32px;
  --section-gap: 112px;      /* space above home sections */
  --section-gap-lg: 128px;   /* space above process, COA feature, footer */
  --page-top: 64px;          /* space above inner-page titles */

  /* Radii — the design is square-cornered throughout */
  --radius-none: 0;
  --radius-round: 50%;       /* status dots only */

  /* Shadows — none used; header uses a translucent bg + blur instead */
  --shadow-none: none;
  --header-blur: 10px;

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Breakpoints — reference only. CSS variables cannot be used inside
     @media queries, so the literal values are repeated there.
     --bp-sm: 600px   phones: tighter gutters, condensed announcement bar
     --bp-md: 900px   mobile nav, single-column FAQ / cart layouts */
  --bp-sm: 600px;
  --bp-md: 900px;
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
    --section-gap: 72px;
    --section-gap-lg: 88px;
    --page-top: 40px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-ink); text-decoration: none; transition: color var(--transition-fast); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

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

/* --------------------------------------------------------------------------
   3. Shared elements
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.heading {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-snug);
  text-wrap: balance;
}
.heading--display { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); }
.heading--page-xl { font-size: var(--fs-h1-xl); line-height: 0.98; letter-spacing: var(--tracking-tight); }
.heading--page { font-size: var(--fs-h1); }
.heading--section { font-size: var(--fs-h2); }
.heading--sub { font-size: var(--fs-h2-sm); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 46ch;
  text-wrap: pretty;
}

.text-link {
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 3px;
}

.status-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: var(--color-accent);
}

/* Image frames. Placeholder SVGs carry their own stripe pattern. */
.media {
  overflow: hidden;
  background: var(--color-placeholder-a);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 15px 26px;
  font-size: var(--fs-base);
  line-height: 1.2;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}
.button--primary { background: var(--color-ink); color: var(--color-paper); }
.button--primary:hover { background: var(--color-ink-strong); color: var(--color-paper); }
.button--secondary { background: transparent; color: var(--color-ink); }
.button--secondary:hover { background: var(--color-surface); color: var(--color-ink); }
.button:disabled { opacity: 0.4; cursor: not-allowed; }
.button--primary:disabled:hover { background: var(--color-ink); }

.button-group { display: flex; flex-wrap: wrap; gap: var(--space-12); }

/* Form controls */
.field {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-none);
  background: var(--color-card);
  color: var(--color-ink);
  padding: 11px 14px;
  font-size: var(--fs-sm);
  outline: none;
}
.field:focus { border-color: var(--color-ink); }
.field--search { min-width: 220px; }
.field--wide { width: 100%; max-width: 520px; padding: 14px 16px; font-size: var(--fs-base); }

/* --------------------------------------------------------------------------
   6. Home — hero
   -------------------------------------------------------------------------- */
.hero { padding-block: var(--space-72) var(--space-56); }
.hero__content { display: flex; flex-direction: column; gap: var(--space-28); }
.hero--split .hero__title { font-size: clamp(52px, 6vw, 72px); line-height: 1.05; letter-spacing: -1.5px; }

.hero--split .hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: var(--space-56);
  align-items: center;
}

.hero--stacked { padding-top: var(--space-88); }
.hero--stacked .hero__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-28); text-align: center; }
.hero--stacked .hero__content { align-items: center; }
.hero--stacked .hero__title { font-size: var(--fs-display-stacked); max-width: 14ch; }
.hero--stacked .hero__lead { max-width: 52ch; }
.hero--stacked .hero__actions { justify-content: center; }
.hero--stacked .hero__media { width: 100%; aspect-ratio: 21 / 9; margin-top: var(--space-24); }

/* --------------------------------------------------------------------------
   6b. Home — hero vials
   -------------------------------------------------------------------------- */
/* CSS-built vial showcase (partial: components/vial-stage) */
.vial-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: var(--space-40) var(--space-20);
}
.vial-stage__halo {
  position: absolute;
  width: 380px; height: 380px;
  max-width: 100%;
  border-radius: var(--radius-round);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
}
.vial { position: absolute; }
.vial--center { width: 150px; height: 300px; z-index: 3; transform: scale(1.1); filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.25)); }
.vial--left { width: 120px; height: 240px; z-index: 2; transform: translate(-110px, 10px) rotate(-8deg); opacity: 0.9; filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.15)); }
.vial--right { width: 120px; height: 240px; z-index: 2; transform: translate(110px, 10px) rotate(8deg); opacity: 0.9; filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.15)); }
.vial__glass {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(200, 200, 200, 0.3) 80%, rgba(255, 255, 255, 0.6) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px 14px 20px 20px;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.9), inset 0 -12px 20px rgba(0, 0, 0, 0.08);
}
.vial__cap {
  position: absolute; top: -24px; left: 19%;
  width: 62%; height: 24px;
  background: linear-gradient(90deg, #333 0%, #777 50%, #111 100%);
  border-radius: 4px 4px 1px 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.vial__stopper { position: absolute; top: -7px; left: 14%; z-index: 1; width: 72%; height: 8px; background: #888; border-radius: 2px; }
.vial__label {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 90%; height: 75%;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid var(--color-ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.vial__brand { font-family: var(--font-display); font-size: 16px; font-weight: var(--fw-display); }
.vial__tag { font-family: var(--font-mono); font-size: 5.5px; padding-bottom: 2px; border-bottom: 1px solid #000; text-transform: uppercase; }
.vial__name { margin-top: 4px; font-size: 10px; font-weight: 700; }
.vial__size { font-family: var(--font-mono); font-size: 7px; }
.vial__fine { font-family: var(--font-mono); font-size: 5px; font-weight: 700; text-transform: uppercase; }
.vial--center .vial__brand { font-size: 20px; }
.vial--center .vial__tag { font-size: 6.5px; }
.vial--center .vial__name { font-size: 12px; }
.vial--center .vial__size { font-size: 8px; }
.vial--center .vial__fine { font-size: 5.5px; }
@media (max-width: 600px) {
  .vial--left { transform: translate(-85px, 10px) rotate(-8deg); }
  .vial--right { transform: translate(85px, 10px) rotate(8deg); }
}

/* --------------------------------------------------------------------------
   7. Home — feature bar (icon cards)
   -------------------------------------------------------------------------- */
.spec-strip { padding-top: var(--space-40); }
.spec-strip__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-24);
  margin: 0;
  padding: var(--space-40) 0 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}
.spec-strip__item { display: flex; align-items: flex-start; gap: var(--space-16); }
.spec-strip__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
}
.spec-strip__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--color-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spec-strip__text { display: flex; flex-direction: column; gap: var(--space-4); }
.spec-strip__label { font-family: var(--font-display); font-size: 17px; font-weight: var(--fw-display); line-height: 1.2; }
.spec-strip__value { font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.4; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   8. Section heads + spacing
   -------------------------------------------------------------------------- */
.section { padding-top: var(--section-gap); }
.section--lg { padding-top: var(--section-gap-lg); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-24);
  margin-bottom: var(--space-40);
}
.section-head--stack { margin-bottom: var(--space-56); }
.section-head__titles { display: flex; flex-direction: column; gap: var(--space-12); max-width: 640px; }

/* --------------------------------------------------------------------------
   9. Product grid + product card (template part)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--space-40) var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-grid--cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.product-card__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
  color: inherit;
  transition: opacity var(--transition-fast);
}
.product-card__link:hover { color: inherit; opacity: 0.85; }
.product-card__media { aspect-ratio: 1 / 1; border: 1px solid transparent; }
.product-card--outlined .product-card__media { border-color: var(--color-border); }
.product-card__body { display: flex; flex-direction: column; gap: 5px; }
.product-card__category {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}
.product-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-12); }
.product-card__name { font-family: var(--font-body); font-size: var(--fs-body-lg); font-weight: var(--fw-medium); line-height: 1.3; }
.product-card__price { font-size: var(--fs-base); white-space: nowrap; }
.product-card__sizes { font-size: var(--fs-xs); color: var(--color-text-subtle); }

/* --------------------------------------------------------------------------
   10. Steps (home process, about principles)
   -------------------------------------------------------------------------- */
.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-32);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { display: flex; flex-direction: column; gap: var(--space-14); padding-top: var(--space-20); border-top: 1px solid var(--color-ink); }
.step__number { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-text-subtle); }
.step__title { font-size: var(--fs-h3); font-weight: var(--fw-medium); line-height: 1.25; }
.step__text { font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--color-text-muted); text-wrap: pretty; }
.step--compact { gap: var(--space-12); }
.step--compact .step__title { font-size: var(--fs-h4); }

/* --------------------------------------------------------------------------
   11. Home — lab results feature + COA card
   -------------------------------------------------------------------------- */
.coa-feature__panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--space-56);
  align-items: center;
  padding: clamp(32px, 6vw, 80px);
  background: var(--color-surface);
}
.coa-feature__content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-22); }
.coa-feature__text { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--color-text-muted); max-width: 44ch; }

.coa-card {
  padding: var(--space-32);
  background: var(--color-card);
  border: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}
.coa-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-20);
  border-bottom: 1px solid var(--color-ink);
}
.coa-card__title { letter-spacing: var(--tracking-label); text-transform: uppercase; }
.coa-card__status { display: flex; align-items: center; gap: var(--space-8); color: var(--color-accent-text); }
.coa-card__row { display: flex; justify-content: space-between; gap: var(--space-16); padding: 13px 0; border-bottom: 1px solid var(--color-line-soft); }
.coa-card__label { color: var(--color-text-subtle); }
.coa-card__value { text-align: right; }
.coa-card__note { padding-top: var(--space-16); font-size: var(--fs-label); color: var(--color-text-faint); }

/* --------------------------------------------------------------------------
   12. Inner page headers
   -------------------------------------------------------------------------- */
.page-section { padding-top: var(--page-top); }
.page-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: var(--space-24); }
.page-header--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--space-32);
  align-items: end;
}
.page-header__titles { display: flex; flex-direction: column; gap: var(--space-12); }
.page-header__intro { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--color-text-muted); max-width: 52ch; }

/* --------------------------------------------------------------------------
   13. Shop
   -------------------------------------------------------------------------- */
.shop { display: flex; flex-direction: column; gap: var(--space-36); }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-12); }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin: 0;
  padding: 0 0 var(--space-28);
  list-style: none;
  border-bottom: 1px solid var(--color-line);
}
.chip {
  padding: var(--space-8) var(--space-14);
  font-size: var(--fs-xs);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}
.chip:hover { border-color: var(--color-ink); }
.chip--active { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.shop__empty { font-size: var(--fs-body); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   14. Product detail
   -------------------------------------------------------------------------- */
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: var(--space-10); margin: 0; padding: 0; list-style: none; font-size: var(--fs-xs); color: var(--color-text-subtle); }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; margin-right: var(--space-10); }
.breadcrumb__link { color: var(--color-text-subtle); }
.breadcrumb__current { color: var(--color-ink); }

.product-detail { display: flex; flex-direction: column; gap: var(--space-32); padding-top: var(--space-40); }
.product-detail__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: var(--space-56);
  align-items: start;
}
.product-detail__media { aspect-ratio: 1 / 1; }
.product-detail__info { display: flex; flex-direction: column; gap: var(--space-28); }
.product-detail__intro { display: flex; flex-direction: column; gap: var(--space-14); }
.product-detail__description { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--color-text-muted); max-width: 48ch; }
.product-detail__price { font-size: var(--fs-price); }
.product-detail__coa-link { align-self: flex-start; font-size: var(--fs-sm); border-bottom: 1px solid var(--color-ink); padding-bottom: var(--space-2); }

.option-group { display: flex; flex-direction: column; gap: var(--space-10); }
.option-group__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-subtle);
}
.size-options { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.size-option {
  min-width: 72px;
  min-height: 44px;
  padding: 11px 16px;
  font-size: var(--fs-sm);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}
.size-option:hover { border-color: var(--color-ink); }
.size-option--active { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }

.purchase { display: flex; flex-wrap: wrap; gap: var(--space-12); }
.purchase__add { flex: 1; min-width: 220px; padding: 16px 24px; }

.qty-stepper { display: flex; align-items: stretch; border: 1px solid var(--color-border); }
.qty-stepper__button { width: 46px; min-height: 44px; background: transparent; border: 0; font-size: 18px; cursor: pointer; }
.qty-stepper__value { width: 40px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: var(--fs-sm); }
.qty-stepper--sm .qty-stepper__button { width: 34px; min-height: 34px; height: 34px; font-size: var(--fs-base); }
.qty-stepper--sm .qty-stepper__value { width: 32px; font-size: var(--fs-xs); }

.notice {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-14);
  background: var(--color-surface);
  font-size: var(--fs-sm);
}
.notice__message { display: flex; align-items: center; gap: var(--space-8); }
.notice__link { border-bottom: 1px solid var(--color-ink); }

.spec-list { border-top: 1px solid var(--color-ink); }
.spec-list__row { display: flex; justify-content: space-between; gap: var(--space-16); padding: 14px 0; border-bottom: 1px solid var(--color-line); font-size: var(--fs-sm); }
.spec-list__label { color: var(--color-text-subtle); }
.spec-list__value { text-align: right; }

.disclaimer { font-size: var(--fs-xs); line-height: 1.55; color: var(--color-text-subtle); }

.related { display: flex; flex-direction: column; gap: var(--space-32); padding-top: var(--space-96); }

/* --------------------------------------------------------------------------
   15. Lab results
   -------------------------------------------------------------------------- */
.coa-results { display: flex; flex-direction: column; gap: var(--space-36); }
.coa-table-wrap { overflow-x: auto; }
.coa-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--fs-sm); }
.coa-table__heading {
  padding: var(--space-12) var(--space-16) var(--space-12) 0;
  border-bottom: 1px solid var(--color-ink);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-align: left;
  color: var(--color-text-subtle);
}
.coa-table__heading--end, .coa-table__cell--end { text-align: right; padding-right: 0; }
.coa-table__cell { padding: var(--space-16) var(--space-16) var(--space-16) 0; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
.coa-table__cell--muted { color: var(--color-text-muted); }
.coa-table__cell--mono { font-family: var(--font-mono); font-size: var(--fs-xs); }
.coa-table__product { font-weight: var(--fw-medium); }
.coa-table__purity { display: inline-flex; align-items: center; gap: var(--space-8); }
.coa-table__purity .status-dot { width: 7px; height: 7px; }
.coa-table__report { font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; }
.coa-results__empty { font-size: var(--fs-body); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   16. About
   -------------------------------------------------------------------------- */
.about { display: flex; flex-direction: column; gap: var(--space-72); }
.about__header { display: flex; flex-direction: column; gap: var(--space-20); max-width: 900px; }
.about__story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--space-56);
}
.about__media { aspect-ratio: 4 / 3; }
.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  max-width: 56ch;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-loose);
  color: var(--color-text-body);
}

/* --------------------------------------------------------------------------
   17. FAQ + accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-40); align-items: start; }
@media (min-width: 901px) {
  .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-56); }
}
.faq__intro { display: flex; flex-direction: column; gap: var(--space-16); }
.faq__help { font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--color-text-muted); }
.faq__help a { border-bottom: 1px solid var(--color-ink); }

.accordion { border-top: 1px solid var(--color-ink); }
.accordion__item { border-bottom: 1px solid var(--color-line); }
.accordion__heading { font: inherit; }
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-24);
  padding: var(--space-22) 0;
  background: transparent;
  border: 0;
  font-size: var(--fs-lead);
  text-align: left;
  color: var(--color-ink);
  cursor: pointer;
}
/* Plus / minus icon drawn with two pseudo-element bars */
.accordion__icon { position: relative; flex: none; width: 14px; height: 14px; }
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--color-text-subtle);
  transition: transform var(--transition-base);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel { padding-bottom: var(--space-24); }
.accordion__answer { max-width: 64ch; font-size: var(--fs-base); line-height: var(--lh-loose); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--space-56);
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: var(--space-28); }
.contact__titles { display: flex; flex-direction: column; gap: var(--space-16); }
.contact__intro { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--color-text-muted); max-width: 44ch; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-18);
  padding: clamp(24px, 4vw, 40px);
  background: var(--color-surface);
}
.form-field { display: flex; flex-direction: column; gap: var(--space-8); font-size: var(--fs-xs); color: var(--color-text-muted); }
.form-field__input {
  padding: var(--space-12) var(--space-14);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-none);
  font-size: var(--fs-base);
  color: var(--color-ink);
  outline: none;
}
.form-field__input:focus { border-color: var(--color-ink); }
.form-field__input--textarea { resize: vertical; }
.contact-form__submit { align-self: flex-start; }

.form-success { display: flex; flex-direction: column; gap: var(--space-12); padding: var(--space-40); background: var(--color-surface); }
.form-success__title { display: flex; align-items: center; gap: var(--space-8); font-size: var(--fs-lead); font-weight: var(--fw-regular); }
.form-success__text { font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   19. Cart
   -------------------------------------------------------------------------- */
.cart { display: flex; flex-direction: column; gap: var(--space-36); }
.cart__empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-20); padding-top: var(--space-28); border-top: 1px solid var(--color-ink); }
.cart__empty-text { font-size: var(--fs-body); color: var(--color-text-muted); }
.cart__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-40); align-items: start; }
@media (min-width: 901px) {
  .cart__layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-56); }
}

.cart-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); }
.cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: var(--space-20);
  align-items: center;
  padding: var(--space-20) 0;
  border-bottom: 1px solid var(--color-line);
}
.cart-line__media { display: block; aspect-ratio: 1 / 1; }
.cart-line__details { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }
.cart-line__name { font-size: var(--fs-body-lg); font-weight: var(--fw-medium); }
.cart-line__meta { font-size: var(--fs-xs); color: var(--color-text-subtle); }
.cart-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-16); margin-top: var(--space-6); }
.cart-line__remove {
  padding: 0;
  background: none;
  border: 0;
  font-size: var(--fs-xs);
  color: var(--color-text-subtle);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cart-line__total { font-family: var(--font-mono); font-size: var(--fs-body); }
@media (max-width: 600px) {
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-line__total { grid-column: 2; }
}

.order-summary { display: flex; flex-direction: column; gap: var(--space-18); padding: var(--space-28); background: var(--color-surface); }
.ship-progress { display: flex; flex-direction: column; gap: var(--space-8); }
.ship-progress__bar { height: 4px; background: var(--color-line); }
.ship-progress__fill { width: 0; height: 100%; background: var(--color-accent); transition: width var(--transition-base); }
.ship-progress__note { font-size: var(--fs-xs); color: var(--color-text-muted); }
.summary-rows { border-top: 1px solid var(--color-border); }
.summary-row { display: flex; justify-content: space-between; padding: var(--space-12) 0; border-bottom: 1px solid var(--color-line); font-size: var(--fs-sm); }
.summary-row__label { color: var(--color-text-muted); }
.summary-row__value { font-family: var(--font-mono); }
.summary-row__value--text { font-family: var(--font-body); }
.summary-row--total { padding: var(--space-14) 0; border-bottom: 0; font-size: var(--fs-body-lg); }
.summary-row--total .summary-row__label { color: var(--color-ink); }
.ruo-check { display: flex; align-items: flex-start; gap: var(--space-10); font-size: var(--fs-xs); line-height: 1.5; color: var(--color-text-body); cursor: pointer; }
.ruo-check__input { margin-top: 3px; accent-color: var(--color-ink); }
.order-summary__checkout { width: 100%; padding: 16px 24px; }

/* --------------------------------------------------------------------------
   20. 404
   -------------------------------------------------------------------------- */
.not-found { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); max-width: 640px; padding-top: var(--space-96); }
.not-found__text { font-size: var(--fs-body); line-height: var(--lh-relaxed); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   22. WordPress additions
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-16);
  top: -100px;
  z-index: 100;
  padding: var(--space-12) var(--space-16);
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: var(--fs-sm);
}
.skip-link:focus { top: var(--space-16); color: var(--color-paper); }

/* Sticky header sits below the admin bar when logged in. */
.admin-bar .main-header { top: var(--wp-admin--admin-bar--height, 0); }

/* Honeypot field for the built-in contact form. */
.form-field--hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-error { padding: var(--space-12) var(--space-14); background: var(--color-surface); font-size: var(--fs-sm); color: var(--color-ink); border-left: 2px solid var(--color-ink); }
.contact-ghl { width: 100%; min-height: 560px; border: 0; background: var(--color-surface); }

/* Blog / search / generic content reuse page-header + about__body typography. */
.post-list { display: flex; flex-direction: column; margin: var(--space-40) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink); }
.post-list__item { display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-24) 0; border-bottom: 1px solid var(--color-line); }
.post-list__title { font-size: var(--fs-h3); font-weight: var(--fw-medium); line-height: 1.25; }
.post-list__excerpt { max-width: 64ch; font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--color-text-muted); }
.entry { display: flex; flex-direction: column; gap: var(--space-40); }
.entry__content { max-width: 68ch; font-size: var(--fs-body-lg); line-height: var(--lh-loose); color: var(--color-text-body); }
.entry__content > * + * { margin-top: var(--space-20); }
.entry__content h2, .entry__content h3 { font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-heading); color: var(--color-ink); margin-top: var(--space-40); }
.entry__content h2 { font-size: var(--fs-h2-sm); }
.entry__content h3 { font-size: var(--fs-h3); }
.entry__content a { border-bottom: 1px solid var(--color-ink); }
.entry__content ul, .entry__content ol { padding-left: 1.25em; }
.entry__content img { height: auto; }
.pagination { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-40); font-size: var(--fs-sm); }
.pagination .page-numbers { padding: var(--space-8) var(--space-14); border: 1px solid var(--color-border); }
.pagination .page-numbers.current { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.search-form { display: flex; flex-wrap: wrap; gap: var(--space-12); }

