/* Crestova Labs store */
:root {
  --navy: #0A1F5C; --navy-2: #0F2C7A; --royal: #1652D0; --azure: #23A3F5; --silver: #C3CBD6; --ice: #EEF4FC;
  --white: #FFFFFF; --ink: #0A1F5C; --text: #22345E; --muted: #56688C; --line: #D5E0F0; --line-2: #E6EDF7;
  --ok: #11775A; --err: #C0263A;
  --display: "Lexend", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 6px; --r-lg: 10px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lock { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -0.01em; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: .875rem; color: var(--muted); }
.center { text-align: center; }
.strong { font-weight: 600; color: var(--ink); }
sub { font-size: .7em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--display); letter-spacing: -0.005em; border-radius: var(--r); padding: 13px 20px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--primary { background: var(--royal); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--primary:disabled { background: var(--silver); color: #fff; cursor: not-allowed; }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--silver); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); color: #fff; }
.btn--sm { padding: 10px 14px; font-size: .875rem; }
.btn--lg { padding: 16px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.link { font-weight: 500; font-size: .95rem; }

/* announcement + offer + header */
.ruo-bar { background: var(--navy); color: #DCE6F7; font-size: .8rem; text-align: center; padding: 7px 16px; letter-spacing: .01em; }
.masthead { position: sticky; top: 0; z-index: 50; background: var(--white); }
.offerbar { display: flex; align-items: center; justify-content: center; gap: 6px 10px; flex-wrap: wrap; padding: 8px 16px; font-size: .86rem; background: var(--ice); color: var(--navy); border-bottom: 1px solid var(--line); text-align: center; }
.offerbar a { font-weight: 600; }
.offerbar .short { display: none; }
.offerbar.is-active { background: var(--royal); color: #fff; border-color: var(--royal); }
.offerbar.is-active strong { font-weight: 600; background: rgba(255,255,255,.16); padding: 1px 6px; border-radius: 3px; }
.offerbar__dot { width: 7px; height: 7px; border-radius: 50%; background: #9BE2FF; box-shadow: 0 0 0 3px rgba(155,226,255,.25); flex: none; }
.hdr { border-bottom: 1px solid var(--line); background: var(--white); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.hdr__logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--azure); }
.nav a[aria-current="page"] { border-color: var(--royal); color: var(--royal); }
.hdr__tools { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.ibtn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--r); color: var(--ink); cursor: pointer; }
.ibtn:hover { background: var(--ice); }
.ibtn svg { width: 21px; height: 21px; }
.count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--royal); color: #fff; font: 600 .7rem/18px var(--body); text-align: center; }
.menu-btn { display: none; }
.searchbar { border-bottom: 1px solid var(--line); background: var(--white); }
.searchbar form { display: flex; gap: 10px; padding-block: 14px; }
.searchbar input { flex: 1; min-width: 0; }

/* fields */
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=number], select, textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--silver); border-radius: var(--r); padding: 11px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(22,82,208,.14); }
[aria-invalid="true"] { border-color: var(--err) !important; }
label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.err { color: var(--err); font-size: .85rem; margin: 6px 0 0; }
.err a { color: var(--err); }

/* hero */
.hero { padding-block: 64px 72px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; color: var(--navy); }
.hero__lede { font-size: 1.12rem; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero__facts li { padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts b { display: block; font: 600 1.35rem/1.2 var(--display); color: var(--navy); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* analysis plate (signature) */
.plate { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background-color: var(--white);
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 22px 22px; background-position: -1px -1px; overflow: hidden; }
.plate__head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); font-size: .82rem; color: var(--muted); }
.plate__head b { color: var(--navy); font-weight: 600; }
.plate__stage { position: relative; height: 330px; }
.plate__chrom { position: absolute; inset: 18px 14px auto 14px; opacity: .95; }
.plate__vials { position: absolute; right: 4%; bottom: 0; width: 330px; max-width: 62%; height: auto; }
.plate__table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .84rem; border-top: 1px solid var(--line); }
.plate__table th, .plate__table td { padding: 10px 18px; text-align: left; border-right: 1px solid var(--line); }
.plate__table th { font-weight: 500; color: var(--muted); font-size: .76rem; padding-bottom: 0; border-right-color: transparent; }
.plate__table td { color: var(--navy); font-weight: 600; padding-top: 2px; }
.plate__table tr:first-child th { border-right: 1px solid var(--line); }
.plate__table th:last-child, .plate__table td:last-child, .plate__table tr:first-child th:last-child { border-right: 0; }
.chrom { width: 100%; height: auto; }

/* trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--ice); }
.trust ul { list-style: none; margin: 0 auto; padding: 0 32px; max-width: 1240px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { display: flex; gap: 12px; align-items: center; padding: 20px 20px; border-left: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust svg { width: 26px; height: 26px; flex: none; color: var(--royal); }
.trust b { display: block; color: var(--navy); font-weight: 600; font-size: .95rem; }

/* sections */
.sec { padding-block: 80px; }
.sec--ice { background: var(--ice); border-block: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* product grid + card */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; min-width: 0; }
.card__img { position: relative; display: block; background: var(--ice); border-bottom: 1px solid var(--line); padding: 18px 0 8px;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 18px 18px; }
.card__img .vial { width: 68%; margin: 0 auto; height: auto; transition: transform .25s ease; }
.card__img:hover .vial { transform: translateY(-4px); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 8px; border-radius: 3px; }
.badge--lg { top: 16px; left: 16px; font-size: .8rem; padding: 6px 10px; }
.badge[hidden] { display: none; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .78rem; color: var(--muted); margin: 0 0 4px; }
.card__name { font-size: 1.08rem; margin: 0 0 12px; }
.card__name a { color: var(--ink); text-decoration: none; }
.card__name a:hover { color: var(--royal); }
.card__spec { margin: 0 0 16px; font-size: .82rem; }
.card__spec div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.card__spec div:last-child { border-bottom: 1px solid var(--line-2); }
.card__spec dt { color: var(--muted); }
.card__spec dd { margin: 0; color: var(--ink); text-align: right; font-weight: 500; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { margin: 0; font: 600 1.15rem/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.price span { font: 400 .8rem var(--body); color: var(--muted); }

/* categories index */
.index { border-top: 1px solid var(--navy); }
.index a { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 2fr) auto 24px; gap: 24px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.index a:hover { background: var(--ice); }
.index a:hover .index__arrow { transform: translateX(3px); color: var(--royal); }
.index__icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.index__icon svg { width: 34px; height: 34px; color: var(--royal); }
.index h3 { margin: 0; font-size: 1.15rem; }
.index p { margin: 0; color: var(--muted); font-size: .93rem; }
.index__n { font-size: .85rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.index__arrow { width: 20px; height: 20px; color: var(--silver); transition: transform .15s; }
.kitoffer { margin-top: 32px; display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; background: var(--white); }
.kitoffer .kit { width: 180px; height: auto; }
.kitoffer h3 { margin: 0 0 4px; font-size: 1.2rem; }
.kitoffer p { margin: 0; color: var(--muted); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--navy); counter-reset: s; }
.steps li { padding: 22px 24px 0 0; counter-increment: s; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--royal); color: var(--royal); border-radius: 50%; font: 600 .85rem/1 var(--display); margin-bottom: 16px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }
.steps .meta { margin-top: 12px; font-size: .8rem; color: var(--navy); }
.coa-strip { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--white); }

/* two-col info */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.dtable { width: 100%; border-collapse: collapse; font-size: .93rem; }
.dtable caption { text-align: left; font: 600 1.15rem var(--display); color: var(--ink); padding-bottom: 12px; }
.dtable th, .dtable td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 16px; }
.dtable td { color: var(--ink); }
.dtable thead th { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--navy); width: auto; }

