/* Bioré Labatoire: warm paper, ink, one navy accent from the vial caps. One sturdy sans (Geist), no thin weights. */
:root {
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --paper-3: #e1ddd3;
  --ink: #15171c;
  --ink-2: #4a4e57;
  --ink-3: #767a83;
  --line: #d9d5cc;
  --line-strong: #bcb7ac;
  --accent: #1f2d4e;
  --accent-hover: #2c3e68;
  --on-accent: #f4f2ed;
  --ok: #2f5d46;
  --bad: #9b2c2c;
  --font: "Geist", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --page: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --photo: #e4e2dd; /* backdrop colour of the product renders, shown while a photo loads */
  --shadow: 0 2px 4px rgba(31, 45, 78, 0.06), 0 18px 40px -16px rgba(31, 45, 78, 0.28);
  --z-header: 20;
  --z-overlay: 40;
  --z-toast: 50;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.28 0 0 0 0 0.25 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 80px); }
h2 { font-size: clamp(32px, 3.8vw, 54px); }
h3 { font-size: 22px; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
main { position: relative; z-index: 2; }
.section { padding: clamp(72px, 9vw, 128px) 0 clamp(80px, 10vw, 140px); }
.section.tint { background: var(--paper-2); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { margin: 0; }
.head p { margin: 12px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: var(--on-accent);
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 0 24px; min-height: 50px; font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 18px -10px rgba(31,45,78,.6);
  transition: background 0.25s var(--ease), transform 0.25s var(--spring), box-shadow 0.25s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 14px 24px -12px rgba(31,45,78,.7); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.line:hover { border-color: var(--ink); }
.btn.block { width: 100%; }
.text-link { font-weight: 600; border-bottom: 2px solid var(--line-strong); padding-bottom: 2px; transition: border-color 0.2s; white-space: nowrap; }
.text-link:hover { border-color: var(--ink); }

/* Header, laid out like the reference shop: links in the middle, icons on the right */
.header { position: sticky; top: 0; z-index: var(--z-header); background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; }
/* Logo: ring mark + BIORÉ (the I is a vial) over LABATOIRE */
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand .ring { width: 34px; height: 34px; color: var(--accent); flex: none; }
.wordmark { display: grid; gap: 4px; line-height: 1; justify-items: start; }
.wm-name { font-size: 21px; font-weight: 800; letter-spacing: 0.05em; white-space: nowrap; }
.wm-name .vi { height: 0.84em; width: auto; vertical-align: baseline; margin: 0 0.04em; color: var(--accent); }
.wm-sub { font-size: 7.5px; font-weight: 600; letter-spacing: 0.42em; color: var(--ink-2); }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-3); padding: 6px 0; position: relative; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.tools { justify-self: end; display: flex; align-items: center; gap: 2px; }
.tool { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: none; border: 0; cursor: pointer; color: var(--ink); transition: background 0.2s; }
.tool:hover { background: var(--paper-2); }
.tool svg { width: 20px; height: 20px; }
.tool .n { position: absolute; top: 3px; right: 2px; font-size: 11px; font-weight: 600; background: var(--accent); color: var(--paper); border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; }
.tool .n[hidden] { display: none; }
.tool .n.bump { animation: bump 0.5s var(--spring); }
@keyframes bump { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.menu-btn { display: none; }

/* Hero: headline, two buttons and the research-use line on the left, one product photo on the right */
.hero { padding: clamp(36px, 5vw, 80px) 0 clamp(56px, 7vw, 100px); overflow: hidden; background: radial-gradient(ellipse 60% 70% at 78% 45%, #fbfaf7 0%, rgba(251, 250, 247, 0) 70%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 26px; }
.hero-copy > p { font-size: 18px; max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn.square { border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; font-weight: 700; min-height: 54px; padding: 0 30px; }
.btn.square.line { border: 1.5px solid var(--accent); color: var(--accent); background: transparent; }
.btn.square.line:hover { background: rgba(31, 45, 78, 0.05); }
.hero-copy > .ruo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 26px 0 0; max-width: none; font-size: 12px; color: var(--ink-3); }
.ruo-line b { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.ruo-line span { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; }
.ruo-line span::before { content: ""; width: 1px; height: 12px; background: var(--line-strong); }
.hero-photo { display: block; justify-self: end; width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--photo); box-shadow: 0 34px 70px -34px rgba(31, 45, 78, 0.38); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hero-photo:hover img { transform: scale(1.02); }

/* Vial art behaviour */
img.vial { display: block; user-select: none; -webkit-user-drag: none; }
/* Pointer-following tilt with a soft glare on photo tiles (cards and the product gallery) */
[data-tilt] { transition: transform 0.45s var(--ease), box-shadow 0.4s var(--ease); }
.card:hover [data-tilt], .gallery[data-tilt]:hover { transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease); background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%); }

/* Marquee of compound names */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; padding: 0 22px; white-space: nowrap; color: var(--ink); }
.marquee span.o { color: var(--line-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.small { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 14px; }
.card { position: relative; display: flex; flex-direction: column; }
.card .pic { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--photo); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.card .pic::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(31, 45, 78, 0.05); pointer-events: none; }
.card:hover .pic { box-shadow: var(--shadow); }
.card .vial { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 0.7s var(--ease); }
.card:hover .vial { transform: scale(1.13) translateY(-1.2%); }
.card:hover .glare { opacity: 1; }
.card .pic { z-index: 2; }
.pic-link { position: absolute; inset: 0; z-index: 1; }
.flag { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 600; background: var(--paper); color: var(--ink); border-radius: 6px; padding: 3px 8px; z-index: 2; }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 42px; font-size: 14px; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity 0.3s var(--ease), transform 0.35s var(--spring), background 0.25s; }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
.card .meta { margin-top: 14px; }
.card .name { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; margin: 2px 0 2px; }
.card .name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .sub { font-size: 14px; color: var(--ink-2); }

/* Policy pages and the links to them */
.policy-grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.policy-nav { position: sticky; top: 100px; display: grid; gap: 2px; }
.policy-nav a { padding: 9px 12px; border-radius: var(--r-sm); font-weight: 500; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.policy-nav a:hover { background: var(--paper-2); color: var(--ink); }
.policy-nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); font-weight: 600; }
.policy h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 8px; }
.policy .updated { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.policy .lead { font-size: 19px; color: var(--ink); }
.policy h2 { font-size: 22px; letter-spacing: -0.015em; margin: 38px 0 10px; }
.policy p, .policy li { max-width: 70ch; color: var(--ink-2); }
.policy ul { padding-left: 20px; margin: 0 0 1em; }
.policy li { margin-bottom: 6px; }
.policy li b { color: var(--ink); font-weight: 600; }
.policy a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.policy a:hover { text-decoration-color: var(--ink); }
.policy-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.policy-links a { display: grid; gap: 6px; background: var(--paper); border-radius: var(--r-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease); }
.policy-links a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.policy-links b { font-size: 18px; letter-spacing: -0.01em; }
.policy-links span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* Quality */
.quality { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.quality .media { border-radius: var(--r-lg); overflow: hidden; }
.quality .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.quality .media.in img { transform: scale(1); }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.checks svg { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.checks h3 { font-size: 19px; margin-bottom: 4px; }
.checks p { margin: 0; }

/* Partners */
.partners { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.partners-row { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 32px; align-items: center; }
.partners-head .kicker { margin-bottom: 8px; }
.partners-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }
.partners-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partners-list li { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 0 12px; text-align: center; font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink-3); border-left: 1px solid var(--line); transition: color 0.25s; }
.partners-list li:hover { color: var(--ink); }
.plogo { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.plogo svg { width: 30px; height: 30px; flex: none; }
.plogo span { white-space: nowrap; }
.plogo { color: inherit; }
.plogo.p-ph span { font-size: clamp(18px, 1.6vw, 21px); font-weight: 400; letter-spacing: -0.02em; }
.plogo.p-ph b { font-weight: 800; }
.plogo.p-amp span { display: flex; flex-direction: column; font-size: 16px; font-weight: 800; letter-spacing: 0.14em; line-height: 1; text-align: left; }
.plogo.p-amp small { font-size: 9px; font-weight: 600; letter-spacing: 0.42em; margin-top: 4px; }
.plogo.p-ap span { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
@media (max-width: 820px) {
  .partners-row { grid-template-columns: 1fr; gap: 20px; }
  .partners-list { grid-template-columns: 1fr; }
  .partners-list li { justify-content: flex-start; min-height: 0; padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
}

/* Partner band */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; }
.band > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.band-card { position: relative; margin: clamp(16px, 3vw, 36px); max-width: 540px; background: var(--paper); border-radius: var(--r-md); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.band-card h2 { font-size: clamp(30px, 3vw, 44px); }

/* Footer */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: clamp(56px, 7vw, 96px) 0 48px; }
.footer h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 16px; }
.signup { display: flex; gap: 8px; max-width: 440px; margin-top: 8px; }
.signup input { flex: 1; min-width: 0; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 18px; min-height: 50px; outline: none; transition: border-color 0.2s; }
.signup input:focus { border-color: var(--ink); }
.signup-note { font-size: 14px; color: var(--ok); margin-top: 10px; min-height: 1.4em; }
.foot-col h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 6px 0 12px; }
.foot-col a { display: block; padding: 4px 0; color: var(--ink-2); transition: color 0.2s, transform 0.25s var(--ease); }
.foot-col a:hover { color: var(--ink); transform: translateX(3px); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Catalog, with the reference shop's toolbar: item count, sort menu, grid size */
.page-title { padding: clamp(36px, 5vw, 64px) 0 8px; }
.page-title h1 { font-size: clamp(44px, 5.4vw, 76px); margin-bottom: 12px; }
.toolbar { display: flex; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 18px 0; margin: 18px 0 32px; border-block: 1px solid var(--line); }
.search { position: relative; flex: 1; max-width: 340px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; color: var(--ink-3); }
.search input { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 0 16px 0 44px; outline: none; transition: border-color 0.2s; }
.search input:focus { border-color: var(--ink); }
.view { display: flex; align-items: center; gap: 18px; color: var(--ink-2); font-size: 15px; }
.sort { position: relative; }
.sort-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; padding: 8px 2px; color: var(--ink); }
.sort-btn svg { width: 14px; transition: transform 0.3s var(--ease); }
.sort-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); padding: 6px; z-index: 10; list-style: none; margin: 0; opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.25s var(--ease); }
.sort-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.sort-menu li { display: grid; grid-template-columns: 22px 1fr; align-items: center; padding: 9px 12px 9px 8px; border-radius: var(--r-sm); cursor: pointer; font-size: 15px; color: var(--ink-2); }
.sort-menu li:hover, .sort-menu li.focus { background: var(--paper-2); color: var(--ink); }
.sort-menu li[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.sort-menu li svg { width: 15px; visibility: hidden; }
.sort-menu li[aria-selected="true"] svg { visibility: visible; }
.density { display: flex; gap: 2px; }
.density button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; color: var(--ink-3); transition: background 0.2s, color 0.2s; }
.density button svg { width: 17px; height: 17px; }
.density button[aria-pressed="true"] { color: var(--ink); background: var(--paper-2); }
.no-results { grid-column: 1 / -1; padding: 60px 0; text-align: center; }
.no-results p { margin: 0 auto 18px; }

/* Product page */
.crumbs { font-size: 14px; color: var(--ink-3); padding: 28px 0 22px; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(72px, 9vw, 120px); align-items: start; }
/* Sticky photo column that always fits the screen, thumbnails included */
.pdp-media { position: sticky; top: 96px; width: 100%; max-width: max(360px, calc((100vh - 236px) * 0.8)); }
.gallery { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--photo); cursor: zoom-in; outline-offset: 4px; }
.gallery .vial { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 0.45s var(--ease); }
.gallery:hover .glare { opacity: 1; }
.gallery.zoomed { cursor: zoom-out; transform: none; }
.gallery.zoomed .vial { transform: scale(2.4); transition: transform 0.45s var(--ease), transform-origin 0.12s linear; }
.gallery.zoomed .glare { opacity: 0; }
.thumbs { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.thumb-btn { width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--photo); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s, transform 0.3s var(--spring); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn:hover { transform: translateY(-2px); }
.thumb-btn[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
.thumbs-note { margin-left: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.not-found { padding: clamp(56px, 8vw, 110px) 0; max-width: 640px; }
.page-title .crumbs { padding: 0 0 12px; }
.pdp h1 { font-size: clamp(42px, 4.8vw, 68px); margin-bottom: 6px; }
.pdp .strength-line { font-size: 17px; font-weight: 500; color: var(--ink-2); padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp .lead { font-size: 17px; }
.opt-label { font-size: 14px; font-weight: 600; margin: 26px 0 10px; display: block; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.options.four { grid-template-columns: repeat(4, 1fr); }
.options.three { grid-template-columns: repeat(3, 1fr); }
.option { text-align: left; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 13px 14px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.3s var(--spring); }
.option:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.option[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #fbfaf7; }
.option b { display: block; font-weight: 600; font-size: 15px; }
.option span { font-size: 13px; color: var(--ink-3); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 18px 0 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); }
.qty button { background: none; border: 0; width: 44px; height: 48px; cursor: pointer; font-size: 18px; color: var(--ink-2); border-radius: 999px; }
.qty button:hover { color: var(--ink); }
.qty input { width: 56px; text-align: center; background: none; border: 0; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total-line { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.total-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.quote-note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); margin: 16px 0 6px; }
.quote-note svg { width: 20px; color: var(--accent); }
.pdp h2 { font-size: 28px; margin: 40px 0 14px; }
.pdp ul { padding-left: 18px; color: var(--ink-2); margin: 0 0 1em; }
.pdp li { margin-bottom: 4px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--ink-3); width: 38%; }
.ruo { margin-top: 30px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; background: var(--paper-2); border-radius: var(--r-md); padding: 16px 18px; font-size: 14px; color: var(--ink-2); }
.ruo svg { width: 20px; color: var(--accent); margin-top: 1px; }

/* Contact and Support Hub */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 13px 15px; outline: none; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: var(--bad); font-size: 13px; display: block; margin-top: 4px; }
.field.bad input, .field.bad textarea { border-color: var(--bad); }
.form-ok { color: var(--ok); min-height: 1.5em; }
.contact-side img { width: 100%; aspect-ratio: 14 / 10; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 28px; }
.lede { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); max-width: 30ch; }
/* Support Hub guides: a plain list on the hub, readable articles */
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; gap: 18px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line); transition: background 0.25s var(--ease); }
.post-row:hover { background: rgba(255, 255, 255, 0.45); }
.post-row .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--accent); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.post-row .ico svg { width: 22px; height: 22px; }
.post-row .txt { display: grid; gap: 2px; }
.post-row b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.post-row .txt span { font-size: 15px; color: var(--ink-2); }
.post-row .time { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.post-row .go { width: 20px; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.2s; }
.post-row:hover .go { transform: translateX(4px); color: var(--ink); }
.post-wrap { max-width: calc(760px + 2 * var(--gutter)); }
.post .crumbs { padding-top: clamp(28px, 4vw, 48px); }
.post-head h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 10px; }
.post-meta { max-width: none; font-size: 14px; color: var(--ink-3); padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.post-body { padding-bottom: clamp(64px, 8vw, 110px); }
.post-body .lead { font-size: 19px; color: var(--ink); }
.post-body h2 { font-size: 24px; letter-spacing: -0.015em; margin: 40px 0 10px; }
.post-body p, .post-body li { font-size: 17px; color: var(--ink-2); }
.post-body ul { padding-left: 20px; margin: 0 0 1em; }
.post-body li { margin-bottom: 8px; max-width: 62ch; }
.post-body li b { color: var(--ink); font-weight: 600; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.post-body a:hover { text-decoration-color: var(--ink); }
.post-more h2 { font-size: 28px; margin-bottom: 18px; }
.post-help { margin-top: 28px; }
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq dl { margin: 0; }
.faq dt { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; padding-top: 22px; border-top: 1px solid var(--line); }
.faq dd { margin: 6px 0 22px; color: var(--ink-2); }

/* Quote drawer */
.scrim { position: fixed; inset: 0; background: rgba(21, 23, 28, 0.32); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); z-index: var(--z-overlay); }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(460px, calc(100% - 20px)); background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); z-index: calc(var(--z-overlay) + 1); transform: translateX(calc(100% + 20px)); transition: transform 0.5s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
body.cart-open .scrim, body.menu-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; margin: 0; }
.lines { flex: 1; overflow-y: auto; padding: 4px 22px; }
.lines > .line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; animation: slidein 0.45s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(16px); } }
.line .thumb { width: 64px; height: 80px; border-radius: var(--r-sm); overflow: hidden; background: var(--photo); }
.line .thumb .vial { width: 100%; height: 100%; object-fit: cover; }
.line .t { font-weight: 600; font-size: 15px; line-height: 1.35; }
.line .v { font-size: 13px; color: var(--ink-3); }
.line .row { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.line .qty button { width: 32px; height: 32px; font-size: 15px; }
.line .qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; }
.line .rm { background: none; border: 0; color: var(--ink-3); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.empty { text-align: center; padding: 56px 0; }
.empty p { margin: 0 auto 18px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper-2); }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.drawer-foot small { display: block; color: var(--ink-3); margin-bottom: 14px; font-size: 13px; }
.quote-form { display: grid; gap: 10px; }
.quote-form .field input, .quote-form .field textarea { padding: 10px 13px; }
.quote-form .field textarea { min-height: 70px; }
.demo-msg { font-size: 14px; color: var(--ok); margin-top: 10px; min-height: 1.3em; }

