/* ==========================================================================
   Amino Club — design system
   Ink: the navy from LogoMain.svg. Accent: the steel blue from the mg badge.
   All other colour is supplied by the products themselves.
   ========================================================================== */

:root {
  --ink: #0a192f;
  --ink-70: #40506699;
  --ink-2: #445468;
  --ink-3: #7a8798;
  --paper: #ffffff;
  --paper-2: #f5f7f9;
  --paper-3: #eceff3;
  --line: #e2e7ed;
  --line-strong: #cdd5df;

  --accent: #5b8cb0;
  --accent-deep: #3a6d91;
  --accent-soft: #e6eef4;

  --ok: #2f7d5f;
  --warn: #9a6b1f;

  /* Lozenge radius, lifted from the mg badge on the vial labels. */
  --r-pill: 999px;
  --r-card: 18px;
  --r-lg: 26px;
  --r-sm: 10px;

  --shell: 1280px;
  --gutter: 24px;

  --step--1: clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.16vw, 1.03rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 3rem);
  --step-4: clamp(2.4rem, 1.8rem + 3vw, 4.6rem);

  --ease: cubic-bezier(0.22, 0.75, 0.32, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
}

h1, h2, h3, h4, .display {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); letter-spacing: -0.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.012em; }

p { margin: 0 0 1em; max-width: 68ch; }

/* :where() keeps specificity at 0 so component rules below always win. */
:where(h1, h2, h3, h4) + p,
:where(h1, h2, h3, h4) + ul { margin-top: 15px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2.5px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--paper2 { background: var(--paper-2); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 54ch;
}

.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.mono { font-variant-numeric: tabular-nums; }

/* Reserved for genuine regulatory / status labels, never decoration. */
.reg-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- Buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover { background: #16304f; }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-3); }

.btn--sm { padding: 9px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------- Header ------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}

.hdr__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.hdr__logo { flex: none; display: flex; align-items: center; }
.hdr__logo img { height: 28px; width: auto; }

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 8px;
}

.hdr__link {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 450;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--ink-2);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.hdr__link:hover { background: var(--paper-2); color: var(--ink); }
.hdr__link[aria-current="page"] { color: var(--ink); background: var(--paper-3); }

.hdr__tools { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  color: var(--ink);
  transition: background 0.16s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.cart-count[hidden] { display: none; }

.hdr__burger { display: none; }

/* ---------- Announcement ------------------------------------------------- */

.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  padding: 9px 16px;
}
.announce strong { font-weight: 600; }

/* ---------- Hero --------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-tint, var(--paper-2));
  transition: background 0.7s var(--ease);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: min(76vh, 660px);
  padding-block: 64px;
}

/* Explicit width, not ch: this column holds a ~72px headline, so a ch measure
   based on the 16px body size would collapse it. */
.hero__copy { max-width: 600px; }

.hero h1 { margin-bottom: 22px; }

.hero__sub {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 30px;
  max-width: 40ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
  color: var(--ink-2);
  border-top: 1px solid rgba(10, 25, 47, 0.13);
  padding-top: 18px;
}
.hero__facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 15px; height: 15px; flex: none; color: var(--accent-deep); }

.hero__stage { position: relative; display: grid; place-items: center; width: 100%; }
.hero__stage a,
.hero__stage [data-hero-stage] { display: block; width: 100%; }
.hero__stage img {
  width: 100%;
  height: auto;
  max-width: 580px;
  margin-inline: auto;
  border-radius: var(--r-lg);
}

