/* Astral Amino — storefront design system.
   The page is obsidian because the vials are photographed on obsidian. Every vial image has
   had its studio backdrop lifted out and is built on exactly --obsidian, so a vial stands on
   the page with no halo and no photo edge: away from the vial every pixel of the image IS the
   page colour, in every browser. Never put a vial image on any other colour, never fade or mask
   one, and never change --obsidian without rebuilding the images. The one vial that is not built on the
   page colour is the homepage hero: a cut-out layer, because the page behind it is two tones
   (css/home.css). Type is Figtree, the label face. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2?v=623f4f7d1ede52c3") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Keep touch fields at Safari’s 16px threshold without changing their rendered text size. */
@font-face {
  font-family: "Figtree Touch Fields";
  src: url("../fonts/figtree-var.woff2?v=623f4f7d1ede52c3") format("woff2");
  font-weight: 400;
  size-adjust: 93.75%;
  font-display: swap;
}

/* Figtree's 950/-250 metrics and line widths matched to the local Arial fallback. */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  size-adjust: 103%;
  ascent-override: 92.233%;
  descent-override: 24.272%;
  line-gap-override: 0%;
}

:root {
  --obsidian: #18181a;            /* page. tools/amino_source.py PAGE_RGB must equal this. */
  --obsidian-2: #1e1e21;          /* controls at rest */
  --obsidian-3: #28282c;          /* controls on hover */
  --bone: #edebe6;                /* text on obsidian */
  --bone-2: #b6b4af;
  --bone-3: #8a8990;
  --line: rgba(237, 235, 230, .11);
  --line-2: rgba(237, 235, 230, .22);
  --good: #6fcb93;                /* a certificate result within specification */

  --paper: #efede8;               /* the light sheet */
  --paper-2: #e5e2db;             /* its facet */
  --ink: #131314;
  --ink-2: #47474b;
  --ink-3: #6e6d73;
  --ink-line: rgba(19, 19, 20, .13);

  --font: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --section: clamp(64px, 7.5vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --facet: 148.4deg;              /* the diagonal on the vial label, as a gradient angle */
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--obsidian); color: var(--bone);
  font: 400 16px/1.6 var(--font); font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }   /* a phone number never breaks after its +1 */
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--bone); color: var(--ink); font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }
sub { font-size: .72em; line-height: 0; vertical-align: -.22em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- type ---- */
.display { font-weight: 300; font-size: clamp(44px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-weight: 300; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.micro { font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }

/* A product name is outlined lettering, never text. It sizes with font-size like a word would. */
.nm { display: inline-block; height: 1em; width: auto; max-width: 100%; vertical-align: -.22em; fill: currentColor; overflow: visible; }

.nm-link { color: inherit; background: linear-gradient(var(--line-2), var(--line-2)) 0 calc(100% - .02em) / 100% 1px no-repeat; transition: background-image .2s; }
.nm-link:hover { background-image: linear-gradient(currentColor, currentColor); }

/* Every vial photograph is built on exactly the page colour, so it needs no fade or mask. The one
   exception is its outermost few pixels: the WebP encoder leaves a block there a level or two off,
   and Chromium darkens an image's edge row when it lands on a fraction of a pixel. Both sit in the
   empty margin, so a hard clip just inside the frame removes them and cannot itself show.
   A vial is the background of a plain element, never an image element: see "pictures" in js/app.js. */
.vial { display: block; aspect-ratio: 4 / 5; background-position: center; background-size: cover; background-repeat: no-repeat; }
.card__media .vial, .pdp__stage .vial, .item__media .vial { clip-path: inset(4%); }

/* ---- buttons and links ----
   One family, taken from the homepage's label strip: square stock, never a pill or a circle. An
   action that leads somewhere carries the vial label's diagonal as its right end, cut from the
   top-right corner to the bottom edge at the label's 36 degrees (the foot is the height over tan 36).
   The cut is the button's shape, so nothing ever fills it: on hover, and on keyboard focus (the clip
   would clip an outline too), a fill sweeps in from the cut, its leading edge parallel to it, and the
   words take the fill's ink. Small controls (add-and-price, strengths, quantity, arrows) are plain
   squares with the same sweep: at their size the cut would eat the button.
   Every cut button is a strip like the homepage's: the words set left, the cut a fifth or so of its
   length. Its height comes from its place (--h; the cut's foot follows from it), and its length from
   its row: where the row gives it room it fills it, and on its own it is at least 4.4 feet long, so a
   short label never ends in a cut as long as its words. */
.btn {
  --h: 46px; --t: calc(var(--h) / .7265); --fill: var(--bone); --fill-ink: var(--ink);
  position: relative; isolation: isolate; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px;
  min-height: var(--h); min-width: calc(var(--t) * 4.4); padding: 0 calc(var(--t) + 16px) 0 20px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--t)) 100%, 0 100%);
  transition: color .3s var(--ease) .08s, transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  clip-path: polygon(100% 0, 100% 0, calc(100% - var(--t)) 100%, calc(100% - var(--t)) 100%);
  transition: clip-path .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, calc(100% - var(--t)) 100%, calc(0% - var(--t)) 100%); }
.btn:hover, .btn:focus-visible { color: var(--fill-ink); }
.btn--bone { background: var(--bone); color: var(--ink); --fill: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); --fill: #000; --fill-ink: var(--paper); }
/* the hairline follows the cut: three straight edges and the diagonal, drawn as backgrounds because
   a border or an inset shadow would be clipped off along it */
.btn--line {
  color: var(--bone);
  background:
    linear-gradient(var(--line-2), var(--line-2)) left top / 100% 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) left top / 1px 100% no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) left bottom / calc(100% - var(--t)) 1px no-repeat,
    linear-gradient(to bottom right, transparent calc(50% - .6px), var(--line-2) calc(50% - .6px), var(--line-2) calc(50% + .6px), transparent calc(50% + .6px)) right top / var(--t) 100% no-repeat;
}
.btn:active { transform: scale(.985); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn[aria-disabled="true"]::before { display: none; }
.btn[aria-disabled="true"]:hover { color: inherit; }
.btn--bone[aria-disabled="true"]:hover { color: var(--ink); }
.btn--block { width: 100%; }
/* the square controls' sweep: the same slant, entering from beyond the right edge */
.pill, .round { position: relative; isolation: isolate; overflow: hidden; --t: calc(44px / .7265); }
.pill::before, .round::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone);
  clip-path: polygon(calc(100% + var(--t)) 0, calc(100% + var(--t)) 0, calc(100% + var(--t)) 100%, 100% 100%);
  transition: clip-path .55s var(--ease);
}
.arrow { width: 15px; height: 15px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.link {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--bone);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---- header ---- */
.symbols, .head-marker { position: absolute; }
.shell-cart-error { position: fixed; z-index: 61; top: var(--header-h); right: var(--gutter); padding: 8px 12px; background: var(--obsidian-2); }
.head-marker { top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.head.is-stuck { background: rgba(24, 24, 26, .95); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line); }
.head__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.head__nav { display: flex; gap: clamp(20px, 2.6vw, 38px); }
.head__nav a, .head__cart { font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--bone-2); padding: 12px 0; transition: color .3s; }
.head__nav a:hover, .head__nav a[aria-current="page"], .head__cart:hover { color: var(--bone); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--bone); padding: 10px 4px; }
.brand__mark { height: 19px; width: 51px; }
.brand__word { height: 11px; width: 151px; }
.head__tools { display: flex; justify-content: flex-end; align-items: center; }
/* the account: a figure when signed out, the customer's initials in a bone square (the cart count's shape) when in */
.head__tools { gap: clamp(14px, 1.6vw, 22px); }
.head__acct { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; color: var(--bone-2); transition: color .3s; }
.head__acct:hover { color: var(--bone); }
.head__acct-mark { width: 20px; height: 20px; }
/* outlined, so it never reads as a second count beside the cart's */
.head__acct-initials { display: none; place-items: center; min-width: 26px; height: 26px; padding: 0 5px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone-3); }
.head__acct:hover .head__acct-initials { box-shadow: inset 0 0 0 1px var(--bone); }
.head__acct.is-in .head__acct-mark { display: none; }
.head__acct.is-in .head__acct-initials { display: grid; }
.head__acct:focus-visible { outline: 2px solid var(--bone); outline-offset: -4px; }

