/* America Research Compounds — Clinical wholesale */
:root {
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --surface-alt: #F3F5F7;
  --border: #E3E7EC;
  --border-strong: #CFD5DC;
  --text: #0B1721;
  --text-muted: #5B6672;
  --text-faint: #98A2AE;
  --accent: #0B2545;         /* deep navy */
  --accent-2: #1E5F8A;       /* mid blue */
  --accent-soft: #E7EEF6;
  --success: #2F7A4A;
  --danger: #A12C2C;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.06), 0 1px 0 rgba(11,37,69,.02);
  --shadow-md: 0 6px 24px -8px rgba(11,37,69,.14), 0 2px 6px -2px rgba(11,37,69,.08);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { margin: 0 0 .5em; letter-spacing: -0.01em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; color: var(--accent); }
.brand-logo { width: auto; height: 54px; flex-shrink: 0; }
.brand-footer {
  padding: 9px 12px;
  background: #fff;
  border-radius: var(--radius-sm);
}
.site-footer .brand-logo { height: 62px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .btn { margin-left: 4px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #142E56; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* HERO */
.hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 400px at 90% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(800px 300px at -10% 20%, #F1F6FB, transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr .95fr; gap: 56px; align-items: center;
}
.hero-grid:has(.hero-card-wide) { grid-template-columns: 1fr; gap: 40px; align-items: stretch; }
.hero-card-wide { padding: 28px 28px 24px; }
.hero-solo { max-width: 780px; }
.hero-solo .hero-copy { text-align: left; }
.hero-solo h1 { font-size: clamp(48px, 6vw, 88px); line-height: 1.02; }
.hero-solo .lede { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  padding: 6px 12px; background: var(--accent-soft); border-radius: 999px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(11,37,69,.12); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.05;
  margin: 22px 0 20px;
}
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-2); }
.lede { font-size: 17px; color: var(--text-muted); max-width: 56ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* Home hero order button uses the logo cap red. */
.btn.btn-hero-order { background: #BB261D; border-color: #BB261D; color: #fff; padding: 20px 44px; font-size: 19px; font-weight: 700; letter-spacing: .01em; border-radius: 10px; box-shadow: 0 8px 22px rgba(187,38,29,.28); }
.btn.btn-hero-order:hover { background: #9E1F17; border-color: #9E1F17; }
@media (max-width: 560px) { .btn.btn-hero-order { width: 100%; justify-content: center; text-align: center; } }
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-md);
}
.hero-card-head { display: flex; justify-content: space-between; gap: 8px; }
.tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  padding: 4px 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
}
.tag-alt { background: var(--surface-alt); color: var(--text-muted); }
.hero-card-title { font-size: 22px; font-weight: 700; margin: 14px 0 4px; letter-spacing: -0.02em; }
.hero-card-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.tier-mini { width: 100%; border-collapse: collapse; }
.tier-mini th, .tier-mini td { padding: 8px 12px; font-size: 13px; text-align: left; border-bottom: 1px solid var(--border); }
.tier-mini th { font-weight: 600; color: var(--text-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.tier-mini td:last-child { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.tier-mini tr.best td { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.hero-card-note { font-size: 12px; color: var(--text-faint); margin-top: 12px; }

/* Full tier table in hero */
.tier-full { width: 100%; border-collapse: collapse; }
.tier-full th, .tier-full td { padding: 12px 10px; font-size: 13px; text-align: right; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tier-full thead th { background: var(--accent); color: #fff; font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 10px; }
.tier-full thead th:first-child { border-top-left-radius: 8px; text-align: left; }
.tier-full thead th:last-child { border-top-right-radius: 8px; }
.tier-full thead th span { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .75; margin-top: 2px; }
.tier-full td { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; color: var(--text); }
.tier-full td.c-name { text-align: left; font-family: var(--font-body); font-weight: 400; }
.tier-full td.c-name strong { display: block; font-weight: 700; font-size: 14px; color: var(--text); letter-spacing: -0.01em; }
.tier-full td.c-name span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; font-family: var(--font-mono); letter-spacing: .02em; }
.tier-full tbody tr:hover td { background: var(--accent-soft); }
.tier-full tbody tr:last-child td { border-bottom: none; }
.tier-full tbody td:last-child { color: var(--accent); font-weight: 700; }
@media (max-width: 720px) {
  .tier-full { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tier-full th, .tier-full td { padding: 10px 8px; font-size: 12px; }
  .tier-full td.c-name strong { font-size: 13px; }
}

/* TRUST BAR */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.trust-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--accent-2); }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.trust-item span { display: block; font-size: 11px; color: var(--text-muted); letter-spacing: .04em; }

/* SECTIONS */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--accent); color: #fff; }
.section-dark .section-eyebrow { color: rgba(255,255,255,.7); }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.section-eyebrow.light { color: rgba(255,255,255,.7); }
.section h2 {
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px;
}
.section h2.light { color: #fff; }
.section-sub { color: var(--text-muted); font-weight: 400; }
.section-dark .section-sub { color: rgba(255,255,255,.7); }
.section-lead { font-size: 16px; color: var(--text-muted); max-width: 62ch; }
.section-lead.light { color: rgba(255,255,255,.78); }

/* PRICING TABLE */
.pricing-wrap {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 16px 14px; text-align: right;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px;
}
.price-table thead th {
  background: var(--accent); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 12px;
}
.price-table thead th span { display: block; font-weight: 400; font-size: 10px; opacity: .75; letter-spacing: .08em; margin-top: 4px; }
.price-table .col-item { text-align: left; font-family: var(--font-body); }
.price-table tbody td.col-item strong { display: block; font-weight: 600; font-size: 14px; }
.price-table tbody td.col-item span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.price-table tbody tr { border-top: 1px solid var(--border); }
.price-table tbody tr:hover { background: var(--surface-alt); }
.price-table td.best-col, .price-table th.best-col { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.price-table th.best-col { background: #06192F; }

.pricing-legend {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-top: 24px;
}
.pricing-legend > div { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.legend-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 26px; padding: 0 8px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 4px; font-family: var(--font-mono); font-weight: 600; font-size: 12px;
}

/* CATALOG */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; transition: border-color .15s ease, transform .15s ease;
}
.product-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.product-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sku { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .06em; }
.pill { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #E7F3EA; color: var(--success); letter-spacing: .04em; }
.pill:not(:empty)[class*="Limit"], .product-card .pill:nth-of-type(1) { }
.product-card h3 { font-size: 17px; font-weight: 600; margin: 4px 0 2px; letter-spacing: -0.015em; }
.product-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 0; min-height: 32px; }
.product-price { display: flex; align-items: baseline; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--border); }
.product-price span { font-size: 11px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.product-price strong { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--text); }

/* CERTIFICATIONS */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cert-badge {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  color: var(--accent);
}
.cert-badge svg { width: 96px; height: 96px; margin: 0 auto 16px; }
.cert-badge h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em; }
.cert-badge p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* GUARANTEE */
.guarantee-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; }
.guarantee-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.guarantee-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(255,255,255,.9); }
.check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 12px; }
.guarantee-seal { display: flex; justify-content: center; color: rgba(255,255,255,.85); }
.guarantee-seal svg { width: 260px; height: 260px; }

/* STEPS */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.steps h4 { margin: 12px 0 6px; font-size: 16px; font-weight: 700; }
.steps p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info { margin-top: 32px; display: grid; gap: 16px; }
.contact-info > div { padding: 14px 0; border-top: 1px solid var(--border); }
.contact-info span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-info strong { font-size: 15px; font-weight: 600; color: var(--text); font-family: var(--font-body); }
.checkout-steps { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; align-items: center; font-size: 13px; color: var(--text-muted); }
.checkout-steps > * { display: inline-flex; align-items: center; gap: 8px; }
.checkout-steps > * > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border-strong); border-radius: 50%; font-size: 12px; }
.checkout-steps strong { color: var(--accent); }
.checkout-steps strong > span { background: var(--accent); color: #fff; border-color: var(--accent); }
.edit-order { float: right; text-transform: none; letter-spacing: 0; color: var(--accent-2); text-decoration: underline; font-size: 12px; }
.checkout-assurance { color: var(--text-muted); font-size: 13px; margin: 0; }

.quote-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  display: grid; gap: 16px; min-width: 0;
}
.quote-form input:not([type="checkbox"]):not([type="radio"]), .quote-form textarea { width: 100%; min-width: 0; }
.quote-form .row > label, .ship-body { min-width: 0; }
.form-success, .ship-error, .contact-info strong { overflow-wrap: anywhere; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form .row:has(input[name="zip"]) { grid-template-columns: 2fr 1fr 1fr; }
.form-block { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.form-block-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.optional { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--text-faint); }
.form-review { background: var(--accent-soft); border-color: var(--accent-soft); }
.form-review ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.form-review li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); text-transform: none; letter-spacing: normal; font-weight: 400; padding: 8px 12px; background: rgba(255,255,255,.6); border-radius: var(--radius-sm); }
.form-review li strong { font-weight: 700; color: var(--accent); }
.form-review li em { font-style: normal; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }
.form-block-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid rgba(11,37,69,.15); }
.form-block-total span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.form-block-total strong { font-family: var(--font-mono); font-size: 18px; color: var(--accent); font-weight: 700; letter-spacing: -0.01em; }
.ship-options { display: grid; gap: 10px; }
.ship-opt { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; color: var(--text) !important; transition: border-color .15s, background .15s; }
.ship-opt:hover { border-color: var(--accent-2); background: var(--accent-soft); }
.ship-opt input[type="radio"] { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.ship-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent-soft); }
.ship-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ship-body strong { font-size: 14px; font-weight: 700; color: var(--text); }
.ship-body > span { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .02em; }
.ship-body .package-breakdown { display: grid; gap: 6px; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--border); font-family: var(--font-body); letter-spacing: 0; }
.ship-price { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--accent); flex-shrink: 0; align-self: center; letter-spacing: -0.01em; }
.ship-placeholder { padding: 14px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-muted); font-size: 13px; text-align: center; font-style: italic; }
.ship-loading { display: flex; align-items: center; gap: 8px; padding: 14px; color: var(--text-muted); font-size: 13px; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.ship-error { padding: 10px 12px; border: 1px solid #d97706; background: #fef3c7; color: #92400e; border-radius: var(--radius-sm); font-size: 13px; }
.ship-addons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ship-addons .pill { display: inline-block; padding: 4px 10px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.quote-form input, .quote-form textarea, .quote-form select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--bg);
  color: var(--text); text-transform: none; letter-spacing: normal; font-weight: 400;
}
.quote-form select { width: 100%; min-width: 0; }
.intl-ship-note { margin: -4px 0 14px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-size: 13px; line-height: 1.6; }
.intl-ship-note[hidden] { display: none; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check-line { flex-direction: row !important; align-items: center; text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; font-size: 13px !important; color: var(--text-muted); }
.sms-opt-in[hidden] { display: none !important; }
.sms-opt-in { scroll-margin-top: 100px; }
.phone-purpose { text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 12px; line-height: 1.6; }
.sms-opt-in .sms-choice { align-items: flex-start; gap: 12px; font-size: 14px !important; line-height: 1.65; color: var(--text); }
.sms-choice input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.sms-note, .sms-terms { margin: 0; font-size: 13px; line-height: 1.65; color: var(--text-muted); }
.sms-terms summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.sms-terms p { margin: 12px 0 0; overflow-wrap: anywhere; }
.sms-choice span { font-weight: 600; }
.sms-policy-links { margin: 0; font-size: 13px; line-height: 1.65; }
.sms-policy-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sms-status { border-top: 1px solid var(--border); padding-top: 12px; }
.sms-document { max-width: 780px; padding-block: 48px; }
.sms-document h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 16px; }
.sms-document h2 { font-size: 20px; margin: 28px 0 12px; }
.sms-document p { margin: 12px 0; line-height: 1.75; overflow-wrap: anywhere; }
.sms-document a { color: var(--accent); text-decoration: underline; }
.form-success { padding: 14px 16px; background: #E7F3EA; color: var(--success); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; line-height: 1.5; }

/* COMPLIANCE */
.compliance { background: #FFF7E6; border-top: 1px solid #F0DFB6; border-bottom: 1px solid #F0DFB6; padding: 20px 0; color: #6D4A00; }
.compliance-inner { display: flex; gap: 14px; align-items: flex-start; }
.compliance p { margin: 0; font-size: 13px; line-height: 1.6; }

/* FOOTER */
.site-footer { background: var(--accent); color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.site-footer .brand { color: rgba(255,255,255,.9); }
.site-footer .brand-title { color: #fff; }
.site-footer .brand-sub { color: rgba(255,255,255,.6); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h5 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.footer-cols a, .footer-cols span { display: block; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,.72); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.6); }
.muted { color: rgba(255,255,255,.55); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .guarantee-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Mobile: put the form first, push Wholesale desk / Hours / Location to the bottom */
  .contact-grid > div:first-child { display: contents; }
  .contact-grid > div:first-child > .section-eyebrow,
  .contact-grid > div:first-child > h2,
  .contact-grid > div:first-child > .section-lead { order: 1; }
  .contact-grid > form { order: 2; }
  .contact-grid > div:first-child > .contact-info { order: 3; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding: 12px 8px; font-size: 12px; }
  .price-table thead th span { font-size: 9px; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { height: 68px; }
  .brand-logo { height: 42px; }
  .nav .btn { padding: 8px 11px; }
  .nav { display: none; }
  .nav .btn { display: inline-flex; }
  .header-inner .nav { display: flex; }
  .header-inner .nav a:not(.btn) { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .catalog-grid, .cert-grid, .steps { grid-template-columns: 1fr; }
  .quote-form .row, .quote-form .row:has(input[name="zip"]) { grid-template-columns: minmax(0, 1fr); }
  .quote-form { padding: 16px; }
  .form-block { padding: 14px; min-width: 0; }
  .form-block-total { gap: 12px; flex-wrap: wrap; }
  .ship-opt { flex-wrap: wrap; }
  .pricing-wrap { overflow-x: auto; }
  .price-table { min-width: 640px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .pricing-legend { grid-template-columns: 1fr; }
}

/* ---------- Order Builder ---------- */
.status-page { --font-body: "Satoshi", system-ui, sans-serif; min-height: 100vh; background: #f3f6f9; color: var(--text); }
.status-header { min-height: 92px; padding: 18px clamp(20px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border-bottom: 1px solid var(--border); }
.status-header img { display: block; width: 190px; height: auto; }
.status-header span { color: var(--text-muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.status-shell { width: min(760px, calc(100% - 32px)); margin: 56px auto 80px; }
.status-card { background: #fff; border: 1px solid var(--border); border-top: 6px solid var(--accent); padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-sm); }
.status-kicker { color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-bottom: 8px; }
.status-card h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); color: var(--accent); }
.status-card > p { color: var(--text-muted); }
.status-progress { display: grid; grid-template-columns: repeat(4,1fr); margin: 36px 0 30px; }
.status-step { position: relative; text-align: center; color: var(--text-faint); font-size: 12px; }
.status-step::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--border); }
.status-step:first-child::before { display: none; }
.status-step span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 9px; border: 2px solid var(--border); border-radius: 50%; background: #fff; font-weight: 700; }
.status-step strong { display: block; font-weight: 600; }
.status-step.is-complete { color: var(--accent); }
.status-step.is-complete::before { background: var(--accent); }
.status-step.is-complete span { background: var(--accent); border-color: var(--accent); color: #fff; }
.status-details { min-height: 86px; background: var(--bg); padding: 20px; border: 1px solid var(--border); }
.status-details.skeleton { background: linear-gradient(90deg,var(--bg) 25%,var(--accent-soft) 50%,var(--bg) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.status-details dl { margin: 0; display: grid; grid-template-columns: minmax(75px,1fr) minmax(0,2fr); gap: 10px 24px; }
.status-details dt { color: var(--text-muted); }
.status-details dd { margin: 0; font-family: var(--font-mono); font-weight: 700; color: var(--accent); text-align: right; overflow-wrap: anywhere; }
.status-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.status-actions .btn { min-height: 48px; }
.status-help { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.status-refresh { margin-top: 12px; background: transparent; border: 0; padding: 12px 0; min-height: 44px; font: inherit; font-size: 13px; color: var(--accent-2); text-decoration: underline; cursor: pointer; }
.skip-link { position: absolute; top: -60px; left: 16px; background: #fff; padding: 12px; z-index: 100; }
.skip-link:focus { top: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 600px) {
  .status-header { min-height: 72px; padding: 12px 16px; }
  .status-header img { width: 140px; }
  .status-header span { font-size: 12px; }
  .status-shell { margin: 24px auto 48px; }
  .status-progress { grid-template-columns: 1fr; gap: 12px; }
  .status-step { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 12px; text-align: left; }
  .status-step::before { top: -12px; left: 15px; width: 2px; height: 24px; }
  .status-step span { margin: 0; }
  .status-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .status-details.skeleton { animation: none; } }
.promo-panel { margin:0 0 24px; padding:24px; background:var(--accent-soft); border:1px solid var(--border); border-radius:var(--radius); }
.promo-panel label { display:block; margin-bottom:8px; color:var(--accent); font-size:16px; font-weight:700; }
.promo-controls { display:flex; gap:12px; align-items:stretch; flex-wrap:wrap; }
.promo-controls input { flex:1 1 180px; min-width:0; max-width:360px; padding:12px 14px; border:1px solid var(--border-strong); border-radius:var(--radius-sm); background:var(--surface); font:inherit; font-size:16px; color:var(--text); }
.promo-controls .btn-primary { color:#fff; }
.promo-controls [hidden] { display:none; }
.promo-panel p { margin:12px 0 0; font-size:13px; line-height:1.6; color:var(--accent); }
.promo-panel p.is-error { color:#9b2020; }
.member-panel { background:#fff; }
.member-panel [hidden] { display:none !important; }
.member-panel summary { cursor:pointer; color:var(--accent); font-size:16px; line-height:1.5; }
.member-panel summary .member-sub { display:block; margin-top:4px; font-size:13px; font-weight:400; }
.member-panel details[open] summary { margin-bottom:12px; }
.member-panel .promo-controls + .promo-controls { margin-top:10px; }
.member-panel .member-in { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.member-panel .member-in p { margin:0; font-size:15px; }
.member-panel #memberStatus:empty { display:none; }
.promo-controls input:focus-visible, .promo-controls button:focus-visible { outline:2px solid var(--accent-2); outline-offset:3px; }
.promo-review { font-weight:600; color:var(--accent); font-size:14px; }
@media(max-width:600px) {
  .promo-panel { padding:16px; }
  .promo-controls { gap:8px; }
  .promo-controls input { flex-basis:100%; max-width:none; }
  .promo-controls button { flex:1; }
}
.order-wrap { background:#fff; border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow: 0 2px 0 rgba(11,37,69,0.02); }
.order-table { width:100%; border-collapse:collapse; font-size:15px; }
.order-table thead th { background: #F9FAFB; color: var(--text-muted); font-weight:600; font-size:11px; text-transform:uppercase; letter-spacing:.12em; text-align:right; padding:14px 16px; border-bottom:1px solid var(--border); }
.order-table thead th.col-item { text-align:left; }
.order-table thead th span { display:block; font-size:10px; letter-spacing:.08em; color:#8A929E; font-weight:500; text-transform:uppercase; margin-top:2px; }
.order-table tbody td { padding:16px; border-bottom:1px solid var(--border); text-align:right; vertical-align:middle; font-variant-numeric: tabular-nums lining-nums; }
.order-table tbody tr:last-child td { border-bottom:none; }
.order-table tbody tr.is-active { background:#F5F9FC; }
.order-table tbody tr.is-active td { color: var(--accent); }
.order-table .col-item { text-align:left; }
.order-table .col-item strong { display:block; font-family:'Oswald','Arial Narrow',sans-serif; font-weight:700; letter-spacing:.03em; text-transform:uppercase; font-size:16px; color:var(--text); }
.order-table .col-item span { display:block; font-size:12px; color:var(--text-muted); margin-top:2px; letter-spacing:.04em; }
.order-table .col-item span.msrp-note { color:var(--accent, #1E5F8A); font-weight:600; }
.tier-cell { font-family:'JetBrains Mono',monospace; font-weight:700; font-size:13px; color:var(--accent-2); }
.vial-cell { font-family:'JetBrains Mono',monospace; font-weight:500; color:var(--text); }
.total-cell { font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--accent); }
.qty { display:inline-flex; align-items:center; border:1px solid var(--border); border-radius:8px; overflow:hidden; background:#fff; }
.qty-btn { width:34px; height:34px; border:none; background:#F4F6F8; color:var(--accent); font-size:18px; font-weight:700; cursor:pointer; line-height:1; padding:0; }
.qty-btn:hover { background: var(--accent); color:#fff; }
.qty-input { width:52px; height:34px; border:none; text-align:center; font-family:'JetBrains Mono',monospace; font-size:15px; font-weight:600; color:var(--accent); background:transparent; -moz-appearance:textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.qty-input:focus { outline: 2px solid var(--accent-2); outline-offset:1px; }

.order-summary { display:flex; align-items:center; justify-content:flex-end; gap:28px; flex-wrap:wrap; padding:20px 24px; background: var(--accent); color:#fff; }
.summary-line { display:flex; flex-direction:column; align-items:flex-end; line-height:1.1; }
.summary-line span { font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.6); font-weight:500; }
.summary-line strong { font-family:'JetBrains Mono',monospace; font-size:18px; font-weight:700; color:#fff; margin-top:4px; }
.summary-total strong { font-size:26px; color:#FFC553; }
.summary-note { flex-basis:100%; text-align:right; font-size:11px; color:rgba(255,255,255,.55); margin:0; letter-spacing:.02em; }
.summary-cta { display:flex; gap:16px; margin-left:auto; align-items:center; }
/* Primary CTA on the dark navy summary bar — gold so it pops against navy */
.summary-cta .btn-primary { background:#FFC553; color:#0B2545; border-color:#FFC553; font-weight:700; padding:16px 30px; font-size:15px; letter-spacing:.01em; box-shadow: 0 1px 0 rgba(0,0,0,.15), 0 6px 14px rgba(255,197,83,.25); }
.summary-cta .btn-primary:hover { background:#FFD375; border-color:#FFD375; }
.summary-cta .btn-primary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Reset — subtle text link, not a button */
.summary-cta .btn-ghost { color:rgba(255,255,255,.6); border:none; background:transparent; padding:6px 4px; font-size:12px; font-weight:500; text-transform:uppercase; letter-spacing:.1em; text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,.25); }
.summary-cta .btn-ghost:hover { color:#fff; text-decoration-color:rgba(255,255,255,.6); background:transparent; border:none; }

.tier-legend { display:flex; flex-wrap:wrap; gap:16px 22px; padding:14px 20px; background:#F9FAFB; border-top:1px solid var(--border); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); font-weight:600; }
.tier-legend .tier-note { text-transform:none; letter-spacing:0; font-weight:500; color:var(--text-muted); font-size:12px; }
.tier-legend em { font-style:normal; color:var(--accent); font-family:'JetBrains Mono',monospace; margin-left:4px; letter-spacing:0; text-transform:none; }

@media (max-width: 720px) {
  .order-table thead { display:none; }
  .order-table, .order-table tbody, .order-table tr, .order-table td { display:block; width:100%; }
  .order-table tbody tr { padding:14px 16px; border-bottom:1px solid var(--border); }
  .order-table tbody td { padding:6px 0; border:none; text-align:left; display:flex; justify-content:space-between; align-items:center; }
  .order-table tbody td.col-item { display:block; margin-bottom:8px; }
  .order-table tbody td::before { content: attr(data-label); font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:var(--text-muted); font-weight:600; }
  .order-table .col-kits::before { content: 'Boxes'; }
  .order-table .tier-cell::before { content: 'Tier'; }
  .order-table .vial-cell::before { content: '$ / vial'; }
  .order-table .total-cell::before { content: 'Line total'; }
  .order-summary { flex-direction:column; align-items:stretch; gap:12px; }
  .summary-line { flex-direction:row; justify-content:space-between; align-items:center; }
  .summary-line span { font-size:12px; }
  .summary-cta { margin-left:0; }
  .summary-cta .btn { flex:1; text-align:center; }
}

/* ---------- Multi-page additions ---------- */

/* Current-page nav emphasis */
.nav a.is-current:not(.btn) { color: var(--accent); position: relative; }
.nav a.is-current:not(.btn)::after {
  content:''; position:absolute; left:0; right:0; bottom:-6px;
  height:2px; background: var(--accent); border-radius:2px;
}

/* CTA strip (home + pricing footer) */
.cta-strip { padding-top:56px; padding-bottom:56px; }
.cta-strip-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
  padding:32px; background:#fff; border:1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cta-strip-inner h2, .cta-strip-inner h3 { margin: 6px 0 8px; }
.cta-strip-inner .section-lead { margin:0; max-width:520px; }
.cta-strip-btns { display:flex; gap:12px; flex-wrap:wrap; }

/* Line price in order-review list on contact page */
#orderReviewList { list-style:none; margin:0; padding:0; }
#orderReviewList li {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0; border-bottom:1px dashed var(--border);
  font-size:14px;
}
#orderReviewList li:last-child { border-bottom:none; }
#orderReviewList .line-price {
  font-family:'JetBrains Mono',monospace; font-weight:700; color: var(--text);
}

/* Empty-order notice on contact */
.form-empty p { margin:8px 0 0; color: var(--text-muted); font-size:14px; }
.form-empty a { color: var(--accent-2); font-weight:600; }

/* Submit error message */
.form-error {
  padding:12px 14px; background:#FDECEC; color:#8A1F1F;
  border:1px solid #F1B4B4; border-radius: var(--radius);
  font-size:14px;
}

/* Buttons on dark section */
.guarantee-cta { display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }
.btn-on-dark { color:#fff; border-color: rgba(255,255,255,.4); background:transparent; }
.btn-on-dark:hover { background: rgba(255,255,255,.08); border-color:#fff; }

/* Ensure [hidden] beats other displays */
[hidden] { display: none !important; }

/* Sold-out strengths stay listed but cannot be ordered. */
.sold-out-tag { display: inline-block; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #F6E3E3; color: #9B2C2C; letter-spacing: .04em; vertical-align: middle; }
.pill.pill-sold-out { background: #F6E3E3; color: #9B2C2C; }
tr.is-sold-out td, .product-card.is-sold-out h3, .product-card.is-sold-out .product-meta { color: var(--text-muted); }
tr.is-sold-out .qty-btn, tr.is-sold-out .qty-input { opacity: .45; cursor: not-allowed; }

/* Third-party COA buttons linking to A.R.C Trace (Dodger blue) */
.product-card { min-width:0; }
.coa-link { display:grid; grid-template-columns:auto auto; justify-content:center; align-items:center; column-gap:8px; row-gap:8px; width:100%; margin-top:16px; padding:12px 12px 10px; background:#1E90FF; color:#fff; border:2px solid #1E90FF; border-radius:10px; line-height:1.1; text-decoration:none; box-shadow:0 6px 16px rgba(30,144,255,.35); transition:transform .12s ease, box-shadow .12s ease, background .12s ease; }
.coa-link svg { width:22px; height:22px; max-width:none; flex:none; }
.coa-link span { font-size:18px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; white-space:nowrap; color:#fff; text-shadow:0 1px 1px rgba(0,60,130,.35); }
.coa-link b { grid-column:1 / -1; justify-self:stretch; text-align:center; font-size:15px; font-weight:800; background:#fff; color:#0B5CB8; padding:8px 10px; border-radius:7px; }
.coa-link:hover, .coa-link:focus-visible { background:#3AA0FF; border-color:#3AA0FF; color:#fff; transform:translateY(-1px); box-shadow:0 8px 20px rgba(30,144,255,.45); }
.coa-link:focus-visible { outline:3px solid #0B2545; outline-offset:2px; }
@media (min-width: 961px) and (max-width: 1100px) { .coa-link span { font-size:15px; letter-spacing:.01em; } }
.order-table .col-item a.coa-link-sm { display:flex; align-items:center; width:fit-content; margin-top:10px; padding:7px 7px 7px 12px; gap:10px; }
.order-table .col-item a.coa-link-sm svg { width:18px; height:18px; }
.order-table .col-item a.coa-link-sm span { display:inline; margin:0; font-size:15px; color:#fff; letter-spacing:.03em; }
.order-table .col-item a.coa-link-sm b { font-size:13px; padding:6px 10px; }

/* Entry gate: 21+ and research-use-only agreement. */
html.arc-gate-locked, html.arc-gate-locked body { overflow: hidden; }
html.arc-gate-locked body > *:not(#arc-gate) { visibility: hidden; }
.arc-gate {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: #F3F5F7; overflow-y: auto;
}
.arc-gate-card {
  width: 100%; max-width: 480px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 32px 28px; text-align: center;
}
.arc-gate-logo { height: 64px; width: auto; margin: 0 auto 22px; }
.arc-gate-step + .arc-gate-step { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
/* moved below */
.arc-gate-q, .arc-gate-title { font-size: 21px; font-weight: 700; color: var(--accent); margin: 0 0 16px; line-height: 1.3; }
.arc-gate-text { color: var(--text-muted); margin: 0; }
.arc-gate-actions { display: flex; gap: 12px; justify-content: center; }
.arc-gate-btn {
  flex: 1; max-width: 160px; padding: 14px 20px; font: 700 17px/1 var(--font-body);
  border-radius: 10px; cursor: pointer; border: 2px solid var(--accent);
}
.arc-gate-yes { background: #BB261D; border-color: #BB261D; color: #fff; }
.arc-gate-yes:hover:not(:disabled) { background: #9E1F17; border-color: #9E1F17; }
.arc-gate-no { background: #fff; color: var(--accent); }
.arc-gate-no:hover:not(:disabled) { background: var(--surface-alt); }
.arc-gate-btn:disabled { cursor: default; opacity: .55; }
.arc-gate-btn.is-selected { opacity: 1; }
.arc-gate-btn:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }
#arc-gate-q2 { font-size: 18px; }
.arc-gate-step + .arc-gate-step { margin-top: 20px; padding-top: 20px; }
.arc-gate-yes { background: #fff; color: #BB261D; border-color: #BB261D; }
.arc-gate-yes:hover:not(:disabled) { background: #FBECEB; color: #9E1F17; border-color: #9E1F17; }
.arc-gate-yes.is-selected, .arc-gate-yes.is-selected:hover { background: #BB261D; border-color: #BB261D; color: #fff; }
.arc-gate-yes.is-selected::before { content: "\2713  "; }
.arc-gate-hint { font-size: 13px; color: var(--text-muted); margin: 18px 0 0; }

/* On-site Third-Party COA pages (/coa, /coa/<sku>) */
.coa-section { padding-top:28px; }
.coa-container { max-width:980px; }
.coa-backbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.coa-back { display:inline-flex; align-items:center; gap:10px; padding:12px 20px 12px 14px; background:#1E90FF; color:#fff; border-radius:10px; font-weight:800; font-size:17px; letter-spacing:.02em; text-decoration:none; box-shadow:0 6px 16px rgba(30,144,255,.32); transition:background .12s ease, transform .12s ease; }
.coa-back svg { width:20px; height:20px; flex:none; }
.coa-back:hover, .coa-back:focus-visible { background:#3AA0FF; color:#fff; transform:translateY(-1px); }
.coa-back:focus-visible, .coa-all:focus-visible, .coa-pdf:focus-visible, .coa-card:focus-visible { outline:3px solid #0B2545; outline-offset:2px; }
.coa-all { color:#0B5CB8; font-weight:700; text-decoration:none; }
.coa-all:hover { text-decoration:underline; }
.coa-head h1 { margin:8px 0 8px; font-size:clamp(28px,4vw,42px); line-height:1.1; }
.coa-eyebrow { display:inline-flex; align-items:center; gap:8px; color:#0B5CB8; font-weight:800; font-size:14px; letter-spacing:.08em; text-transform:uppercase; }
.coa-eyebrow svg { width:22px; height:22px; }
.coa-lead { color:#4a5868; max-width:62ch; margin:0 0 18px; }
.coa-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px; margin:0 0 20px; padding:0; }
.coa-facts div { background:#F2F8FF; border:1px solid #CFE5FF; border-radius:10px; padding:10px 14px; }
.coa-facts dt { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#4a5868; margin:0 0 4px; }
.coa-facts dd { margin:0; font-weight:700; color:#0B2545; overflow-wrap:anywhere; }
.coa-doc { margin:0; background:#fff; border:1px solid #d9e1ea; border-radius:12px; padding:10px; box-shadow:0 10px 30px rgba(11,37,69,.08); }
.coa-doc img { display:block; width:100%; height:auto; border-radius:6px; }
.coa-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; margin-top:22px; }
.coa-back-lg { font-size:19px; padding:15px 26px 15px 18px; }
.coa-pdf { display:inline-block; padding:12px 18px; border:2px solid #1E90FF; color:#0B5CB8; border-radius:10px; font-weight:700; text-decoration:none; }
.coa-pdf:hover { background:#F2F8FF; }
.coa-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:18px; }
.coa-card { display:flex; flex-direction:column; gap:6px; padding:12px; background:#fff; border:1px solid #d9e1ea; border-radius:12px; text-decoration:none; color:#0B2545; transition:box-shadow .12s ease, transform .12s ease; }
.coa-card:hover { box-shadow:0 10px 24px rgba(11,37,69,.12); transform:translateY(-2px); }
.coa-card img { width:100%; height:auto; aspect-ratio:1600/1100; object-fit:cover; object-position:top; border-radius:6px; border:1px solid #eef1f4; }
.coa-card-sku { font-family:"JetBrains Mono",monospace; font-size:12px; color:#4a5868; letter-spacing:.06em; }
.coa-card-meta { font-size:13px; color:#4a5868; }
.coa-card-cta { margin-top:4px; align-self:flex-start; background:#1E90FF; color:#fff; font-weight:800; padding:7px 12px; border-radius:8px; font-size:14px; }
@media (max-width:600px) {
  .coa-backbar-top { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); margin:0 -16px 16px; padding:10px 16px; border-bottom:1px solid #e5eaf0; }
  .coa-back { font-size:16px; }
  .coa-actions { flex-direction:column; align-items:stretch; text-align:center; }
  .coa-back-lg { justify-content:center; }
}

.member-terms { display:block; margin-top:4px; font-size:13px; color:var(--text-muted); }
.terms-block .ship-options { display:grid; gap:10px; }
.terms-note { margin:10px 0 0; font-size:13px; color:var(--text-muted); }
.terms-note.is-error { color:#9b2c2c; }
.terms-split { display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--text-muted); margin-top:6px; }

.terms-block .ship-opt:has(input:disabled) { opacity:.5; cursor:not-allowed; }
.terms-block .ship-opt:has(input:disabled) * { cursor:not-allowed; }

/* Free GHK-Cu Serum bonus (week of Oct 12, 2026; ends Oct 18 11:59 PM PT). */
.bonus-banner[hidden], .bonus-block[hidden] { display:none !important; }
.bonus-banner { margin:0 0 24px; padding:14px 18px; border:1px solid #b8d7c9; background:#f0f8f4; color:#1d6551; border-radius:var(--radius); font-size:14px; line-height:1.6; }
.bonus-banner strong { color:#14513f; }
.bonus-block .bonus-choice { align-items:flex-start; gap:12px; font-size:14px !important; line-height:1.65; color:var(--text); }
.bonus-choice input { flex:0 0 20px; width:20px; height:20px; margin-top:2px; accent-color:var(--accent); }
.bonus-choice span { font-weight:600; }
.bonus-block:has(input:disabled) .bonus-choice { opacity:.55; cursor:not-allowed; }
.bonus-note { margin:0; font-size:13px; line-height:1.65; color:var(--text-muted); }
.bonus-note.is-unlocked { color:#1d6551; }

/* GHK-Cu Serum product photo (Oct 15, 2026) */
.product-card .product-photo { display:block; width:100%; max-width:220px; aspect-ratio:1/1; height:auto; object-fit:cover; margin:4px auto 12px; border-radius:10px; background:#f4f6f9; }
.order-table .col-item img.order-thumb { float:left; width:56px; height:56px; margin:0 12px 0 0; border-radius:8px; object-fit:cover; background:#f4f6f9; }

/* TESA-10 restock reservation (Oct 16, 2026) */
.pill.pill-reserve { background: #FFF1D6; color: #8A5300; }
.reserve-tag { display: inline-block; margin-top: 4px; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #FFF1D6; color: #8A5300; letter-spacing: .02em; vertical-align: middle; }
.reserve-note { margin: 6px 0 0; font-size: 13px; color: #8A5300; }
s.was { color: var(--text-muted, #6b7280); font-weight: 400; margin-right: 4px; }
/* COMING SOON · PREORDER 10% OFF (Oct 16, 2026) */
.preorder-section { padding-bottom: 24px; }
.preorder-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.preorder-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A5300; background: #FFF1D6; padding: 4px 12px; border-radius: 999px; }
.preorder-head h2 { margin: 12px 0 8px; }
.preorder-head p { color: var(--text-muted); margin: 0 0 18px; }
.preorder-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.preorder-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease; }
.preorder-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.preorder-photo { background: linear-gradient(180deg,#DCE6F1 0%,#EEF2F7 100%); aspect-ratio: 6/5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.preorder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preorder-photo-text { flex-direction: column; color: var(--accent); }
.preorder-photo-text span { font-size: 30px; font-weight: 800; letter-spacing: .04em; }
.preorder-photo-text small { font-size: 15px; font-weight: 600; color: var(--accent-2); }
.preorder-body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.preorder-body .product-head { margin-bottom: 8px; gap: 6px; flex-wrap: wrap; }
.preorder-body h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
.preorder-body .product-meta { min-height: 0; margin-bottom: 10px; }
.preorder-price { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--border); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.preorder-price strong { font-family: var(--font-mono); font-size: 19px; color: var(--text); }
.preorder-price span { font-size: 11px; color: var(--text-muted); }
.order-table tr.group-row td, .price-table tr.group-row td { background: var(--surface-alt); padding: 10px 14px; font-size: 13px; text-align: left !important; color: var(--accent); }
.order-table tr.group-row span, .price-table tr.group-row span { color: var(--text-muted); margin-left: 8px; font-size: 12px; }
.order-table .col-item img.order-thumb[src*="preorder"] { object-fit: cover; object-position: center 30%; }
.reserve-tag s { opacity: .75; }
@media (max-width: 1100px) { .preorder-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .preorder-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .preorder-body { padding: 12px 10px 14px; } }
.preferred-note{margin:0 0 12px;padding:10px 14px;border-radius:8px;background:#eef6ee;color:#1f4d2b;font-weight:600;font-size:.95rem}

/* Nov 1, 2026 owner request: the mg strength reads at the same size, weight and color as the product name. */
.order-table .col-item span.mg { font-family:'Oswald','Arial Narrow',sans-serif; font-weight:700; letter-spacing:.03em; text-transform:uppercase; font-size:16px; color:var(--text); margin-top:2px; }
.price-table tbody td.col-item span.mg { font-weight:600; font-size:14px; color:var(--text); margin-top:2px; }
tr.is-sold-out td.col-item span.mg { color: var(--text-muted); }

/* Nov 3, 2026 owner request: SEMAX-10 shown at the top, not orderable until Monday, Nov 9 */
.launch-tag { display: block; width: max-content; max-width: 100%; margin: 6px 0 2px; font-style: normal; font-size: 20px; line-height: 1.15; font-weight: 800; padding: 6px 14px; border-radius: 10px; background: #0E7A3D; color: #FFFFFF; letter-spacing: .01em; text-transform: uppercase; }
tr.group-launch td { background: #0E7A3D !important; color: #FFFFFF !important; font-size: 18px; }
tr.is-launch td { background: #EAF7EF; opacity: 1 !important; }
.preorder-card.is-launch { outline: 3px solid #0E7A3D; }
.launch-banner, .pp-launch { margin: 4px 0 8px; font-size: 24px; line-height: 1.15; font-weight: 800; color: #FFFFFF; background: #0E7A3D; padding: 8px 12px; border-radius: 10px; text-transform: uppercase; }
.pp-card.is-launch { outline: 3px solid #0E7A3D; }
@media (max-width: 640px) { .launch-tag { font-size: 16px; } .launch-banner, .pp-launch { font-size: 19px; } }
/* Nov 13, 2026: in-lab hold (Glutathione re-compounding) uses the muted sold-out colors, not the green launch banner */
.pp-launch.pp-lab, .pp-card.is-launch .pp-launch.pp-lab { font-size: 15px; background: #F6E3E3; color: #9B2C2C; text-transform: none; letter-spacing: .02em; }
.pp-card.is-launch:has(.pp-lab) { outline: none; }
.pp-card.is-sold-out .qty-btn:disabled, .pp-card.is-sold-out .qty-input:disabled { opacity: .45; cursor: not-allowed; }

/* Nov 5, 2026 owner request: cleaner grouped order list (one vial header per product, strengths underneath) */
.order-table tr.family-row td { padding: 14px 16px 10px; background: #fff; border-bottom: 1px solid var(--border); text-align: left !important; }
.order-table tr.family-row td { display: table-cell; }
.order-table tr.family-row img.family-vial { display: inline-block; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #F4F6F9; vertical-align: middle; margin-right: 12px; }
.order-table tr.family-row strong { font-family: 'Oswald','Arial Narrow',sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; color: var(--text); vertical-align: middle; }
.order-table tr.family-row span { margin-left: 10px; font-size: 12px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.order-table tbody tr.family-row:not(:first-child) td { border-top: 10px solid var(--surface-alt, #F3F5F8); }
.order-table tr.in-family td.col-item > strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.order-table tr.in-family td.col-item { padding-left: 76px; }
.order-table tr.in-family td.col-item span.mg { font-size: 18px; margin-top: 0; }
.order-table tr.group-sold td { color: var(--text-muted); }
@media (max-width: 720px) {
  .order-table tbody tr.family-row { padding: 0; border-bottom: none; }
  .order-table tbody tr.family-row td { display: flex; align-items: center; padding: 14px 16px 6px; border-bottom: none; }
  .order-table tbody tr.family-row:not(:first-child) td { border-top: 10px solid var(--surface-alt, #F3F5F8); }
  .order-table tbody tr.family-row td::before { content: none; }
  .order-table tr.family-row img.family-vial { width: 44px; height: 44px; }
  .order-table tr.family-row span { margin-left: auto; }
  .order-table tbody tr.in-family { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "item kits" "vial total"; align-items: center; column-gap: 12px; row-gap: 0; padding: 10px 16px; border-bottom: 1px solid var(--border); }
  .order-table tbody tr.in-family td { padding: 0; }
  .order-table tbody tr.in-family td::before { content: none; }
  .order-table tbody tr.in-family td.col-item { grid-area: item; margin: 0; padding-left: 0; }
  .order-table tbody tr.in-family td.col-kits { grid-area: kits; justify-content: flex-end; }
  .order-table tbody tr.in-family td.vial-cell { grid-area: vial; justify-content: flex-start; font-size: 13px; color: var(--text-muted); }
  .order-table tbody tr.in-family td.vial-cell::after { content: ' / vial'; margin-left: 3px; }
  .order-table tbody tr.in-family td.tier-cell { display: none; }
  .order-table tbody tr.in-family td.total-cell { grid-area: total; justify-content: flex-end; font-size: 13px; font-weight: 600; }
  .order-table tbody tr.in-family td.col-item span.mg { font-size: 20px; display: inline-block; }
  .order-table tbody tr.in-family td.col-item a.coa-link-sm { display: flex; width: fit-content; margin: 2px 0 4px; padding: 3px 8px; gap: 5px; box-shadow: none; }
  .order-table tbody tr.in-family td.col-item a.coa-link-sm span { font-size: 11px; }
  .order-table tbody tr.in-family td.col-item a.coa-link-sm b { display: none; }
  .order-table tbody tr.in-family td.col-item a.coa-link-sm svg { width: 13px; height: 13px; }
  .order-table tbody tr.in-family td.col-item > span:not(.mg) { font-size: 11px; }
  .order-table tbody tr.in-family .qty-btn { width: 40px; height: 40px; }
}
@media (max-width: 720px) {
  .order-table tbody tr.family-row td { justify-content: flex-start; gap: 12px; }
  .order-table tr.family-row img.family-vial { margin-right: 0; }
  .order-table tbody tr.in-family[data-sku="GHKS-30"] td.vial-cell::after { content: ' / bottle'; }
}
.order-table tr.in-family.show-name td.col-item > strong { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-right: 8px; }
.order-table tr.in-family.show-name td.col-item { padding-left: 16px; }
.order-table tbody tr.group-row td { text-align: left !important; }
@media (max-width: 720px) {
  .order-table tbody tr.in-family.show-name td.col-item > strong { display: inline; font-size: 16px; }
  .order-table tbody tr.in-family.show-name td.col-item span.mg { font-size: 16px; }
  .order-table tbody tr.in-family.show-name td.col-item { padding-left: 0; }
  .order-table tbody tr.group-row td { justify-content: flex-start !important; }
}
@media (max-width: 720px) {
  .order-table tbody tr.in-family { grid-template-columns: minmax(0,1fr) auto; }
  .order-table tbody tr.in-family td.col-item { min-width: 0; }
  .order-table tbody tr.in-family.show-name td.col-item em { font-size: 11px; padding: 3px 8px; letter-spacing: .02em; white-space: normal; }
}
/* Nov 5, 2026 owner request: no header pictures; small alias beside Retatrutide */
.order-table tr.family-row small.family-aka { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--text-muted); letter-spacing: .02em; text-transform: none; vertical-align: middle; }
.order-table tr.in-family td.col-item { padding-left: 16px; }
@media (max-width: 720px) {
  .order-table tbody tr.family-row td { gap: 8px; }
  .order-table tr.family-row small.family-aka { margin-left: 0; font-size: 11px; }
  .order-table tbody tr.in-family td.col-item { padding-left: 0; }
}
/* Nov 5, 2026: GLOW free-KPV note */
.order-table td.col-item span.free-note { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: #0f7a3e; }
.order-table td.col-item span.free-note small { font-size: 11px; font-weight: 500; color: var(--text-muted); }
@media (max-width: 720px) { .order-table tbody tr.in-family td.col-item > span.free-note { font-size: 12px; } }

/* Nov 5, 2026 owner request: alternating compound tints (light blue / very light pink) so each product group stands apart. */
.order-table tbody tr.tint-blue, .order-table tbody tr.tint-blue td { background: #EAF3FC; }
.order-table tbody tr.tint-pink, .order-table tbody tr.tint-pink td { background: #FDEFF2; }
.order-table tbody tr.tint-blue.is-active, .order-table tbody tr.tint-blue.is-active td { background: #DCEBFA; }
.order-table tbody tr.tint-pink.is-active, .order-table tbody tr.tint-pink.is-active td { background: #FBE2E8; }
.order-table tbody tr.tint-blue .qty-input, .order-table tbody tr.tint-pink .qty-input { background: #fff; }
.order-table tr.family-row small.family-aka span.nw { margin: 0; font-size: inherit; letter-spacing: inherit; text-transform: none; color: inherit; white-space: nowrap; }

/* Nov 6, 2026: In-house COA button inside narrower preorder cards (same style, scaled to fit) */
.preorder-body .coa-link { padding:10px 8px 8px; column-gap:6px; }
.preorder-body .coa-link svg { width:18px; height:18px; }
.preorder-body .coa-link span { font-size:clamp(12px, 3.4vw, 16px); letter-spacing:.01em; }
.preorder-body .coa-link b { font-size:13px; padding:6px 8px; }

/* Nov 10, 2026: limited-quantity note (SS-31 50 mg) */
.stock-left { display: inline-block; width: max-content; max-width: max-content; align-self: flex-start; margin-left: 6px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #FFF4D6; color: #8A5A00; vertical-align: middle; }

/* Nov 12, 2026 owner request: internal color categories (names are not shown to customers).
   glp = orange, gh = blue, brain = purple, heal = green, skin = pink, long = teal, supply = gray. */
.cat-glp    { --cat:#F97316; --cat-bg:#FFF5EC; --cat-bg2:#FFE8D4; }
.cat-gh     { --cat:#2563EB; --cat-bg:#F0F5FF; --cat-bg2:#DFE9FE; }
.cat-brain  { --cat:#7C3AED; --cat-bg:#F6F2FF; --cat-bg2:#EAE1FE; }
.cat-heal   { --cat:#16A34A; --cat-bg:#EFFAF3; --cat-bg2:#DAF3E3; }
.cat-skin   { --cat:#EC4899; --cat-bg:#FEF1F7; --cat-bg2:#FCE1EE; }
.cat-long   { --cat:#0D9488; --cat-bg:#ECF9F7; --cat-bg2:#D4F2EE; }
.cat-supply { --cat:#6B7280; --cat-bg:#F6F7F9; --cat-bg2:#EBEDF0; }
/* Nov 12, 2026: new-arrival highlight (Oxytocin Acetate 10 mg) */
.cat-new    { --cat:#0E7A3D; --cat-bg:#EAF7EF; --cat-bg2:#D3EFDD; }
.pill.pill-new, .new-tag { background:#0E7A3D; color:#FFFFFF; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.new-tag { display:inline-block; margin-left:8px; font-style:normal; font-size:11px; padding:2px 8px; border-radius:999px; vertical-align:middle; }
.product-head .pill-new { margin-left:auto; margin-right:6px; }
/* Order builder */
.order-table tbody tr[class*="cat-"], .order-table tbody tr[class*="cat-"] td { background: var(--cat-bg); }
.order-table tbody tr[class*="cat-"].is-active, .order-table tbody tr[class*="cat-"].is-active td { background: var(--cat-bg2); }
.order-table tbody tr[class*="cat-"] td:first-child { box-shadow: inset 4px 0 0 var(--cat); }
.order-table tbody tr[class*="cat-"] .qty-input { background: #fff; }
.order-table tbody tr.family-row[class*="cat-"]:not(:first-child) td { border-top: 4px solid #fff; }
.order-table tbody tr.family-row.cat-first:not(:first-child) td { border-top: 14px solid var(--surface-alt, #F3F5F8); }
@media (max-width: 720px) {
  .order-table tbody tr[class*="cat-"] { box-shadow: inset 4px 0 0 var(--cat); }
  .order-table tbody tr[class*="cat-"] td:first-child { box-shadow: none; }
  .order-table tbody tr.family-row[class*="cat-"] td { padding-left: 18px; }
  .order-table tbody tr.in-family[class*="cat-"] { padding-left: 18px; }
}
/* Price list */
.price-table tbody tr[class*="cat-"] td { background: var(--cat-bg); }
.price-table tbody tr[class*="cat-"] td.best-col { background: var(--cat-bg2); }
.price-table tbody tr[class*="cat-"] td:first-child { box-shadow: inset 4px 0 0 var(--cat); }
.price-table tbody tr.cat-first:not(:first-child) td { border-top: 10px solid var(--surface-alt, #F3F5F8); }
/* Catalog cards */
.product-card[class*="cat-"], .preorder-card[class*="cat-"] { background: var(--cat-bg); border-top: 4px solid var(--cat); }
.preorder-card[class*="cat-"] .preorder-body { background: var(--cat-bg); }