.hero__swatches {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.hero__swatch {
  width: 34px;
  height: 6px;
  border-radius: var(--r-pill);
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(10, 25, 47, 0.2);
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}
.hero__swatch[aria-selected="true"] { background: var(--ink); width: 54px; }

/* One orchestrated page-load reveal, hero only. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s var(--ease) forwards; }
  .reveal:nth-child(2) { animation-delay: 0.08s; }
  .reveal:nth-child(3) { animation-delay: 0.16s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Data strip --------------------------------------------------- */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.strip__cell {
  background: var(--paper);
  padding: 26px 20px;
  text-align: center;
}
.strip__num {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.1;
}
.strip__lbl { font-size: 0.78rem; color: var(--ink-3); margin-top: 4px; display: block; }

/* ---------- Section heads ------------------------------------------------ */

.head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.head p { margin: 10px 0 0; }

/* ---------- Product grid ------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 18px;
}

/* The card takes the product's own tint — the catalogue is the palette. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--tint, var(--paper-2));
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s var(--ease);
}
.card:hover { transform: translateY(-3px); }
.card:hover .card__name { text-decoration: underline; }

.card__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.card__fmt {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(10, 25, 47, 0.72);
  color: #fff;
}

.card__body {
  background: var(--paper);
  padding: 15px 16px 17px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card__name {
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.card__meta { font-size: 0.82rem; color: var(--ink-3); }

.card__foot {
  margin-top: auto;
  padding-top: 11px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.card__price { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 1.05rem; }
.card__price span { font-size: 0.72rem; color: var(--ink-3); font-weight: 400; }

.card__add {
  border: 1.5px solid var(--line-strong);
  background: transparent;
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}
.card__add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.card__add.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }

/* ---------- Category tiles ----------------------------------------------- */

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }

.cat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.cat:hover { border-color: var(--ink); background: var(--paper-2); }
.cat__n { font-family: "Outfit", sans-serif; font-size: 1.15rem; font-weight: 500; }
.cat__c { font-size: 0.8rem; color: var(--ink-3); }
.cat__b { font-size: 0.86rem; color: var(--ink-2); margin: 0; }

/* ---------- Filters ------------------------------------------------------ */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.chip {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.16s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.filters__spacer { margin-inline-start: auto; }

.select {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.88rem;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.result-count { font-size: 0.85rem; color: var(--ink-3); margin: 0 0 20px; }

.empty {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
}
.empty h3 { margin-bottom: 8px; }

/* ---------- Product detail ----------------------------------------------- */

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }

.pdp__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--tint, var(--paper-2));
  position: sticky;
  top: 96px;
}
.pdp__media img { width: 100%; height: auto; }

.crumbs { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }

.pdp h1 { font-size: var(--step-3); margin-bottom: 10px; }

.pdp__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag {
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-3);
  color: var(--ink-2);
}
.tag--pure { background: var(--accent-soft); color: var(--accent-deep); font-weight: 500; }

.pdp__price {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 22px 0 4px;
}
.pdp__price span { font-size: 0.85rem; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.qty button {
  width: 42px;
  height: 46px;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--ink);
}
.qty button:hover { background: var(--paper-2); }
.qty input {
  width: 46px;
  height: 46px;
  border: none;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__buy { display: flex; gap: 12px; align-items: center; margin: 22px 0 26px; flex-wrap: wrap; }
.pdp__buy .btn { flex: 1; min-width: 190px; height: 50px; }

.spec { border-top: 1px solid var(--line); margin-top: 28px; }
.spec__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.spec__row dt { color: var(--ink-3); }
.spec__row dd { margin: 0; }

.notice {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  border-inline-start: 3px solid var(--accent);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.notice strong { color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Lab / dark section ------------------------------------------- */

.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #c3cddb; }
.dark .reg-label { color: #7f92ab; }

.lab { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.lab__checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.lab__checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: #dbe3ec; }
.lab__checks svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: #8fb4d0; }

.lab__panel {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-lg);
  padding: 30px;
}
.lab__panel dl { margin: 0; display: grid; gap: 1px; }
.lab__panel .spec__row { border-color: rgba(255, 255, 255, 0.11); color: #fff; }
.lab__panel .spec__row dt { color: #8fa3bb; }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-size: var(--step-1);
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}
.acc__icon { flex: none; width: 22px; height: 22px; position: relative; }
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.24s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }

.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s var(--ease); }
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 22px; color: var(--ink-2); font-size: 0.93rem; }

/* ---------- Cart drawer -------------------------------------------------- */

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease);
  z-index: 100;
}
.scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: var(--paper);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer[data-open="true"] { transform: none; }