.head__cart { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--bone); transition: background-color .3s, color .3s; }
.count.has-items { background: var(--bone); color: var(--ink); box-shadow: none; }
.head__menu { display: none; width: 44px; height: 44px; margin-left: -10px; place-items: center; }
.head__menu i { display: block; width: 22px; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease); }
.head__menu i + i { margin-top: 6px; }
.head__menu[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.head__menu[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Phone menu: the whole screen, set like the label — facet and all. */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  background: linear-gradient(var(--facet), var(--obsidian) 0 58%, var(--obsidian-2) 58% 100%);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu a { display: block; padding: 10px 0; font-size: 40px; font-weight: 300; letter-spacing: -.03em; line-height: 1.15; }

/* ---- catalog shelf (one contained row that pages) ---- */
.shelf { padding-block: var(--section); }
.shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(8px, 1.4vw, 20px); }
.shelf__ctl { display: flex; align-items: center; gap: 12px; }
.shelf__ctl .link { margin-right: 14px; }
.round { display: grid; place-items: center; width: 46px; height: 46px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s var(--ease), color .3s, box-shadow .3s, opacity .3s; }
.round:hover:not(:disabled)::before { clip-path: polygon(0 0, calc(100% + var(--t)) 0, calc(100% + var(--t)) 100%, calc(0% - var(--t)) 100%); }
.round:hover:not(:disabled) { color: var(--ink); }
.round:disabled { opacity: .3; cursor: default; }
.round svg { width: 16px; height: 16px; }
[data-shelf-prev] svg { scale: -1 1; }   /* one arrow drawing, turned to point back */
.shelf__track { display: grid; grid-auto-flow: column; grid-auto-columns: 25%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shelf--more .shelf__track { grid-auto-columns: 25%; overflow: hidden; }
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track > * { scroll-snap-align: start; }

/* ---- product card: no tile, no frame. The vial stands on the page. ---- */
.card { position: relative; text-align: center; min-width: 0; }
.card__link { display: block; }
.card__media { display: block; aspect-ratio: 4 / 5; }
.card__media .vial { width: 100%; height: 100%; transition: transform .9s var(--ease), filter .6s var(--ease); }
.card__link:hover .card__media .vial { transform: translateY(-1.6%); filter: brightness(1.07); }
.card__name { display: block; margin-top: -15%; position: relative; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.3; padding-inline: 8px; }
/* each vial picture opens on a band of empty page above the cap; in the catalog grid the picture
   rises into the row gap by most of that band, so rows sit closer without anything touching */
.grid .card__media { margin-top: -11%; }
/* the pictures are opaque (built on the page colour), so the words they rise toward stay above them:
   the heading over the first row, and each row's buy line over the vial lifting under it on hover */
.pagehead, .grid .card__foot { position: relative; z-index: 1; }
.card__foot { display: grid; justify-items: center; gap: 14px; margin-top: 12px; padding-bottom: 8px; }
/* the buy line: the strength as a quiet word you can change, and the add button beside it, on one
   centered line. No box around the pair: the button is the one outlined thing. */
.buyline { display: inline-flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; height: 40px; }
.buyline__dose { position: relative; display: inline-flex; align-items: center; height: 100%; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--bone-2); }
.dd-trigger { position: relative; height: 100%; padding: 0 18px 0 4px; color: var(--bone); font: inherit; cursor: pointer; transition: color .25s; }
.dd-trigger:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }
.buyline__dose:not(.is-one)::after { content: ""; position: absolute; right: 3px; top: 50%; width: 5px; height: 5px; border-right: 1.3px solid var(--bone-3); border-bottom: 1.3px solid var(--bone-3); transform: translateY(-75%) rotate(45deg); pointer-events: none; transition: border-color .25s, transform .3s var(--ease); }
.buyline__dose:has([aria-expanded="true"])::after { transform: translateY(-25%) rotate(225deg); border-color: var(--bone); }
.buyline__dose.is-one { padding: 0 4px; }
/* each half answers only to itself: the button fills when it is hovered, never because the strength
   beside it is; the strength brightens, with its arrow, when it is */
.buyline__dose:not(.is-one):hover::after { border-color: var(--bone); }
.buyline .buyline__add { flex: none; min-height: 0; height: 100%; padding: 0 16px; }

/* strength options: as words on a card, as pills where there is room */
.opts { display: inline-flex; flex-wrap: wrap; justify-content: center; }
.opts--text { gap: 2px; height: 34px; align-items: center; }
.opts--text .opt, .opts--text.is-one { font-size: 13.5px; color: var(--bone-3); font-variant-numeric: tabular-nums; }
.opts--text .opt { padding: 6px 9px; transition: color .25s, background-color .25s; }
.opts--text .opt:hover { color: var(--bone); }
.opts--text .opt[aria-pressed="true"] { color: var(--bone); background: var(--obsidian-3); }
.opts--text.is-one { color: var(--bone-2); }
.opts--pills { gap: 10px; justify-content: flex-start; }
.opts--pills .opt, .opts--pills.is-one span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s var(--ease), color .3s, box-shadow .3s; }
.opts--pills .opt:hover { box-shadow: inset 0 0 0 1px var(--bone); }
/* a strength with no stock: still choosable to see its price, crossed out and muted */
.opt.is-oos { color: var(--bone-3); text-decoration: line-through; text-decoration-color: var(--bone-3); }
.card.is-oos .vial { filter: grayscale(.55) opacity(.62); }
.buyline__add.is-oos [data-p-price], .buyline__add.is-oos i { display: none; }
.opts--pills .opt[aria-pressed="true"], .opts--pills.is-one span { background: var(--bone); color: var(--ink); box-shadow: none; }

/* add pill: action and price in one control */
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .35s var(--ease), color .35s, box-shadow .35s; }
.pill i { width: 1px; height: 13px; background: currentColor; opacity: .35; }
.pill:hover::before, .pill.is-done::before, .pill:focus-visible::before { clip-path: polygon(0 0, calc(100% + var(--t)) 0, calc(100% + var(--t)) 100%, calc(0% - var(--t)) 100%); }
.pill:hover, .pill.is-done, .pill:focus-visible { color: var(--ink); }