/* faq */
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 2px; font: 500 1.02rem/1.4 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.5px solid var(--royal); border-bottom: 1.5px solid var(--royal); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 2px 20px; color: var(--muted); max-width: 72ch; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.3rem; margin-bottom: 14px; }

/* newsletter */
.news { background: var(--navy); color: #C9D6EF; }
.news .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 56px; }
.news h2 { color: #fff; margin-bottom: 8px; }
.news p { margin: 0; }
.news form { display: flex; gap: 10px; }
.news input { border-color: #2B4486; background: #0F2C7A; color: #fff; }
.news input::placeholder { color: #9FB2D9; }
.news .btn--primary { background: var(--azure); color: var(--navy); }
.news .btn--primary:hover { background: #fff; }
.news .done { color: #fff; font-weight: 500; }
.news .fine { font-size: .8rem; color: #93A6CF; margin-top: 10px; }

/* footer */
.ftr { background: var(--white); border-top: 1px solid var(--line); font-size: .9rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 52px 36px; }
.ftr__brand img { height: 58px; width: auto; margin-bottom: 14px; }
.ftr__brand p { color: var(--muted); max-width: 36ch; }
.ftr h3 { font-size: .95rem; margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 8px; }
.ftr li a { color: var(--text); text-decoration: none; }
.ftr li a:hover { color: var(--royal); text-decoration: underline; }
.ftr__legal { border-top: 1px solid var(--line); padding-block: 22px 30px; color: var(--muted); font-size: .82rem; }
.ftr__legal strong { color: var(--navy); }
.ftr__legal p { margin: 0 0 8px; max-width: 110ch; }

/* page header */
.phead { border-bottom: 1px solid var(--line); background: var(--ice); padding-block: 40px 36px; }
.phead h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.phead p { color: var(--muted); max-width: 64ch; margin: 0; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; }
.chip { font: 500 .88rem var(--body); padding: 8px 14px; border: 1px solid var(--silver); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.toolbar__right input { width: 220px; }
.toolbar__right select { width: auto; }
.rcount { font-size: .86rem; color: var(--muted); margin: -14px 0 18px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty--wide { grid-column: 1 / -1; border: 1px dashed var(--silver); border-radius: var(--r-lg); }
.empty--page { padding-block: 80px; }

/* product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; padding-block: 36px 64px; }
.gal__main { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background-color: var(--ice); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 24px 24px; }
.gal__main > .vial { width: 62%; height: auto; }
.gal__zoom { width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center; }
.gal__zoom .vial { width: 150%; max-width: none; transform: translateY(-12%); }
.gal__trace { width: 100%; padding: 30px; background: var(--white); }
.gal__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.gal__thumbs button { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 8px 8px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 .78rem var(--body); color: var(--muted); height: 108px; overflow: hidden; }
.gal__thumbs button[aria-pressed="true"] { border-color: var(--royal); box-shadow: inset 0 0 0 1px var(--royal); color: var(--royal); }
.vial--thumb { height: 72px; width: auto; }
.thumb-zoom { height: 72px; width: 100%; overflow: hidden; display: grid; place-items: center; }
.thumb-zoom .vial--thumb { height: 130px; transform: translateY(2px); }
.chrom--thumb { height: 72px; width: auto; }
.pd__cat { font-size: .86rem; margin-bottom: 6px; }
.pd__name { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.pd__price { font: 600 1.6rem/1 var(--display); color: var(--navy); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.pd__price span { font: 400 .95rem var(--body); color: var(--muted); }
.pd__lede { color: var(--muted); max-width: 54ch; }
.pd__mini { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 6px 0 22px; border-top: 1px solid var(--line); }
.pd__mini th, .pd__mini td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
.pd__mini th { color: var(--muted); font-weight: 500; width: 38%; }
.pd__mini td { color: var(--ink); }
.sizes { border: 0; padding: 0; margin: 0 0 20px; }
.sizes legend { font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; padding: 0; }
.sizes__row { display: flex; flex-wrap: wrap; gap: 10px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; inset: 0; }
.size span { display: flex; flex-direction: column; gap: 2px; min-width: 104px; padding: 10px 16px; border: 1px solid var(--silver); border-radius: var(--r); background: var(--white); }
.size b { font: 600 .98rem var(--display); color: var(--ink); }
.size em { font-style: normal; font-size: .84rem; color: var(--muted); }
.size input:checked + span { border-color: var(--royal); box-shadow: inset 0 0 0 1px var(--royal); background: #F6F9FE; }
.size input:focus-visible + span { outline: 2px solid var(--azure); outline-offset: 2px; }
.buy { display: flex; gap: 12px; margin-bottom: 18px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--silver); border-radius: var(--r); background: var(--white); }
.qty button { width: 42px; height: 50px; border: 0; background: none; font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.qty button:hover { color: var(--royal); }
.qty input { width: 46px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.qty--sm button { width: 34px; height: 36px; font-size: 1.05rem; }
.qty--sm span { min-width: 26px; text-align: center; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.pd__assure { list-style: none; padding: 0; margin: 20px 0 0; font-size: .9rem; color: var(--muted); }
.pd__assure li { padding: 6px 0 6px 24px; position: relative; }
.pd__assure li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 5px; border-left: 1.5px solid var(--royal); border-bottom: 1.5px solid var(--royal); transform: rotate(-45deg); }
.tabs-wrap { padding-bottom: 56px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { font: 500 .95rem var(--display); background: none; border: 0; padding: 14px 18px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--royal); border-color: var(--royal); }
.tabpanel { padding: 28px 0 0; max-width: 900px; }
.tabpanel > p { max-width: 72ch; }
.spec { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-weight: 500; padding-right: 16px; }
.spec td { color: var(--ink); overflow-wrap: anywhere; }
.seq { font-size: .85rem; line-height: 1.55; }
.coa-tab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.coa-tab > div:first-child { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.coa-tab .small { margin-top: 16px; }
.related { padding-bottom: 80px; }
.related .sec-head h2 { font-size: 1.5rem; }

/* kit progress */
.kitbar { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--ice); font-size: .88rem; margin-bottom: 16px; }
.kitbar p { margin: 0; color: var(--navy); }
.kitbar--off { background: var(--white); }
.kitbar--off p { color: var(--muted); }
.kitbar__track { height: 6px; border-radius: 3px; background: var(--white); border: 1px solid var(--line); margin: 10px 0 6px; overflow: hidden; }
.kitbar__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--royal), var(--azure)); border-radius: 3px; transition: width .4s ease; }
.kitbar__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.kitbar--done { border-color: var(--royal); background: #F3F7FE; }
.kitbar--done .kitbar__track span { background: var(--royal); }

/* cart */
.cart-wrap { padding-block: 36px 80px; }
.cartgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.lines { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.lines th { text-align: left; font-size: .8rem; font-weight: 500; color: var(--muted); padding: 0 10px 10px; border-bottom: 1px solid var(--navy); }
.lines th:first-child { padding-left: 0; }
.lines td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; color: var(--ink); }
.lines td:first-child { padding-left: 0; }
.li { display: flex; gap: 14px; align-items: center; }
.li__img { width: 64px; height: 76px; flex: none; border: 1px solid var(--line); border-radius: var(--r); background: var(--ice); display: grid; place-items: center; overflow: hidden; }
.li__img .vial { height: 70px; width: auto; }
.li__img .kit { width: 60px; }
.li__name { display: block; font: 600 1rem var(--display); color: var(--ink); text-decoration: none; }
.li__meta { display: block; font-size: .82rem; color: var(--muted); max-width: 40ch; }
.li__tot { font-weight: 600; }
.kitrow td { background: #F6F9FE; }
.kitrow s { color: var(--muted); }
.x { background: none; border: 0; padding: 4px 0; font: 500 .82rem var(--body); color: var(--muted); text-decoration: underline; cursor: pointer; }
.x:hover { color: var(--err); }
.sum { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--white); position: sticky; top: 140px; }
.sum h2 { font-size: 1.2rem; margin-bottom: 16px; }
.sum__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; font-variant-numeric: tabular-nums; }
.sum__row b { color: var(--ink); font-weight: 600; text-align: right; }
.sum__row--code span { color: var(--royal); font-weight: 500; }
.sum__total { border-bottom: 0; border-top: 1px solid var(--navy); margin-top: 6px; padding-top: 14px; font-size: 1.05rem; }
.sum__total b { font: 600 1.35rem var(--display); color: var(--navy); }
.sum__total small { color: var(--muted); font-size: .75rem; font-weight: 400; }
.sum__save { font-size: .85rem; color: var(--ok); margin: 4px 0 14px; }
.sum .btn--block { margin-top: 14px; }
.coupon { margin-bottom: 14px; }
.coupon label { display: block; margin-bottom: 6px; }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input { min-width: 0; text-transform: uppercase; }
.coupon__row input::placeholder { text-transform: none; }
.coupon__on { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px dashed var(--royal); border-radius: var(--r); padding: 9px 12px; color: var(--royal); font-size: .9rem; background: #F6F9FE; }

/* mini list (drawer + checkout) */
.mini { list-style: none; margin: 0 0 14px; padding: 0; }
.mini li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.mini li > div a, .mini .strong { display: block; color: var(--ink); font-weight: 600; text-decoration: none; }
.mini li > div span:not(.strong) { color: var(--muted); font-size: .82rem; }
.mini b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.mini s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.mini__img { position: relative; width: 52px; height: 60px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ice); display: grid; place-items: center; }
.mini__img .vial { height: 56px; width: auto; }
.mini__img .kit { width: 46px; }
.mini__img i { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--navy); color: #fff; font: 600 .7rem/19px var(--body); text-align: center; font-style: normal; }
.mini__sum { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); padding-top: 4px; }
.mini__note { font-size: .82rem; color: var(--muted); margin: 4px 0 16px; }
.mini__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,31,92,.38); opacity: 0; transition: opacity .2s; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--white); box-shadow: -20px 0 50px -20px rgba(10,31,92,.35); transform: translateX(100%); transition: transform .22s ease; display: flex; flex-direction: column; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.15rem; margin: 0; }
.drawer__body { padding: 18px 22px 24px; overflow-y: auto; flex: 1; }

