/* ============================================================
   FORM PRECISION LABS — design system
   Premium minimalist lab aesthetic. Flat light-grey surfaces.
   ============================================================ */

:root {
  --bg:        #DCDCDC;
  --surface:   #E2E2E2;
  --card:      #E8E8E8;
  --ink:       #1A1A1A;
  --muted:     #5E5E5E;
  --line:      #BEBEBE;
  --accent:    #1A1A1A;
  --white:     #FFFFFF;

  --container: 1320px;
  --pad: clamp(24px, 5vw, 80px);
  --section: clamp(80px, 12vh, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* flat surfaces — no noise overlay */

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: clamp(56px, 8vh, 100px); padding-bottom: clamp(56px, 8vh, 100px); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.display-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(56px, 8.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.h1--italic { font-style: italic; }
.h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}
.small { font-size: 13px; font-weight: 500; line-height: 1.5; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 400ms var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: #000; transform: translateY(-2px); }
.btn--secondary { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--sm { height: 46px; padding: 0 24px; font-size: 14px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: gap 400ms var(--ease);
}
.link-arrow:hover { gap: 0.85em; }

/* ---------- pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  font-weight: 500;
  transition: all 400ms var(--ease);
}
.pill:hover { border-color: var(--ink); transform: translateY(-2px); }
.badge-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  vertical-align: middle;
  margin-left: 6px;
}
.dot-stock {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4a7c59;
  margin-right: 6px;
  vertical-align: middle;
}

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 9px 16px;
}
.topbar__inner {
  display: flex; justify-content: center; align-items: center;
  gap: 14px; flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.topbar__sep { opacity: 0.45; }
@media (max-width: 400px) { .topbar__inner { gap: 8px; font-size: 10.5px; } }

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(226, 226, 226, 0.88);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
}
.header__nav { display: flex; gap: 32px; }
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  transition: color 400ms var(--ease);
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 400ms var(--ease);
}
.header__nav a:hover::after { width: 100%; }
.logo-f {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  text-align: center;
  display: inline-block;
  /* Optical centering: Cormorant italic 'f' has a tall ascender and short descender,
     which makes it sit visually high inside a flex-centered container. Nudge down. */
  transform: translateY(2px);
}
.header__actions { display: flex; gap: 22px; justify-content: flex-end; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; color: var(--ink); position: relative; transition: opacity 400ms var(--ease); }
.icon-btn:hover { opacity: 0.6; }
.icon-btn svg { width: 19px; height: 19px; }
.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  font-size: 9px;
  font-weight: 600;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: clamp(60px, 8vh, 100px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer__logo { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 56px; line-height: 1; }
.footer__tag { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 320px; line-height: 1.55; }
.footer__signup {
  display: flex;
  margin-top: 24px;
  max-width: 320px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.footer__signup input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.footer__signup input::placeholder { color: var(--muted); }
.footer__signup button {
  background: var(--ink);
  color: var(--white);
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 500;
}
.footer__col h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul a { font-size: 15px; color: var(--ink); transition: color 400ms var(--ease); }
.footer__col ul a:hover { color: var(--muted); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 400ms var(--ease), border-color 400ms var(--ease);
  display: flex;
  flex-direction: column;
}
.pcard:hover { transform: translateY(-2px); border-color: #a8a39a; }
.pcard__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #ECE9E3;
}
.pcard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter 400ms var(--ease), transform 600ms var(--ease);
}
.pcard:hover .pcard__img img { filter: saturate(0.85); transform: scale(1.02); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-family: var(--font-sans); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; margin-top: 6px; }
.pcard__tag { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.pcard__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; }
.pcard__price { font-size: 16px; font-weight: 500; }
.pcard__sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.pcard__btn {
  font-size: 12px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: all 400ms var(--ease);
  white-space: nowrap;
}
.pcard:hover .pcard__btn { opacity: 1; transform: translateY(0); }
.pcard__btn:hover { background: var(--ink); color: var(--white); }
@media (hover: none) { .pcard__btn { opacity: 1; transform: none; } }

/* ============================================================
   SECTION HEADER (eyebrow + title + right link)
   ============================================================ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sec-head__title { margin-top: 12px; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { padding-top: clamp(48px, 7vh, 96px); padding-bottom: clamp(60px, 9vh, 120px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__sub { margin-top: 28px; max-width: 460px; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__media {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__caption { font-size: 13px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.feature { border-top: 1px solid var(--line); padding-top: 24px; }
.feature h3 { font-family: var(--font-sans); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.55; }

/* ============================================================
   EDITORIAL / FEATURE BLOCK
   ============================================================ */
.feature-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.feature-block__media { overflow: hidden; background: #ECE9E3; }
.feature-block__media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.feature-block__body { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.feature-block__body .h1 { margin-top: 14px; }
.feature-block__body p { margin-top: 20px; color: var(--muted); max-width: 440px; }
.feature-block__cta { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.feature-block__foot { font-size: 12.5px; color: var(--muted); margin-top: 24px; }

/* two-col approach */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.media-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.media-card img { width: 100%; object-fit: cover; }

/* ============================================================
   JOURNAL CARDS
   ============================================================ */
.jcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 400ms var(--ease), border-color 400ms var(--ease);
  height: 100%;
}
.jcard:hover { transform: translateY(-2px); border-color: #a8a39a; }
.jcard__cat { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.jcard__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.15; margin-top: 14px; }
.jcard__excerpt { font-size: 14.5px; color: var(--muted); margin-top: 14px; line-height: 1.55; flex: 1; }
.jcard__meta { font-size: 12px; color: var(--muted); margin-top: 22px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); filter: blur(8px); transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================
   PDP
   ============================================================ */
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pdp__media { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); position: sticky; top: 100px; }
.pdp__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pdp__topline { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.pdp__topline .cat { letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.pdp__name { margin-top: 18px; }
.pdp__priceline { display: flex; align-items: baseline; gap: 16px; margin-top: 20px; }
.pdp__price { font-size: 28px; font-weight: 500; }
.pdp__sub { font-size: 14px; color: var(--muted); }
.pdp__desc { margin-top: 22px; color: var(--muted); max-width: 480px; }
.size-chips { display: flex; gap: 10px; margin-top: 26px; }
.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  transition: all 300ms var(--ease);
}
.chip.active, .chip:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.pdp__buy { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.pdp__buy .btn { flex: 1; min-width: 200px; }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.trust { display: flex; gap: 12px; align-items: flex-start; }
.trust svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--ink); }
.trust strong { font-size: 14px; font-weight: 600; display: block; }
.trust span { font-size: 13px; color: var(--muted); }

/* ---------- accordion ---------- */
.accordions { margin-top: clamp(48px, 7vh, 80px); border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.acc__icon { transition: transform 400ms var(--ease); font-size: 22px; font-weight: 300; line-height: 1; }
.acc.open .acc__icon { transform: rotate(45deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height 500ms var(--ease); }
.acc__inner { padding-bottom: 26px; color: var(--muted); max-width: 720px; }
.acc__inner p { margin-bottom: 12px; }
.acc__inner ul { list-style: none; }
.acc__inner ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.acc__inner ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 1px; background: var(--muted); }

/* ============================================================
   RETATRUTIDE LP specifics
   ============================================================ */
.lp-banner {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 10px var(--pad);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 201;
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 38px; }
.stat__num { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; }
.stat__label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.explainer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
.explainer__item { border-top: 1px solid var(--line); padding-top: 22px; }
.explainer__num { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--muted); }
.explainer__title { font-weight: 600; font-size: 18px; margin-top: 8px; letter-spacing: -0.01em; }
.explainer__title small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.explainer__item p { font-size: 14.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

.coa-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  font-family: var(--font-sans);
}
.coa-card h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.coa-row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.coa-row:last-child { border-bottom: none; }
.coa-row .k { color: var(--muted); }
.coa-row .v { font-weight: 500; }

.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.cite-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 400ms var(--ease), border-color 400ms var(--ease);
}
.cite-card:hover { transform: translateY(-2px); border-color: #a8a39a; }
.cite-card__label { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--muted); }
.cite-card__src { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.cite-card__title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; line-height: 1.3; }
.cite-card__sum { font-size: 14px; color: var(--muted); margin-top: 12px; flex: 1; line-height: 1.5; }
.cite-card__link { margin-top: 20px; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.col-block h3 { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 16px; }
.col-block ul li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.col-block ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 1px; background: var(--muted); }

/* sticky add-to-cart bar */
.sticky-buy {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 2 * var(--pad));
  max-width: var(--container);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 12px 14px 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 150;
  transition: transform 500ms var(--ease);
}
.sticky-buy.show { transform: translateX(-50%) translateY(0); }
.sticky-buy__left { display: flex; align-items: center; gap: 20px; }
.sticky-buy__name { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.sticky-buy__toggle { display: flex; gap: 6px; }
.sticky-buy__toggle .chip { padding: 7px 14px; font-size: 13px; }
.sticky-buy__right { display: flex; align-items: center; gap: 20px; }
.sticky-buy__price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.sticky-buy__price span { color: var(--muted); font-weight: 400; }

/* email capture */
.email-capture {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.email-capture__form { display: flex; max-width: 460px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.email-capture__form input { flex: 1; border: none; background: transparent; padding: 0 22px; font: inherit; font-size: 15px; outline: none; color: var(--ink); }
.email-capture__form button { background: var(--ink); color: var(--white); padding: 16px 28px; font-size: 14px; font-weight: 500; }
.email-capture__foot { font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { padding-top: clamp(56px, 8vh, 110px); padding-bottom: clamp(40px, 6vh, 72px); }
.page-head .h1 { margin-top: 14px; }
.page-head .lead { margin-top: 20px; max-width: 560px; }

/* filter tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 300ms var(--ease);
}
.tab.active, .tab:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ============================================================
   ARTICLE
   ============================================================ */
.article { max-width: 680px; margin: 0 auto; }
.article__meta { font-size: 13px; color: var(--muted); margin-top: 22px; display: flex; gap: 16px; flex-wrap: wrap; }
.article__body { margin-top: 44px; }
.article__body p { font-size: 19px; line-height: 1.7; margin-bottom: 26px; }
.article__body h2 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.2; margin: 44px 0 20px; }
.article__lead { font-size: 22px !important; line-height: 1.5 !important; color: var(--muted); font-family: var(--font-display); font-style: italic; }

/* info cards (research page) */
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.info-card h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 18px; }
.info-card ul li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.info-card ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 1px; background: var(--muted); }

.cta-block { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(48px, 7vw, 88px); text-align: center; }
.cta-block .eyebrow { color: rgba(255,255,255,0.6); }
.cta-block .h1 { color: var(--white); margin-top: 14px; }
.cta-block p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 20px auto 0; }
.cta-block .btn--primary { background: var(--white); color: var(--ink); margin-top: 32px; }
.cta-block .btn--primary:hover { background: #f0f0f0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stat__num { font-size: 32px; }
}
@media (max-width: 768px) {
  .header__nav { display: none; }
  /* Equal-width left + right columns so the center column truly centers */
  .header__inner { grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { display: inline-flex; justify-self: start; }
  .logo-f { text-align: center; justify-self: center; }
  .header__actions { gap: 16px; justify-self: end; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .features { grid-template-columns: 1fr 1fr; gap: 28px; }
  .feature-block { grid-template-columns: 1fr; }
  .feature-block__media img { min-height: 320px; }
  .two-col { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp__media { position: static; }
  .explainer { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: 1fr; gap: 32px; }
  .trust-row { grid-template-columns: 1fr; }
  .sticky-buy { flex-direction: column; gap: 14px; border-radius: 20px; padding: 16px; align-items: stretch; }
  .sticky-buy__left, .sticky-buy__right { justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .sticky-buy__right .btn { flex: 1; }
  .sticky-buy__name { font-size: 15px; }
  .article__body p { font-size: 17px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ---- phone (<=600px): tighter spacing, scaled type, stacked hero CTA ---- */
@media (max-width: 600px) {
  :root { --pad: 20px; --section: 58px; }
  body { font-size: 16px; }
  .display-hero { font-size: clamp(40px, 13vw, 50px); line-height: 1.03; }
  .h1 { font-size: clamp(28px, 8vw, 38px); }
  .h2 { font-size: 20px; }
  .lead { font-size: 16px; }

  /* hero: image shows the full lineup (landscape), copy tightened, CTA stacked */
  .hero { padding-top: 26px; padding-bottom: 44px; }
  .hero__grid { gap: 30px; }
  .hero__sub { margin-top: 18px; max-width: none; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .link-arrow { text-align: center; padding: 6px 0; }
  /* single portrait vial — keep it portrait on mobile too */
  .hero__media img { aspect-ratio: 4 / 5; }

  .btn { height: 52px; }
  .btn--sm { height: 44px; }
  .grid-4, .grid-3, .grid-2 { gap: 18px; }

  .account__greeting, .account__wrap h1 { font-size: 30px; }
  .account__sub { font-size: 15px; }

  /* 16px inputs prevent iOS zoom-on-focus during checkout */
  .cart-ship__f, .cart-coupon input, .cart-pay__field input { font-size: 16px; }
}

@media (max-width: 380px) {
  :root { --pad: 16px; }
  .display-hero { font-size: 38px; }
}

/* mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--surface);
  z-index: 300;
  transform: translateY(-100%);
  transition: transform 500ms var(--ease);
  padding: 28px var(--pad);
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: 48px; }
.mobile-nav__links { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav__links a { font-family: var(--font-display); font-size: 40px; font-weight: 400; }

/* ============================================================
   AGE + RESEARCH-USE VERIFICATION GATE
   First-visit modal. Inherits design system.
   ============================================================ */
.fpl-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  overflow-y: auto;
}
.fpl-gate-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.fpl-gate {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 40px 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transform: translateY(12px);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  margin: auto;
}
.is-visible .fpl-gate {
  transform: translateY(0);
}
.fpl-gate__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.fpl-gate__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.fpl-gate__wordmark {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.fpl-gate__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
  text-align: center;
}
.fpl-gate__body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.fpl-gate__body p {
  margin: 0 0 14px;
}
.fpl-gate__list {
  margin: 14px 0 24px;
  padding: 0 0 0 22px;
  font-size: 13.5px;
  line-height: 1.55;
}
.fpl-gate__list li {
  margin-bottom: 12px;
  color: var(--ink);
}
.fpl-gate__list li strong {
  font-weight: 600;
}
.fpl-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.fpl-gate__btn {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  padding: 16px 24px;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms, opacity 200ms;
  border: 1px solid transparent;
  width: 100%;
  text-align: center;
}
.fpl-gate__btn--primary {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}
.fpl-gate__btn--primary:hover {
  opacity: 0.88;
}
.fpl-gate__btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.fpl-gate__btn--ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.fpl-gate__fineprint {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 0;
}

@media (max-width: 520px) {
  .fpl-gate {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }
  .fpl-gate__title {
    font-size: 26px;
  }
  .fpl-gate__body, .fpl-gate__list {
    font-size: 13px;
  }
}

/* ─────────────────────────────────────────────────────────────
 * MCC 5169 / RUO compliance components (added 2026-06-21)
 * ─────────────────────────────────────────────────────────── */

/* Legal / policy prose pages */
.legal { max-width: 820px; margin: 0 auto; }
.legal__updated { font-size: 13px; color: var(--muted); margin-top: 8px; }
.legal h2 {
  font-family: var(--font-sans); font-weight: 600; font-size: 19px;
  letter-spacing: -0.01em; margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-family: var(--font-sans); font-weight: 600; font-size: 15.5px; margin-top: 26px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 14px; }
.legal ul, .legal ol { margin-top: 14px; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Core RUO statement callout (homepage, product, compliance) */
.ruo-statement {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 20px; padding: clamp(24px, 4vw, 40px);
  font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 820px;
}
.ruo-statement strong { color: var(--ink); font-weight: 600; }

/* Product RUO spec blocks (replaces benefit accordions) */
.ruo-blocks { margin-top: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line); }
.ruo-block { border-bottom: 1px solid var(--line); padding: 26px 0; }
.ruo-block h3 {
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.ruo-block p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 720px; }

/* Documentation / spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; max-width: 720px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.spec-table th { font-family: var(--font-sans); font-weight: 600; color: var(--ink); width: 38%; }

/* Footer legal block */
.footer__legal { display: block; }
.footer__legal > p { font-size: 12.5px; line-height: 1.6; color: var(--muted); max-width: 980px; }
.footer__legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* Acknowledgment gate — checkboxes */
.fpl-gate__checks { margin: 18px 0 22px; display: flex; flex-direction: column; gap: 14px; }
.fpl-gate__check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; line-height: 1.5; color: var(--ink); cursor: pointer;
}
.fpl-gate__check input { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--ink); cursor: pointer; }
.fpl-gate__btn--primary:disabled { opacity: 0.4; cursor: not-allowed; }
.fpl-gate__btn--primary:disabled:hover { opacity: 0.4; }

/* Contact detail grid */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; max-width: 760px; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.contact-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card p, .contact-card a { display: block; margin-top: 8px; font-size: 15.5px; color: var(--ink); }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────────────────────
 * Research order (cart) — added 2026-06-21
 * One-page add-to-order grid + slide-in drawer.
 * ─────────────────────────────────────────────────────────── */

/* Card restructure: link wraps image+head; foot (with always-on button) is a sibling */
.pcard { display: flex; flex-direction: column; }
.pcard__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.pcard__head { padding: 18px 22px 0; display: flex; flex-direction: column; }
.pcard__foot { margin-top: auto; padding: 14px 22px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pcard__btn {
  font-family: var(--font-sans);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  opacity: 1;
  transform: none;
  line-height: 1;
}
.pcard__btn:hover { background: var(--ink); color: var(--white); }
.pcard:hover .pcard__btn { opacity: 1; transform: none; }

/* Keep two-up on phones to match a dense one-page catalog */
@media (max-width: 560px) {
  .pcard__cat { font-size: 9px; }
  .pcard__name { font-size: 16px; }
  .pcard__tag { display: none; }
  .pcard__foot { flex-direction: column; align-items: stretch; }
  .pcard__btn { width: 100%; text-align: center; padding: 11px; font-size: 12.5px; }
}

/* Header cart button */
.cart-btn { position: relative; background: transparent; border: 0; cursor: pointer; }

/* Drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.cart-drawer__scrim { position: absolute; inset: 0; background: rgba(20,20,20,0.42); opacity: 0; transition: opacity 320ms var(--ease); }
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(420px, 92vw); background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 360ms var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.12);
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.cart-drawer__close { font-size: 26px; line-height: 1; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px; }

.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--card); flex-shrink: 0; border: 1px solid var(--line); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-sans); font-weight: 600; font-size: 15px; }
.cart-item__price { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.cart-item__qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn { width: 26px; height: 26px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--ink); }
.qty-btn:hover { border-color: var(--ink); }
.cart-item__remove { margin-left: auto; background: transparent; border: 0; color: var(--muted); font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.cart-item__remove:hover { color: var(--ink); }

.cart-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 12px; }
.cart-sum strong { font-size: 20px; font-weight: 600; }
.cart-sum--disc { font-size: 14px; margin-bottom: 8px; }
.cart-sum--disc span, .cart-sum--disc strong { color: #356B3C; }
.cart-sum--disc strong { font-size: 16px; }
.cart-sum--ship { font-size: 14px; margin-bottom: 10px; }
.cart-sum--ship strong { font-size: 15px; color: #356B3C; font-weight: 600; }
.cart-sum--total { border-top: 1px solid #E2DCD0; padding-top: 10px; }
.cart-note { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin-bottom: 16px; }

.cart-coupon { display: flex; gap: 8px; margin: 4px 0 6px; }
.cart-coupon input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 13.5px; font-family: var(--font-sans); border: 1px solid #C9C2B5; border-radius: 8px; background: var(--white); color: var(--ink); text-transform: uppercase; }
.cart-coupon input::placeholder { text-transform: none; }
.cart-coupon input:focus { outline: none; border-color: var(--ink); }
.cart-coupon__apply { padding: 9px 16px; font-size: 13px; font-weight: 600; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--white); cursor: pointer; white-space: nowrap; }
.cart-coupon__apply:hover { opacity: .9; }
.cart-coupon__msg { min-height: 15px; font-size: 12px; margin: 0 0 14px; }
.cart-coupon__msg.is-ok { color: #356B3C; }
.cart-coupon__msg.is-err { color: #8A3A3A; }

.cart-ship { margin: 4px 0 16px; }
.cart-ship__h { font-family: var(--font-sans); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.cart-ship__f { width: 100%; box-sizing: border-box; padding: 9px 12px; margin-bottom: 8px; font-size: 13.5px; font-family: var(--font-sans); border: 1px solid #C9C2B5; border-radius: 8px; background: var(--white); color: var(--ink); }
.cart-ship__f:focus { outline: none; border-color: var(--ink); }
.cart-ship__row { display: flex; gap: 8px; }
.cart-ship__row .cart-ship__f { flex: 1; }
.cart-ship__f--sm { max-width: 78px; flex: 0 0 auto !important; }
.cart-ship__f.is-missing { border-color: #B23A3A; background: #FBF3F3; }
.cart-ship__err { min-height: 15px; font-size: 12px; color: #8A3A3A; margin: 0 0 10px; }
.cart-empty { color: var(--muted); font-size: 14.5px; text-align: center; padding: 28px 0 20px; }
.btn.cart-full, .cart-drawer__foot .btn { width: 100%; }
.cart-link { display: block; width: 100%; text-align: center; background: transparent; border: 0; color: var(--muted); font-size: 13px; margin-top: 12px; cursor: pointer; }
.cart-link:hover { color: var(--ink); }

.cart-ack { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-ack__item { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.cart-ack__item input { margin-top: 2px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--ink); cursor: pointer; }

.cart-confirm { text-align: center; padding: 24px 0 28px; }
.cart-confirm__mark { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.cart-confirm h3 { font-family: var(--font-sans); font-weight: 600; font-size: 18px; }
.cart-confirm p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }
.cart-confirm a { color: var(--ink); text-decoration: underline; }

/* Zelle payment step */
.cart-pay { border: 1px solid #D8D2C7; border-radius: 12px; background: var(--surface); padding: 16px 16px 14px; margin-bottom: 16px; }
.cart-pay__h { font-family: var(--font-sans); font-weight: 600; font-size: 15px; margin: 0 0 10px; }
.cart-pay__steps { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.cart-pay__steps strong { font-weight: 600; }
.cart-pay__email { display: inline-block; margin-top: 3px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: .01em; color: var(--ink); word-break: break-all; }
.cart-pay__field { display: block; margin: 14px 0 4px; }
.cart-pay__field span { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cart-pay__field input { width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 14px; font-family: var(--font-sans); border: 1px solid #C9C2B5; border-radius: 8px; background: var(--white); color: var(--ink); }
.cart-pay__field input:focus { outline: none; border-color: var(--ink); }

/* ─────────────────────────────────────────────────────────────
 * Product card framing — Onyx-style bordered tiles (2026-06-21)
 * Defined border + soft shadow on the card, plus an inset framed
 * image panel. Palette-matched (warm grays already in use).
 * ─────────────────────────────────────────────────────────── */
.pcard {
  border: 1px solid #B4AEA4;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(40,38,34,0.04), 0 10px 26px rgba(40,38,34,0.06);
  transition: transform 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: #8E887E;
  box-shadow: 0 4px 8px rgba(40,38,34,0.06), 0 18px 40px rgba(40,38,34,0.10);
}
/* Inset, framed product image (the vial sits in its own rounded panel) */
.pcard__img {
  margin: 12px 12px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ECE9E3;
  aspect-ratio: 4/5;
}
.pcard__head { padding: 16px 18px 0; }
.pcard__foot { padding: 12px 18px 18px; }

@media (max-width: 560px) {
  .pcard__img { margin: 10px 10px 0; }
  .pcard__head { padding: 12px 12px 0; }
  .pcard__foot { padding: 10px 12px 14px; }
}

/* ─────────────────────────────────────────────────────────────
 * Mobile catalog density — 2-up compact grid (2026-06-21)
 * Overrides the earlier ≤560 single-column rule so the grid +
 * easy add-to-order reads without zooming out on phones.
 * ─────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard__img { aspect-ratio: 1 / 1; margin: 8px 8px 0; }
  .pcard__head { padding: 10px 10px 0; }
  .pcard__foot { padding: 8px 10px 12px; gap: 8px; }
  .pcard__cat { font-size: 8.5px; letter-spacing: 0.08em; }
  .pcard__name { font-size: 14px; margin-top: 4px; }
  .pcard__price { font-size: 14px; }
  .pcard__sub { font-size: 10px; }
  .pcard__btn { padding: 9px; font-size: 11px; }
}
@media (max-width: 380px) {
  .pcard__name { font-size: 13px; }
  .pcard__btn { font-size: 10.5px; padding: 8px; }
}

/* Prevent card/button overflow in the tight 2-up mobile grid */
@media (max-width: 560px) {
  .pcard { min-width: 0; }
  .pcard__name { overflow-wrap: anywhere; }
  .pcard__btn { white-space: normal; line-height: 1.2; }
}

/* ─────────────────────────────────────────────────────────────
 * Variant (dosage) dropdown — consolidated products (2026-06-22)
 * ─────────────────────────────────────────────────────────── */
.pcard__foot--variant { flex-direction: column; align-items: stretch; gap: 10px; }
.pcard__priceblock { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pcard__select {
  font-family: var(--font-sans); font-size: 13px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; width: 100%; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px;
}
.pcard__select:hover, .pcard__select:focus { border-color: var(--ink); outline: none; }
.pcard__btn--full { width: 100%; text-align: center; padding: 11px; }

/* Product page dosage chooser */
.pdp__variant { margin: 24px 0 4px; max-width: 280px; }
.pdp__variant-label {
  display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.pdp__variant .pcard__select { font-size: 14.5px; padding: 12px 14px; padding-right: 34px; }

@media (max-width: 560px) {
  .pcard__select { font-size: 12px; padding: 8px 10px; padding-right: 26px; }
  .pcard__btn--full { padding: 9px; font-size: 11px; }
}

/* ── Account / Clerk ─────────────────────────────────────────── */
.header__account { display: inline-flex; align-items: center; }
.header__account .header__userbtn { display: inline-flex; align-items: center; }
.account { min-height: 60vh; }
.account__wrap { max-width: 880px; }
.account__eyebrow {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.account__greeting, .account__signedout h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px;
}
.account__sub { color: var(--muted); max-width: 60ch; margin: 0 0 28px; font-size: 17px; }
.account__note { color: var(--muted); font-size: 14px; margin-top: 18px; }
.account__profile { margin-top: 12px; }
/* Clerk components inherit a neutral look that fits the brand */
.cl-rootBox, .cl-card { box-shadow: none !important; }

/* Account → orders */
.account__orders { margin: 8px 0 36px; }
.account__orders-h { font-family: var(--font-sans); font-weight: 600; font-size: 18px; margin: 0 0 16px; }
.account__orders-list { display: flex; flex-direction: column; gap: 12px; }
.account__orders-empty { color: var(--muted); font-size: 14.5px; }
.acct-order { border: 1px solid #D8D2C7; border-radius: 12px; background: var(--surface); padding: 14px 16px; }
.acct-order__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.acct-order__id { font-family: var(--font-sans); font-weight: 600; font-size: 14px; }
.acct-order__badge { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: #ECE7DD; color: #5A5345; }
.acct-order__badge.is-pending { background: #FBF3DE; color: #8A6D1F; }
.acct-order__badge.is-confirmed { background: #E2EEF6; color: #2C5C7A; }
.acct-order__badge.is-submitted { background: #E3F0E4; color: #356B3C; }
.acct-order__badge.is-cancelled { background: #F0E2E2; color: #8A3A3A; }
.acct-order__items { font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.acct-order__meta { display: flex; gap: 14px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.acct-order__meta span:first-child { font-weight: 600; color: var(--ink); }
.acct-order__coupon { color: #356B3C !important; font-weight: 600; }
.acct-order__note { margin-top: 8px; font-size: 12px; color: var(--muted); }