.buy { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.price { font-size: 30px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 4.2em; }

.ledger { border-top: 1px solid var(--line); }
.ledger > div { display: grid; grid-template-columns: minmax(96px, .8fr) minmax(0, 1.6fr); gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.ledger dd { font-size: 15.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.qa { border-top: 1px solid var(--ink-line); }
.qa details { border-bottom: 1px solid var(--ink-line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-size: 18px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 44px 22px 0; max-width: 36em; color: var(--ink-2); }
.qa--dark, .qa--dark details { border-color: var(--line); }
.qa--dark summary { font-size: 16px; min-height: 58px; }
.qa--dark details p { color: var(--bone-2); font-size: 15px; }

/* ---- footer ---- */
.foot { padding-top: clamp(48px, 5.5vw, 80px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr)) max-content; gap: 40px; align-items: start; }
.foot__contact a { white-space: nowrap; }   /* the contact column is as wide as the email, so it never breaks */
.foot__col .micro { margin-bottom: 12px; }
/* Made in the USA, as a strip of the label: its black, its end cut at the label's angle */
.foot__tag {
  --h: 32px; --t: calc(var(--h) / .7265);
  display: inline-flex; align-items: center; gap: 9px; min-height: var(--h); margin-top: 24px; padding: 0 calc(var(--t) + 10px) 0 13px;
  background: #0e0e0f; color: var(--bone); font-size: 13px; font-weight: 500; letter-spacing: .02em;   /* the vial label's black, as in the hero strip */
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--t)) 100%, 0 100%);
}
/* the ways to pay, as quiet marks in one tone */
.foot__flag { width: 19px; height: 10px; flex: none; }
/* the tag, everywhere it appears, is set in capitals, spaced like the site's small labels */
.foot__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.foot__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.foot__pay li { display: grid; place-items: center; width: 52px; height: 34px; border: 1px solid var(--line-2); border-radius: var(--radius-sm, 4px); color: var(--bone-2); }
.foot__pay svg { width: 30px; height: 30px; }
/* the full lockup, as in the header, a size up */
.foot__lockup { display: inline-flex; align-items: center; gap: 17px; color: var(--bone); }
.foot__brand { display: grid; justify-items: start; }   /* the lockup, then the tag, then the ways to pay, each on its own line */
.foot__brand .brand__mark { height: 26px; width: 70px; }
.foot__wm { height: 15px; width: 206px; }
.foot__col a { display: block; padding: 6px 0; font-size: 15px; color: var(--bone-2); transition: color .25s; }
.foot__col a:hover { color: var(--bone); }
.foot__base { padding: 8px 0 clamp(28px, 3vw, 40px); text-align: center; font-size: 13px; color: var(--bone-3); }
/* the legal notices: closed to one line under a hairline, open to the full text */
.foot__legal { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.foot__legal summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; padding: 14px 0; list-style: none; cursor: pointer; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); transition: color .25s; }
.foot__legal summary::-webkit-details-marker { display: none; }
.foot__legal summary:hover { color: var(--bone); }
.foot__legal summary::after { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.foot__legal[open] summary::after { transform: rotate(45deg); }
.foot__legal-body { display: grid; gap: 10px; max-width: 62em; padding-bottom: 20px; font-size: 13px; line-height: 1.65; color: var(--bone-3); }
.foot__legal-body strong { font-weight: 500; color: var(--bone-2); }

/* ---- not found: the number cut by the label's diagonal, the way out under it ---- */
.nf { display: grid; align-items: center; min-height: 100svh; padding-bottom: clamp(48px, 6vw, 96px); }
.nf__code {
  display: inline-block; padding-right: .04em;   /* the box hugs the figures, so the diagonal crosses them and not the empty page */
  font-size: clamp(132px, 24vw, 320px); font-weight: 300; line-height: .82; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(144deg, var(--bone) calc(52% - .5px), var(--bone-3) calc(52% + .5px));
}
.nf h1 { margin-top: clamp(24px, 3vw, 40px); }
.nf__line { margin-top: 12px; max-width: 30em; font-size: 17px; color: var(--bone-2); }
.nf__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3vw, 40px); }

/* ---- the site's dropdown: one floating list, in the page's top layer (see openList in js/app.js) ----
   A dark sheet a step above the page, a hairline round it, its options as quiet rows; the chosen
   one in full ink with the sliver of label beside it, the rest coming up to it on hover or focus. */
.dd {
  position: fixed; z-index: 90; margin: 0; padding: 6px 0; max-height: 60vh; overflow-y: auto;
  background: var(--obsidian-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -18px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .25s var(--ease);
}
.dd.is-open { opacity: 1; transform: none; }
.dd [role="option"] {
  position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 16px 0 34px;
  font-size: 14px; font-variant-numeric: tabular-nums; color: var(--bone-2); white-space: nowrap; cursor: pointer; outline: none;
  transition: background-color .2s, color .2s;
}
.dd [role="option"]:hover, .dd [role="option"]:focus-visible, .dd [role="option"]:focus { background: var(--obsidian-3); color: var(--bone); }
.dd [aria-selected="true"] { color: var(--bone); }
.dd [aria-selected="true"]::before { content: ""; position: absolute; left: 12px; top: 50%; width: 13px; height: 5px; margin-top: -2.5px; background: var(--bone); clip-path: polygon(6.2px 0, 100% 0, calc(100% - 6.2px) 100%, 0 100%); }
@media (prefers-reduced-motion: reduce) { .dd { transition: none; transform: none; } }

/* ---- inner pages ---- */
.page { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); }   /* a short page still fills the screen, so the footer starts at its bottom edge, never halfway up */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(12px, 1.8vw, 26px); padding-block: clamp(8px, 1.6vw, 24px) var(--section); }