/* checkout */
.co-wrap { padding-block: 36px 80px; }
.cogrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.co-sec { border-top: 1px solid var(--navy); padding: 20px 0 28px; }
.co-sec h2 { font-size: 1.15rem; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.co-sec h2 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--royal); color: var(--royal); font-size: .8rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.radios { display: grid; gap: 10px; }
.radio { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--silver); border-radius: var(--r); padding: 14px 16px; cursor: pointer; background: var(--white); }
.radio:has(input:checked) { border-color: var(--royal); box-shadow: inset 0 0 0 1px var(--royal); background: #F6F9FE; }
.radio input { margin: 3px 0 0; accent-color: var(--royal); width: 17px; height: 17px; flex: none; }
.radio div { flex: 1; }
.radio b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.radio span { font-size: .85rem; color: var(--muted); font-weight: 400; }
.radio em { font-style: normal; font-weight: 600; color: var(--ink); font-size: .93rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: .92rem; cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--royal); width: 18px; height: 18px; flex: none; }
.demo-note { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); background: var(--ice); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin: 16px 0 0; }
.co-place { margin-top: 18px; }
.confirm { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 0; }
.confirm:focus { outline: none; }
.confirm svg { width: 56px; height: 56px; margin: 0 auto 18px; }
.confirm .spec { text-align: left; margin: 24px 0; }
.confirm .small { margin-bottom: 24px; }

