/* ==========================================================================
   ProSimRacing site stylesheet
   One file for every page. Components reference the tokens below, never raw hex
   (the only raw colours outside :root are inside the SDK/Judge.me override blocks,
   where the third-party markup needs literal values).

   Palette notes (contrast measured, WCAG 2.1):
     --pink        #E0198C  brand pink from the PSR monogram. 4.48:1 with white, so it is
                            NOT a button fill behind white text. Used for marks, rules, the
                            focus ring (4.08:1 on --bg, 4.39:1 on --ink: passes 3:1 non-text)
                            and large display text.
     --pink-btn    #CC1480  button fill, white text 5.28:1
     --pink-text   #B0126E  small pink text on light surfaces, 6.05:1 on --bg
     --pink-on-ink #FF5CB4  small pink text on dark surfaces, 6.97:1 on --ink
     --muted       #5B5B66  6.10:1 on --bg       --line-strong #86868F 3.28:1 (controls)
     --warn        #A85B00  placeholder marker, 5.05:1 on white
   Radius system: controls --r-ctl (8px), cards and media --r (12px), large panels
   --r-lg (18px), circles 50%. Do not introduce another pixel radius.
   ========================================================================== */

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-var-latin.h99ec7ccb.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/rubik-var-latin-ext.hb11446f4.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0B0B0E;
  --ink-2: #141419;
  --ink-3: #1D1D24;
  --bg: #F4F4F6;
  --bg-alt: #EBEBEF;
  --surface: #FFFFFF;
  --text: #111116;
  --muted: #5B5B66;
  --line: #E1E1E7;
  --line-strong: #86868F;
  --text-inv: #F4F4F7;
  --muted-inv: #A3A3AE;
  --line-inv: rgba(255, 255, 255, .10);
  --line-inv-strong: rgba(255, 255, 255, .22);

  --pink: #E0198C;
  --pink-btn: #CC1480;
  --pink-btn-hover: #B8106F;
  --pink-btn-pressed: #A30E63;
  --pink-text: #B0126E;
  --pink-on-ink: #FF5CB4;
  --pink-soft: #FCE8F3;
  --warn: #A85B00;
  --warn-soft: #FFF4E5;
  --ok: #1B7F5A;
  --error: #B42318;

  --focus-ring: var(--pink);
  --shadow-1: 0 1px 2px rgba(11, 11, 14, .06), 0 8px 24px -12px rgba(11, 11, 14, .18);
  --shadow-2: 0 2px 6px rgba(11, 11, 14, .08), 0 24px 48px -20px rgba(11, 11, 14, .32);

  --r-ctl: 6px;
  --r: 8px;
  --r-lg: 10px;

  --container: 1280px;
  --gutter: 24px;
  --section: clamp(48px, 6vw, 88px);
  --header-h: 68px;

  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* Dark band context: components never know which band they are in. */
.on-ink {
  --bg: var(--ink);
  --bg-alt: var(--ink-2);
  --surface: var(--ink-2);
  --text: var(--text-inv);
  --muted: var(--muted-inv);
  --line: var(--line-inv);
  --line-strong: var(--line-inv-strong);
  --pink-text: var(--pink-on-ink);
  --focus-ring: var(--pink-on-ink);
  background: var(--ink);
  color: var(--text);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--toolbar-h, 0px) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font: 400 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
/* controls inside overflow strips (product tabs, home tabs, thumbnails): ring inside, never clipped */
.pdp-tab:focus-visible, .tab:focus-visible, .pdp-thumb:focus-visible, .chip:focus-visible { outline-offset: -2px; }
::selection { background: rgba(224, 25, 140, .22); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 10px; z-index: 2000;
  background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: var(--r-ctl);
  box-shadow: var(--shadow-2); font-weight: 600; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s var(--ease);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.band-alt { background: var(--bg-alt); }

/* ---------- type ---------- */
.display {
  font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -.03em;
}
.h1 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; }
.h2 { font-weight: 650; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.02em; }
.h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
/* the chequer device: two rows of pink squares, the PSR flag reduced to a label mark */
.eyebrow::before {
  content: ""; width: 16px; height: 8px; flex: none;
  background:
    conic-gradient(var(--pink) 25%, transparent 0 50%, var(--pink) 0 75%, transparent 0) 0 0 / 8px 8px;
  transform: skewX(-18deg);
}
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 68ch; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head-row .section-head { margin-bottom: 0; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--pink-btn); --btn-fg: #FFFFFF; --btn-bd: var(--pink-btn);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--btn-bd); border-radius: var(--r-ctl);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15px; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--pink-btn-hover); --btn-bd: var(--pink-btn-hover); }
.btn:active { --btn-bg: var(--pink-btn-pressed); --btn-bd: var(--pink-btn-pressed); transform: translateY(1px); }
.btn-dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn-dark:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--text); --btn-fg: var(--bg); --btn-bd: var(--text); }
.on-ink .btn-ghost:hover { --btn-fg: var(--ink); }
.btn-light { --btn-bg: #FFFFFF; --btn-fg: var(--ink); --btn-bd: #FFFFFF; }
.btn-light:hover { --btn-bg: #E9E9EE; --btn-bd: #E9E9EE; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow, .link-arrow:hover .btn-arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { --btn-bg: #6E6E78; --btn-bd: #6E6E78; cursor: not-allowed; transform: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--pink-text); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: var(--r-ctl); background: transparent; color: inherit; position: relative;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11, 11, 14, .96);
  border-bottom: 1px solid var(--line-inv);
  color: var(--text-inv);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(11, 11, 14, .86); backdrop-filter: blur(10px); }
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 12px;
  border: 0; background: none; color: #DEDEE4; font-size: 15px; font-weight: 500;
  text-decoration: none; white-space: nowrap; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px;
  background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: #FFFFFF; }
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link svg { width: 14px; height: 14px; opacity: .7; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% - 6px); left: -12px; min-width: 260px;
  background: var(--ink-2); border: 1px solid var(--line-inv); border-radius: var(--r);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); padding: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav-item.is-open > .nav-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-panel ul { list-style: none; display: grid; gap: 2px; }