/* ---- policy pages: a compact header, then an index that stays in view beside the text it lists ---- */
.legal__head { max-width: 720px; }
.legal__head .display { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.legal__lede { max-width: 36em; margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--bone-2); text-wrap: pretty; }
.legal__date { margin-top: 10px; font-size: 13px; color: var(--bone-3); font-variant-numeric: tabular-nums; }
.legal__body { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 2.6vw, 32px); padding-bottom: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.legal__toc a { display: block; padding: 4px 0; font-size: 13.5px; line-height: 1.4; color: var(--bone-3); transition: color .25s; }
.legal__toc a:hover { color: var(--bone); }
.legal__text { max-width: 640px; font-size: 15.5px; }
.legal__text section + section { margin-top: 32px; }
.legal__text h2 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.legal__text h2 + * { margin-top: 10px; }
.legal__text h3 { margin-top: 20px; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--bone); }
.legal__text h3 + p { margin-top: 4px; }
.legal__text p, .legal__text li, .legal__text dd { color: var(--bone-2); line-height: 1.65; text-wrap: pretty; }
.legal__text strong { font-weight: 500; color: var(--bone); }
.legal__text p + p, .legal__text p + ul, .legal__text ul + p, .legal__text dl + p { margin-top: 12px; }
.legal__text a { color: var(--bone); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: text-decoration-color .25s; }
.legal__text a:hover { text-decoration-color: var(--bone); }
/* list marks are the cut slip of the catalog's tags, at text size */
.legal__text ul:not(.rates) { display: grid; gap: 6px; }
.legal__text ul:not(.rates) li { position: relative; padding-left: 24px; }
.legal__text ul:not(.rates) li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 4px; background: var(--bone-3); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.legal__terms { margin-top: 14px; border-top: 1px solid var(--line); }
.legal__terms > div { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 4px 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.legal__terms dt { color: var(--bone); line-height: 1.65; }
/* the closing word, on the raised card with the cut corner the product page uses */
.legal__text .legal__contact { padding: 20px 22px; background: var(--obsidian-2); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 20px, 100% 100%, 0 100%); }
.legal__text h2[id], .legal__text h3[id], .legal__text section { scroll-margin-top: calc(var(--header-h) + 24px); }
/* shipping: one row per delivery method, its price at the end */
.rates { display: grid; gap: 8px; margin-top: 16px; }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; box-shadow: inset 0 0 0 1px var(--line-2); }
.legal__text .rate h3 { margin: 0; font-size: 16px; }
.legal__text .rate h3 + p { margin-top: 2px; font-size: 14px; line-height: 1.5; }
.legal__text .rate__price { display: grid; justify-items: end; font-size: 20px; font-weight: 300; line-height: 1.15; letter-spacing: -.01em; color: var(--bone); font-variant-numeric: tabular-nums; }
.rate__free { margin-top: 2px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--bone-2); }
@media (max-width: 899px) {
  .legal__body { grid-template-columns: minmax(0, 1fr); }
  /* on a phone the index would only push the text down; the sections are a short scroll apart */
  .legal__toc { display: none; }
}
@media (max-width: 479px) {
  .rate { padding: 14px 16px; gap: 12px; }
  .legal__terms > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---- guides: a compact header with its vial beside it, then the policy pages' index-and-text layout ---- */
.legal__toc { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.guide__head { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: clamp(24px, 5vw, 80px); max-width: 960px; }
.guide__head .display { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.guide__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 10px; font-size: 13px; color: var(--bone-3); font-variant-numeric: tabular-nums; }
.guide__figure .vial { width: 100%; }
.guide__text h2 { margin-top: 36px; }
.guide__text > p:first-child { color: var(--bone); }
.guide__table { margin-top: 14px; }
.guide__table table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.guide__table th { padding: 0 14px 8px 0; font-size: 13px; font-weight: 500; text-align: left; color: var(--bone-3); border-bottom: 1px solid var(--line-2); }
.guide__table td, .guide__table th[scope="row"] { padding: 9px 14px 9px 0; vertical-align: top; color: var(--bone-2); border-bottom: 1px solid var(--line); }
.guide__table td:first-child, .guide__table th[scope="row"] { color: var(--bone); font-size: inherit; font-weight: inherit; }
.guide__table + p { margin-top: 12px; }
.legal__text .guide__note { margin-top: 28px; padding-top: 14px; font-size: 13px; color: var(--bone-3); border-top: 1px solid var(--line); }
.guide-more { padding-bottom: clamp(56px, 6vw, 88px); }
.guide-list { margin-top: 14px; border-top: 1px solid var(--line); }
.guide-list--index { margin-top: clamp(24px, 2.6vw, 32px); margin-bottom: clamp(56px, 6vw, 88px); max-width: 840px; }
.guide-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.guide-list--index .guide-row { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 14px 0; }
.guide-row__pic .vial { width: 100%; }
.guide-row__pic--tool { display: grid; place-items: center; aspect-ratio: 4 / 5; color: var(--bone-2); }
.guide-row__pic--tool .syringe-mark { width: 70%; }
.guide-row__text { display: grid; gap: 2px; }
.guide-row__text .guide__meta { margin-top: 0; font-size: 13px; }
.guide-row__title { justify-self: start; font-size: 16.5px; font-weight: 500; line-height: 1.35; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.guide-row__lede { font-size: 14.5px; color: var(--bone-2); }
.guide-row:hover .guide-row__title { background-size: 100% 1px; }
.guide-row:hover .arrow { transform: translateX(4px); }
@media (max-width: 899px) {
  .legal__toc { max-height: none; }
}
@media (max-width: 559px) {
  .guide__head { grid-template-columns: minmax(0, 1fr) 84px; gap: 16px; }
  .guide-row .arrow { display: none; }
  .guide-row, .guide-list--index .guide-row { grid-template-columns: 52px minmax(0, 1fr); }
  .guide__table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .guide__table tr { display: grid; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .guide__table td, .guide__table th[scope="row"] { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr); gap: 12px; padding: 2px 0; border: 0; }
  .guide__table td::before { content: attr(data-label); font-size: 13px; color: var(--bone-3); }
  .guide__table td[data-label=""], .guide__table th[scope="row"] { grid-template-columns: minmax(0, 1fr); font-weight: 500; }
  .guide__table td[data-label=""]::before { display: none; }
}

/* ---- FAQ: topics beside the questions, each topic its own accordion ---- */
.faq-groups { max-width: 720px; }
.faq-group + .faq-group { margin-top: clamp(32px, 3.6vw, 44px); }
.faq-group h2 { margin-bottom: 6px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-groups .qa--dark summary { min-height: 54px; padding: 14px 0; font-size: 15.5px; }
.faq-groups .qa--dark details p { padding-right: 32px; padding-bottom: 18px; font-size: 15px; line-height: 1.65; }
.faq-groups .qa details p a { color: var(--bone); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: text-decoration-color .25s; }
.faq-groups .qa details p a:hover { text-decoration-color: var(--bone); }
.faq-contact { margin-top: clamp(32px, 3.6vw, 44px); padding: 20px 22px; background: var(--obsidian-2); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 20px, 100% 100%, 0 100%); }
.faq-contact__title { font-size: 17px; font-weight: 500; }
.faq-contact p { margin-top: 4px; font-size: 15px; color: var(--bone-2); }
.faq-contact a { color: var(--bone); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* the smallest phones: the email may break after its @ (the markup marks the spot), and the pay marks
   shrink a little so all five stay on one line */
@media (max-width: 379px) {
  .foot__contact a { white-space: normal; }
  .foot__pay { gap: 6px; }
  .foot__pay li { width: 46px; height: 32px; }
  .foot__pay svg { width: 27px; height: 27px; }
}

/* ---- contact: the form, and the other ways to reach us beside it ---- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 2.6vw, 32px); padding-bottom: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 500; }
.field__opt { margin-left: 4px; font-weight: 400; color: var(--bone-3); }
.field__input { width: 100%; height: 48px; padding: 0 14px; font: 400 15px/1.4 var(--font); font-feature-settings: "ss01"; color: var(--bone); text-align: left; background: var(--obsidian-2); border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field__input:hover { box-shadow: inset 0 0 0 1px var(--bone-3); }
/* a field the browser filled keeps the site's colours (browsers paint their own pale tint over it otherwise); the
   long transition holds off the tint, the inset shadow repaints the sheet and the hairline */
.field__input:-webkit-autofill, .field__input:-webkit-autofill:hover, .field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--bone); caret-color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 100px var(--obsidian-2);
  transition: background-color 600000s 0s, color 600000s 0s;
}
.field__input:-webkit-autofill:focus { box-shadow: inset 0 0 0 1px var(--bone), inset 0 0 0 100px var(--obsidian-2); }
.field__input:autofill { box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 0 100px var(--obsidian-2); }
.field__input:focus-visible { box-shadow: inset 0 0 0 1px var(--bone); }
.field__input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--bone); }
.field__area { height: auto; min-height: 160px; padding: 12px 14px; resize: vertical; }
/* the topic is the site's own dropdown; its field shows a chevron and reads quieter until chosen */
.field__select { position: relative; padding-right: 40px; cursor: pointer; }
.field__select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.field__select.is-empty { color: var(--bone-3); }
.field__count { justify-self: end; font-size: 12.5px; color: var(--bone-3); font-variant-numeric: tabular-nums; }
.field__count.is-near { color: var(--bone); }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__err { min-height: 20px; margin-top: 10px; font-size: 13.5px; color: var(--bone); }
.contact-form__err:empty { min-height: 0; margin-top: 0; }
.contact-form__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.contact-form__alt { font-size: 13.5px; color: var(--bone-3); }
.contact-form__alt a, .contact-sent a { color: var(--bone-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.contact-sent { padding: 20px 22px; background: var(--obsidian-2); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 20px, 100% 100%, 0 100%); outline: none; }
.contact-sent h2 { font-size: 17px; font-weight: 500; }
.contact-sent p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--bone-2); }
.contact-info dl { margin-top: 20px; border-top: 1px solid var(--line); }
.contact-info dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: 13px; color: var(--bone-3); }
.contact-info dd { font-size: 15px; }
.contact-info dd a { transition: color .25s; }
.contact-info dd a:hover { color: var(--bone-2); }
.contact-order { padding: 18px 20px; background: var(--obsidian-2); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 18px, 100% 100%, 0 100%); }
.contact-order__title { font-size: 15.5px; font-weight: 500; }
.contact-order p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--bone-2); }
.contact-order__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 500; }
.contact-order__link:hover .arrow { transform: translateX(4px); }
.contact-info__note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--bone-3); }
.legal__lede a { color: var(--bone); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: text-decoration-color .25s; }
.legal__lede a:hover { text-decoration-color: var(--bone); }
@media (max-width: 899px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-info dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 559px) {
  .contact-form__grid { grid-template-columns: minmax(0, 1fr); }
  /* one line each: the label, then the value */
  .contact-info dl { grid-template-columns: minmax(0, 1fr); }
  .contact-info dl > div { grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; }
}

