/* Shop page styles. Colours and surfaces live in :root. Breakpoints: ≤1280 (5 cols), ≤1100 (4 cols, stacked testing
   section), ≤900 (3 cols, menu drawer), ≤640 (2 cols, phone layout). */
:root {
  --ink: #131315;
  --ink-82: rgba(19, 19, 21, .82);
  --muted: #5b6270;
  --muted-2: #6b7381;
  --line: rgba(19, 19, 21, .09);
  --navy: #0a1930;
  --black: #0b0b0d;
  --lav: #e8e5ff; --sky: #cbe5fc; --mint: #e9fce6;
  --green: #15803d;
  --red: #d7262e;
  --navy-grad: radial-gradient(120% 140% at 12% -20%, #2a3f86 0%, rgba(42, 63, 134, 0) 55%), radial-gradient(90% 120% at 92% 120%, #4b2f8f 0%, rgba(75, 47, 143, 0) 60%), linear-gradient(#0d1f3f, #0a1930);
  --glass-bg: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .66));
  --glass-sh: inset 0 0 0 1px rgba(255, 255, 255, .92), inset 0 1.5px 1px #fff, 0 0 0 .5px rgba(28, 40, 84, .13), 0 1px 2px rgba(28, 40, 84, .05), 0 26px 50px -28px rgba(28, 40, 84, .34);
  --chip-sh: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1.5px 1px #fff, 0 0 0 .5px rgba(28, 40, 84, .16), 0 4px 10px -3px rgba(28, 40, 84, .22);
  --card-sh: 0 0 0 .5px rgba(28, 40, 84, .14), 0 1px 2px rgba(28, 40, 84, .04), 0 14px 30px -18px rgba(28, 40, 84, .22);
  --head: "Anek Latin", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ui: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--head); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #4b5bd6; outline-offset: 2px; }
.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(--black); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 24px; }
svg use { pointer-events: none; }
.glass { background: var(--glass-bg); box-shadow: var(--glass-sh); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
  font: 500 14px/1 var(--ui); transition: transform .15s, box-shadow .15s, opacity .15s; }
.btn svg { width: 17px; height: 17px; }
.btn.sm { height: 44px; padding: 0 20px; font-size: 13px; }
.btn.lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-black { color: #fff; background: radial-gradient(120% 140% at 18% -50%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%), var(--black);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1.5px 1px rgba(255, 255, 255, .36), 0 1px 2px rgba(6, 10, 28, .2), 0 10px 22px -10px rgba(6, 10, 28, .55); }
.btn-black:hover { transform: translateY(-1px); }
.btn-glass { color: var(--ink); background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .7));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1.5px 1px #fff, 0 0 0 .5px rgba(28, 40, 84, .2), 0 6px 14px -6px rgba(28, 40, 84, .22); }
.btn-glass:hover { transform: translateY(-1px); }
.btn-white { height: 52px; padding: 0 30px; font-size: 16px; color: var(--ink); background: linear-gradient(#fff, #eaefff);
  box-shadow: inset 0 0 0 1px #fff, inset 0 -8px 12px -8px rgba(92, 116, 196, .4), 0 1px 2px rgba(2, 6, 20, .3), 0 14px 26px -12px rgba(2, 6, 20, .75); }
.btn-white:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-muted { color: rgba(19, 19, 21, .4); background: rgba(19, 19, 21, .07); box-shadow: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-grid; place-items: center; color: var(--ink); position: relative; transition: background .15s; }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { background: rgba(255, 255, 255, .8); }
.chip-glass { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font: 600 12px/1 var(--ui); color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)); box-shadow: var(--chip-sh); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; color: #111; flex: none; }
.logo-word { width: 76px; height: 25px; display: block; } /* voda wordmark, 1784 x 590 */
.logo-tag { font: 600 9.5px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px 4px;
  border: 1.3px solid currentColor; border-radius: 999px; margin-top: 3px; opacity: .85; }
.logo-tag:empty { display: none; }
.logo-light { color: #fff; }

/* ---------- Floating glass header ---------- */
.bar { position: sticky; top: 0; z-index: 60; padding: 9px 24px 5px; }
.bar-shell { position: relative; max-width: 1432px; margin: 0 auto; height: 56px; border-radius: 999px; display: flex; align-items: center; padding: 0 8px 0 22px;
  background: rgba(255, 255, 255, .66); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), inset 0 1.5px 1px #fff, inset 0 -1px 1px rgba(255, 255, 255, .55), inset 0 -10px 16px -10px rgba(92, 116, 196, .16), 0 0 0 .5px rgba(28, 40, 84, .14), 0 10px 30px -14px rgba(28, 40, 84, .3); }
.menu-btn { display: none; }
.bar-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; }
.bar-link { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; font: 500 14px/1 var(--ui); color: var(--ink-82); white-space: nowrap; transition: background .15s, color .15s; }
.bar-link:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.bar-link.active { color: var(--ink); background: linear-gradient(rgba(255, 255, 255, .95), rgba(255, 255, 255, .75)); box-shadow: var(--chip-sh); }
.new-badge { height: 18px; padding: 0 7px; border-radius: 999px; background: var(--mint); font: 600 10px/18px var(--ui); color: var(--ink); box-shadow: inset 0 0 0 .5px rgba(19, 19, 21, .12); }
.bar-icons { margin-left: auto; display: flex; gap: 4px; }

/* Bag button + dropdown */
.cart-item { position: relative; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--black); color: #fff; font: 600 10px/17px var(--ui); text-align: center; }
.cart-dd { position: absolute; right: -8px; top: calc(100% + 14px); width: 360px; border-radius: 24px; padding: 20px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 5; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.cart-item.open .cart-dd { opacity: 1; visibility: visible; transform: none; }
.cart-dd::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.dd-head b { font-size: 19px; font-weight: 600; }
.dd-head span { font-size: 13px; color: var(--muted); }
.dd-empty { color: var(--muted); font-size: 15px; text-align: center; padding: 18px 0 8px; }
.mini-list { max-height: 300px; overflow: auto; }
.mini-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-img { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; }
.mini-img svg { width: 100%; height: 100%; }
.mini-name { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.mini-name:hover { text-decoration: underline; }
.mini-qty { font: 400 12.5px var(--ui); color: var(--muted); }
.mini-x { width: 28px; height: 28px; border-radius: 999px; color: var(--muted); display: grid; place-items: center; }
.mini-x:hover { background: rgba(19, 19, 21, .06); color: var(--ink); }
.mini-x svg { width: 14px; height: 14px; }
.mini-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 12px 0 14px; font-size: 15px; }
.mini-total b { font: 600 17px var(--ui); }
.dd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- Top area ---------- */
.top-wash { background: radial-gradient(50% 30% at 100% 0, rgba(233, 252, 230, .8), rgba(233, 252, 230, 0) 70%), radial-gradient(50% 40% at 0 0, rgba(232, 229, 255, .9), rgba(232, 229, 255, 0) 70%), linear-gradient(#f3f3ff, #fff 900px);
  margin-top: -70px; padding-top: 74px; }
.hero-sec { padding: 0 24px; }
.hero { position: relative; max-width: 1432px; margin: 0 auto; min-height: 622px; border-radius: 36px; padding: 30px 46px 30px 69px; color: #fff; overflow: hidden;
  display: grid; grid-template-columns: minmax(340px, 600px) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--navy-grad);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1.5px 1px rgba(255, 255, 255, .24), 0 1px 2px rgba(10, 25, 48, .14), 0 28px 54px -30px rgba(10, 25, 48, .6); }
/* The header logo (voda wordmark + "Wholesale" pill), in white and larger, above the banner title */
.hero-logo { gap: 14px; margin-bottom: 26px; }
.hero-logo .logo-word { width: 136px; height: 45px; }
.hero-logo .logo-tag { font-size: 13px; padding: 7px 12px 6px; border-width: 1.6px; margin-top: 6px; }
@media (max-width: 640px) {
  .hero-logo { gap: 11px; margin-bottom: 18px; }
  .hero-logo .logo-word { width: 108px; height: 36px; }
  .hero-logo .logo-tag { font-size: 11px; padding: 6px 10px 5px; margin-top: 5px; }
}
.hero-title { font: 600 70.56px/1.04 var(--head); letter-spacing: -1.41px; }
.hero-text { font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .86); margin: 22px 0 30px; max-width: 520px; }
.hero-ends { margin-top: 18px; display: flex; align-items: center; gap: 10px; font: 600 12px var(--ui); color: rgba(255, 255, 255, .8); }
.hero-visual { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero-art svg { width: 100%; height: auto; max-height: 520px; }
/* Three floating vials (heroVials). Each sits at its own tilt and bobs slowly, out of step with the others. */
.hero-float { position: relative; width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 600 / 540; }
.hv { position: absolute; width: 25.2%; transform: rotate(var(--r)); animation: hv-in .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--in); }
.hv img { display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 30px rgba(3, 8, 24, .5)) drop-shadow(0 4px 8px rgba(3, 8, 24, .35));
  animation: hv-bob var(--t) ease-in-out infinite alternate; animation-delay: var(--d); }
.hv-1 { left: 6.4%; top: 12.4%; --r: -13deg; --t: 4.6s; --d: -1.2s; --in: .05s; }
.hv-2 { left: 35.6%; top: 20.9%; width: 28.8%; z-index: 2; --r: 3deg; --t: 5.2s; --d: -2.8s; --in: 0s; }
.hv-3 { left: 68.4%; top: 8.4%; --r: 12deg; --t: 4.9s; --d: -.4s; --in: .1s; }
@keyframes hv-bob { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-16px) rotate(2.5deg); } }
@keyframes hv-in { from { opacity: 0; transform: translateY(26px) rotate(var(--r)); } to { opacity: 1; transform: translateY(0) rotate(var(--r)); } }
a.hv { display: block; cursor: pointer; border-radius: 30px; -webkit-tap-highlight-color: transparent; }
a.hv img { transition: scale .35s cubic-bezier(.2, .7, .2, 1); }
a.hv:hover img { scale: 1.05; }
a.hv:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .hv, .hv img { animation: none; } }
/* Product card reached from a hero vial: a short glow so the eye finds it */
.card.card-flash { animation: card-flash 2.4s ease-out; }
@keyframes card-flash { 0%, 55% { box-shadow: 0 0 0 3px var(--navy), 0 0 0 10px rgba(16, 24, 64, .13), 0 14px 34px rgba(16, 24, 64, .22); } 100% { box-shadow: var(--card-sh); } }
.hero-chips:empty { display: none; }
.hero-chips { display: flex; justify-content: center; gap: 100px; margin-top: -12px; }
.hero-chip { padding: 11px 15px 12px; border-radius: 17px; background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1.5px 1px rgba(255, 255, 255, .62), inset 0 -9px 14px -10px rgba(140, 170, 255, .4), 0 14px 26px -14px rgba(2, 6, 20, .8); }
.hero-chip b { display: block; font: 600 14px/1.1 var(--ui); }
.hero-chip span { display: block; font: 400 12px/1.3 var(--ui); color: rgba(255, 255, 255, .8); margin-top: 3px; }