/* Mobile menu, toast, reveal */
.mobile-nav { position: fixed; top: 10px; left: 10px; bottom: 10px; width: min(340px, calc(100% - 20px)); background: var(--paper); border-radius: var(--r-lg); z-index: calc(var(--z-overlay) + 1); transform: translateX(calc(-100% - 20px)); transition: transform 0.45s var(--ease); padding: 22px; display: flex; flex-direction: column; }
body.menu-open .mobile-nav { transform: none; }
.mobile-nav a { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .close-row { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity 0.3s var(--ease), transform 0.35s var(--spring); z-index: var(--z-toast); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .header-inner { grid-template-columns: auto 1fr auto; height: 62px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: -10px; }
  .brand { justify-self: center; font-size: 20px; }
  .hero-grid, .quality, .pdp, .contact-grid, .footer-top, .faq { grid-template-columns: 1fr; }
  .hero-photo { justify-self: center; width: min(100%, 380px); }
  .pdp-media { position: static; max-width: none; }
  .grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
  .grid.small .card .name { font-size: 14px; }
  .grid.small .card .sub, .grid.small .quick { display: none; }
  .quick { opacity: 1; transform: none; min-height: 36px; font-size: 13px; left: 8px; right: 8px; bottom: 8px; }
  .head { flex-direction: column; align-items: start; }
  .band { min-height: 620px; }
  .toolbar { flex-wrap: wrap; }
  .search { max-width: none; flex-basis: 100%; }
  .view { width: 100%; justify-content: space-between; }
  .form .two, .options { grid-template-columns: 1fr; }
  .options.three { grid-template-columns: repeat(3, 1fr); }
  .options.four { grid-template-columns: 1fr 1fr; }
  .post-row { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 14px; padding: 18px 4px; }
  .post-row .time { display: none; }
  .post-row b { font-size: 17px; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-links { grid-template-columns: 1fr; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .footer-base { flex-direction: column; }
}
@media (max-width: 560px) {
  .grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .grid.three { grid-template-columns: 1fr; }
  .thumbs-note { font-size: 12px; }
  .ruo-line span::before { display: none; }
}

/* Age check for first-time visitors */
.age { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(21, 23, 28, 0.58); animation: age-in 0.3s var(--ease); transition: opacity 0.3s var(--ease); }
.age.out { opacity: 0; }
.age-card { width: min(100%, 460px); background: var(--paper); border-radius: 12px; padding: clamp(26px, 5vw, 40px); text-align: center; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45); animation: age-rise 0.45s var(--ease); }
.age-mark { display: flex; justify-content: center; margin-bottom: 18px; }
.age-mark svg { width: 52px; height: 52px; color: var(--accent); }
.age h2 { font-size: clamp(28px, 4vw, 34px); margin-bottom: 10px; }
.age p { margin-left: auto; margin-right: auto; }
.age-actions { display: grid; gap: 10px; margin: 24px 0 18px; }
.age-actions .btn { width: 100%; }
.age-small { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin-bottom: 0; }
.age-small a { text-decoration: underline; text-underline-offset: 2px; }
@keyframes age-in { from { opacity: 0; } }
@keyframes age-rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

/* Crypto-only payment row */
.pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.pay-label { line-height: 1.3; font-weight: 600; color: var(--ink); }
.pay .coins { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.pay .coins li { margin: 0; padding: 0; line-height: 1.3; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.coins svg { width: 18px; height: 18px; color: var(--accent); }
.drawer-foot .pay { margin: 12px 0 0; background: var(--paper); }