.drawer__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__hd h3 { font-size: 1.2rem; }

.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }

.line {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.line img { width: 62px; height: 62px; border-radius: var(--r-sm); object-fit: cover; background: var(--paper-2); }
.line__n { font-family: "Outfit", sans-serif; font-size: 0.93rem; font-weight: 500; line-height: 1.3; }
.line__m { font-size: 0.78rem; color: var(--ink-3); }
.line__p { font-family: "Outfit", sans-serif; font-size: 0.93rem; text-align: right; }

.line__qty { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; }
.line__qty button {
  width: 24px; height: 24px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.line__qty button:hover { background: var(--paper-2); }
.line__qty span { font-size: 0.85rem; min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }

.drawer__ft { padding: 20px 22px; border-top: 1px solid var(--line); background: var(--paper-2); }
.drawer__tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.drawer__note { font-size: 0.76rem; color: var(--ink-3); margin-bottom: 14px; }

.cart-empty { text-align: center; padding: 60px 16px; color: var(--ink-3); }

/* ---------- Forms -------------------------------------------------------- */

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; margin-bottom: 7px; color: var(--ink-2); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--accent-deep); outline: none; }

.form-note { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Prose (legal pages) ------------------------------------------ */

.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 44px 0 14px; }
.prose h3 { font-size: var(--step-1); margin: 30px 0 10px; }
.prose ul, .prose ol { padding-inline-start: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose > p { color: var(--ink-2); }

/* ---------- Footer ------------------------------------------------------- */

.ft { background: var(--ink); color: #b9c5d4; padding-block: 64px 30px; }
.ft a { color: #b9c5d4; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }

.ft__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.ft__logo img { height: 30px; width: auto; margin-bottom: 16px; }
.ft__blurb { font-size: 0.88rem; max-width: 34ch; color: #9fb0c4; }

.ft h4 { font-size: 0.82rem; color: #fff; margin-bottom: 14px; letter-spacing: 0.02em; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.88rem; }

.ft__ruo {
  margin-top: 48px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #9fb0c4;
}
.ft__ruo strong { color: #fff; }

.ft__btm {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* ---------- Toast -------------------------------------------------------- */

/* Anchored left so it never covers the cart drawer's checkout button. */
.toast {
  position: fixed;
  bottom: 22px;
  left: 22px;
  max-width: calc(100vw - 44px);
  transform: translateY(150%);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  z-index: 150;
  transition: transform 0.3s var(--ease);
}
.toast[data-show="true"] { transform: translateY(0); }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-block: 44px; }
  .hero__copy { max-width: none; }
  .hero__stage { order: -1; }
  .hero__stage img { max-width: 400px; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .pdp__media { position: static; }
  .lab, .faq { grid-template-columns: 1fr; gap: 34px; }
  .ft__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }

  .hdr__nav { display: none; }
  .hdr__burger {
    display: inline-flex;
    margin-inline-start: auto;
  }
  .hdr__tools { margin-inline-start: 0; }

  .hdr__nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 18px;
    margin: 0;
  }
  .hdr__nav.is-open .hdr__link { padding: 13px 14px; font-size: 1.05rem; }

  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 12px 13px 14px; }
  .card__name { font-size: 0.93rem; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .card__add { width: 100%; }
  .spec__row { grid-template-columns: 1fr; gap: 3px; }
  .ft__top { grid-template-columns: 1fr; gap: 28px; }
  .filters__spacer { margin-inline-start: 0; width: 100%; }
}

/* Single column only on very narrow phones; 375px keeps two columns. */
@media (max-width: 359px) {
  .grid { grid-template-columns: 1fr; }
}