/* ---- order tracking: one narrow column in the middle of the page, as tracking pages are laid out ---- */
.track { max-width: 420px; margin-inline: auto; padding-bottom: clamp(56px, 6vw, 88px); }
.track__head { text-align: center; }
.track__head .display { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.track__head .legal__lede { margin-inline: auto; }
.track-form { margin-top: clamp(28px, 3vw, 36px); }
.track__fields { display: grid; gap: 16px; }
.track__submit { justify-content: center; margin-top: 18px; padding-left: calc(var(--t) + 16px); }   /* the site's cut button, full width, its label centred */
.track__toggle { display: block; margin: 16px auto 0; font-size: 13.5px; color: var(--bone-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .25s, text-decoration-color .25s; }
.track__toggle:hover, .track__toggle[aria-expanded="true"] { color: var(--bone); text-decoration-color: var(--bone); }
.track-form--alt { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.track-form__title { margin-bottom: 14px; font-size: 15px; font-weight: 500; text-align: center; }
.track__result:not(:empty) { margin-top: 24px; }
.track__result .contact-order__link { margin-top: 12px; color: var(--bone); text-decoration: none; }
.track__help { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.track__help h2 { font-size: 16px; font-weight: 500; }
.track__help p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--bone-2); text-wrap: balance; }
.track__help .contact-order__link { margin-top: 10px; }

/* Shared account, order summary and wallet controls. */
.co__apple-mark { width: 17px; height: 17px; margin-top: -2px; flex: none; }
.co__sub { margin-top: 2px; font-size: 14.5px; color: var(--bone-3); }
.co__form { display: grid; gap: 10px; margin-top: 12px; }
/* slimmer fields: a smaller label tucked close, a shorter box */
/* the label lives inside the field: it rests where the text goes, and lifts to the top edge, smaller, once
   the field has focus or text (a blank placeholder lets :placeholder-shown tell the two apart) */
.field--float { position: relative; display: block; }
.field--float .field__input { height: 50px; padding: 20px 14px 6px; font-size: 15px; }
.field--float .field__label { position: absolute; left: 15px; top: 50%; font-size: 15px; font-weight: 400; color: var(--bone-3); transform: translateY(-50%); transform-origin: 0 0; pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; }
.field--float .field__input:focus + .field__label,
.field--float .field__input:not(:placeholder-shown) + .field__label { top: 15px; font-size: 11.5px; color: var(--bone-2); }
.co__form .btn { --h: 44px; margin-top: 2px; }
.co__form .contact-form__err { margin: -2px 0 0; }
.co__form .contact-form__err:empty { display: none; }   /* no empty slot doubling the gap above the button */
/* words left, the arrow at the far end before the cut: checkout's buttons, the drawer's, Add to cart */
.co__submit, .drawer__checkout, .pdp__add, .buybar .btn { justify-content: space-between; }
/* Continue with Google, in Google's own dark-theme sign-in style: near-black fill, grey border, white label,
   the four-colour mark. These are Google's brand values, kept literal on purpose. */
/* Google and Apple: the site's button proportions (46px, square corners), words centered, without the cut,
   drawn as a hairline so the filled Send code below stays the one action that leads */
.co__google, .co__apple { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 46px; padding: 0 20px; font-size: 14.5px; font-weight: 500; letter-spacing: .02em; color: var(--bone); background: transparent; border: 1px solid var(--line-2); border-radius: 0; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease); }
.co__google:hover, .co__apple:hover { background: var(--obsidian-3); border-color: var(--bone-3); }
.co__google:active, .co__apple:active { transform: scale(.985); }
.co__google:focus-visible, .co__apple:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.co__g { width: 18px; height: 18px; flex: none; }
.co__or--inner { margin: 16px 0 14px; }
.co__fine { margin-top: -2px; font-size: 13px; color: var(--bone-3); }
.co__or { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.co__or::before, .co__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co-line { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; }
/* the hairline is drawn above the line's picture: the vial is scaled up past its box and would paint over a border */
.co-line::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 1px; background: var(--line); pointer-events: none; }
.co-line__pic { position: relative; width: 44px; aspect-ratio: 11 / 14; }
.co-line__pic .vial { width: 100%; height: 100%; transform: scale(1.4); overflow: hidden; }
.co-line__pic .kitpic { background-size: 92%; }
.co-line__pic i { position: absolute; top: -6px; right: -8px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; font-style: normal; font-weight: 600; color: var(--ink); background: var(--bone); font-variant-numeric: tabular-nums; }
.co-line__text { display: grid; min-width: 0; }
.co-line__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.co-line__sub { font-size: 13px; color: var(--bone-3); }
.co-line__price { font-size: 15px; font-variant-numeric: tabular-nums; }
/* the wallet button: Apple's own mark, black on white as Apple asks for on a dark page */
.co-wallet, .drawer__apple { display: flex; align-items: center; justify-content: center; height: 46px; color: #000; background: #fff; transition: background-color .2s, box-shadow .2s, transform .35s var(--ease); }
.co-wallet:hover { background: #e9e9e9; }
.co-wallet:active, .drawer__apple:active { transform: scale(.985); }
.co-wallet:focus-visible, .drawer__apple:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.wallet-mark { display: inline-flex; align-items: center; gap: 2px; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", var(--font); font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.wallet-mark svg { width: 19px; height: 19px; margin-top: -3px; }

/* the state: the site's dropdown in a floating-label field */
.field--pick .field__select { padding: 20px 34px 6px 14px; }
.field--pick .field__select::after { right: 14px; margin-top: -4px; }
.field--pick:not(.is-filled) .field__select:not([aria-expanded="true"]) + .field__label { top: 50%; font-size: 15px; color: var(--bone-3); }
.field--pick.is-filled .field__label, .field--pick .field__select[aria-expanded="true"] + .field__label { top: 15px; font-size: 11.5px; color: var(--bone-2); }
/* the security code's show/hide */
.field--reveal .field__input { padding-right: 48px; }
.field__reveal { position: absolute; right: 4px; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; color: var(--bone-3); transform: translateY(-50%); transition: color .25s; }
.field__reveal:hover, .field__reveal[aria-pressed="true"] { color: var(--bone); }
.field__reveal svg { width: 19px; height: 19px; }
.field__reveal:focus-visible { outline: 2px solid var(--bone); outline-offset: -4px; }

/* payment: card number across, expiry and security code beside each other */
.co-grid--card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
/* a field with a typing hint (MM / YY): the hint shows only while the field has focus, under the raised label */
.field--float .field__input[data-hint]::placeholder { color: transparent; }
.field--float .field__input[data-hint]:focus::placeholder { color: var(--bone-3); }
/* on a phone the security code's field is narrow: its label shortens to CVV so it never runs into the eye */
.csc-short { display: none; }
@media (max-width: 559px) { .csc-long { display: none; } .csc-short { display: inline; } }
.co-check { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14.5px; color: var(--bone-2); cursor: pointer; }
.co-check input { position: absolute; opacity: 0; pointer-events: none; }
.co-check__box { display: grid; place-items: center; flex: none; width: 18px; height: 18px; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--bone-3); transition: background-color .2s, box-shadow .2s; }
.co-check__box svg { width: 12px; height: 12px; opacity: 0; }
.co-check input:checked + .co-check__box { background: var(--bone); box-shadow: none; }
.co-check input:checked + .co-check__box svg { opacity: 1; }
.co-check input:focus-visible + .co-check__box { outline: 2px solid var(--bone); outline-offset: 3px; }
/* the progress mark: a faint ring, an arc turning round it, the site's sliver still at the centre */
.co-proc { width: 18px; height: 18px; flex: none; overflow: visible; }
.co-proc circle { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.co-proc__track { opacity: .2; }
.co-proc__spin { transform-origin: 16px 16px; animation: co-orbit 1.6s cubic-bezier(.45, .3, .55, .7) infinite; }
.co-proc__core { fill: currentColor; }
@keyframes co-orbit { to { transform: rotate(360deg); } }
/* the pressed Pay while it works: the same bone strip, no sweep, the mark beside its words */
.btn[aria-busy="true"], .btn[aria-busy="true"]:hover { justify-content: flex-start; color: var(--ink); cursor: progress; transform: none; }
.btn[aria-busy="true"]::before { display: none; }
.drawer__apple[aria-busy="true"] { cursor: progress; }
.co-brand { display: inline-flex; align-items: center; height: 20px; margin-right: 10px; padding: 0 7px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); box-shadow: inset 0 0 0 1px var(--line-2); vertical-align: 1px; }
/* contact, signed in */
.contact-signed { grid-column: 1 / -1; margin-bottom: 8px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: var(--bone-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.contact-signed b { font-weight: 500; color: var(--bone); overflow-wrap: anywhere; }
.contact-signed a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.contact-sent .contact-order__link { margin-top: 12px; }
@media (pointer: coarse) {
  #co-address input.field__input, [data-address-form] input.field__input { font-family: "Figtree Touch Fields", var(--font); font-size: 16px; line-height: 21px; }
}
@media (prefers-reduced-motion: reduce) { .co-wallet, .drawer__apple, .co-rate, .co-check__box { transition: none; } .co-proc__spin { animation: none; } }

/* ---- the sign-in pop-up (js/session.js): the checkout's sign-in card, over the page ---- */
.auth, .age { padding: 0; margin: auto; border: 0; background: transparent; color: var(--bone); max-width: calc(100vw - 32px); overflow: visible; }
.auth::backdrop, .age::backdrop { background: rgba(8, 8, 9, .72); backdrop-filter: blur(3px); }
.auth[open] { animation: auth-in .35s var(--ease); }
@keyframes auth-in { from { opacity: 0; transform: translateY(10px); } }
.auth__card { position: relative; width: min(440px, calc(100vw - 32px)); padding: 26px clamp(22px, 3vw, 30px) 30px; background: var(--obsidian-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 30px) 100%, 0 100%); }
.auth__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--bone-3); transition: color .25s; }
.auth__close:hover { color: var(--bone); }
.auth__close svg { width: 14px; height: 14px; }
.auth__title { font-size: 23px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; padding-right: 36px; }
.auth .auth__first { margin-top: 18px; }
.auth .auth__second { margin-top: 10px; }
.auth__to { font-weight: 500; color: var(--bone); overflow-wrap: anywhere; }
.auth__code { margin-top: 18px; }
.auth__digits { letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 16px; }
.auth__links button { min-height: 32px; font-size: 13.5px; color: var(--bone-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bone-3); }
.auth__links button:hover { color: var(--bone); }
/* the sign-in service's quick check: closed until its widget asks to be seen; never wider than the card */
.auth__captcha { display: flex; justify-content: center; max-width: 100%; overflow: hidden; }
.auth__captcha:not(:empty) { margin-top: 14px; }
.auth__check { height: 0; overflow: hidden; }
.auth__check.is-on { height: auto; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.auth__check-widget { display: flex; justify-content: center; max-width: 100%; margin-top: 12px; overflow-x: auto; }
.auth__check-widget iframe { max-width: 100%; }
/* ---- the 21+ gate: one small card, the brand's mark over the question ---- */
.age::backdrop { background: rgba(8, 8, 9, .9); backdrop-filter: blur(8px); }
.age__card { width: min(400px, calc(100vw - 32px)); padding: 34px clamp(22px, 3vw, 32px) 30px; text-align: center; background: var(--obsidian-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 30px) 100%, 0 100%); }
.age__mark { display: block; width: 54px; height: auto; color: var(--bone); }   /* top left: it answers the cut at the bottom right, across the card */
.age__card:focus { outline: none; }
.age__title { margin-top: 18px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.age__q { margin-top: 10px; font-size: 24px; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.age__acts { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.age__no { display: inline-flex; align-items: center; justify-content: center; width: 104px; height: 46px; padding: 0 20px; font-size: 14.5px; font-weight: 500; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s, box-shadow .25s; }
.age__no:hover { background: var(--obsidian-3); box-shadow: inset 0 0 0 1px var(--bone-3); }
.age__no:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.age__yes { --h: 46px; min-width: 0; width: 150px; justify-content: space-between; }
.age__fine { margin-top: 20px; font-size: 12.5px; color: var(--bone-3); }
@media (prefers-reduced-motion: reduce) { .auth[open] { animation: none; } }

/* Order status and timeline, used by Account and Track. */
.acct-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.acct-chip--confirmed, .acct-chip--packed, .acct-chip--shipped { color: var(--ink); background: var(--bone); box-shadow: none; }
.acct-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; padding: 0; list-style: none; }
.acct-steps li { position: relative; display: grid; gap: 2px; padding-top: 22px; font-size: 13px; color: var(--bone-3); }
.acct-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-2); }
.acct-steps li.is-done::before { background: var(--bone); }
.acct-steps__dot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; background: var(--obsidian); box-shadow: inset 0 0 0 1.5px var(--bone-3); }
.acct-steps li.is-done .acct-steps__dot { background: var(--bone); box-shadow: none; }
.acct-steps b { font-size: 14.5px; font-weight: 500; color: var(--bone-2); }
.acct-steps li.is-done b { color: var(--bone); }
@media (max-width: 559px) {
  .acct-steps b { font-size: 13px; }
  .acct-steps li { font-size: 11.5px; }
}

/* ---- Track order: the order found ---- */
.track-result { margin-top: 24px; padding: clamp(20px, 2.4vw, 26px); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; }
.track-result__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.track-result__head div { display: grid; gap: 2px; }
.track-result__k { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.track-result__head b { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.track-result__facts { display: grid; gap: 0; margin-top: 22px; font-size: 14.5px; }
.track-result__facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); }
.track-result__facts dt { color: var(--bone-3); }
.track-result__facts dd { text-align: right; color: var(--bone); }
.track-result__items { margin-top: 6px; border-top: 1px solid var(--line); }
.track-result__items .co-line:first-child::before { display: none; }

/* ---- cart drawer, in Amino's materials. A panel from the right;
   on phones a card inside the screen's edges, its corner cut on the side facing the page ---- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s .5s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 6, 7, .62); opacity: 0; transition: opacity .5s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(100%, 440px); display: flex; flex-direction: column; background: var(--obsidian); box-shadow: inset 1px 0 0 var(--line); transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; visibility: visible; }
.drawer.is-open .drawer__close { visibility: visible; transition-property: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 57px; padding: 6px 26px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.drawer__head .count { min-width: 22px; height: 22px; font-size: 12px; letter-spacing: 0; }
.drawer__close { width: 44px; height: 44px; margin-right: -12px; display: grid; place-items: center; }
.drawer__close svg { width: 15px; height: 15px; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 26px 8px; }
/* a line: picture | name over strength and stepper | price over Remove */
.item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 10px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item__media { grid-row: span 2; width: 44px; aspect-ratio: 11 / 14; overflow: hidden; }
.item__media .vial { width: 100%; height: 100%; transform: scale(1.4); }
.item__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.item__name--text { font-weight: 500; }
.item__price { justify-self: end; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.item__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .02em; color: var(--bone-3); }
.qty { display: inline-flex; align-items: center; height: 46px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 44px; height: 46px; font-size: 18px; color: var(--bone-2); transition: color .2s; }
.qty button:hover { color: var(--bone); }
.qty output { min-width: 22px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.item .qty { height: 28px; }
.item .qty button { position: relative; width: 24px; height: 28px; font-size: 14px; }
.item .qty output { min-width: 22px; font-size: 13px; }
.item__remove { position: relative; justify-self: end; padding: 0; font-size: 12px; color: var(--bone-3); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .2s; }
.item .qty button::after, .item__remove::after, .co-legal a::after { content: ""; position: absolute; }
.item .qty button:first-child::after { inset: -8px -10px -8px -8px; }
.item .qty button:last-child::after { inset: -8px -8px -8px -10px; }
.item__remove::after { inset: -13px -6px; }
.co-legal a::after { inset: -13px 0; }
.item__remove:hover { color: var(--bone); }
/* the kit's picture: a background, never an image element (see "pictures" in js/app.js) */
.kitpic { display: block; width: 100%; height: 100%; background: url("../media/cart/kit-160.webp?v=769fe3050de972de") center / contain no-repeat; background-image: image-set(url("../media/cart/kit-160.webp?v=769fe3050de972de") 1x, url("../media/cart/kit-320.webp?v=309d528d633d7b01") 2x); }
.item__media .kitpic { background-size: 92%; }
.drawer__empty { display: grid; place-content: center; justify-items: center; gap: 18px; height: 100%; min-height: 240px; text-align: center; color: var(--bone-2); }
/* complete your order: a hairline card under the lines */
.upsell { margin: 18px 0 6px; padding-bottom: 2px; box-shadow: inset 0 0 0 1px var(--line-2); }
.upsell__title { display: flex; align-items: center; gap: 8px; padding: 12px 14px 0; font-size: 10.5px; font-weight: 500; line-height: 1.65; letter-spacing: .13em; text-transform: uppercase; color: var(--bone-2); }
.upsell__title svg { width: 10px; height: 10px; flex: none; }
.upsell__note { padding: 6px 14px 0; font-size: 12px; line-height: 1.5; color: var(--bone-3); }
.upsell__row { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 10px 14px 0; padding: 12px 0; border-top: 1px solid var(--line); }
.upsell__pic { width: 44px; aspect-ratio: 22 / 27; overflow: hidden; }
.upsell__pic .vial { width: 100%; height: 100%; transform: scale(1.4); }
.upsell__pic .kitpic { background-size: 96%; }
.upsell__body { display: grid; justify-items: start; gap: 8px; min-width: 0; }
.upsell__name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.upsell__sub { display: flex; align-items: center; }
.upsell__act { display: flex; align-items: center; gap: 12px; }
.upsell__price { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.upsell__add { height: 30px; min-width: 50px; padding: 0 13px; font-size: 12px; font-weight: 500; color: var(--ink); background: var(--bone); transition: background-color .25s; }
.upsell__add:hover, .upsell__add:focus-visible { background: #fff; }
.upsell__sizes { display: inline-flex; gap: 2px; padding: 2px; box-shadow: inset 0 0 0 1px var(--line-2); }
.upsell__size { height: 24px; padding: 0 8px; font-size: 11px; font-weight: 500; color: var(--bone-3); font-variant-numeric: tabular-nums; transition: color .2s, background-color .2s; }
.upsell__size:hover { color: var(--bone); }
.upsell__size[aria-pressed="true"] { color: var(--ink); background: var(--bone); }
.upsell__kit { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; text-align: left; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
/* the info mark: a 24px target round a small ringed "i" */
.upsell__info { display: inline-grid; place-items: center; width: 24px; height: 24px; font-style: normal; }
.upsell__info::before { content: "i"; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--bone-3); font-size: 9.5px; font-weight: 600; line-height: 1; color: var(--bone-2); }
.upsell__info { font-size: 0; }
.upsell__tip { position: absolute; z-index: 2; left: 56px; top: calc(100% - 6px); min-width: min(210px, calc(100% - 56px)); max-width: calc(100% - 56px); padding: 10px 12px; font-size: 12.5px; line-height: 1.55; color: var(--bone-2); background: var(--obsidian-3); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 28px -12px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transform: translateY(-3px); transition: opacity .18s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.upsell__row.is-tip-up .upsell__tip { top: auto; bottom: calc(100% - 6px); }
.upsell__tip p { color: var(--bone); font-weight: 500; }
.upsell__row.is-tip .upsell__tip { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .25s var(--ease); }
@media (hover: hover) { .upsell__row:not(.is-tip-dismissed):has(.upsell__kit:hover) .upsell__tip { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .25s var(--ease); } }
/* the foot: how close free shipping is, the subtotal, a code, checkout */
.drawer__foot { flex: none; padding: 16px 26px calc(14px + env(safe-area-inset-bottom)); }
.ship__k { font-size: 13.5px; line-height: 1.65; color: var(--bone-2); }
.ship__k b { font-weight: 500; color: var(--bone); font-variant-numeric: tabular-nums; }
.ship__bar { position: relative; height: 4px; margin-top: 10px; background: var(--line-2); }
.ship__bar span { position: absolute; inset: 0 auto 0 0; background: var(--bone); transition: width .5s var(--ease); }
/* the free-Standard mark: a tick across the bar at its threshold */
.ship__bar i { position: absolute; left: 50%; top: -3px; width: 1.5px; height: 10px; background: var(--bone-3); }
.ship__bar i.is-on { background: var(--bone); }
.ship__stages { display: grid; grid-template-columns: 1fr 1fr; margin-top: 8px; font-size: 11.5px; line-height: 1.65; color: var(--bone-3); }
.ship__stages span { text-align: right; }
.ship__stages span:first-child { margin-right: -38px; }
.ship__stages .is-on { color: var(--bone); }
.drawer__sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.drawer__sum b { font-weight: 500; font-size: 18.5px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.code { margin-top: -6px; }
.code__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; font-size: 12px; color: var(--bone-2); transition: color .25s; }
.code__toggle:hover { color: var(--bone); }
.code__toggle i { width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.code__toggle[aria-expanded="true"] i { transform: translateY(1px) rotate(-135deg); }
.code__form { display: flex; gap: 8px; margin-bottom: 4px; }
.code__input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; font: 400 14px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--bone); background: var(--obsidian-2); border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .25s; -webkit-appearance: none; appearance: none; }
.code__input::placeholder { text-transform: none; letter-spacing: 0; color: var(--bone-3); }
.code__input:focus-visible { box-shadow: inset 0 0 0 1px var(--bone); }
.code__apply { height: 40px; padding: 0 16px; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s, color .25s; }
.code__apply:hover, .code__apply:focus-visible { color: var(--ink); background: var(--bone); }
.code__msg { font-size: 12.5px; color: var(--bone-2); }
.code__msg:empty { display: none; }
.code__on { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 12.5px; color: var(--bone-2); }
.code__on > span { min-width: 0; overflow-wrap: anywhere; }
.code__on b { font-weight: 500; letter-spacing: .04em; color: var(--bone); }
.code__remove { font-size: 12px; color: var(--bone-3); text-decoration: underline; text-underline-offset: 3px; }
.drawer__foot .btn { --h: 44px; margin-top: 2px; }
.drawer__acts { display: flex; gap: 10px; margin-top: 2px; }
.drawer__acts .btn { flex: 1; min-width: 0; margin-top: 0; }
/* beside Checkout the wallet is the quiet one: the site's hairline button with Apple's mark in ink-on-dark, so the
   bone Checkout stays the single filled shape in the row */
.drawer__apple { flex: none; width: 96px; height: 44px; color: var(--bone); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.drawer__apple:hover { background: var(--obsidian-3); box-shadow: inset 0 0 0 1px var(--bone-3); }
.drawer__apple .wallet-mark { font-size: 17px; }
.drawer__apple .wallet-mark svg { width: 17px; height: 17px; }
@media (max-width: 559px) {
  .drawer__panel { inset: 2px 0 2px auto; width: calc(100% - 26px); box-shadow: none; clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 16px); transform: translateX(calc(100% + 30px)); }
  .drawer__head { height: 61px; padding: 8px 16px; }
  .drawer__body { padding: 8px 16px; }
  .drawer__foot { padding: 12px 16px calc(8px + env(safe-area-inset-bottom)); }
  .upsell__title { padding: 12px 14px 0; }
  .upsell__note { padding: 6px 12px 0; }
  .upsell__row { margin: 10px 12px 0; padding: 10px 0; }
  .upsell__pic { width: 40px; }
  .upsell__name { font-size: 14px; }
  .upsell__price { font-size: 14px; }
}
@media (max-height: 490px) {
  .drawer__panel { overflow-y: auto; overscroll-behavior: contain; }
  .drawer__body { flex: none; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer__close { transition: none !important; }
  .drawer__panel, .drawer__scrim, .upsell__tip, .ship__bar span { transition: none; }
}

/* ---- entrance: only sections that start below the viewport ---- */
.rise--1 { --d: .1s; }
.rise--2 { --d: .2s; }
.rise.will-rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rise.will-rise.is-in { opacity: 1; transform: none; }

/* ---- breakpoints ---- */
@media (max-width: 1199px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf__track, .shelf--more .shelf__track { grid-auto-columns: 33.3334%; }
  .shelf--more .card:nth-child(n + 4) { display: none; }
}
@media (max-width: 899px) {
  /* four columns as wide as their longest link, spread across the row, so no link breaks onto two lines */
  .foot__top { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .foot__col a { white-space: nowrap; }
  .foot__brand { grid-column: 1 / -1; }
  :root { --header-h: 64px; }
  .head__nav { display: none; }
  .head__menu { display: grid; }
  .head__in { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .brand { justify-self: center; }
  .head__cart .head__cart-word { display: none; }

}
@media (max-width: 719px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; margin-inline: calc(var(--gutter) * -.5); }
  .shelf__track, .shelf--more .shelf__track { grid-auto-columns: 50%; margin-inline: calc(var(--gutter) * -.5); }
  .shelf--more .shelf__track { overflow-x: auto; }
  .shelf--more .card:nth-child(n + 4) { display: block; }
  .shelf__ctl .round { display: none; }
  .shelf__ctl .link { margin-right: 0; }
  .shelf__head { align-items: flex-end; }
  .card__name { font-size: 17px; margin-top: -17%; }
  .opts--text .opt { padding: 6px 7px; font-size: 13px; }
  /* on a two-up phone card the word "Add" gives way to a plus, so strength and price both fit */
  .buyline { gap: 8px; height: 38px; }
  .buyline__dose { font-size: 13px; }
  .buyline .buyline__add { gap: 5px; padding: 0 10px; font-size: 13px; }
  .buyline__add [data-add-word], .buyline__add i { display: none; }
  .buyline__add::after { content: "+"; order: -1; font-size: 15px; line-height: 1; }
  .buyline__add.is-oos [data-add-word] { display: inline; }
  .buyline__add.is-oos::after { content: none; }
  .pill { padding: 0 16px; gap: 10px; font-size: 13.5px; }
  .pagehead { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* two even rows: Explore beside Support, Legal beside Contact; the contact side is a little wider so the email stays on one line */
  .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); justify-content: stretch; column-gap: 20px; row-gap: 28px; }
  .foot__contact a { font-size: 14px; }
  .qa summary { font-size: 17px; }
  .brand__word { display: none; }
  .menu a { font-size: 34px; }
}
@media (min-width: 360px) and (max-width: 719px) { .brand__word { display: block; height: 10px; width: 137px; } .brand { gap: 11px; } .brand__mark { height: 17px; width: 45px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rise.will-rise { opacity: 1; transform: none; }
}