/* content pages */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.page { padding-block: 56px 80px; }
.aside-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; background: var(--white); }
.box h3 { margin-bottom: 8px; }
.box p { color: var(--muted); font-size: .93rem; }
.box--ice { background: var(--ice); }
.coa-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.coa-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
.coa-table th { text-align: left; font-weight: 600; color: var(--navy); background: var(--ice); padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .84rem; }
.coa-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-variant-numeric: tabular-nums; }
.coa-table tr:last-child td { border-bottom: 0; }
.pass { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--ok); background: #E7F5EF; padding: 3px 8px; border-radius: 3px; }
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--navy); margin-top: 8px; }
.vals > div { padding: 22px 24px 0 0; }
.vals > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.vals p { color: var(--muted); font-size: .95rem; }
.contact-form { display: grid; gap: 16px; }
.done-box { border: 1px solid var(--royal); border-radius: var(--r-lg); padding: 24px; background: #F6F9FE; }
.done-box:focus { outline: none; }
.done-box h2 { font-size: 1.25rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 400; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--r); font-size: .9rem; display: flex; gap: 16px; align-items: center; box-shadow: 0 14px 40px -12px rgba(10,31,92,.55); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); width: max-content; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #9BE2FF; font-weight: 600; white-space: nowrap; }
.toast--err { background: var(--err); }