.nav-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 12px; border-radius: var(--r-ctl); color: #DEDEE4; text-decoration: none; font-size: 15px;
}
.nav-panel a:hover { background: var(--ink-3); color: #FFFFFF; }
.header-tools { display: flex; align-items: center; gap: 2px; }
.cart-btn[hidden] { display: none !important; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  display: none; place-items: center; border-radius: 9px;
  background: var(--pink-btn); color: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--ink);
}
.cart-btn.has-items .cart-count { display: inline-grid; }
.menu-toggle { display: none; }
.menu-toggle .bars { width: 20px; height: 14px; position: relative; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: var(--ink); color: var(--text-inv); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer ul { list-style: none; }
.drawer > ul > li { border-bottom: 1px solid var(--line-inv); }
.drawer a, .drawer summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 12px 4px; color: #F0F0F4; text-decoration: none; font-size: 17px; font-weight: 500;
}
.drawer summary { list-style: none; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 12px 12px; }
.drawer details a { min-height: 44px; font-size: 15.5px; color: #CFCFD7; padding-block: 8px; }
.drawer-foot { display: grid; gap: 10px; margin-top: 24px; }
.drawer a.drawer-sign-in { justify-content: center; color: var(--btn-fg); }
body.menu-open { overflow: hidden; }

@media (max-width: 879px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
}
@media (min-width: 880px) { .drawer { display: none; } }
@media (max-width: 420px) { .brand img { height: 20px; } }
@media (max-width: 360px) {
  .header-account { display: none; }
  .header-inner { gap: 8px; }
}

/* Expanded desktop navigation and grouped Shop panel */
.header-inner { position: relative; }
.nav-item-shop { position: static; }
.nav-panel-shop {
  top: calc(100% - 4px);
  left: var(--gutter);
  width: min(980px, calc(100% - 2 * var(--gutter)));
  max-height: calc(100dvh - var(--header-h) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(10px, 1.5vw, 22px);
  padding: clamp(14px, 1.7vw, 24px);
}
.nav-shop-label {
  color: var(--muted-inv);
  font: 650 .72rem var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nav-panel-shop .nav-shop-label { margin: 4px 8px 8px; }
.nav-panel-shop .nav-shop-group a { min-height: 36px; padding: 7px 8px; font-size: 14px; }
.nav-panel-shop .nav-shop-brands ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-panel-shop .nav-shop-brands li:last-child { grid-column: 1 / -1; }
.nav-panel-shop a.nav-shop-feature {
  display: grid;
  gap: 0;
  padding: 0;
  background: var(--ink-3);
  border: 1px solid var(--line-inv);
  border-radius: var(--r);
  overflow: hidden;
}
.nav-panel-shop a.nav-shop-feature:hover { border-color: var(--line-inv-strong); }
.nav-panel-shop a.nav-shop-feature:focus-visible { outline-offset: -2px; }
.nav-shop-feature img { width: 100%; height: 120px; object-fit: contain; padding: 8px; background: #FFF; }
.nav-shop-feature-copy { display: grid; gap: 6px; padding: 12px; }
.nav-shop-feature-copy .nav-shop-label { margin: 0 0 3px; }
.nav-shop-feature-copy strong { color: var(--text-inv); font-size: .95rem; }
.nav-shop-feature-copy > span:not(.nav-shop-label) { font-size: .84rem; }
.nav-shop-feature-action { display: flex; align-items: center; gap: 5px; color: var(--pink-on-ink); font-weight: 600; }

.drawer-shop { display: grid; gap: 12px; padding: 2px 0 16px 12px; }
.drawer-shop .nav-shop-group > ul { padding: 0; }

@media (max-width: 1219px) { .nav .nav-extra { display: none; } }
@media (max-width: 1079px) { .nav .nav-wide { display: none; } }
@media (min-width: 880px) and (max-width: 1219px) {
  .header-inner { gap: 14px; }
  .nav { gap: 1px; }
  .nav-link { padding-inline: 7px; font-size: .875rem; }
  .nav-link::after { inset-inline: 7px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--text-inv); }
.footer-news { border-bottom: 1px solid var(--line-inv); }
.footer-news-inner { display: grid; gap: 24px 48px; align-items: end; padding-block: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .footer-news-inner { grid-template-columns: 1fr 1.1fr; } }
.footer-news h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 650; }
.footer-news .input { border-color: #85858F; }
.footer-news p { color: var(--muted-inv); margin-top: 10px; max-width: 46ch; }
.footer-main { display: grid; gap: 40px; padding-block: clamp(44px, 6vw, 72px); }
@media (min-width: 900px) { .footer-main { grid-template-columns: 1.15fr 2.6fr; } }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { color: var(--muted-inv); margin-top: 18px; max-width: 34ch; font-size: 15px; }
.footer-cols { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-col { display: grid; grid-template-rows: auto 1fr; }
.footer-col h3 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; align-content: space-between; gap: 10px; }
.footer-col a, .footer-col address { color: #E2E2E8; text-decoration: none; font-size: 15px; font-style: normal; overflow-wrap: anywhere; }
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-col address { line-height: 1.6; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line-inv); padding-block: 22px 28px; color: var(--muted-inv); font-size: 13.5px;
}
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: var(--muted-inv); text-decoration: none; }
.footer-legal a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  background: var(--surface); color: var(--text); font-size: 15.5px;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5B66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.on-ink .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A3AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.input::placeholder, .textarea::placeholder { color: #75757F; }
.on-ink .input::placeholder { color: #8E8E99; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 15px; font-weight: 500; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }
.on-ink .form-status.is-ok { color: #6EE7B7; }
.on-ink .form-status.is-error { color: #FCA5A5; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.inline-form .field { flex: 1 1 240px; }
.inline-form .btn { flex: none; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; max-width: 60ch; }
.form-offline {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px dashed var(--warn); background: var(--warn-soft); color: #5C3300;
  border-radius: var(--r-ctl); padding: 12px 14px; font-size: 14.5px; margin-bottom: 16px;
}
.on-ink .form-offline { background: rgba(168, 91, 0, .14); color: #FFD9A8; border-color: #C77A1C; }
.form-offline a { color: inherit; font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset[disabled] .input, fieldset[disabled] .textarea, fieldset[disabled] .select { opacity: .7; }

/* ---------- placeholders (owner to supply) ---------- */
.psr-placeholder {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--warn); background: var(--warn-soft);
  border-radius: 6px; padding: 1px 8px; font-size: .88em; font-style: italic; font-weight: 500;
}
.on-ink .psr-placeholder { color: #FFC67D; background: rgba(168, 91, 0, .16); }
.placeholder-block {
  border: 1px dashed var(--warn); border-radius: var(--r); padding: 18px 20px; background: var(--warn-soft); color: #5C3300;
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- homepage ---------- */
.home-lead { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.home-lead-inner {
  display: grid; align-content: end; justify-items: start; gap: 18px;
  min-height: min(82svh, 720px); padding-block: 92px clamp(48px, 8vh, 80px);
}
.home-kicker, .material-tier {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
}
.home-kicker { color: var(--pink-on-ink); }
.home-lead .display { max-width: 15ch; }
.home-lead .lead { max-width: 43ch; color: #E0E0E6; }
.home-lead-media { position: absolute; inset: 0; z-index: -1; }
.home-lead-media img, .home-lead-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-lead-media video { opacity: 0; transition: opacity .5s var(--ease); }
.home-lead-media video.is-playing { opacity: 1; }
.home-lead-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 14, .78), rgba(11, 11, 14, .12) 83%),
    linear-gradient(0deg, rgba(11, 11, 14, .9), transparent 75%);
}
.hero-toggle {
  position: absolute; top: 16px; right: var(--gutter); display: grid; place-items: center;
  width: 44px; height: 44px; border: 1px solid #CFCFD7; border-radius: 50%;
  background: rgba(11, 11, 14, .7); color: #fff;
}
.hero-toggle:hover { background: var(--ink); }
.hero-toggle svg { width: 20px; height: 20px; }
.hero-toggle .i-play, .hero-toggle.is-paused .i-pause { display: none; }
.hero-toggle.is-paused .i-play { display: block; }
@media (max-width: 759px) {
  .home-lead-inner { min-height: min(76svh, 620px); padding-bottom: 44px; }
  .home-lead-media img, .home-lead-media video { object-position: 58% center; }
}
.home-categories { border-bottom: 1px solid var(--line); }
.home-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shop-route {
  display: flex; flex-direction: column; min-width: 0; color: var(--text); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl);
}
.shop-route-media { display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--r-ctl) var(--r-ctl) 0 0; }
.shop-route-media img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.shop-route-media.is-photo img { object-fit: cover; padding: 0; }
.shop-route-label {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
  border-top: 1px solid var(--line); padding: clamp(10px, 2vw, 18px); flex: 1;
}
.shop-route strong, .shop-route small { display: block; }
.shop-route strong { line-height: 1.25; }
.shop-route small { color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 4px; }
.shop-route:hover { border-color: var(--line-strong); }
.shop-route:hover strong, .shop-route:hover svg { color: var(--pink-text); }
@media (min-width: 760px) {
  .home-routes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
.home-products { padding-top: clamp(36px, 5vw, 66px); }
.material-grid { display: grid; gap: 24px 64px; }
.material-grid .section-head { align-content: start; margin-bottom: 0; }
.material-grid .link-arrow { color: var(--pink-on-ink); }
.material-figure { margin: 0; }
.material-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2vw, 16px); }
.material-sample { display: grid; align-content: start; gap: 5px; }
.material-sample img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; margin-bottom: 4px; }
.material-tier { color: var(--pink-on-ink); }
.material-sample h3 { font-size: clamp(.83rem, 1.25vw, 1.12rem); font-weight: 600; }
.material-figure figcaption { color: var(--muted-inv); margin-top: 14px; font-size: .82rem; }
@media (min-width: 760px) { .material-grid { grid-template-columns: 1fr 1.65fr; align-items: center; } }
.home-journal { padding-block: clamp(28px, 4vw, 48px); }
.home-journal .section-head-row { gap: 8px 20px; margin-bottom: 16px; }
.home-journal-posts { display: grid; list-style: none; }
.home-journal-posts li { min-width: 0; border-top: 1px solid var(--line); }
.home-journal-posts a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding-block: 12px; color: var(--text); text-decoration: none;
}
.home-journal-date { display: block; margin-bottom: 4px; color: var(--muted); font-size: .82rem; }
.home-journal-posts strong { display: block; line-height: 1.35; }
.home-journal-posts a:hover strong { color: var(--pink-text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) {
  .home-journal-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}

/* ---------- product cards ---------- */
.grid-products { display: grid; gap: 18px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; } }
@media (min-width: 1120px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline-offset: 3px; }
.card-media {
  position: relative; aspect-ratio: 1; background: #FFFFFF; border-radius: var(--r-ctl); overflow: hidden;
}
.card-media > img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s var(--ease), opacity .35s; }
.card-media img.alt-img { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media > img { transform: scale(1.035); }
  .card:hover .card-media img.alt-img { opacity: 1; }
  .card:hover .card-media img.has-alt:not(.alt-img) { opacity: 0; }
}
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; background: var(--ink); color: #FFFFFF;
}
.badge-sale { background: var(--pink-btn); }
.badge-soldout { background: #E8E8ED; color: #33333B; }
.badge-service { background: #EDE7FF; color: #3B2A7A; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 2px 10px; flex: 1; }
.card-title { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
.card-fit { font-size: .82rem; line-height: 1.4; color: var(--muted); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; position: relative; z-index: 2; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.price .from { font-weight: 400; color: var(--muted); font-size: .92em; }
.price s { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: .9em; }
.price .sale { color: var(--pink-text); }
.quick-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s;
}
.quick-btn:hover, .quick-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.quick-btn svg { width: 18px; height: 18px; }
.quick-btn[hidden] { display: none !important; }
.quick-panel {
  position: relative; z-index: 3; margin: 0 12px 12px; padding: 12px; border-radius: var(--r-ctl);
  background: var(--bg); border: 1px solid var(--line);
}
.quick-panel .quick-status { font-size: 13.5px; color: var(--muted); }
.quick-panel .quick-pdp { display: inline-block; margin-top: 8px; font-size: 13.5px; color: var(--pink-text); font-weight: 600; }

/* ---------- tabs (shared) ---------- */
.tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 42px; padding: 9px 16px; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-weight: 500; font-size: 14.5px; white-space: nowrap;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.on-ink .tab { background: transparent; }
.on-ink .tab[aria-selected="true"] { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.tabpanel[hidden] { display: none; }

/* ---------- build explainer ---------- */
/* PDP build explainer (compact) */
.build-explain { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-top: 16px; }
.build-explain summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  cursor: pointer; list-style: none; font-weight: 600; font-size: 15px;
}
.build-explain summary::-webkit-details-marker { display: none; }
.build-explain summary .hint { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.build-explain summary svg { width: 18px; height: 18px; transition: transform .2s var(--ease); flex: none; }
.build-explain[open] summary svg { transform: rotate(180deg); }
.build-explain ul { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.build-explain li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.build-explain li:first-child { border-top: 0; }
.build-explain li.is-current { background: var(--pink-soft); }
.build-explain .bname { display: block; font-weight: 600; font-size: 14.5px; }
.build-explain .bdesc { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.build-explain .bprice { font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 3D feature viewer ---------- */
.viewer-band .section-head .lead { color: var(--muted-inv); }
.viewer-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .viewer-grid { grid-template-columns: 1.55fr 1fr; gap: 48px; } }
.viewer3d {
  position: relative; isolation: isolate; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--line-inv);
  background: radial-gradient(120% 90% at 50% 40%, #23232B 0%, #121217 60%, #0B0B0E 100%);
  touch-action: pan-y; cursor: grab;
}
.viewer3d::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
}
.viewer3d.is-dragging { cursor: grabbing; }
.viewer3d.on-light { background: radial-gradient(120% 90% at 50% 40%, #FFFFFF 0%, #F1F1F4 70%, #E8E8ED 100%); border-color: var(--line); }
.viewer3d.on-light::before { background-image: linear-gradient(to right, rgba(11, 11, 14, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(11, 11, 14, .05) 1px, transparent 1px); }
.viewer3d canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .6s var(--ease); }
.viewer3d.is-3d canvas { opacity: 1; }
.viewer3d-poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease); }
.viewer3d.is-3d .viewer3d-poster { opacity: 0; }
.viewer3d-tabs { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 4; display: flex; flex-wrap: wrap; gap: 6px; }
.viewer3d-tab {
  min-height: 36px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(16, 16, 21, .72); color: #E6E6EC;
  font-size: 13px; font-weight: 500; backdrop-filter: blur(8px); white-space: nowrap;
}
.viewer3d-tab[aria-pressed="true"] { border-color: var(--pink); background: rgba(224, 25, 140, .22); color: #FFFFFF; }
.viewer3d.on-light .viewer3d-tab { background: rgba(255, 255, 255, .85); color: var(--text); border-color: var(--line); }
.viewer3d.on-light .viewer3d-tab[aria-pressed="true"] { background: var(--pink-soft); border-color: var(--pink); color: var(--text); }
.viewer3d-loading {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 10px;
  pointer-events: none; color: #E6E6EC; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s var(--ease);
}
.viewer3d.is-loading .viewer3d-loading { opacity: 1; }
.viewer3d.on-light .viewer3d-loading { color: var(--muted); }
.viewer3d-loading::before {
  content: ""; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .16); border-top-color: var(--pink);
  animation: psr-spin .9s linear infinite;
}
.viewer3d-pct { font-variant-numeric: tabular-nums; letter-spacing: .06em; opacity: .8; }
@keyframes psr-spin { to { transform: rotate(360deg); } }
.viewer3d-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #E6E6EC; background: rgba(16, 16, 21, .6); padding: 6px 10px; border-radius: 999px; pointer-events: none;
  opacity: 0; transition: opacity .4s var(--ease);
}
.viewer3d.is-3d .viewer3d-hint { opacity: .85; }
.viewer3d.has-dragged .viewer3d-hint { opacity: 0; }
.viewer3d.on-light .viewer3d-hint { background: rgba(255, 255, 255, .9); color: var(--muted); }
.viewer3d-tap {
  position: absolute; left: 50%; bottom: 18px; z-index: 4; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 0; background: #FFFFFF; color: var(--ink); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-2);
}
.viewer3d-tap .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
@media (max-width: 600px) {
  .viewer3d:not(.on-light) { aspect-ratio: 1; }
  .viewer3d-tabs { top: 10px; left: 10px; right: 10px; gap: 4px; }
  .viewer3d-tab { min-height: 32px; padding: 5px 10px; font-size: 12px; }
}
.viewer3d-error { position: absolute; left: 14px; bottom: 14px; z-index: 4; font-size: 13px; color: #E6E6EC; background: rgba(16, 16, 21, .72); padding: 6px 10px; border-radius: 8px; }
.viewer3d.on-light .viewer3d-error { color: var(--text); background: rgba(255, 255, 255, .9); }
.viewer-copy { display: grid; gap: 18px; }
.viewer-copy .lead { color: var(--muted-inv); }
.viewer-caption { font-size: 14px; color: var(--muted-inv); min-height: 1.6em; }
.viewer-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- split feature (service band etc.) ---------- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.split-media { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 18px; align-content: start; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 20px; height: 20px; color: var(--pink); margin-top: 2px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #FFFFFF; font-weight: 600; font-size: 14px;
}
.on-ink .steps li::before { background: #FFFFFF; color: var(--ink); }

/* ---------- journal cards ---------- */
.journal-archive { display: grid; gap: clamp(32px, 5vw, 64px); padding-bottom: var(--section); }
.journal-year { display: grid; gap: 16px; }
.posts { display: grid; gap: 20px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-card { position: relative; display: grid; gap: 14px; text-decoration: none; color: inherit; }
.post-card-text { align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.post-card-text:hover { border-color: var(--line-strong); }
.post-card .media { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--bg-alt); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover img { transform: scale(1.03); }
.post-card h2, .post-card h3 { font-size: 1.3rem; font-weight: 600; }
.post-card:hover h2, .post-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.post-card .meta { font-size: 13.5px; color: var(--muted); }
.post-card p { color: var(--muted); max-width: 60ch; }

/* ---------- page headers ---------- */
.page-head { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.page-head.on-ink { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); list-style: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.crumbs [aria-current] { color: var(--text); }

/* ---------- collection page ---------- */
.coll-head { display: grid; gap: 18px; padding-block: clamp(28px, 4vw, 52px) 8px; }
.coll-head-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.coll-head .count { color: var(--muted); font-size: 15px; }
.coll-desc { color: var(--muted); max-width: 70ch; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--bg);
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
  padding-block: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
/* phones and short or zoomed viewports: the bar scrolls away, so it never covers the grid (WCAG 1.4.10) */
@media (max-width: 759px), (max-height: 600px) { .toolbar { position: static; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 13px; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500;
}
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--pink-soft); border-color: var(--pink-text); color: var(--pink-text); }
.chip .n { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .n { color: inherit; }
.toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .select { min-height: 40px; padding-block: 7px; font-size: 14px; width: auto; }
.toggle-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); min-height: 40px; }
.toggle-stock input { width: 18px; height: 18px; accent-color: var(--pink-btn); }
.empty-state { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); display: grid; gap: 12px; justify-items: center; }
.result-count { font-size: 14px; color: var(--muted); }
#fit-filters { scroll-margin-top: calc(var(--header-h) + 12px); }
.fit-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px 14px; width: 100%; }
.fit-filter { display: grid; align-content: start; gap: 4px; color: var(--muted); font-size: .84rem; font-weight: 500; min-width: 0; }
.toolbar .fit-filter .select { width: 100%; }
.collection-directory-page { padding-bottom: var(--section); }
.collection-directory-page .coll-head { justify-items: start; }
.collection-directory { margin-top: 34px; }
.collection-directory ul { list-style: none; display: grid; column-gap: 24px; margin-top: 10px; }
.collection-directory li { border-bottom: 1px solid var(--line); }
.collection-directory a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 13px 0; text-decoration: none; color: var(--text); }
.collection-directory small { color: var(--muted); }
.collection-directory a:hover strong { color: var(--pink-text); }
.collection-prototype { margin-top: clamp(40px, 7vw, 88px); }
@media (min-width: 760px) { .collection-directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.setup-overview { display: grid; gap: 24px; margin-top: 22px; }
.setup-example { margin: 0; }
.setup-example img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.setup-example figcaption { color: var(--muted); margin-top: 8px; font-size: .82rem; }
.setup-city-list { align-self: center; }
.setup-city { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-block: 18px; text-decoration: none; color: var(--text); }
.setup-city p, .setup-city-list > p { color: var(--muted); }
.setup-city > svg { flex: none; }
.setup-city:hover h2 { color: var(--pink-text); }
.service-back { margin-top: 32px; }
@media (min-width: 760px) { .setup-overview { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.bundle-components { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin: 0; padding: 14px; }
.bundle-components > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bundle-components > div > div { display: grid; align-content: start; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.bundle-components img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.bundle-components span, .bundle-components figcaption { font-size: .8rem; color: var(--muted); }
.bundle-components figcaption { margin-top: 10px; }
.bundle-components-compact { position: absolute; inset: 0; display: grid; align-content: center; padding: 9px; border: 0; }
.bundle-components-compact > div { gap: 6px; }
.bundle-components-compact img { padding: 0; }
.bundle-components-compact span, .bundle-components-compact figcaption { font-size: clamp(.67rem, 2vw, .77rem); }
.bundle-components-compact > div > div { padding-bottom: 4px; }
.bundle-compare { margin-top: 48px; }
.bundle-compare table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .9rem; }
.bundle-compare th, .bundle-compare td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 6px; vertical-align: top; }
.bundle-compare thead th { color: var(--muted); }
.bundle-contents { margin-top: 26px; }
.bundle-contents dl { margin: 10px 0 14px; }
.bundle-contents dl > div, .pdp-buy-facts > div { display: grid; grid-template-columns: minmax(85px, .8fr) minmax(0, 1fr); gap: 8px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.bundle-contents dd, .pdp-buy-facts dd { margin: 0; color: var(--muted); }
@media (min-width: 960px) { .bundle-components > div { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bundle-components-compact > div { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- product page ---------- */
.pdp { padding-block: 20px var(--section); }
.pdp-top { display: grid; gap: 20px; align-items: start; margin-top: 18px; }
@media (min-width: 960px) {
  .pdp-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    grid-template-areas: "gallery intro" "gallery buy";
    grid-template-rows: auto 1fr;
    gap: 18px clamp(28px, 4vw, 54px);
  }
  .pdp-gallery { grid-area: gallery; position: sticky; top: calc(var(--header-h) + 20px); }
  .pdp-intro { grid-area: intro; }
  .pdp-buy { grid-area: buy; }
}
.pdp-gallery { min-width: 0; }
.pdp-stage {
  position: relative; aspect-ratio: 1; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 960px) { .pdp-stage { aspect-ratio: 5 / 4; } }
.pdp-stage--parts { aspect-ratio: auto; border: 0; min-height: min(82vw, 410px); }
.pdp-panel--parts.is-active { position: relative; }
.pdp-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.pdp-panel.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.pdp-panel > img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.pdp-panel--3d .viewer3d { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.pdp-stage-nav { position: absolute; inset: auto 12px 12px auto; z-index: 5; display: flex; gap: 6px; }
.pdp-stage-nav button {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--text);
}
.pdp-stage-nav button:hover { border-color: var(--line-strong); }
.pdp-stage-nav svg { width: 18px; height: 18px; }
.pdp-counter { position: absolute; left: 14px; bottom: 14px; z-index: 5; font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, .9); padding: 4px 9px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.pdp-views { display: flex; justify-content: center; margin-top: 14px; }
html:not(.js) .pdp-views { display: none; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.seg button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px; border-radius: var(--r-ctl);
  border: 0; background: transparent; color: var(--muted); font-weight: 500; font-size: 14px;
}
.seg button svg { width: 17px; height: 17px; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; scrollbar-width: thin; }
.pdp-thumb {
  flex: none; width: 76px; height: 76px; padding: 4px; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: #FFFFFF;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb:hover { border-color: var(--line-strong); }
.pdp-thumb[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

/* hotspots */
.hotspot { position: absolute; z-index: 3; }
.hotspot-dot {
  position: relative; width: 18px; height: 18px; border-radius: 50%; border: 0; padding: 0;
  background: var(--pink); box-shadow: 0 0 0 5px rgba(224, 25, 140, .25), 0 2px 8px rgba(0, 0, 0, .25);
  transform: translate(-50%, -50%);
}
.hotspot-dot::after { content: ""; position: absolute; inset: -13px; border-radius: 50%; }
.hotspot-dot::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--pink); opacity: .6;
  animation: psr-pulse 2.2s var(--ease) infinite;
}
@keyframes psr-pulse { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.hotspot-card {
  position: absolute; left: 18px; top: -10px; width: min(250px, 60vw); padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.hotspot.is-left .hotspot-card { left: auto; right: 18px; }
/* keyboard: Enter/Space toggles .is-open, so aria-expanded always matches; Escape adds .is-dismissed */
.hotspot:not(.is-dismissed):hover .hotspot-card, .hotspot.is-open:not(.is-dismissed) .hotspot-card {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s;
}
.hotspot-card strong { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.hotspot-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 560px) {
  .hotspot-details:not([hidden]) { margin-top: 12px; }
  .hotspot-details .hotspot-card:not([hidden]) { position: static; width: auto; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; }
}

.pdp-buy { min-width: 0; display: grid; gap: 0; align-content: start; }
.pdp-vendor { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pdp-title { font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 650; line-height: 1.1; letter-spacing: -.02em; margin-top: 10px; }
.pdp-sku { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 10px; min-height: 1.4em; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pdp-price { font-size: 1.65rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.pdp-price .from { font-size: .62em; font-weight: 500; color: var(--muted); margin-right: 4px; }
.pdp-compare { color: var(--muted); text-decoration: line-through; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pdp-save { font-size: 13px; font-weight: 600; color: var(--pink-text); }
.pdp-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.pdp-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pdp-stock.is-out::before { background: #9A9AA6; }
.pdp-sku:empty { display: none; }
.pdp-fit { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; color: var(--text); font-weight: 500; }
.pdp-buy-facts { margin-bottom: 14px; font-size: .92rem; }
.pdp-buybox { display: grid; gap: 14px; }
.pdp-fallback { display: grid; gap: 10px; }
.pdp-fallback .note { font-size: 13.5px; color: var(--muted); }
.pdp-buybox.is-sdk-live .pdp-fallback { display: none; }
.shop-mount:empty { display: none; }
.pdp-trust { list-style: none; display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pdp-trust li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.pdp-trust svg { width: 20px; height: 20px; color: var(--text); margin-top: 1px; }
.pdp-trust a { color: var(--text); }

.pdp-details { margin-top: clamp(48px, 7vw, 88px); }
.pdp-tabnav {
  position: sticky; top: var(--header-h); z-index: 20; background: var(--bg);
  display: flex; gap: clamp(16px, 4vw, 40px); justify-content: center;
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.pdp-tabnav::-webkit-scrollbar { display: none; }
.pdp-tab {
  flex: none; padding: 16px 2px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; color: var(--muted); font-weight: 600; font-size: 15.5px; white-space: nowrap;
}
.pdp-tab:hover { color: var(--text); }
.pdp-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--pink); }
.pdp-tabpanel { padding-top: clamp(28px, 4vw, 48px); }
.pdp-tabpanel[hidden] { display: none; }
.rte { max-width: 72ch; margin-inline: auto; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.rte > * + * { margin-top: 1em; }
.rte h2 { font-size: 1.2rem; margin-top: 1.5em; }
.rte h3 { font-size: 1.05rem; margin-top: 1.3em; }
.rte ul, .rte ol { padding-left: 1.3em; display: grid; gap: .45em; }
.rte li::marker { color: var(--pink); }
.rte a { color: var(--pink-text); }
.rte strong, .rte b { font-weight: 600; }
.rte img { border-radius: var(--r); }
.rte blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 3px solid var(--pink); color: var(--muted); }
.rte .disclaimer { font-size: 14px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.spec-wrap { max-width: 920px; margin-inline: auto; display: grid; gap: 18px; }
.spec-group { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.spec-group > h2, .spec-group > h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; background: var(--bg-alt); font-weight: 600; }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.spec-row:first-of-type { border-top: 0; }
.spec-k { color: var(--muted); }
.spec-v { color: var(--text); }
.spec-note { font-size: 13.5px; color: var(--muted); max-width: 920px; margin: 0 auto; }
@media (max-width: 560px) { .spec-row { grid-template-columns: 1fr; gap: 2px; } }
.box-wrap { max-width: 920px; margin-inline: auto; display: grid; gap: 22px; }
@media (min-width: 800px) { .box-wrap { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.box-media { border-radius: var(--r-lg); border: 1px solid var(--line); background: #FFFFFF; aspect-ratio: 1; overflow: hidden; }
.box-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.box-list { list-style: none; display: grid; }
.box-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.box-list .qty { font-weight: 650; font-variant-numeric: tabular-nums; }
.reviews-wrap { max-width: 1000px; margin-inline: auto; }
.related { margin-top: clamp(56px, 8vw, 96px); }

/* ---------- about / content ---------- */
.about-hero { position: relative; isolation: isolate; overflow: hidden; }
.about-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.about-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 14, .9) 0%, rgba(11, 11, 14, .65) 55%, rgba(11, 11, 14, .35) 100%); }
.about-hero .container { padding-block: clamp(96px, 14vw, 180px) clamp(56px, 8vw, 96px); display: grid; gap: 18px; }
.story { display: grid; gap: clamp(40px, 6vw, 80px); }
.story-row { display: grid; gap: 24px 56px; align-items: center; }
@media (min-width: 900px) {
  .story-row { grid-template-columns: 1fr 1fr; }
  .story-row.flip .story-media { order: 2; }
}
.story-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; gap: 14px; max-width: 54ch; }
.story-copy p { color: var(--muted); font-size: 17px; }
.story-pair { display: grid; gap: 24px; }
@media (min-width: 900px) { .story-pair { grid-template-columns: 1fr 1fr; gap: 56px; } }
.quote-band { text-align: left; }
.quote-band blockquote { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.3; max-width: 30ch; letter-spacing: -.015em; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.contact-card { display: grid; gap: 22px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); align-content: start; }
.contact-card h2 { font-size: 1.15rem; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.contact-list svg { width: 20px; height: 20px; color: var(--pink); margin-top: 2px; }
.contact-list .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--text); }
.support-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.support-card { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); align-content: start; }
.support-card h2 { font-size: 1.15rem; }
.support-card p { color: var(--muted); }
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3em; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 18px 18px; color: var(--muted); }
.policy-body { max-width: 76ch; }
.policy-meta { font-size: 14px; color: var(--muted); }
.brand-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brand-card {
  display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: #FFFFFF; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.brand-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.brand-card .logo { height: 70px; display: grid; place-items: center; }
.brand-card .logo img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.brand-card .name { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.brand-card .n { color: var(--muted); font-weight: 400; font-size: 14px; }
.article-head { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; padding-block: clamp(32px, 5vw, 64px) 24px; }
.article-media { max-width: 1100px; margin: 0 auto 36px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--bg-alt); }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding-bottom: var(--section); }
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding-block: 80px; }

/* ---------- fit help and editorial ---------- */
.fit-paths { display: grid; list-style: none; gap: 16px; }
.fit-paths li { display: grid; grid-template-columns: 2rem 1fr; align-content: start; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.fit-paths p { color: var(--muted); margin-block: 6px 10px; }
.fit-step { font: 600 .85rem var(--mono); color: var(--pink-text); margin-top: 4px; }
.fit-mount-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-mount-links a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); text-decoration: none; }
.fit-mount-links a:hover { color: var(--pink-text); border-color: var(--pink-text); }
#fit-brands, #fit-help, #contact-form, #bundle-compare-h { scroll-margin-top: calc(var(--header-h) + 20px); }
.contact-options { display: grid; gap: 16px; align-content: start; }
.fit-help { gap: 12px; border-left: 3px solid var(--pink-text); }
.fit-help p { max-width: 60ch; color: var(--muted); }
.about-intro { background: var(--ink); }
.about-intro .crumbs { margin-bottom: 18px; }
.about-intro .crumbs a { color: var(--muted-inv); }
.about-intro .crumbs [aria-current] { color: var(--text-inv); }
.story-row { display: grid; gap: 22px; align-items: center; }
.story, .story-pair { display: grid; gap: clamp(28px, 5vw, 64px); }
.story-copy { display: grid; gap: 12px; justify-items: start; }
.story-figure { margin: 0; }
.story-media > img, .journal-feature-media > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.story-figure figcaption, .article-figure figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.about-intro .story-figure figcaption { color: var(--muted-inv); }
.journal-feature { background: var(--surface); margin-bottom: 36px; }
.journal-feature .story-copy { padding: 0 20px 24px; }
.journal-feature-media > img { object-fit: contain; }
.article-figure { margin: 0 auto 36px; max-width: 1100px; }
.article-figure .article-media { margin-bottom: 0; }
.article-media--guide img { object-fit: contain; background: #fff; }
@media (min-width: 760px) {
  .fit-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .story-row, .story-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-row { gap: clamp(22px, 5vw, 64px); }
  .journal-feature .story-copy { padding: 24px 30px 24px 0; }
}
.search-page-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; max-width: 680px; margin-block: 20px 12px; }
.search-page-results { max-width: 840px; }
.search-page-group { margin-top: 28px; }
.search-page-group ul { list-style: none; margin-top: 8px; border-top: 1px solid var(--line); }
.search-page-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 56px; padding-block: 8px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.search-page-item.no-img { grid-template-columns: minmax(0, 1fr) auto; }
.search-page-item img { width: 64px; height: 64px; object-fit: contain; background: var(--surface); }
.search-page-item mark { background: var(--pink-soft); color: inherit; }
.search-page-item:hover strong { color: var(--pink-text); }
.search-page-fit { display: block; margin-top: 3px; font-size: .88rem; }
.search-page-price { white-space: nowrap; font-size: .86rem; font-weight: 600; }
@media (max-width: 420px) {
  .search-page-item { grid-template-columns: 48px minmax(0, 1fr); }
  .search-page-item.no-img { grid-template-columns: minmax(0, 1fr); }
  .search-page-item img { width: 48px; height: 48px; }
  .search-page-price { grid-column: 2; }
  .search-page-item.no-img .search-page-price { grid-column: 1; }
}

/* ---------- search overlay ---------- */
.search-ov { position: fixed; inset: 0; z-index: 1500; display: grid; justify-items: center; align-items: start; padding: clamp(56px, 10vh, 120px) 16px 16px; }
.search-ov[hidden] { display: none; }
.search-ov-bg { position: absolute; inset: 0; background: rgba(11, 11, 14, .55); backdrop-filter: blur(3px); }
.search-dlg {
  position: relative; width: min(680px, 100%); max-height: calc(100dvh - 120px); display: grid; grid-template-rows: auto auto 1fr auto;
  background: var(--surface); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden;
  opacity: 0; transform: translateY(-8px) scale(.99); transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.search-ov.is-open .search-dlg { opacity: 1; transform: none; }
.search-form { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); }
.search-form:focus-within { box-shadow: inset 0 -2px 0 var(--pink); }
.search-form svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: none; background: transparent; font-size: 17px; }
.search-status { padding: 12px 18px 0; font-size: 14px; color: var(--muted); }
.search-results { overflow-y: auto; padding: 8px; }
.search-group-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 10px 6px; }
.search-opt { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-ctl); text-decoration: none; color: var(--text); }
.search-opt.no-img { grid-template-columns: 1fr auto; }
.search-opt img { width: 48px; height: 48px; object-fit: contain; background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; }
.search-opt .t { font-weight: 500; font-size: 15px; line-height: 1.3; }
.search-opt .s { font-size: 13px; color: var(--muted); }
.search-opt .p { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.search-opt:hover { background: var(--bg); }
/* keyboard selection (focus stays in the input): a 3:1 ring, not just a tint */
.search-opt.is-active { background: var(--pink-soft); outline: 2px solid var(--pink); outline-offset: -2px; }
.search-opt mark { background: var(--pink-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-all { display: block; margin: 6px 8px 10px; padding: 12px; text-align: center; border-radius: var(--r-ctl); background: var(--bg); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.search-all:hover { background: var(--bg-alt); }
html.search-open { overflow: hidden; }
@media (max-width: 560px) {
  .search-ov { padding: 0; }
  .search-dlg { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
}

/* ---------- loader overlay (checkout hand-off) ---------- */
.loader-ov {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-content: center; justify-items: center; gap: 16px;
  background: rgba(11, 11, 14, .78); color: #FFFFFF; font-weight: 500; backdrop-filter: blur(4px);
}
.loader-ov[hidden] { display: none; }
.loader-ov::before { content: ""; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--pink); animation: psr-spin .9s linear infinite; }

/* ---------- Shopify Buy Button SDK (light-DOM product components) ---------- */
.shop-mount .shopify-buy__product { margin: 0 !important; max-width: none !important; text-align: left !important; }
.shop-mount .shopify-buy__product__variant-selectors { margin: 0 !important; display: grid !important; gap: 14px !important; }
.shop-mount .shopify-buy__option-select { margin: 0 !important; display: grid; gap: 7px; }
.shop-mount .shopify-buy__option-select__label { font-family: var(--font) !important; font-size: 13px !important; font-weight: 600 !important; color: var(--muted) !important; letter-spacing: .02em; margin: 0 !important; }
.shop-mount .shopify-buy__option-select-wrapper { position: relative; border: 0 !important; border-radius: var(--r-ctl) !important; background: transparent !important; }
.shop-mount .shopify-buy__option-select__select {
  appearance: none !important; -webkit-appearance: none !important; width: 100% !important; min-height: 48px !important;
  padding: 11px 40px 11px 14px !important; border: 1px solid var(--line-strong) !important; border-radius: var(--r-ctl) !important;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5B66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px !important;
  color: var(--text) !important; font-family: var(--font) !important; font-size: 15.5px !important; line-height: 1.3 !important;
}
.shop-mount .shopify-buy__select-icon { display: none !important; }
.shop-mount .shopify-buy__product__price { margin: 0 0 4px !important; font-family: var(--font) !important; }
.pdp-buybox .shopify-buy__product__price { display: none !important; } /* mirrored into the headline price by the product page script */
.shop-mount .shopify-buy__product__actual-price, .shop-mount .shopify-buy__product__compare-price { font-family: var(--font) !important; font-size: 15px !important; color: var(--text) !important; }
.shop-mount .shopify-buy__product__compare-price { color: var(--muted) !important; }
.shop-mount .shopify-buy__btn-wrapper { margin: 16px 0 0 !important; }
.shop-mount .shopify-buy__btn {
  width: 100% !important; min-height: 52px !important; padding: 14px 22px !important;
  border-radius: var(--r-ctl) !important; border: 0 !important;
  background: var(--pink-btn) !important; color: #FFFFFF !important;
  font-family: var(--font) !important; font-weight: 600 !important; font-size: 16px !important; letter-spacing: .005em;
  transition: background-color .2s var(--ease), transform .2s var(--ease) !important;
}
.shop-mount .shopify-buy__btn:hover { background: var(--pink-btn-hover) !important; }
.shop-mount .shopify-buy__btn:active { background: var(--pink-btn-pressed) !important; transform: translateY(1px); }
.shop-mount .shopify-buy__btn:focus-visible { outline: 2px solid var(--focus-ring) !important; outline-offset: 2px !important; }
.shop-mount .shopify-buy__btn.shopify-buy__btn-disabled, .shop-mount .shopify-buy__btn[disabled] { background: #6E6E78 !important; cursor: not-allowed; }
.shop-mount .shopify-buy__quantity-container { margin-top: 14px !important; }
.quick-panel .shopify-buy__btn { min-height: 44px !important; font-size: 14.5px !important; }
.quick-panel .shopify-buy__option-select__select { min-height: 42px !important; font-size: 14px !important; }
.quick-panel .shopify-buy__product__price { margin-bottom: 8px !important; }
.shopify-buy-frame--toggle, .shopify-buy__cart-toggle {
  position: fixed !important; left: -9999px !important; top: 0 !important; opacity: 0 !important; pointer-events: none !important;
}
.psr-cart-host { position: absolute !important; width: 1px; height: 1px; left: -9999px; top: auto; overflow: hidden; }

/* ---------- Judge.me server-rendered widget (Reviews tab) ---------- */
.reviews-wrap .jdgm-widget { font-family: var(--font) !important; color: var(--text); }
.reviews-wrap .jdgm-widget * { font-family: inherit !important; }
.reviews-wrap .jdgm-rev-widg__title { display: none !important; }
.reviews-wrap .jdgm-star { font-family: inherit !important; width: auto !important; }
.reviews-wrap .jdgm-star::before { content: "\2605"; }
.reviews-wrap .jdgm-star.jdgm--on { color: var(--pink); }
.reviews-wrap .jdgm-star.jdgm--off { color: #CFCFD7; }
.reviews-wrap .jdgm-star.jdgm--half { background: linear-gradient(90deg, var(--pink) 50%, #CFCFD7 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reviews-wrap .jdgm-write-rev-link, .reviews-wrap .jdgm-btn {
  background: var(--pink-btn) !important; color: #FFFFFF !important; border-radius: var(--r-ctl) !important; border: 0 !important;
}
.reviews-wrap .jdgm-rev__timestamp, .reviews-wrap .jdgm-rev__author { color: var(--muted) !important; }

/* ---------- reduced motion (keep LAST) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .brand-card:hover { transform: none !important; }
  .card:hover .card-media img, .post-card:hover img { transform: none !important; }
  .hotspot-dot::before { display: none; }
  .viewer3d-loading::before, .loader-ov::before { animation: none !important; border-top-color: var(--pink); }
}