/* ---------- Catalog ---------- */
.catalog { padding-top: 40px; padding-bottom: 64px; }
/* Home page vs catalog page (body.view-home / body.view-catalog, set from the address) */
/* Pages (body.view-home / view-catalog / view-orders / view-sheet, set from the address) */
body:not(.view-home) .home-only, body:not(.view-catalog) .catalog-only,
body:not(.view-orders) .orders-only, body:not(.view-sheet) .sheet-only, body:not(.view-account) .account-only, body:not(.view-coas) .coas-only,
body:not(.view-legal) .legal-only { display: none !important; }
/* ---------- Legal pages (#legal/<slug>): side list of pages, then the document in a white card ---------- */
.legal { padding-top: 34px; padding-bottom: 72px; min-height: 70vh; }
.legal-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 18px; }
.legal-nav { position: sticky; top: calc(var(--bar-h, 72px) + 20px); padding: 18px; border-radius: 22px; background: var(--glass-bg);
  box-shadow: var(--card-sh); }
.legal-nav-h { font: 600 11px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2px 8px 12px; }
.legal-nav ul { display: grid; gap: 2px; }
.legal-nav a { display: block; padding: 9px 12px; border-radius: 12px; font: 500 14px/1.3 var(--ui); color: var(--ink-82); transition: background .15s; }
.legal-nav a:hover { background: rgba(10, 25, 48, .06); }
.legal-nav a[aria-current="page"] { background: var(--black); color: #fff; }
.legal-doc { background: #fff; border-radius: 28px; box-shadow: var(--card-sh); padding: 44px 52px 48px; max-width: 860px; }
.legal-doc .cat-title { font-size: 46px; }
.legal-date { font: 500 13px var(--ui); color: var(--muted); margin-top: 10px; }
.legal-intro { font: 400 19px/1.55 var(--head); color: var(--ink-82); margin: 24px 0 8px; padding-bottom: 24px; border-bottom: 1px solid rgba(10, 25, 48, .09); }
.legal-doc section { margin-top: 30px; }
.legal-doc h2 { font: 600 22px/1.25 var(--head); letter-spacing: -.2px; margin-bottom: 10px; }
.legal-doc section p, .legal-doc section li { font-size: 16px; line-height: 1.65; color: var(--ink-82); }
.legal-doc section p + p, .legal-doc section ul + p, .legal-doc section p + ul { margin-top: 10px; }
.legal-doc section ul { display: grid; gap: 6px; padding-left: 4px; }
.legal-doc section li { position: relative; padding-left: 20px; }
.legal-doc section li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); opacity: .55; }
.legal-doc a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal-fill { background: #fff3b0; color: inherit; padding: 0 4px; border-radius: 4px; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .legal-nav { position: static; padding: 10px; min-width: 0; }
  .legal-nav-h { display: none; }
  .legal-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .legal-nav a { white-space: nowrap; }
}
@media (max-width: 640px) {
  .legal-doc { padding: 28px 20px 32px; border-radius: 22px; }
  .legal-doc .cat-title { font-size: 34px; }
  .legal-intro { font-size: 17px; }
  .legal-doc h2 { font-size: 19px; }
  .legal-doc section p, .legal-doc section li { font-size: 15px; }
}
.view-catalog .catalog { padding-top: 34px; min-height: 70vh; }
/* ---------- Orders page: status tiles, one section per fulfilment stage, order cards ---------- */
.orders { padding-top: 34px; padding-bottom: 72px; min-height: 70vh; }
.st-submitted { --sc: #6b7381; --sb: #eef0f4; }
.st-approved { --sc: #4b5bd6; --sb: #eceefd; }
.st-processing { --sc: #b7791f; --sb: #fdf3e1; }
.st-shipped { --sc: #2a87c2; --sb: #e5f2fb; }
.st-delivered { --sc: #15803d; --sb: #e6f6ec; }
.ord-new { height: 48px; }
.ord-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.ord-stat { --sc: var(--ink); text-align: left; padding: 14px 16px; border-radius: 18px; background: var(--glass-bg); box-shadow: var(--chip-sh); transition: transform .15s; }
.ord-stat:hover { transform: translateY(-1px); }
.ord-stat .os-top { display: flex; align-items: center; gap: 7px; font: 600 13px var(--ui); }
.ord-stat i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); flex: none; }
.ord-stat b { display: block; font: 600 30px/1.15 var(--head); margin-top: 4px; }
.ord-stat small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ord-stat[aria-pressed="true"] { color: #fff; background: radial-gradient(120% 140% at 18% -50%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%), var(--black); }
.ord-stat[aria-pressed="true"] small { color: rgba(255, 255, 255, .65); }
.ord-stat[aria-pressed="true"] i { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.ord-sample { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.ord-sample:empty { display: none; }
.ord-sec { padding: 22px 0 8px; }
.ord-sec + .ord-sec { border-top: 1px solid var(--line); margin-top: 14px; }
.ord-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.ord-sec-head h2 { display: flex; align-items: center; gap: 10px; font: 600 24px/1.2 var(--head); letter-spacing: -.3px; }
.ord-sec-head h2 i { width: 11px; height: 11px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 0 4px var(--sb); }
.ord-sec-head h2 small { font: 600 12.5px var(--ui); color: var(--sc); background: var(--sb); border-radius: 999px; padding: 3px 10px; }
.ord-sec-head p { font-size: 14.5px; color: var(--muted); }
.ord-none { padding: 18px 20px; border-radius: 16px; border: 1.5px dashed rgba(19, 19, 21, .12); color: var(--muted); font-size: 14px; }
.ord { background: #fff; border-radius: 22px; box-shadow: var(--card-sh); padding: 22px 24px 18px; border-left: 4px solid var(--sc); }
.ord + .ord { margin-top: 12px; }
.ord-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ord-id { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 19px/1.25 var(--head); }
.ord-pill { font: 600 11.5px var(--ui); letter-spacing: .02em; color: var(--sc); background: var(--sb); border-radius: 999px; padding: 4px 10px; }
.ord-meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.ord-total { text-align: right; flex: none; }
.ord-total span { display: block; font-size: 12.5px; color: var(--muted); }
.ord-total b { font: 600 22px var(--ui); font-variant-numeric: tabular-nums; }
.ord-track { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin: 18px 0 6px; counter-reset: s; }
.ord-track li { position: relative; display: grid; justify-items: start; gap: 2px; padding-right: 6px; }
.ord-track li::before { content: ""; position: absolute; left: 22px; right: 0; top: 10px; height: 2px; background: rgba(19, 19, 21, .1); }
.ord-track li:last-child::before { display: none; }
.ord-track li.done::before { background: var(--sc); }
.ord-track i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px rgba(19, 19, 21, .14); }
.ord-track li.done i, .ord-track li.now i { background: var(--sc); box-shadow: none; color: #fff; }
.ord-track li.now i { box-shadow: 0 0 0 5px var(--sb); }
.ord-track i svg { width: 12px; height: 12px; }
.ord-track b { font: 600 12.5px var(--ui); margin-top: 6px; color: var(--muted); }
.ord-track li.done b, .ord-track li.now b { color: var(--ink); }
.ord-track span { font-size: 12px; color: var(--muted); min-height: 1.2em; }
.ord-items { margin-top: 10px; border-top: 1px solid var(--line); }
.ord-items summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 12px 0 2px; font: 500 13.5px var(--ui); color: var(--muted); }
.ord-items summary::-webkit-details-marker { display: none; }
.ord-items summary svg { width: 15px; height: 15px; transition: transform .2s; }
.ord-items[open] summary svg { transform: rotate(180deg); }
.ord-items summary:hover { color: var(--ink); }
.ord-lines li { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ord-lines .mini-img { width: 44px; height: 44px; border-radius: 10px; }
.ord-name:hover { text-decoration: underline; }
.ord-qty { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ord-lines b { font: 600 14px var(--ui); font-variant-numeric: tabular-nums; min-width: 88px; text-align: right; }
.ord-notes { padding: 10px 0 2px; font-size: 14px; color: var(--muted); }
.ord-notes b { display: block; color: var(--ink); font: 600 12.5px var(--ui); }
.ord-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ord-ship { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); min-width: 0; }
.ord-ship svg { width: 20px; height: 20px; flex: none; color: var(--sc); }
.ord-ship b { display: block; color: var(--ink); font-weight: 600; }
.ord-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ord-btns .btn { height: 38px; padding: 0 16px; }
@media (max-width: 1100px) { .ord-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .orders { padding-top: 22px; }
  .orders .cat-head { flex-direction: column; align-items: stretch; }
  .orders .tools { flex-wrap: wrap; }
  .orders .tools .search { flex: 1 1 100%; }
  .ord-new { flex: 1; }
  .ord-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ord-stat b { font-size: 24px; }
  .ord { padding: 18px 16px 14px; border-radius: 18px; }
  .ord-top { flex-direction: column; gap: 6px; }
  .ord-total { text-align: left; }
  .ord-total span { display: inline; margin-right: 8px; }
  .ord-track b { font-size: 10.5px; }
  .ord-track span { font-size: 10.5px; }
  .ord-lines li { grid-template-columns: 40px 1fr auto; }
  .ord-lines .ord-qty { grid-column: 2; grid-row: 2; }
  .ord-lines b { grid-column: 3; grid-row: 1 / 3; min-width: 0; }
  .ord-btns { width: 100%; }
  .ord-btns .btn { flex: 1; }
}
.top-skus { padding-top: 44px; padding-bottom: 72px; }
.top-skus .cat-head { margin-bottom: 26px; }
.top-all { flex: none; }
.top-more { display: flex; justify-content: center; margin-top: 36px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 13.5px var(--ui); color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: var(--ink); }
.island { display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px; align-items: center; gap: 14px; height: 38px; padding: 0 20px; border-radius: 999px; color: #fff;
  font: 400 13px/1 var(--ui); white-space: nowrap; overflow: hidden;
  background: radial-gradient(120% 170% at 10% -50%, rgba(125, 150, 255, .4), rgba(125, 150, 255, 0) 60%), radial-gradient(90% 160% at 96% 150%, rgba(120, 80, 220, .38), rgba(120, 80, 220, 0) 62%), linear-gradient(#152c5a, #0a1930);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), inset 0 1.5px 1px rgba(255, 255, 255, .4), 0 1px 2px rgba(6, 10, 28, .22), 0 10px 22px -10px rgba(6, 10, 28, .55); }
.island b { font-weight: 600; }
.island span { color: rgba(255, 255, 255, .86); }
.island i { width: 1px; height: 14px; background: rgba(255, 255, 255, .22); flex: none; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.cat-title { font: 600 56px/1.05 var(--head); letter-spacing: -1.12px; }
.result-count { font-size: 15px; color: var(--muted); margin-top: 6px; }
/* Catalog intro line; its "here" is a small black pill that opens the price sheet */
.cat-text { font: 400 19px/1.55 var(--head); letter-spacing: -.1px; color: var(--ink-82); margin-top: 12px; max-width: 760px; }
.cat-text .nw { white-space: nowrap; }   /* keeps "build your invoice [here]" together when the line wraps */
.cat-text + .result-count { margin-top: 8px; font-size: 14px; }
.here-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 15px; margin-left: 4px; border: 0;
  border-radius: 999px; font: 500 14px/1 var(--ui); color: #fff; background: var(--navy-grad); cursor: pointer; vertical-align: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1.5px 1px rgba(255, 255, 255, .3), 0 1px 2px rgba(6, 10, 28, .2), 0 8px 18px -8px rgba(10, 25, 48, .6);
  transition: transform .15s, box-shadow .15s; }
.here-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.here-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1.5px 1px rgba(255, 255, 255, .34), 0 2px 4px rgba(6, 10, 28, .2), 0 12px 22px -8px rgba(10, 25, 48, .65); }
.here-btn:hover svg { transform: translateX(2px); }
.here-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 640px) { .cat-text { font-size: 17px; } .here-btn { height: 30px; font-size: 13.5px; } }
.tools { display: flex; align-items: center; gap: 8px; }
.field { position: relative; display: flex; align-items: center; height: 48px; border-radius: 999px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1.5px 1px #fff, 0 0 0 .5px rgba(28, 40, 84, .18), 0 6px 16px -8px rgba(28, 40, 84, .2); }
.field:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1.5px #4b5bd6, 0 6px 16px -8px rgba(28, 40, 84, .2); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; padding: 0 16px; font-size: 16px; color: var(--ink); }
.field input::placeholder { color: var(--muted-2); }
.search { width: 377px; padding-left: 4px; }
.search svg { width: 18px; height: 18px; margin-left: 14px; color: var(--muted); flex: none; }
.search input { padding-left: 10px; }
.sel-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .08); font: 500 13px/1 var(--ui); color: var(--ink); white-space: nowrap; transition: box-shadow .15s, background .15s; }
.sel-pill:hover, .sel-pill[aria-expanded="true"] { background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .18); }
.sel-pill.on { background: var(--black); color: #fff; box-shadow: none; }
.sel-pill svg { width: 15px; height: 15px; flex: none; }
.sort { padding: 0; }
.sort select { appearance: none; -webkit-appearance: none; height: 100%; border: 0; background: none; padding: 0 38px 0 18px; font: 500 13px var(--ui); cursor: pointer; outline: none; border-radius: 999px; }
.sort svg { position: absolute; right: 14px; pointer-events: none; }
.tb-price { position: relative; }
.price-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 310px; border-radius: 24px; padding: 20px 22px; z-index: 20; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.pp-title { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.pp-label { font: 500 13px var(--ui); color: var(--muted); margin: 8px 0 18px; }
.pp-btns { display: flex; justify-content: flex-end; gap: 8px; }
.pp-btns .btn { height: 38px; }

/* Two-handle price slider */
.price-slider { position: relative; height: 22px; }
.ps-track { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 4px; background: rgba(19, 19, 21, .1); }
.ps-range { position: absolute; top: 0; bottom: 0; background: var(--black); border-radius: 4px; }
.price-slider input { position: absolute; left: 0; top: 0; width: 100%; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-slider input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--black); cursor: grab; box-shadow: 0 2px 6px rgba(28, 40, 84, .25); }
.price-slider input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--black); cursor: grab; }
.price-slider input::-webkit-slider-runnable-track { background: none; }
.price-slider input::-moz-range-track { background: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { height: 36px; padding: 0 16px; border-radius: 999px; font: 500 13px/1 var(--ui); white-space: nowrap; color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)); box-shadow: var(--chip-sh); transition: transform .15s; }
.chip:hover { transform: translateY(-1px); }
.chip small { font-size: 11px; color: var(--muted-2); margin-left: 6px; }
.chip[aria-pressed="true"] { color: #fff; background: radial-gradient(120% 140% at 18% -50%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 60%), var(--black);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .3), 0 8px 18px -10px rgba(6, 10, 28, .6); }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .6); }

.search-note { font-size: 15px; color: var(--muted); margin: -10px 0 20px; }
.search-note b { color: var(--ink); font-weight: 600; }
.search-note a { color: var(--ink); font: 500 14px var(--ui); text-decoration: underline; margin-left: 8px; }
.notice { border-radius: 24px; padding: 56px 24px; text-align: center; color: var(--muted); }
.notice b { display: block; color: var(--ink); font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.notice .btn { margin-top: 20px; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--card-sh); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 .5px rgba(28, 40, 84, .16), 0 2px 4px rgba(28, 40, 84, .05), 0 24px 40px -22px rgba(28, 40, 84, .38); }
.card-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.card-img .pimg { width: 100%; height: 100%; transition: transform .35s; }
.card:hover .card-img .pimg { transform: scale(1.04); }
.badge-dark { position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; color: #fff; font: 600 11px/1 var(--ui);
  background: radial-gradient(120% 140% at 18% -40%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 60%), linear-gradient(#17305f, #0a1930);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1.5px 1px rgba(255, 255, 255, .42), 0 0 0 .5px rgba(6, 10, 28, .5), 0 6px 14px -4px rgba(6, 10, 28, .45); }
.badge-new { position: absolute; right: 8px; top: 8px; z-index: 2; }
.coa-chip { position: absolute; left: 12px; bottom: 12px; z-index: 2; gap: 5px; padding: 0 10px; font-size: 11px; }
.coa-chip svg { width: 12px; height: 12px; color: var(--green); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 12px; }
.card-title { font: 600 15px/1.25 var(--head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.card-title a:hover { opacity: .7; }
.card-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 12px; margin-top: auto; padding-top: 10px; }
.card-price small { font-size: 11px; color: var(--muted); }
.card-price b { font: 600 17px var(--ui); font-variant-numeric: tabular-nums; }
.card .btn { width: 100%; height: 40px; padding: 0 12px; }
.card-meta { margin-top: auto; padding: 8px 0 12px; font: 500 12.5px/1.3 var(--ui); color: var(--muted); }
/* Vial photos (img/vials): white studio shots, cropped square */
img.pimg.photo { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.qv-img img.pimg.photo { aspect-ratio: auto; min-height: 100%; padding: 24px; }
.mini-img img.pimg.photo { object-fit: cover; object-position: 50% 38%; }
/* Scene photos (img/scenes): shots with their own backdrop. They fill the frame edge to edge instead of sitting on white. */
img.pimg.photo[src^="img/scenes/"] { object-fit: cover; object-position: 50% 50%; }
.qv-img img.pimg.photo[src^="img/scenes/"] { padding: 0; }
.mini-img img.pimg.photo[src^="img/scenes/"], .cc-top .mini-img img.pimg.photo[src^="img/scenes/"] { object-fit: cover; object-position: 50% 42%; }

/* ---------- Drawn pictures ---------- */
.pimg { width: 100%; height: auto; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pg { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-grid; place-items: center; font: 500 14px/1 var(--ui); color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)); box-shadow: var(--chip-sh); }
.pg svg { width: 16px; height: 16px; }
button.pg:hover { transform: translateY(-1px); }
.pg.current { color: #fff; background: var(--black); box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .3); }
.pg.dots { background: none; box-shadow: none; color: var(--muted); }

/* ---------- Testing + shipping ---------- */
.wash { padding: 96px 0 72px;
  background: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 120px), linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 120px),
    radial-gradient(56% 30% at 100% 8%, rgba(233, 252, 230, .9), rgba(233, 252, 230, 0) 70%), radial-gradient(64% 36% at 0 64%, rgba(232, 229, 255, .9), rgba(232, 229, 255, 0) 72%),
    linear-gradient(rgba(232, 229, 255, .62), rgba(203, 229, 252, .5) 60%, rgba(233, 252, 230, .4)); }
.tested-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: end; }
.big-title { font: 600 60px/1.02 var(--head); letter-spacing: -1.32px; }
.lead { font-size: 17px; line-height: 1.45; color: var(--muted); margin-top: 16px; max-width: 360px; }
.tested-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 448px; gap: 16px; margin-top: 16px; }
.tests { border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.tests-grid { flex: 1; grid-auto-rows: 1fr; }
.tests-title { font-size: 24px; letter-spacing: -.3px; padding: 20px 24px 16px; }
.tests-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.tests-grid div { padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tests-grid div:nth-child(4n) { border-right: 0; }
.tests-grid b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.08px; }
.tests-grid span { font-size: 13px; color: var(--muted); }
.coa { position: relative; border-radius: 24px; padding: 20px 24px 24px; display: flex; flex-direction: column; }
.coa-eyebrow { font-size: 13px; color: var(--muted); }
.coa-title { font-size: 26px; font-weight: 600; letter-spacing: -.39px; line-height: 1.1; margin-top: 8px; max-width: 300px; }
.coa-lot { font-size: 13px; color: var(--muted); margin-top: 4px; }
.coa-img { position: absolute; right: 18px; top: 12px; width: 82px; }
/* Real vial photo (cut-out, img/hero/): taller than the drawn vial, so the header keeps room beside and below it */
.coa-img.coa-photo { width: 60px; height: auto; top: 16px; right: 26px; transform: rotate(6deg);
  filter: drop-shadow(0 12px 12px rgba(10, 25, 48, .22)) drop-shadow(0 2px 3px rgba(10, 25, 48, .15)); }
.coa-head.has-photo { min-height: 128px; padding-right: 84px; }
.coa-img.coa-photo.coa-scene { width: 84px; right: 18px; transform: none; border-radius: 14px; filter: none; } /* fallback: the product photo with its backdrop */
.coa-rows { margin: 22px 0 20px; }
.coa-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.coa-rows b { font-size: 14px; color: var(--ink); font-weight: 600; text-align: right; }
.coa .btn { margin-top: auto; width: 100%; }

.dispatch { margin-top: 96px; }
.dispatch-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dispatch-copy { padding-left: clamp(0px, 8vw, 170px); }
.disp-title { font: 600 44px/1.12 var(--head); letter-spacing: -.9px; }
.countdown { display: flex; gap: 22px; margin-top: 20px; font: 600 56px/1 var(--head); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.countdown span { display: inline-flex; align-items: baseline; }
.countdown small { font-size: 20px; color: var(--muted); margin-left: 2px; font-weight: 500; }
.countdown .s { color: rgba(19, 19, 21, .4); }
.cd-note { font-size: 13px; color: var(--muted); margin-top: 12px; padding-bottom: 8px; width: 290px; max-width: 100%;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / var(--cd, 50%) 1.5px no-repeat, linear-gradient(var(--line), var(--line)) 0 100% / 100% 1.5px no-repeat; }
.disp-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 44px 0 44px; max-width: 600px; }
.disp-feats b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.19px; line-height: 1.15; }
.disp-feats span { display: block; font-size: 14.5px; line-height: 1.38; color: var(--muted); margin-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 440px; }
.steps li { position: relative; padding-top: 22px; font-size: 15px; font-weight: 600; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(19, 19, 21, .35); z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 12px; right: 0; top: 5.5px; height: 1.5px; background: rgba(19, 19, 21, .18); }
.steps li:last-child::after { display: none; }
.steps li:first-child::before { background: var(--black); box-shadow: none; }
.steps li:first-child::after { background: var(--black); }
.steps-note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.dispatch-art svg { width: 100%; max-width: 620px; margin: 0 auto; height: auto; display: block; }

/* ---------- Questions ---------- */
.faq { padding-top: 80px; padding-bottom: 80px; }
.sec-title { font: 600 36px/40px var(--head); letter-spacing: -.54px; margin-bottom: 24px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
.faq-col { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { font-size: 15.5px; line-height: 1.5; color: var(--muted); padding: 0 40px 18px 0; }

/* ---------- Newsletter ---------- */
.news { display: flex; justify-content: space-between; align-items: center; gap: 32px; border-radius: 24px; padding: 48px;
  background: linear-gradient(100deg, rgba(232, 229, 255, .9) 0%, rgba(203, 229, 252, .9) 55%, rgba(233, 252, 230, .75) 100%); }
.news-title { font: 600 32px/1.08 var(--head); letter-spacing: -.48px; }
.news-text { font-size: 15px; color: var(--muted); margin-top: 8px; max-width: 420px; }
.news-form { width: 420px; max-width: 100%; height: 52px; padding: 0 4px 0 4px; flex: none; }
.news-form .btn { height: 44px; }

/* ---------- Footer ---------- */
.foot { margin-top: 80px; background: var(--navy-grad); color: #fff; padding: 64px 0 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .6fr)); gap: 32px; }
.foot-tag { font-size: 15px; color: rgba(255, 255, 255, .75); margin: 18px 0 18px; }
.foot-pill { height: 40px; color: var(--ink); }
.foot-pill svg { color: var(--green); }
.foot-head { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 12px; }
.foot-col a, .foot-col span { font-size: 15px; color: rgba(255, 255, 255, .75); }
.foot-col a:hover { color: #fff; }
.foot-disc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; margin-top: 56px; padding: 28px 32px 24px; border-radius: 24px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.foot-disc-title { font-size: 15px; font-weight: 600; }
.foot-disc p:not(.foot-disc-title) { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .75); max-width: 760px; }
.foot-disc a { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-trust { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-trust ul { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.foot-trust li svg { width: 16px; height: 16px; }
.foot-copy { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 18px; }

/* ---------- Wholesale access gate (sign in / apply / application received) ---------- */
.gate { position: fixed; inset: 0; z-index: 200; overflow-y: auto; padding: 22px 24px 40px;
  background: radial-gradient(40% 50% at 100% 0, rgba(233, 252, 230, .9), rgba(233, 252, 230, 0) 70%), radial-gradient(50% 60% at 0 100%, rgba(203, 229, 252, .9), rgba(203, 229, 252, 0) 70%), linear-gradient(135deg, #f1efff, #f7f9ff 50%, #eef5ff); }
.gate-logo { margin-left: 22px; }
.gate-inner { max-width: 1240px; margin: 32px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: center; min-height: calc(100vh - 130px); }
.gate-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro intro" "perks art"; gap: 28px 24px; align-items: center; }
.gate-intro { grid-area: intro; }
.gate-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font: 500 12.5px var(--ui); color: var(--navy);
  background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 .5px rgba(28, 40, 84, .16); }
.gate-kicker svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--navy); color: #fff; }
.gate-head { font: 600 52px/1.04 var(--head); letter-spacing: -1.2px; margin-top: 18px; max-width: 620px; }
.gate-lead { font-size: 16.5px; line-height: 1.5; color: var(--muted); margin-top: 14px; max-width: 540px; }
.gate-perks { grid-area: perks; display: grid; gap: 16px; }
.gate-perks li { display: flex; gap: 12px; align-items: flex-start; }
.gp-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 .5px rgba(28, 40, 84, .16); color: var(--green); }
.gp-ic svg { width: 15px; height: 15px; }
.gate-perks b { display: block; font: 600 15px var(--ui); letter-spacing: -.1px; }
.gate-perks div span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.gate-art { grid-area: art; }
.gate-art svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.gate-card { border-radius: 28px; padding: 22px 28px 26px; background: var(--glass-bg); box-shadow: var(--glass-sh); }
.gate-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(19, 19, 21, .06); margin-bottom: 22px; }
.gate-tabs button { height: 38px; border-radius: 999px; font: 500 14px var(--ui); color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.gate-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(19, 19, 21, .12), 0 0 0 .5px rgba(19, 19, 21, .08); }
.gate-tabs[hidden] { display: none; }
.gate-pane { display: grid; }
.gate-pane[hidden] { display: none; }
.gate-title { font-size: 28px; letter-spacing: -.5px; line-height: 1.12; }
.gate-text { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 8px 0 18px; }
.gate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; }
.gate-grid label { display: grid; gap: 5px; font: 500 12.5px var(--ui); color: var(--muted); }
.gate-grid label i { font-style: normal; font-weight: 400; color: var(--muted-2); }
.gate-grid .wide { grid-column: 1 / -1; }
.gate-grid input, .gate-grid select { width: 100%; height: 44px; border: 0; border-radius: 12px; padding: 0 14px; font: 15px var(--head); color: var(--ink); background: #fff;
  box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .14); }
.gate-grid select { appearance: none; padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23131315' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.gate-grid input::placeholder { color: var(--muted-2); }
.gate-grid input:focus, .gate-grid select:focus { outline: none; box-shadow: inset 0 0 0 1.5px #4b5bd6; }
.gate-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 13.5px; }
.gate-keep { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.gate-keep input { width: 17px; height: 17px; accent-color: var(--black); }
.gate-link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.gate-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 .5px rgba(28, 40, 84, .14); font-size: 13px; line-height: 1.45; cursor: pointer; }
.gate-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--black); flex: none; }
.gate-btn { margin-top: 18px; height: 48px; font-size: 15px; width: 100%; }
.gate-err { font-size: 13px; color: var(--red); text-align: center; margin-top: 10px; min-height: 18px; }
.gate-err a { color: inherit; font-weight: 600; text-decoration: underline; }
.gate-demo { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff4dc; color: #6b4a0b; font-size: 12.5px; text-align: center; }
.gate-err:empty { margin-top: 4px; }
.gate-err.ok { color: var(--green); }
.gate-switch { font-size: 13.5px; color: var(--muted); text-align: center; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.gate-switch button { font: 600 13.5px var(--ui); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gate-done { text-align: center; padding-top: 6px; }
.gate-done-ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px var(--green); }
.gate-done-ic svg { width: 26px; height: 26px; }
.gate-done .gate-text { margin-bottom: 16px; }
.gate-done .gate-text b { color: var(--ink); font-weight: 600; }
.gate-ref { display: grid; text-align: left; border-radius: 14px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 .5px rgba(28, 40, 84, .14); }
.gate-ref div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 16px; min-width: 0; }
.gate-ref div + div { border-top: 1px solid var(--line); }
.gate-ref dt { font-size: 13px; color: var(--muted); flex: none; }
.gate-ref dd { font: 600 13.5px var(--ui); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gate-steps { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
.gate-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.gate-steps li > span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(19, 19, 21, .18); }
.gate-steps li.done { color: var(--ink); }
.gate-steps li.done > span { background: var(--green); box-shadow: none; color: #fff; }
.gate-steps li.done svg { width: 13px; height: 13px; }
.gate-steps li.now { color: var(--ink); font-weight: 500; }
.gate-steps li.now > span { box-shadow: inset 0 0 0 1.5px var(--navy); }
.gate-steps li.now > span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); animation: gate-pulse 1.6s ease-in-out infinite; }
@keyframes gate-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .gate-steps li.now > span::after { animation: none; } }
.gate-foot { font-size: 12px; color: var(--muted); margin: 14px 8px 0; }
.gate-foot a { color: var(--ink); text-decoration: underline; }
body.gated { overflow: hidden; }

/* ---------- Menu drawer ---------- */
.drawer { position: fixed; left: 0; top: 0; bottom: 0; z-index: 90; width: min(340px, 88vw); background: #fff; padding: 16px 20px 24px; overflow-y: auto;
  transform: translateX(-100%); visibility: hidden; display: flex; flex-direction: column; gap: 18px; border-radius: 0 28px 28px 0; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer .search { width: 100%; flex: none !important; }
.mnav a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); font: 500 16px var(--ui); }
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(10, 25, 48, .4); opacity: 0; visibility: hidden; }
.drawer-open .overlay { opacity: 1; visibility: visible; }
.drawer-anim .drawer { transition: transform .3s, visibility .3s; }
.drawer-anim .overlay { transition: opacity .3s, visibility .3s; }

/* ---------- Quick View / Sign in window ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.lb-bg { position: fixed; inset: 0; background: rgba(10, 25, 48, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.lb-content { position: relative; width: 100%; max-width: 940px; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(10, 25, 48, .6); animation: lbIn .2s ease-out; }
.lb-content.narrow { max-width: 780px; }
@keyframes lbIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.lb-close { position: absolute; right: 16px; top: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)); box-shadow: var(--chip-sh); }
.lb-close svg { width: 18px; height: 18px; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-img { position: relative; }
.qv-img .pimg { height: 100%; }
.qv-sum { padding: 40px 36px 32px; display: flex; flex-direction: column; }
.qv-cat { font-size: 13px; color: var(--muted); }
.qv-title { font-size: 30px; line-height: 1.1; letter-spacing: -.5px; margin: 6px 44px 14px 0; overflow-wrap: anywhere; }
.qv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.qv-chips .chip-glass svg { width: 12px; height: 12px; color: var(--green); margin-right: 5px; }
.qv-price { font: 600 26px var(--ui); margin-bottom: 18px; }
.qv-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.qv-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.opt { min-height: 48px; padding: 6px 16px; border-radius: 18px; font: 600 13.5px/1.2 var(--ui); text-align: center; color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .78)); box-shadow: var(--chip-sh); }
.opt small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.opt[aria-pressed="true"] { background: var(--black); color: #fff; box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .3); }
.opt[aria-pressed="true"] small { color: rgba(255, 255, 255, .65); }
.qv-buy { display: flex; gap: 10px; margin-bottom: 22px; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; padding: 0 5px; flex: none; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .1); }
.qty button { width: 40px; height: 40px; border-radius: 999px; font: 500 18px var(--ui); }
.qty button:hover { background: rgba(19, 19, 21, .06); }
.qty input { width: 40px; text-align: center; border: 0; outline: none; font: 600 15px var(--ui); -moz-appearance: textfield; appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qv-buy .btn { flex: 1; height: 52px; font-size: 15px; }
.qv-desc { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; }
.qv-meta { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.qv-meta a { color: var(--ink); font-weight: 600; text-decoration: underline; }

.req { color: var(--red); }

/* ---------- Price sheet + Instructions windows ---------- */
/* ---------- Price sheet page (order form) ---------- */
.sheet { padding-top: 34px; padding-bottom: 40px; min-height: 70vh; }
.sheet .cat-head { align-items: flex-end; }
.ps-note { font-size: 15.5px; line-height: 1.45; color: var(--muted); margin-top: 8px; max-width: 560px; }
.ps-tools .search { width: 300px; height: 48px; }
.ps-tools .btn { height: 48px; }
.ps-card { background: #fff; border-radius: 24px; box-shadow: var(--card-sh); padding: 4px 28px 24px; }
.ps-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ps-table thead th { top: var(--bar-h, 72px); }
.ps-table th, .ps-table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ps-table th:first-child, .ps-table td:first-child { padding-left: 0; }
.ps-table th:last-child, .ps-table td:last-child { padding-right: 0; }
.ps-table thead th { position: sticky; top: var(--bar-h, 72px); z-index: 2; background: #fff; padding-top: 16px; font: 600 11.5px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ps-group th { padding-top: 26px; font: 600 15px var(--ui); border-bottom: 1.5px solid var(--ink); }
.ps-name:hover { text-decoration: underline; }
.ps-sz, .ps-pr { white-space: nowrap; }
.ps-sz { color: var(--muted); }
.ps-table .ps-pr { text-align: right; font: 600 14px var(--ui); font-variant-numeric: tabular-nums; }
.ps-sz span, .ps-pr span { display: block; line-height: 1.5; }
.ps-act { width: 1%; text-align: right; }
.ps-add { height: 30px; padding: 0 14px; border-radius: 999px; font: 600 12px var(--ui); color: #fff; background: var(--black); white-space: nowrap; }
.ps-add:hover { background: #2a2c33; }
.ps-empty { padding: 36px 0; text-align: center; color: var(--muted); }
/* Price sheet as order form: kits box per row + submit bar */
.ps-table th.ps-act { text-align: right; }
.ps-table thead th.ps-pr, .ps-table thead th.ps-sz { font: 600 11.5px var(--ui); color: var(--muted); }
.ps-table tr.on td { background: rgba(75, 91, 214, .05); }
/* Volume tier columns: lighter for the higher tiers; the tier a row's kits fall in is shown as a navy pill */
.ps-table td.ps-pr + td.ps-pr { color: var(--ink-82); }
.ps-table td.ps-pr span { transition: background .15s, color .15s; }
/* each tier price is a button that sets the row's kits to that tier's minimum (1 / 25 / 100) */
.ps-tbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ps-tbtn span { border-radius: 999px; }
.ps-tbtn:hover span { display: inline-block; margin-right: -8px; padding: 0 8px; background: rgba(10, 25, 48, .08); }
.ps-tbtn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 999px; }
.ps-table td.ps-pr.tier-on span { display: inline-block; margin-right: -8px; padding: 0 8px; border-radius: 999px; background: var(--navy); color: #fff; }
.ps-qty { display: inline-flex; align-items: center; height: 32px; border-radius: 999px; padding: 0 2px; background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .14); }
.ps-qty button { width: 28px; height: 28px; border-radius: 999px; font: 500 16px/1 var(--ui); color: var(--muted); }
.ps-qty button:hover { background: rgba(19, 19, 21, .06); color: var(--ink); }
.ps-qty input { width: 44px; height: 28px; text-align: center; border: 0; outline: none; background: none; font: 600 14px var(--ui); -moz-appearance: textfield; appearance: textfield; }
.ps-qty input::-webkit-inner-spin-button, .ps-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ps-qty:focus-within { box-shadow: inset 0 0 0 1.5px #4b5bd6; }
tr.on .ps-qty { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ps-order { position: sticky; bottom: 16px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; padding: 16px 22px;
  border-radius: 24px; background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)); box-shadow: var(--glass-sh), 0 18px 40px -20px rgba(28, 40, 84, .45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.po-sum { flex: 1 1 260px; min-width: 0; }
.po-sum p { display: flex; gap: 12px; align-items: baseline; font: 600 15px var(--ui); }
.po-sum p span { font-variant-numeric: tabular-nums; }
/* "Clear" next to the order total: empties every kit from the draft (Undo in the toast) */
.po-clear { align-self: center; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 8px; border: 0;
  border-radius: 999px; font: 500 12px var(--ui); color: var(--muted); background: rgba(10, 25, 48, .06); cursor: pointer;
  transition: background .15s, color .15s; }
.po-clear svg { width: 12px; height: 12px; }
.po-clear:hover { background: rgba(200, 40, 40, .1); color: #b42323; }
.po-clear:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
/* toasts with an action (e.g. Undo) can be clicked; on the price sheet they sit above the order bar */
.toast.has-act { pointer-events: auto; display: flex; align-items: center; gap: 14px; padding-right: 8px; }
.toast-act { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; font: 600 12.5px var(--ui); color: var(--ink); background: #fff; cursor: pointer; }
.toast-act:hover { background: #e9e9f2; }
.view-sheet .toasts { bottom: calc(var(--order-bar-h, 112px) + 8px); }
.po-sum small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.po-fields { display: flex; flex-wrap: wrap; gap: 8px; flex: 2 1 420px; }
.po-fields input { flex: 1 1 150px; height: 44px; min-width: 0; border: 0; border-radius: 999px; padding: 0 16px; font: 14px var(--head); background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .12); }
.po-fields input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #4b5bd6; }
.po-fields .btn { flex: 1 1 auto; height: 46px; }
/* Payment method + ship-to pickers: pill buttons (same look as the notes box) that open a small popup */
.po-pay, .po-ship { position: relative; flex: 1 1 150px; min-width: 0; }
.po-ship-btn { width: 100%; height: 44px; border: 0; border-radius: 999px; padding: 0 36px 0 16px; font: 14px var(--head); color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .12); text-align: left; cursor: pointer; }
.po-ship-btn:not(.set) { color: var(--muted-2); }
.po-ship-btn:focus-visible, .po-ship-btn[aria-expanded="true"] { outline: none; box-shadow: inset 0 0 0 1.5px #4b5bd6; }
.po-ship-btn svg { position: absolute; right: 14px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; pointer-events: none; color: var(--muted); }
.po-ship-btn span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ship-pop { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 30; width: 340px; max-width: calc(100vw - 32px); padding: 14px; border-radius: 20px;
  background: #fff; box-shadow: 0 0 0 .5px rgba(28, 40, 84, .18), 0 24px 50px -18px rgba(28, 40, 84, .4); }
.ship-title { font: 600 11.5px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 8px; }
.ship-list { display: grid; gap: 4px; max-height: 240px; overflow-y: auto; }
.ship-list button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px; border-radius: 14px; }
.ship-list button:hover { background: rgba(19, 19, 21, .05); }
.ship-list button[aria-pressed="true"] { background: rgba(75, 91, 214, .08); }
.ship-list i { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(19, 19, 21, .3); background: #fff; }
.ship-list [aria-pressed="true"] i { box-shadow: inset 0 0 0 5px #4b5bd6; }
.ship-list b { display: block; font: 600 14px var(--ui); }
.ship-list b small { font: 600 10.5px var(--ui); color: var(--green); margin-left: 4px; }
.ship-list span > small { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.ship-none { font-size: 14px; color: var(--muted); padding: 4px 4px 10px; }
.ship-add { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 6px; padding: 11px 10px; border-radius: 14px; border-top: 1px solid var(--line); font: 600 13.5px var(--ui); }
.ship-add:hover { background: rgba(19, 19, 21, .05); }
.ship-add svg { width: 16px; height: 16px; }
.po-err { flex-basis: 100%; font: 500 13px var(--ui); color: var(--red); }
/* ---------- Account page: shipping addresses ---------- */
.account { padding-top: 34px; padding-bottom: 72px; min-height: 70vh; }
.ac-card { background: #fff; border-radius: 24px; box-shadow: var(--card-sh); padding: 26px 28px 28px; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.ac-head h2 { font: 600 24px/1.2 var(--head); letter-spacing: -.3px; }
.ac-head p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.ac-back { margin-bottom: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(75, 91, 214, .08); font-size: 14.5px; }
.ac-back a { font-weight: 600; text-decoration: underline; margin-left: 4px; }
.ac-form { border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 18px; background: #fafbfd; }
.ac-form h3 { font: 600 17px var(--ui); margin-bottom: 14px; }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.ac-grid label { display: grid; gap: 5px; font: 500 12.5px var(--ui); color: var(--muted); }
.ac-grid .wide { grid-column: 1 / -1; }
.ac-grid input:not([type="checkbox"]) { height: 44px; border: 0; border-radius: 12px; padding: 0 14px; font: 15px var(--head); color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .14); }
.ac-grid input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #4b5bd6; }
/* Street address suggestions */
.ac-line1 { position: relative; }
.ac-sug { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); display: grid; padding: 6px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(19, 19, 21, .08), 0 18px 40px rgba(16, 24, 64, .16); color: var(--ink); }
.ac-sug[hidden] { display: none; }
.ac-opt { display: grid; gap: 2px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.ac-opt b { font: 500 14.5px var(--head); }
.ac-opt small { font: 400 12.5px var(--ui); color: var(--muted); }
.ac-opt:hover, .ac-opt[aria-selected="true"] { background: #eef1ff; }
.ac-osm { padding: 6px 12px 2px; font: 400 11px var(--ui); color: var(--muted); }
.ac-grid .ac-check { display: flex; align-items: center; gap: 8px; align-self: end; height: 44px; font-size: 13.5px; color: var(--ink); }
.ac-check input { width: 18px; height: 18px; accent-color: var(--black); }
.ac-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.ac-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ac-addr { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .1); }
.ac-addr.def { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ac-lines { display: grid; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ac-lines b { font: 600 15px var(--ui); color: var(--ink); }
.ac-def { justify-self: start; margin-bottom: 8px; font: 600 11px var(--ui); color: var(--green); background: #e6f6ec; border-radius: 999px; padding: 3px 10px; }
.ac-acts { display: flex; gap: 14px; }
.ac-acts button { font: 600 13px var(--ui); color: var(--muted); text-decoration: underline; }
.ac-acts button:hover { color: var(--ink); }
/* Account page: company details + preferred payment (side by side), balance */
.ac-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.ac-bal { margin-bottom: 16px; }
.ac-status { flex: none; font: 600 12px var(--ui); padding: 5px 12px; border-radius: 999px; background: #eef0f4; color: var(--muted); white-space: nowrap; }
.ac-status.st-approved, .ac-status.tu-paid { background: #e6f6ec; color: var(--green); }
.ac-status.st-pending, .ac-status.tu-requested { background: #fff4dc; color: #93620b; }
.ac-status.tu-invoiced { background: rgba(75, 91, 214, .1); color: #3b49b8; }
.ac-status.st-rejected, .ac-status.st-suspended, .ac-status.tu-cancelled { background: #fdecec; color: var(--red); }
.ac-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.ac-facts dt { font: 500 12px var(--ui); color: var(--muted); }
.ac-facts dd { font-size: 15px; overflow-wrap: anywhere; }
.ac-facts dd, .gate-ref dd { margin: 0; }
.ac-fine { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ac-fine a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.ac-paylist { display: grid; gap: 10px; }
.ac-payopt { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .12); transition: box-shadow .15s, background .15s; }
.ac-payopt:hover { background: #fafbfd; }
.ac-payopt i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(19, 19, 21, .3); }
.ac-payopt[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ac-payopt[aria-checked="true"] i { box-shadow: inset 0 0 0 5px var(--ink); }
.ac-payopt b { display: block; font: 600 15px var(--ui); }
.ac-payopt small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.bal-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.bal-now { padding: 22px; border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 10% -40%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%), var(--navy-grad); }
.bal-now > span { font: 500 13px var(--ui); opacity: .8; }
.bal-now > b { display: block; font: 600 40px/1.15 var(--head); letter-spacing: -.8px; margin-top: 4px; }
.bal-now > small { display: block; font-size: 13px; opacity: .75; margin-top: 4px; min-height: 18px; }
.bal-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bal-btns .btn-black { background: #fff; color: var(--ink); }
.bal-btns .btn-glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.bal-btns .btn:disabled { opacity: .5; cursor: not-allowed; }
.bal-form h3 { font: 600 17px var(--ui); }
.bal-form > p:not(.bal-err) { font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.bal-form .ac-grid select { height: 44px; border: 0; border-radius: 12px; padding: 0 12px; font: 15px var(--head); background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .14); }
.bal-amts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bal-amts:empty { display: none; }
.bal-code { display: flex; gap: 8px; }
.bal-code input { flex: 1; min-width: 0; height: 46px; border: 0; border-radius: 12px; padding: 0 14px; font: 600 16px var(--ui); letter-spacing: 1px; text-transform: uppercase; background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .14); }
.bal-code input:focus, .bal-form .ac-grid select:focus { outline: none; box-shadow: inset 0 0 0 1.5px #4b5bd6; }
.bal-x { margin-top: 10px; font: 500 13px var(--ui); color: var(--muted); text-decoration: underline; }
.bal-err { font-size: 13px; color: var(--red); margin-top: 8px; min-height: 18px; }
.bal-form.busy, .gate-pane.busy { opacity: .7; }
.ba-title { font: 600 14px var(--ui); margin-bottom: 8px; }
.ba-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.ba-k b { display: block; font: 600 14px var(--ui); }
.ba-k small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba-st { font: 500 12px var(--ui); color: #93620b; }
.ba-amt { font: 600 15px var(--ui); }
.ba-amt.pos { color: var(--green); }
.ba-open .ba-amt { color: var(--muted); }
.ba-empty { font-size: 14px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); }
.ba-pay { margin-top: 4px; padding: 0; border: 0; background: none; font: 500 12.5px var(--ui); color: #3b4fc4; text-decoration: underline; cursor: pointer; }
.bal-form > .bal-hint { margin: 10px 0 0; font-size: 13px; }
/* Crypto payment window (automatic top-ups through SHKeeper) */
.cp-lb.lb-content { max-width: 620px; }
.cp { padding: 30px 30px 26px; display: grid; gap: 16px; }
.cp-kicker { font: 500 13px var(--ui); color: var(--muted); }
.cp h2 { font: 600 26px/1.15 var(--head); margin-top: -10px; }
.cp-grid { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 20px; align-items: start; }
.cp-qr { width: 172px; aspect-ratio: 1; padding: 8px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .12); }
.cp-qr:empty { background: #f3f4f8; }
.cp-qr svg { display: block; width: 100%; height: 100%; }
.cp-fields { display: grid; gap: 12px; min-width: 0; }
.cp-f > span { display: block; font: 500 12.5px var(--ui); color: var(--muted); margin-bottom: 4px; }
.cp-copy { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 12px; background: #f4f5f9; }
.cp-copy code { flex: 1; min-width: 0; font: 600 15px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.cp-copy code small { font-weight: 500; color: var(--muted); }
.cp-copy .cp-addr { font-size: 13px; font-weight: 500; }
.cp-copy button { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 99px; background: var(--black); color: #fff; font: 500 12.5px var(--ui); cursor: pointer; }
.cp-rate { font-size: 12.5px; color: var(--muted); }
.cp-status { padding: 11px 14px; border-radius: 12px; font: 500 14px var(--ui); background: #fff6e6; color: #8a5300; }
.cp-status.wait::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: cpPulse 1.4s ease-in-out infinite; }
.cp-status.ok { background: #e3f7e8; color: #13693a; }
.cp-status.part { background: #e8edff; color: #2b3fa0; }
.cp-status.off { background: #eef0f4; color: #4b5160; }
@keyframes cpPulse { 50% { opacity: .25; } }
.cp-notes { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 13.5px; color: var(--muted); }
.cp-btns { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.cp-preview { margin: 0 44px 14px 0; padding: 9px 13px; border-radius: 12px; background: #fff0f0; color: #9b1c1c; font: 400 13px/1.45 var(--ui); }
.cp-demo { font-size: 12.5px; color: var(--muted); padding: 8px 12px; border-radius: 10px; background: #f4f2ff; }
.cp-demo button { border: 0; background: none; padding: 0; font: inherit; color: #4a35a8; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .cp { padding: 26px 18px 22px; }
  .cp-grid { grid-template-columns: 1fr; }
  .cp-qr { width: 164px; justify-self: center; }
}
.admin-link[hidden] { display: none !important; }
.ad-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--red); color: #fff; font: 600 11px var(--ui); }
.ad-badge[hidden] { display: none; }
/* Account settings card */
.ac-set { margin-top: 16px; }
.ac-set .ac-fine { margin: 0 0 16px; padding: 0; border: 0; }
.ac-set .ac-fine[hidden] { display: none; }
.set-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.set-form { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .1); }
.set-form h3 { font: 600 16px var(--ui); }
.set-form label { display: grid; gap: 5px; font: 500 12.5px var(--ui); color: var(--muted); }
.set-form input { height: 44px; border: 0; border-radius: 12px; padding: 0 14px; font: 15px var(--head); color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .14); }
.set-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px #4b5bd6; }
.set-form input:disabled { background: #f6f7f9; }
.set-form .btn { align-self: flex-start; margin-top: auto; }
.set-form .btn:disabled, .ac-set .ac-head .btn:disabled { opacity: .5; cursor: not-allowed; }
.set-form.busy { opacity: .7; }
.set-now { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.set-now b { color: var(--ink); font-weight: 600; }
.set-hint { font-size: 12.5px; color: var(--muted); }
.set-form .bal-err { margin-top: 0; }
.bal-err.ok { color: var(--green); }.ac-empty { grid-column: 1 / -1; padding: 22px; border-radius: 16px; border: 1.5px dashed rgba(19, 19, 21, .14); color: var(--muted); font-size: 14.5px; }
.ins { padding: 38px 38px 30px; }
.ins-eyebrow { font: 600 12px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.ins-list.faq { padding: 0; border-top: 1px solid var(--line); }
.ins-foot { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.ins-foot a { color: var(--ink); font-weight: 600; text-decoration: underline; }
@media print {
  /* Printing the price sheet page: just the title, note and table */
  body.print-sheet .bar, body.print-sheet .foot, body.print-sheet .support, body.print-sheet .toasts, body.print-sheet .wash,
  body.print-sheet .faq, body.print-sheet .news, body.print-sheet .crumbs, body.print-sheet .ps-tools, body.print-sheet .ps-act,
  body.print-sheet .ps-order, body.print-sheet .island { display: none !important; }
  body.print-sheet .sheet { padding: 0; min-height: 0; }
  body.print-sheet .ps-card { box-shadow: none; padding: 0; }
  body.print-sheet .ps-table thead th { position: static; }
  body.print-sheet .ps-table tr { break-inside: avoid; }
}

/* ---------- Customer support bubble ---------- */
/* ---------- COAs page (#coas) ---------- */
.coa-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 0 36px; }
.coa-h1 { font: 600 56px/1.05 var(--head); letter-spacing: -1.12px; }
.coa-count { margin-top: 14px; font-size: 15px; color: var(--muted); }
.coa-hero .coa-find { flex: none; width: min(400px, 100%); min-width: 0; margin-top: 30px; }
.coa-sample { margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.coa-sample:empty { display: none; }
.coa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.coa-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: var(--card-sh); padding: 14px; }
.cc-top { display: flex; align-items: center; gap: 12px; }
.cc-top .mini-img { flex: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cc-top .mini-img img.pimg.photo { object-fit: contain; object-position: 50% 50%; } /* whole vial, as on the reference */
.cc-name { font: 600 15px/1.25 var(--ui); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-size { font-size: 13px; color: var(--muted); margin-top: 1px; }
.cc-pur { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; margin-top: 16px; }
.cc-pur b { font: 600 28px/1 var(--ui); letter-spacing: -.6px; }
.cc-pur span { font-size: 12.5px; color: var(--muted); }
.cc-lot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.cc-assays { margin-top: 12px; border-radius: 12px; background: #f1f7f3; }
.cc-assays summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 9px 10px; font: 500 12.5px/1.3 var(--ui); color: var(--green); }
.cc-assays summary::-webkit-details-marker { display: none; }
.cc-ok { width: 15px; height: 15px; flex: none; }
.cc-chev { width: 14px; height: 14px; flex: none; margin-left: auto; color: var(--muted); transition: transform .2s; }
.cc-assays[open] .cc-chev { transform: rotate(180deg); }
.cc-list { padding: 0 10px 8px; }
.cc-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(21, 128, 61, .12); font-size: 12.5px; line-height: 1.3; }
.cc-list small { font-size: 11.5px; color: var(--muted); }
.cc-list b { flex: none; max-width: 48%; text-align: right; font-weight: 600; }
/* No certificate published yet */
.coa-card.pending .cc-pur b, .coa-box.pending .cb-pur b { color: var(--muted-2); }
.cc-wait { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding: 9px 10px; border-radius: 12px; background: #f3f4f7; font: 500 12.5px/1.3 var(--ui); color: var(--muted); }
.cb-text { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cb-sub.cb-sub-wait { color: var(--muted); }
.coa-box.pending .cc-list b { font-weight: 500; color: var(--muted); }
.cc-price { margin-top: 14px; font-size: 13px; color: var(--muted); }
.cc-price b { font: 600 19px var(--ui); color: var(--ink); margin-right: 3px; }
.cc-btns { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.cc-btns .btn { height: 40px; padding: 0 18px; }
.coa-more { display: flex; justify-content: center; margin-top: 28px; }
.coa-more small { margin-left: 4px; font-size: 12px; color: var(--muted); }
.coa-disc { margin: 22px 0 72px; text-align: center; font-size: 13px; color: var(--muted); }
#coaEmpty { margin-top: 8px; }
.coa-band { padding: 72px 0; background: radial-gradient(60% 80% at 0 0, rgba(232, 229, 255, .95), rgba(232, 229, 255, 0) 70%), radial-gradient(60% 80% at 100% 100%, rgba(226, 240, 255, .95), rgba(226, 240, 255, 0) 70%), #f3f2ff; }
.coa-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cp-item { background: #fff; border-radius: 18px; box-shadow: var(--card-sh); padding: 16px 18px; }
.cp-item b { display: block; font: 600 15px var(--ui); }
.cp-item small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.cp-item p { margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink-82); }
.coa-qa { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 80px; padding-bottom: 80px; }
.faq.coa-faq { padding: 0; border-top: 1px solid var(--line); }
.coa-ask { border-radius: 24px; padding: 32px; background: linear-gradient(135deg, #efedff, #e7f2ff); }
.coa-ask h3 { font: 600 26px/1.15 var(--head); letter-spacing: -.3px; }
.coa-ask p { margin: 10px 0 22px; font-size: 15px; line-height: 1.45; color: var(--muted); }
/* Certificate window */
.lb-content.coa-lb { max-width: 560px; }
.coa-box { display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.cb-scroll { overflow-y: auto; padding: 26px 28px 20px; }
.cb-eyebrow { font-size: 13px; color: var(--muted); }
.cb-title { font: 600 22px/1.2 var(--ui); letter-spacing: -.2px; margin-top: 4px; padding-right: 44px; }
.cb-pur { margin-top: 18px; }
.cb-pur b { font-size: 40px; }
.cb-rows { margin-top: 16px; }
.cb-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cb-rows dt { color: var(--muted); }
.cb-rows dd { text-align: right; }
.cb-rows dd b { font-weight: 600; }
.cb-rows dd small { display: block; font-size: 12.5px; color: var(--muted); }
.cb-rows a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cb-sub { display: flex; align-items: center; gap: 7px; margin: 10px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 13.5px var(--ui); color: var(--green); }
.cb-scroll .cc-list { padding: 0; }
.cb-scroll .cc-list li { border-top-color: var(--line); font-size: 13.5px; }
.cb-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; border-top: 1px solid var(--line); background: #fff; }
.cb-foot small { display: block; font-size: 12.5px; color: var(--muted); }
.cb-foot b { font: 600 19px var(--ui); }
.cb-foot b span { font: 400 13px var(--ui); color: var(--muted); }
@media (max-width: 1100px) { .coa-grid, .coa-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .coa-grid, .coa-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coa-qa { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .coa-hero { padding: 26px 0 26px; }
  .coa-h1 { font-size: 38px; letter-spacing: -.7px; }
  .coa-hero .coa-find { margin-top: 22px; }
  .coa-band { padding: 52px 0; }
  .coa-qa { padding-top: 56px; padding-bottom: 56px; }
  .coa-ask { padding: 24px; }
  .coa-box { max-height: 92vh; } /* phone: bottom sheet */
  .cb-scroll { padding: 22px 20px 16px; }
  .cb-foot { padding: 12px 20px; }
}
@media (max-width: 560px) { .coa-grid { grid-template-columns: minmax(0, 1fr); } .coa-panel { grid-template-columns: minmax(0, 1fr); } }

.support { position: fixed; right: 24px; bottom: 24px; z-index: 85; }
.gated .support, .view-sheet.po-open .support { display: none; }
.view-sheet .support { bottom: var(--order-bar-h, 112px); } /* sits above the sticky order bar */
.sp-bubble { width: 60px; height: 60px; border-radius: 999px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 140% at 18% -50%, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 60%), var(--black);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .25), 0 0 0 .5px rgba(0, 0, 0, .4), 0 16px 34px -12px rgba(10, 25, 48, .6); transition: transform .15s; }
.sp-bubble:hover { transform: translateY(-2px); }
.sp-bubble svg { grid-area: 1 / 1; width: 26px; height: 26px; transition: opacity .15s, transform .2s; }
.sp-ic-x { opacity: 0; transform: rotate(-60deg); }
.support.open .sp-ic-chat { opacity: 0; transform: rotate(60deg); }
.support.open .sp-ic-x { opacity: 1; transform: none; }
.sp-panel { position: absolute; right: 0; bottom: 74px; width: 368px; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 .5px rgba(28, 40, 84, .16), 0 34px 70px -24px rgba(10, 25, 48, .55); transform-origin: bottom right; animation: spIn .18s ease-out; }
@keyframes spIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.sp-head { display: flex; align-items: center; gap: 12px; padding: 18px 14px 18px 20px; color: #fff; background: var(--navy-grad); }
.sp-head > div { flex: 1; min-width: 0; }
.sp-head .icon-btn { color: #fff; background: rgba(255, 255, 255, .1); }
.sp-head .icon-btn:hover { background: rgba(255, 255, 255, .2); }
.sp-head .icon-btn svg { width: 18px; height: 18px; }
.sp-av { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #111; background: #fff; }
.sp-av svg { width: 26px; height: 26px; }
.sp-title { font: 600 16px/1.2 var(--ui); }
.sp-reply { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; opacity: .82; }
.sp-reply i { width: 7px; height: 7px; flex: none; border-radius: 99px; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }
.sp-body { display: grid; gap: 14px; padding: 18px 18px 14px; background: linear-gradient(170deg, #f5f3ff, #eef6ff 55%, #fff); }
.sp-msg { max-width: 92%; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: #fff; font-size: 14.5px; line-height: 1.45; box-shadow: var(--card-sh); }
.sp-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-topics:empty { display: none; }
.sp-topic { height: 30px; padding: 0 12px; border-radius: 999px; font: 500 12.5px var(--ui); color: var(--ink); background: #fff; box-shadow: var(--chip-sh); }
.sp-topic[aria-pressed="true"] { color: #fff; background: var(--black); }
.sp-form { display: grid; gap: 8px; }
.sp-form textarea { width: 100%; resize: none; border: 0; border-radius: 18px; padding: 12px 14px; font: 15px/1.4 var(--head); color: var(--ink); background: #fff;
  box-shadow: inset 0 0 0 1px rgba(19, 19, 21, .12); outline: none; }
.sp-form textarea:focus { box-shadow: inset 0 0 0 1.5px #4b5bd6; }
.sp-form .btn { height: 46px; }
.sp-note { font-size: 12px; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.sp-note b { color: var(--ink); font-weight: 600; }
.sp-links { display: flex; justify-content: center; gap: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.sp-links a { display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--ui); color: var(--ink-82); }
.sp-links a:hover { color: var(--ink); text-decoration: underline; }
.sp-links svg { width: 16px; height: 16px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 250; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { color: #fff; font: 500 13.5px/1.3 var(--ui); padding: 12px 20px; border-radius: 999px; text-align: center;
  background: radial-gradient(120% 170% at 10% -50%, rgba(125, 150, 255, .4), rgba(125, 150, 255, 0) 60%), linear-gradient(#152c5a, #0a1930);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .3), 0 14px 30px -12px rgba(6, 10, 28, .7); animation: toastIn .2s ease-out, toastOut .3s ease-in 2.9s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Breakpoints ---------- */
@media (max-width: 1280px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero { padding-left: 48px; }
  .hero-title { font-size: 60px; }
  .bar-link { padding: 0 12px; }
}
@media (max-width: 1200px) {
  .gate-inner { grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; }
  .gate-side { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "perks" "art"; gap: 24px; }
  .gate-head { font-size: 42px; letter-spacing: -.9px; }
  .gate-art svg { max-width: 340px; margin: 0; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tested-bottom { grid-template-columns: 1fr; }
  .cat-head { flex-direction: column; align-items: stretch; }
  .tools { flex-wrap: wrap; }
  .search { flex: 1; width: auto; min-width: 220px; }
  .dispatch-copy { padding-left: 0; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-btn { display: inline-grid; }
  .bar-shell { padding: 0 8px; }
  .bar-nav { display: none; }
  .bar-shell > .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .bar-icons [data-act="login"] { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding: 40px 24px 28px; min-height: 0; justify-items: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-ends { justify-content: center; }
  .hero-visual { width: 100%; }
  .hero-chips { gap: 12px; margin-top: 0; }
  .dispatch-main { grid-template-columns: 1fr; }
  .dispatch-art { order: -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .news { flex-direction: column; align-items: stretch; padding: 32px 24px; }
  .news-form { width: 100%; }
  .foot-disc { grid-template-columns: 1fr; gap: 10px; }
  .ac-top { grid-template-columns: minmax(0, 1fr); }
  .bal-grid { grid-template-columns: minmax(0, 1fr); }
  .set-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .set-grid > :last-child { grid-column: 1 / -1; }
  /* stacked: intro, then the card, then the perks and the box */
  .gate-inner { grid-template-columns: minmax(0, 1fr); margin: 20px auto 0; min-height: 0; gap: 24px; max-width: 560px; }
  .gate-side { display: contents; }
  .gate-intro, .gate-perks, .gate-art { grid-area: auto; }
  .gate-intro { order: 0; text-align: center; }
  .gate-head { font-size: 40px; letter-spacing: -.8px; margin: 14px auto 0; }
  .gate-lead { margin: 12px auto 0; font-size: 15.5px; }
  .gate-col { order: 1; width: 100%; }
  .gate-perks { order: 2; grid-template-columns: 1fr 1fr; padding: 0 4px; }
  .gate-art { order: 3; }
  .gate-art svg { max-width: 360px; }
  .gate-logo { margin-left: 0; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .wrap { padding: 0 16px; }
  .bar { padding: 8px 12px 4px; }
  .bar-shell { height: 52px; }
  .logo-word { width: 67px; height: 22px; }
  .logo-tag { font-size: 8.5px; padding: 4px 7px 3px; }
  .top-wash { margin-top: -64px; padding-top: 68px; }
  .hero-sec { padding: 0 12px; }
  .hero { border-radius: 28px; padding: 32px 18px 22px; }
  .hero-title { font-size: 40px; letter-spacing: -.8px; }
  .hero-text { font-size: 16px; margin: 14px auto 22px; }
  .hero-chip { padding: 9px 12px 10px; text-align: left; }
  .hero-chip b { font-size: 12.5px; }
  .hero-chip span { font-size: 11px; }
  .island { height: auto; min-height: 36px; white-space: normal; text-align: center; padding: 9px 16px; gap: 8px; flex-wrap: wrap; justify-content: center; border-radius: 20px; margin-bottom: 28px; }
  .island i { display: none; }
  .cat-title { font-size: 38px; letter-spacing: -.7px; }
  .tools { display: grid; grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; min-width: 0; }
  .tb-price .sel-pill, .sort { width: 100%; justify-content: space-between; }
  .sort select { width: 100%; }
  .price-pop { left: 0; right: auto; width: min(310px, calc(100vw - 32px)); }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 4px 16px 10px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 20px; }
  .badge-dark, .badge-new { height: 22px; font-size: 10px; padding: 0 8px; }
  .coa-chip { left: 8px; bottom: 8px; height: 22px; font-size: 10px; padding: 0 8px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 14px; }
  .card-price b { font-size: 15.5px; }
  .card .btn { height: 38px; font-size: 13px; }
  .pg { min-width: 38px; height: 38px; padding: 0 10px; font-size: 13px; }
  .wash { padding: 64px 0 48px; }
  .big-title { font-size: 42px; letter-spacing: -.9px; }
  .tests-grid { grid-template-columns: 1fr 1fr; }
  .tests-grid div:nth-child(4n) { border-right: 1px solid var(--line); }
  .tests-grid div:nth-child(2n) { border-right: 0; }
  .tests-grid div { padding: 16px 18px; }
  .coa-title { font-size: 22px; max-width: 220px; }
  .dispatch { margin-top: 64px; }
  .disp-title { font-size: 32px; letter-spacing: -.6px; }
  .countdown { font-size: 44px; gap: 16px; }
  .disp-feats { grid-template-columns: 1fr; gap: 16px; margin: 32px 0; }
  .faq { padding-top: 56px; padding-bottom: 56px; }
  .sec-title { font-size: 30px; }
  .faq summary { font-size: 16px; }
  .news-title { font-size: 26px; }
  .foot { margin-top: 56px; padding-top: 48px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-disc { padding: 22px 20px; }
  .lightbox { padding: 0; align-items: end; }
  .lb-content { border-radius: 28px 28px 0 0; max-height: 92vh; overflow-y: auto; }
  .qv { grid-template-columns: 1fr; }
  .qv-img { max-height: 300px; overflow: hidden; }
  .qv-sum { padding: 22px 20px 28px; }
  .qv-title { font-size: 24px; margin-right: 0; }
  .cart-dd { position: fixed; left: 12px; right: 12px; top: 68px; width: auto; }
  .gate { padding: 16px 16px 32px; }
  .gate-card { padding: 16px 16px 22px; border-radius: 24px; }
  .gate-head { font-size: 32px; letter-spacing: -.6px; }
  .gate-title { font-size: 24px; }
  .gate-tabs button { font-size: 13px; }
  .gate-grid { grid-template-columns: minmax(0, 1fr); }
  .gate-perks { grid-template-columns: minmax(0, 1fr); }
  .top-all { display: none; }
  .top-skus { padding-top: 30px; padding-bottom: 56px; }
  .sheet { padding-top: 22px; }
  .sheet .cat-head { flex-direction: column; align-items: stretch; }
  .ps-tools { flex-wrap: wrap; }
  .ps-tools .search { width: auto; flex: 1 1 100%; }
  .ps-tools .btn { flex: 1; }
  .ps-card { padding: 0 14px 14px; border-radius: 18px; }
  .ps-table { font-size: 13.5px; }
  .ps-table th, .ps-table td { padding: 10px 6px; }
  .ps-table .ps-sz { display: none; }
  /* three tier columns: tighter cells and a slimmer kits box so the table fits a phone */
  .ps-table td, .ps-table th { padding-left: 2px; padding-right: 2px; }
  .ps-table .ps-name { font-size: 12.5px; }
  .ps-table .ps-pr { font-size: 11px; letter-spacing: -.1px; }
  .ps-table thead th.ps-pr { font-size: 9.5px; letter-spacing: .02em; white-space: normal; }
  .ps-table td.ps-pr.tier-on span { padding: 0 5px; margin-right: -5px; }
  .ps-table .ps-qty input { width: 30px; font-size: 12.5px; }
  .ps-table .ps-qty button { width: 21px; }
  .ps-qty input { width: 34px; }
  .ps-qty button { width: 26px; }
  .ps-order { bottom: 8px; padding: 12px 14px; gap: 8px; border-radius: 20px; }
  .po-sum { flex-basis: 100%; }
  .po-sum p { justify-content: space-between; font-size: 14px; }
  .po-sum small { font-size: 11.5px; }
  .po-fields input { flex: 1 1 40%; height: 40px; font-size: 13.5px; padding: 0 12px; }
  .po-fields .btn { flex-basis: 100%; height: 44px; }
  .po-pay, .po-ship { flex: 1 1 40%; }
  .po-fields input { flex-basis: 100%; }
  .po-ship-btn { height: 40px; font-size: 13.5px; padding: 0 30px 0 12px; }
  .ship-pop { left: auto; right: 0; width: calc(100vw - 48px); }
  .po-pay .ship-pop { left: 0; right: auto; } /* left-hand box: open towards the right */
  .account { padding-top: 22px; }
  .account .cat-head { flex-direction: column; align-items: stretch; }
  .ac-card { padding: 18px 16px 20px; border-radius: 18px; }
  .ac-head { flex-direction: column; }
  .ac-head .btn { width: 100%; }
  .ac-grid { grid-template-columns: 1fr; }
  .ac-facts { grid-template-columns: minmax(0, 1fr); }
  .bal-now > b { font-size: 34px; }
  .ba-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .ba-st { grid-column: 1; grid-row: 2; }
  .set-grid { grid-template-columns: minmax(0, 1fr); }
  .set-form { padding: 14px; }
  .ac-btns .btn { flex: 1; }
  .ins { padding: 28px 20px 26px; }
  .support { right: 16px; bottom: 16px; }
  .sp-bubble { width: 54px; height: 54px; }
  .sp-panel { position: fixed; left: 12px; right: 12px; bottom: 82px; width: auto; max-height: calc(100vh - 100px); overflow-y: auto; }
  .toasts { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