/* age gate */
.gate { position: fixed; inset: 0; z-index: 300; background: rgba(10,31,92,.72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.gate__box { background: var(--white); border-radius: var(--r-lg); width: min(480px, 100%); padding: 30px 30px 24px; border-top: 4px solid var(--royal); box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); }
.gate__logo { height: 64px; width: auto; margin-bottom: 18px; }
.gate h2 { font-size: 1.4rem; margin-bottom: 6px; }
.gate p { color: var(--muted); font-size: .93rem; }
.gate .check { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.gate .check:has(input:checked) { border-color: var(--royal); background: #F6F9FE; }
.gate .btn { margin-top: 8px; }
.gate__exit { display: block; text-align: center; margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* responsive */
@media (max-width: 1120px) {
  .nav { gap: 18px; }
  .nav a { font-size: .88rem; }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .wrap { padding-inline: 24px; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; box-shadow: 0 20px 30px -20px rgba(10,31,92,.3); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 1rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-2); }
  .hdr { position: relative; }
  .hdr__tools { margin-left: auto; }
  .hero .wrap, .pd, .cartgrid, .cogrid, .split, .aside-grid, .news .wrap, .coa-strip { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 40px; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 24px; }
  .sum { position: static; }
  .cogrid .sum { order: -1; }
  .pd { gap: 32px; }
}
@media (max-width: 720px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .index a { grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 14px; }
  .index__icon { width: 48px; height: 48px; }
  .index__icon svg { width: 26px; height: 26px; }
  .index p { grid-column: 2 / 3; grid-row: 2; font-size: .88rem; }
  .index__n { grid-column: 2; grid-row: 3; }
  .index__arrow { grid-column: 3; grid-row: 1 / 4; }
  .kitoffer { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vals { grid-template-columns: minmax(0, 1fr); }
  .vals > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
  .coa-tab { grid-template-columns: minmax(0, 1fr); }
  /* cart lines as stacked */
  .lines thead { display: none; }
  .lines, .lines tbody, .lines tr, .lines td { display: block; width: 100%; }
  .lines tr { position: relative; border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
  .lines td { border: 0; padding: 0; }
  .lines td.licell { grid-column: 1 / -1; }
  .lines td[data-label="Price"] { display: none; }
  .lines td[data-label="Total"] { text-align: right; align-self: center; }
  .lines td:last-child { grid-column: 1 / -1; }
  .lines td:last-child:empty { display: none; }
  .kitrow { background: #F6F9FE; padding-inline: 10px !important; }
  .kitrow td { background: none; }
  .kitrow td[data-label="Quantity"]::before { content: "Qty "; color: var(--muted); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding-inline: 16px; }
  .ruo-bar { font-size: .74rem; padding: 6px 12px; }
  .offerbar { font-size: .78rem; padding: 7px 12px; line-height: 1.4; }
  .hdr .wrap { height: 62px; gap: 10px; }
  .hdr__logo img { height: 40px; }
  .ibtn { width: 40px; height: 40px; }
  .nav { padding-inline: 16px; }
  .hero { padding-block: 36px 48px; }
  .hero__lede { font-size: 1.02rem; }
  .hero__cta .btn { flex: 1; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__facts li { padding-right: 10px; margin-right: 10px; font-size: .76rem; }
  .hero__facts b { font-size: 1.1rem; }
  .plate__stage { height: 250px; }
  .plate__head { font-size: .74rem; padding: 10px 12px; }
  .plate__table th, .plate__table td { padding-inline: 10px; font-size: .74rem; }
  .trust ul { padding: 0 16px; grid-template-columns: minmax(0, 1fr); }
  .trust li { border-left: 0 !important; padding: 14px 0 !important; border-top: 1px solid var(--line); }
  .trust li:first-child { border-top: 0; }
  .sec { padding-block: 56px; }
  .sec-head { flex-direction: column; align-items: start; gap: 8px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: .98rem; }
  .card__spec { font-size: .76rem; }
  .card__spec div:nth-child(3) { display: none; }
  .card__spec div:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .card__foot .btn { width: 100%; }
  .badge { font-size: .66rem; top: 8px; left: 8px; padding: 3px 6px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
  .steps li + li { margin-top: 24px; border-top: 1px solid var(--line); }
  .news form { flex-direction: column; }
  .ftr__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-block: 40px 28px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; }
  .chip { white-space: nowrap; }
  .toolbar__right input { width: 0; flex: 1 1 0; min-width: 0; }
  .toolbar__right select { flex: 0 0 auto; max-width: 50%; }
  .offerbar__dot { display: none; }
  .offerbar .long { display: none; }
  .offerbar .short { display: inline; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .buy { flex-direction: column; }
  .buy .qty { align-self: flex-start; }
  .gal__thumbs button { height: 92px; }
  .vial--thumb, .thumb-zoom, .chrom--thumb { height: 58px; }
  .thumb-zoom .vial--thumb { height: 104px; }
  .gate__box { padding: 24px 20px 20px; }
  .toast { bottom: 16px; font-size: .85rem; }
  .sum { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
