/* Pepcore storefront – "lab catalogue" design for pepcorepept.store.
   Navy from the Pepcore vial label, electric cyan accent, element-tile cards (each research area has a hue),
   Space Grotesk headings, Manrope text, IBM Plex Mono for data. Light, bright and different from pepcore.net's dark theme. */

:root {
  --ink: #0d1433;
  --navy: #1f2e7a;
  --navy-2: #2a3d9c;
  --cyan: #00b4d8;
  --cyan-2: #0096b8;
  --paper: #f4f6fb;
  --card: #ffffff;
  --line: #e2e7f1;
  --line-2: #cfd7e6;
  --muted: #5b6684;
  --ok: #0f9d6b;
  --warn: #c77700;
  --bad: #c9354b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(13, 20, 51, .06), 0 8px 24px -12px rgba(13, 20, 51, .18);
  --shadow-lg: 0 24px 60px -24px rgba(13, 20, 51, .35);
  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --hue: 220;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--card); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
/* grid and flex children may shrink below their content width (long names, no-wrap labels) */
.hero-inner > *, .hero-board > *, .board-tiles > *, .grid > *, .area-grid > *, .product > *, .cart-layout > *, .checkout > *,
.ship-band > *, .faq-wrap > *, .about-band > *, .footer-top > *, .stat-strip > *, .steps > *, .trust-grid > * { min-width: 0; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cyan-2); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.page-pad { padding-block: 28px 64px; }
.hp { position: absolute; left: -9999px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: middle; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-right: 8px; box-shadow: 0 0 0 0 rgba(0, 180, 216, .6); animation: pulse 2.4s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 180, 216, .55); } 70% { box-shadow: 0 0 0 9px rgba(0, 180, 216, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons & fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px -8px rgba(31, 46, 122, .7); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--cyan); color: var(--ink); }
.btn-accent:hover { background: #22c6e6; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--navy-2); white-space: nowrap; }
.link-arrow:hover { color: var(--cyan-2); }
input, select, textarea { font: inherit; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 180, 216, .15); }
.field { margin-bottom: 14px; }
.field label, .field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 14px; }
.field-error { color: var(--bad); font-size: .85rem; margin: 4px 0 0; }
.has-error input, .has-error select { border-color: var(--bad); }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid; font-size: .95rem; }
.notice-success { background: #e9f8f1; border-color: #b9e8d3; color: #0b6a48; }
.notice-error { background: #fdecef; border-color: #f4c2cb; color: #9e1f35; }
.notice-info { background: #e8f7fb; border-color: #b8e6f1; color: #075b70; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font: 600 .72rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.badge-sale { background: var(--bad); color: #fff; }
.badge-out { background: rgba(13, 20, 51, .78); color: #fff; }
.chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.eyebrow, .kicker { font: 500 .78rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan-2); margin: 0 0 12px; }

/* ---------- Top line & header ---------- */
.topline { background: var(--ink); color: #c9d2ec; font-size: .78rem; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topline p { margin: 0; }
.topline-ruo { font-family: var(--f-mono); letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; padding: 6px 0; }
.topline-points { display: flex; gap: 18px; }
.topline-points span + span::before { content: "◆"; color: var(--cyan); margin-right: 18px; font-size: .55rem; vertical-align: middle; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo img { height: 36px; width: auto; }
.nav { flex: 1; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav > ul > li > a:hover, .nav a[aria-current] { background: var(--paper); color: var(--navy); }
.mega, .drop { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.mega { width: 640px; padding: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.mega-item:hover { background: hsl(var(--hue) 70% 97%); color: var(--ink); }
.mega-item strong { display: block; font-size: .92rem; }
.mega-item small { color: var(--muted); font-size: .78rem; }
.mega-code { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; font: 700 1rem var(--f-head); color: hsl(var(--hue) 60% 32%); background: hsl(var(--hue) 75% 94%); border: 1px solid hsl(var(--hue) 55% 84%); }
.mega-all { display: block; margin-top: 8px; padding: 12px; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.drop { list-style: none; margin: 0; padding: 8px; min-width: 260px; }
.drop a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.drop a:hover { background: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--paper); color: var(--navy); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--cyan); color: var(--ink); font: 700 .7rem/18px var(--f-mono); text-align: center; }
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .85rem; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--paper); }
.lang-code { font-family: var(--f-mono); font-size: .78rem; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 180px; z-index: 50; }
.lang-menu a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 7px; text-decoration: none; color: var(--ink); font-size: .9rem; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--paper); }
.lang-menu .lang-code { color: var(--muted); width: 22px; }
.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.search-form { display: flex; gap: 10px; }
.mobile-nav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 70px); overflow-y: auto; padding: 16px 0 28px; }
.mobile-shop-all { display: block; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; margin-bottom: 18px; }
.mobile-label { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.mobile-cats, .mobile-links { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-cats a { display: flex; align-items: center; gap: 12px; padding: 8px 4px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mobile-cats .mega-code { width: 32px; height: 32px; font-size: .85rem; }
.mobile-cats .n { margin-left: auto; color: var(--muted); font: .8rem var(--f-mono); }
.mobile-links a { display: block; padding: 10px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 520px at 85% -10%, rgba(0, 180, 216, .16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(42, 61, 156, .12), transparent 60%), var(--paper); padding: 56px 0 28px; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(31, 46, 122, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 46, 122, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-text { font-size: 1.12rem; color: #34406a; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 480px; padding: 6px 6px 6px 16px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); color: var(--muted); }
.hero-search input { border: 0; padding: 8px 0; box-shadow: none !important; background: transparent; }
.hero-board { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.board-lead { position: relative; grid-row: span 3; display: block; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.board-lead img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.board-lead:hover img { transform: scale(1.04); }
.board-tag { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; }
.board-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; grid-row: span 3; }
.el-tile { position: relative; display: flex; flex-direction: column; aspect-ratio: 1; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1.5px solid hsl(var(--hue) 55% 86%); text-decoration: none; color: var(--ink); box-shadow: inset 0 -42px 40px -40px hsl(var(--hue) 80% 80% / .55); transition: transform .2s, box-shadow .2s, border-color .2s; }
.el-tile:hover { transform: translateY(-3px); border-color: hsl(var(--hue) 65% 55%); color: var(--ink); box-shadow: var(--shadow); }
.el-no { font-size: .66rem; color: var(--muted); }
.el-sym { margin-top: auto; font: 700 1.9rem/1 var(--f-head); color: hsl(var(--hue) 62% 34%); }
.el-name { font-size: .75rem; font-weight: 700; line-height: 1.25; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.el-price { font-size: .68rem; color: var(--muted); }
.stat-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-strip div { padding: 18px 22px; border-left: 1px solid var(--line); }
.stat-strip div:first-child { border-left: 0; }
.stat-strip dd { margin: 0; font-size: 1.55rem; font-weight: 500; color: var(--navy); }
.stat-strip dt { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 0; }
.section-soft { background: var(--paper); }
.section-ink { background: var(--ink); color: #d7def3; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .kicker { color: var(--cyan); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p.muted { margin: 8px 0 0; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.area-tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 18px; border-radius: var(--radius); border: 1.5px solid hsl(var(--hue) 50% 88%); background: linear-gradient(160deg, #fff 40%, hsl(var(--hue) 80% 96%)); text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s, box-shadow .2s; }
.area-tile:hover { transform: translateY(-3px); border-color: hsl(var(--hue) 60% 55%); box-shadow: var(--shadow); color: var(--ink); }
.area-code { font: 700 2.1rem/1 var(--f-head); color: hsl(var(--hue) 62% 36%); }
.area-name { margin-top: auto; font: 600 1.05rem/1.25 var(--f-head); }
.area-count { font-size: .76rem; color: var(--muted); }
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.step-n { display: inline-block; color: var(--cyan); font-size: .85rem; margin-bottom: 14px; }
.steps p { margin: 0; color: #b6c0e0; }
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 32px; }
.trust-grid h3 { font-size: 1rem; }
.trust-grid p { margin: 0; font-size: .9rem; color: #b6c0e0; }
.ship-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.table-wrap { overflow-x: auto; }
.ship-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ship-table th, .ship-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.ship-table th { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--paper); }
.ship-table tr:last-child td { border-bottom: 0; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 600 1.05rem/1.4 var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.5rem var(--f-mono); color: var(--cyan-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: #3c4770; }
.about-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-list a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.guide-list a:hover { color: var(--navy-2); padding-left: 10px; transition: padding .2s; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: hsl(var(--hue) 50% 80%); }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, hsl(var(--hue) 70% 50%), hsl(calc(var(--hue) + 40) 70% 60%)); z-index: 2; }
.card-img { position: relative; display: block; background: #f6f7fa; }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-sym { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font: 700 1rem var(--f-head); color: hsl(var(--hue) 60% 32%); background: rgba(255, 255, 255, .85); border: 1px solid hsl(var(--hue) 50% 85%); backdrop-filter: blur(6px); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card-cat { margin: 0 0 4px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: hsl(var(--hue) 50% 40%); }
.card-cat a { color: inherit; text-decoration: none; }
.card-title { margin: 0 0 4px; font-size: 1.08rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-sizes { margin: 0 0 14px; font-size: .74rem; color: var(--muted); min-height: 1.2em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card-foot form, .card-foot .btn { position: relative; z-index: 3; }
.price { margin: 0; font: 700 1.1rem var(--f-head); color: var(--ink); }
.price del { color: var(--muted); font-weight: 400; font-size: .85em; margin-right: 6px; }
.price-sub { margin: 0; font-size: .75rem; color: var(--muted); }

/* ---------- Product page ---------- */
.crumbs { margin: 0 0 22px; font-size: .85rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy-2); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-media { position: sticky; top: 96px; }
.product-frame { position: relative; border-radius: 22px; overflow: hidden; background: #f6f7fa; border: 1px solid var(--line); }
.product-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.frame-sym { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; font: 700 1.6rem var(--f-head); color: hsl(var(--hue) 60% 32%); background: rgba(255, 255, 255, .9); border: 1.5px solid hsl(var(--hue) 50% 82%); }
.frame-tag { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; }
.product-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.purity-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #e9f8f1; color: #0b6a48; font-size: .82rem; font-weight: 600; margin-bottom: 14px; }
.price-lg { font-size: 2rem; margin-bottom: 2px; }
.price-note { margin-bottom: 20px; }
.buy-form { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 20px; }
.options { border: 0; padding: 0; margin: 0 0 16px; }
.options legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; transition: border-color .15s, background .15s; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option:has(input:checked) { border-color: var(--navy); background: #eef1fc; box-shadow: inset 0 0 0 1px var(--navy); }
.option:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.option-price { font-size: .78rem; color: var(--muted); font-weight: 500; }
.option.is-out { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.addon .option { padding: 7px 12px; font-size: .85rem; }
.buy-row { display: flex; gap: 10px; align-items: stretch; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; }
.qty input { width: 46px; border: 0; text-align: center; padding: 10px 0; -moz-appearance: textfield; box-shadow: none !important; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--navy); border-radius: 999px; }
.qty-sm .qty-btn { height: 36px; width: 32px; }
.stock { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.stock-out .dot, .stock-out::before { background: var(--bad); }
.stock-backorder .dot { background: var(--warn); }
.stock-low .dot { background: var(--warn); }
.product-trust { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; line-height: 1.45; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.product-trust svg { flex: none; color: var(--cyan-2); margin-top: 2px; }
.product-short { font-size: .95rem; }
.product-meta { margin-top: 12px; }
.waitlist { padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); margin-bottom: 20px; }
.waitlist-row { display: flex; gap: 10px; margin: 12px 0 8px; }
.product-desc { max-width: 860px; margin: 56px auto 0; }
.disclaimer-box { max-width: 860px; margin: 32px auto 0; padding: 16px 20px; border-left: 4px solid var(--warn); background: #fff7ea; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .88rem; color: #6b4a10; }
.coa-box { margin: 48px auto 0; max-width: 860px; }
.coa-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.coa-table th, .coa-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.coa-table th { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(13, 20, 51, .25); }
.sticky-info { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-info span { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); }
@media (min-width: 901px) { .sticky-buy { display: none !important; } }

/* ---------- Prose (descriptions, pages) ---------- */
.prose { font-size: 1.02rem; line-height: 1.75; color: #232c52; }
.prose h2 { margin: 2em 0 .6em; font-size: 1.6rem; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; width: 34%; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--cyan); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose .product-figure { margin: 1.5em 0; }
.prose .product-figure img { width: 240px; max-width: 60%; border: 1px solid var(--line); }
.page-content .prose { max-width: 820px; }
.prose .lead { font-size: 1.12rem; color: #34406a; }
.prose .toc { padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 1.4em 0; }
.prose .toc ol, .prose .toc ul { margin: 6px 0 0; }
.prose .toc a { text-decoration: none; }
.prose details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.prose summary { cursor: pointer; font-weight: 700; font-family: var(--f-head); }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--paper); padding: 2px 6px; border-radius: 6px; }
.prose .spec { font-family: var(--f-mono); font-size: .88rem; }
.prose .calc { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 1.4em 0; }
.prose .calc label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.prose .calc output { display: block; font: 600 1.3rem var(--f-mono); color: var(--navy); margin-top: 10px; }
.page-content { padding-block: 32px 72px; }
.archive-head { padding: 40px 0 28px; background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.archive-head h1 { margin-bottom: 8px; }
.archive-intro { max-width: 760px; color: #34406a; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.filter-bar .pills a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 600; background: #fff; }
.filter-bar .pills a.is-active, .filter-bar .pills a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sort-form select { width: auto; padding: 8px 12px; border-radius: 999px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); text-align: center; text-decoration: none; color: var(--ink); }
.pagination [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-date { font: .78rem var(--f-mono); color: var(--muted); }
.page-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.empty { text-align: center; padding: 60px 0; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-items { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--paper); }
.cart-name { font-weight: 700; text-decoration: none; color: var(--ink); }
.cart-thumb-addon { display: grid; place-items: center; font: 600 1.6rem var(--f-head); color: var(--cyan-2); }
.cart-info .small { margin: 2px 0 0; }
.cart-line-total { font: 600 1rem var(--f-mono); }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.summary, .checkout-summary { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.totals { width: 100%; border-collapse: collapse; margin: 10px 0 16px; }
.totals th, .totals td { padding: 8px 0; text-align: left; font-weight: 500; }
.totals td { text-align: right; font-family: var(--f-mono); }
.totals .total th, .totals .total td { padding-top: 14px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: 1.15rem; }
.vat { color: var(--muted); font-size: .82rem; }
.ship-meter { margin: 0 0 16px; font-size: .88rem; }
.meter, .progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.meter span, .progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--cyan)); border-radius: inherit; }
.coupon-form { display: flex; gap: 8px; margin-top: 10px; }
.coupon-details summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--navy-2); }
.min-order-note { color: var(--warn); font-weight: 600; }
.checkout-main section, .checkout-main fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 18px; background: #fff; }
.checkout-main legend, .checkout-main h2 { font-size: 1.15rem; padding: 0 6px; }
.option-pay { display: block; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); margin-bottom: 10px; cursor: pointer; }
.option-pay:has(input:checked) { border-color: var(--navy); background: #eef1fc; }
.option-pay input { margin-right: 8px; }
.mini-lines { list-style: none; margin: 0 0 12px; padding: 0; font-size: .9rem; }
.mini-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 10px; }
.checklist input { margin-top: 4px; }
.success-head { text-align: center; padding: 20px 0 28px; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e9f8f1; color: var(--ok); }
.pay-box, .pay-details, .crypto-pay { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 0 0 20px; }
.pay-details dt { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pay-details dd { margin: 0 0 10px; font-family: var(--f-mono); font-weight: 600; }
.pay-status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--navy); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.coin-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.coin { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .88rem; background: #fff; }
.coin:has(input:checked) { border-color: var(--navy); background: #eef1fc; }
.qr { width: 180px; height: 180px; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.track-form { max-width: 480px; }
.inline { display: inline; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); background: #fff7ea; border: 1px solid #f2d8a7; }
.save { color: var(--ok); font-weight: 700; }

/* ---------- Affiliate ---------- */
.affiliate-form { max-width: 640px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.aff-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; }
.aff-stats div { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.aff-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.aff-table th, .aff-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.aff-link { font-family: var(--f-mono); word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb8da; padding: 64px 0 28px; margin-top: 0; font-size: .92rem; }
.site-footer a { color: #d9e0f6; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .logo img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-blurb { max-width: 320px; }
.footer-contact, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-h { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin: 0 0 14px; }
.footer-h + ul + .footer-h { margin-top: 26px; }
.footer-link { color: #d9e0f6; text-decoration: none; font-size: inherit; }
.footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.pay-chip { padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .18); font: 500 .74rem var(--f-mono); color: #fff; }
.footer-bottom { margin-top: 20px; font-size: .8rem; color: #8892b8; }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom .disclaimer { margin-top: 12px; max-width: 900px; }

/* ---------- Floating chat / WhatsApp, toast, cookie bar ---------- */
.wa-float, .chat-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; box-shadow: 0 10px 28px -8px rgba(13, 20, 51, .5); }
.wa-float { background: #1fa855; }
.chat-float { background: var(--navy); }
body.has-sticky .wa-float, body.has-sticky .chat-float { bottom: 80px; }
.chat-panel { position: fixed; right: 18px; bottom: 86px; z-index: 51; width: min(340px, calc(100vw - 36px)); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.chat-panel .btn { margin-top: 8px; }
.chat-close { position: absolute; right: 10px; top: 6px; border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.chat-note { font-size: .75rem; color: var(--muted); margin: 10px 0 0; }
.toast { position: fixed; right: 18px; top: 86px; z-index: 60; width: min(380px, calc(100vw - 36px)); padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.toast-body { display: flex; gap: 12px; align-items: flex-start; }
.toast-img { border-radius: 8px; background: var(--paper); }
.toast-title { display: block; }
.toast-msg, .toast-ship { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.toast-close { margin-left: auto; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); }
.toast-actions { display: flex; gap: 8px; margin-top: 12px; }
.toast-actions .btn { flex: 1; }
.cookie-bar { position: fixed; left: 18px; bottom: 18px; z-index: 55; width: min(460px, calc(100vw - 36px)); padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .88rem; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hero-inner, .product, .ship-band, .faq-wrap, .about-band { grid-template-columns: 1fr; gap: 32px; }
  .hero-board { max-width: 560px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .product-media { position: static; }
}
@media (max-width: 900px) {
  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary, .checkout-summary { position: static; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip div:nth-child(3) { border-left: 0; }
  .stat-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .topline-points { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding-top: 36px; }
  .hero-board { grid-template-columns: 1fr; }
  .board-lead { grid-row: auto; }
  .board-tiles { grid-template-columns: repeat(3, 1fr); grid-row: auto; }
  .el-sym { font-size: 1.4rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: .98rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn, .card-foot form .btn { width: 100%; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .area-tile { min-height: 120px; padding: 14px; }
  .trust-grid, .footer-top { grid-template-columns: 1fr; }
  .product-trust { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 56px 1fr; }
  .cart-thumb { width: 56px; height: 56px; }
  .cart-line .qty, .cart-line-total { grid-column: 2; }
  .buy-row { flex-direction: column; }
  .qty { align-self: flex-start; }
  .waitlist-row, .search-form { flex-direction: column; }
  .logo img { height: 28px; }
  .hero-copy h1 { font-size: 2.1rem; }
  .hero-search { max-width: 100%; }
  .el-name { font-size: .68rem; }
  .stat-strip div { padding: 14px 16px; }
  .stat-strip dd { font-size: 1.25rem; }
  .lang-menu summary svg { display: none; }
  .header-inner { gap: 10px; }
  .lang-menu summary { padding: 8px; }
}
