/* InterCorp test store. Palette "Silver, with brand signals": silver carries the page, ink carries type,
   gold is the one main action in a view, navy only marks state (count, selection, step, focus).
   Grid 1280 with 48 px gutters. Cards 20 / 8 / 12. Hover 180 ms, drawer 320 ms. One light look on purpose. */
:root {
  color-scheme: light;
  --ink-2: #56565b; --edge: #86868b;
  --navy: #0a2b6e; --navy-tint: #ecf1fa;
  --gold-hover: #EAA800;
  --ok: #176543; --warn: #8a5300; --err: #b3261e;
  --surface: #fff; --well: #f0f0f3; --line: #dedee2;
  --plate: radial-gradient(110% 85% at 50% 16%, #fff 0%, #f4f4f6 52%, #e8e8eb 100%);
  --r-panel: 28px; --r-card: 20px; --r-img: 12px; --r-ctl: 16px;
  --ease-ui: cubic-bezier(.22, 1, .36, 1);
}
body { background: var(--cyc); font: 400 16px/normal var(--font); caret-color: var(--navy); }
/* the approved front face keeps its own type context and grey */
.stage { font-size: 14px; --ink-2: #5f5f64; }
:where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; }
:where(a) { color: inherit; }
:where(button, input, select) { font-family: var(--font); color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
.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; }
.wrap { width: min(1280px, calc(100vw - 96px)); }
.sec h2, .h2 { font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
.lede { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 56ch; text-wrap: pretty; }
.skip { position: fixed; z-index: 60; left: 16px; top: 12px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: #fff; translate: 0 -160%; }
.skip:focus { translate: 0 0; }

/* buttons */
.btn { justify-content: center; white-space: nowrap; transition-duration: .18s; transition-timing-function: var(--ease-ui); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ink { background: var(--gold); color: var(--ink); }
.btn-ink:hover { background: var(--gold-hover); }
.btn-sm { height: 44px; padding: 0 17px; font-size: 14.5px; }
.btn-sm .ico { width: 17px; height: 17px; }
.btn[disabled] { background: var(--well); color: var(--ink-3); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-added .ico { stroke-dasharray: 24; }
@media (prefers-reduced-motion: no-preference) { .btn.is-added .ico { animation: tick .32s var(--ease-ui) both; } }
@keyframes tick { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.text-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: 500 14.5px/1 var(--font); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--edge); cursor: pointer; }
.text-btn:hover { text-decoration-color: currentColor; }

/* nav and shop menu */
.nav .count { background: var(--navy); margin: 0; }
.nav .links button { cursor: pointer; }
.nav .links button:hover { background: rgba(0, 0, 0, .05); }
.nav .ico-s { transition: rotate .18s var(--ease-ui); }
.nav [aria-expanded="true"] .ico-s { rotate: 180deg; }
.nav .links [aria-current] { background: var(--navy-tint); color: var(--navy); }
.nav .step-name { grid-column: 2; margin: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
/* finder and catalogue */
.fpanel { border-radius: var(--r-panel); padding: 12px; }
.fform { grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr) auto minmax(0, 1.36fr) auto; gap: 10px; }
.ctl select, .ctl input { border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1px var(--edge); font-size: 15.5px; padding-left: 14px; text-overflow: ellipsis; }
.ctl select { padding-right: 34px; }
.ctl select:hover, .ctl input:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.ctl select:disabled:hover { box-shadow: inset 0 0 0 1px var(--hair); }
.ctl select:focus-visible, .ctl input:focus-visible { outline-color: var(--navy); }
.ctl > .ico { right: 12px; width: 16px; height: 16px; }
.ctl.pn input { padding-left: 42px; }
.ctl.pn > .ico { left: 14px; right: auto; width: 18px; height: 18px; }
.fld label { margin-bottom: 6px; }
.fbar { flex-wrap: wrap; min-height: 48px; }
.fbar .count { font-variant-numeric: tabular-nums; }
.fit-note { margin: -6px 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.fit-note[hidden] { display: none; }
.fbar-l { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; min-width: 0; }
.chip { box-shadow: inset 0 0 0 1px var(--edge); }
.chip[aria-pressed="true"] { background: var(--navy); }
.results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.results[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.more { display: flex; margin: 28px auto 0; }
.pc { position: relative; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hair), 0 1px 2px rgba(0, 0, 0, .04); transition: transform .18s var(--ease-ui), box-shadow .18s var(--ease-ui); }
.pc:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 34px -24px rgba(0, 0, 0, .3); }
.pc:has(.pc-link:focus-visible) { outline: 2px solid var(--navy); outline-offset: 3px; }
.pc-ph { border-radius: var(--r-img); height: 240px; }
[data-cols="5"] .pc-ph, [data-cols="4"] .pc-ph { height: 208px; }
.pc-body { padding: 14px 10px 8px; }
.pc-pn { margin: 0; overflow-wrap: anywhere; }
[data-cols="5"] .pc-pn, [data-cols="4"] .pc-pn { font-size: 20px; }
.pc-link { color: inherit; text-decoration: none; }
.pc-link:focus-visible { outline: none; }
.pc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-card); }
.pc-meta { margin-top: 6px; color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1.35; }
.pc-buy { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pc-buy .btn { position: relative; z-index: 2; }
.pc-price { display: grid; gap: 3px; min-width: 0; }
.pc-price b { font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.pc-price span { color: var(--ink-3); font-size: 12.5px; line-height: 1.35; text-wrap: pretty; }
[data-cols="5"] .pc-buy, [data-cols="4"] .pc-buy { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.fit { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.fit .ico { width: 16px; height: 16px; margin-top: 1px; }
.fit-fit { color: var(--ok); }
.fit-check { color: var(--warn); }
.fit-no { color: var(--err); }
.fit-none { display: block; font-weight: 400; }
.fit-none:has(.ico) { display: flex; }
.empty h3 { margin-top: 0; }
.empty .btn .ico { width: 18px; height: 18px; color: inherit; stroke-width: 1.7; }
.wc-icon { stroke-width: 1.7; }

/* category pages: still photos, same studio */
.cat-hero { padding: 108px 0 0; background: linear-gradient(180deg, var(--cyc-top) 0%, var(--cyc) 100%); }
.cat-in { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 656fr); gap: 64px; align-items: center; }
.cat-h { font-size: clamp(50px, 4.8vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -.038em; text-wrap: balance; }
.cat-copy .lede { margin-top: 20px; }
.cat-facts { margin-top: 10px; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.cat-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cat-art { height: 468px; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px 20px; padding: 18px; border-radius: var(--r-panel); background: var(--plate); }
.cat-art a { position: relative; min-height: 0; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; border-radius: var(--r-img); color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-align: center; text-decoration: none; font-variant-numeric: tabular-nums; }
.cat-art a:first-child { grid-row: span 2; }
.cat-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.cat-art a:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.catalogue { padding: 64px 0 96px; }
.catalogue .sec-head { margin-bottom: 22px; }
.catalogue .sec-head h2 { font-size: 34px; }
.inj .catalogue { padding-top: 112px; }

/* search suggestions */
.opts { margin: 0; padding: 6px; overflow-y: auto; list-style: none; border-radius: var(--r-card); background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--hair), 0 24px 50px -18px rgba(0, 0, 0, .28); text-align: left; }
.opts li[role="option"] { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 4px 12px 4px 4px; border-radius: 14px; cursor: pointer; }
.opts li[role="option"]:hover, .opts li[aria-selected="true"] { background: var(--cyc); }
.opts li[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--navy); }
.opt-ph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--plate); }
.opt-ph img { max-width: 42px; max-height: 44px; object-fit: contain; }
.opt-t b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.opt-t small { display: block; color: var(--ink-2); font-size: 13px; line-height: 1.3; }
.opt-p { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.opt-none { padding: 14px 12px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.opt-none b { display: block; color: var(--ink); }

/* dialogs: search and cart */
dialog { color: var(--ink); border: 0; }
/* dim only: a full-screen blur here halves the frame rate while the cart moves */
dialog::backdrop { background: rgba(0, 12, 36, .46); }
html:has(dialog[open]) { overflow: hidden; }
html:has(dialog[open]) body { padding-right: var(--sbw, 0px); }
.search { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 120px); margin: 84px auto auto; padding: 12px; overflow: visible; border-radius: var(--r-panel); background: var(--surface); }
.search-row { display: flex; align-items: center; gap: 8px; }
.search-row .ctl { flex: 1; }
.search-row .ctl input { height: 56px; font-size: 18px; }
.x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.x:hover { background: rgba(0, 0, 0, .06); }
.search .opts { max-height: calc(100vh - 220px); margin-top: 8px; padding: 0; box-shadow: none; }
.search-help { padding: 12px 8px 4px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.search:has(.opts:not([hidden])) .search-help { display: none; }
.drawer { position: fixed; inset: 10px 10px auto auto; width: min(480px, calc(100vw - 20px)); height: calc(100% - 20px); max-width: none; max-height: none; margin: 0; padding: 0; border-radius: var(--r-panel); background: var(--surface); overflow: hidden; transform-origin: calc(100% - 80px) 30px; }
.drawer[open] { display: flex; flex-direction: column; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 12px 24px; }
.dr-head h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.cart-undo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 8px; padding: 2px 10px 2px 14px; border-radius: var(--r-img); background: var(--well); font-size: 14px; }
.dr-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; }
.cl-list { padding: 0; list-style: none; }
.cl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.cl-ph { display: grid; place-items: center; width: 88px; height: 88px; border-radius: var(--r-img); background: var(--plate); }
.cl-ph img { max-width: 72px; max-height: 74px; object-fit: contain; mix-blend-mode: multiply; }
.cl-top { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; line-height: 1.3; }
.cl-top b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-pn { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cl-pn:hover { text-decoration: underline; text-underline-offset: 3px; }
.cl-meta { margin-top: 3px; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.cl-meta strong { color: var(--ink); font-weight: 600; }
.cl .fit { margin-top: 6px; font-size: 13px; }
.cl-act { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.dr-empty { padding: 72px 8px; text-align: center; }
.dr-empty h3 { font-size: 20px; font-weight: 600; }
.dr-empty p { margin: 8px 0 22px; color: var(--ink-2); line-height: 1.5; }
.dr-foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; color: var(--ink-2); font-size: 14.5px; }
.sum-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-row.main { color: var(--ink); font-size: 18px; font-weight: 600; }
.dr-foot .btn { width: 100%; margin-top: 12px; }
.dr-foot .note { margin-top: 10px; color: var(--ink-2); font-size: 12.5px; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .search[open] { animation: menu-in .2s var(--ease-ui); }
  .search.closing { animation: search-out .2s var(--ease-ui) forwards; }
  dialog[open]::backdrop { animation: fade-in .32s var(--ease-ui); }
  dialog.closing::backdrop { animation: fade-out .2s var(--ease-ui) forwards; }
}
@keyframes drawer-in { from { opacity: 0; translate: 36px 0; scale: .985; } }
@keyframes drawer-out { to { opacity: 0; translate: 28px 0; } }
@keyframes search-out { to { opacity: 0; scale: .98; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* checkout */
.co { padding: 104px 0 96px; }
.co-h { font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -.025em; }
.co-grid { display: grid; grid-template-columns: minmax(0, 832fr) minmax(0, 400fr); gap: 48px; align-items: start; }
.co-step { background: var(--surface); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hair); }
.co-step + .co-step { margin-top: 20px; }
.co-step { scroll-margin: 88px 0 24px; }
.co-step.is-now { box-shadow: inset 0 0 0 1.5px var(--navy); }
.co-top { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 72px; padding: 10px 20px; }
.co-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--well); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.co-n .ico { width: 16px; height: 16px; }
.is-now .co-n { background: var(--navy); color: #fff; }
.is-done .co-n { color: var(--ok); }
.co-top h2 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.co-done { margin-top: 3px; color: var(--ink-2); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.co-body { padding: 2px 24px 24px 64px; }
.fi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; }
.fi { grid-column: span 6; min-width: 0; }
.fi.s4 { grid-column: span 4; } .fi.s3 { grid-column: span 3; } .fi.s2 { grid-column: span 2; }
.fi label { display: block; margin: 0 0 6px 2px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.fi input, .fi select { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: var(--r-img); background: var(--surface); box-shadow: inset 0 0 0 1px var(--edge); font-size: 16px; }
.fi input:hover, .fi select:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.fi [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }
.fi .err { margin: 6px 2px 0; color: var(--err); font-size: 13.5px; }
.co-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.co-next .note { color: var(--ink-2); font-size: 13.5px; }
.co-info { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-img); background: var(--well); color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.co-info:first-child { margin-top: 0; }
.co-info b { display: block; color: var(--ink); }
.co-info .ico { margin-top: 2px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.review dt { margin-top: 14px; color: var(--ink-2); font-size: 13.5px; }
.review dt:first-child { margin-top: 0; }
.review dd { margin-top: 3px; font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.sum { position: sticky; top: 88px; padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.sum-head { display: flex; align-items: center; justify-content: space-between; }
.sum-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.sum-lines { margin-bottom: 8px; padding: 0; list-style: none; max-height: max(220px, calc(100vh - 390px)); overflow-y: auto; }
.sum-lines .cl { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
.sum-lines .cl-ph { width: 60px; height: 60px; }
.sum-lines .cl-ph img { max-width: 48px; max-height: 50px; }
.sum-lines .cl-top { font-size: 14.5px; }
.sum-lines .cl-meta { font-size: 12.5px; }
.sum-totals { padding-top: 12px; border-top: 1px solid var(--line); }
.result { max-width: 680px; margin: 0 auto; padding: 40px 0; }
.result > .lede { margin-top: 14px; }
.result .sum { position: static; margin: 28px 0; }
.result .sum-lines { max-height: none; }

/* help and policies */
.doc { padding: 112px 0 96px; }
.doc-in { display: grid; grid-template-columns: 230px minmax(0, 680px); gap: 72px; align-items: start; }
.doc-nav { position: sticky; top: 100px; display: grid; }
.doc-nav a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.doc-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.doc h1 { font-size: 48px; font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.doc section { padding-top: 40px; scroll-margin-top: 72px; }
.doc section h2 { font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.doc section p { margin-top: 10px; color: var(--ink-2); line-height: 1.6; max-width: 65ch; }
.doc .doc-go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; max-width: none; }
.doc figure { margin-top: 18px; padding: 24px; border-radius: var(--r-card); background: var(--plate); text-align: center; }
.doc figure img { max-height: 260px; mix-blend-mode: multiply; }
.doc figcaption { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; }

/* footer */
.foot { padding: 36px 0 34px; background: var(--cyc); }
.ft { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 24px 64px; font-size: 14px; color: var(--ink-2); }
.ft img { height: 26px; width: auto; }
.ft-brand p { margin-top: 12px; max-width: 38ch; line-height: 1.5; }
.ft h2 { margin: 2px 0 4px; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.ft nav { display: grid; align-content: start; }
.ft nav a { display: flex; align-items: center; min-height: 36px; text-decoration: none; }
.ft nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ft-fine { margin-top: 28px; color: var(--ink-3); font-size: 13px; }

@media (max-width: 1239.98px) {
  .results[data-cols="5"] { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .fform { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fform .or { display: none; }
  .fform .fld-pn { grid-column: span 3; }
}
/* desktop is the designed size today. Below it everything stacks and nothing scrolls sideways. */
@media (max-width: 900px) {
  .wrap { width: calc(100vw - 32px); }
  .results, .results[data-cols="4"], .results[data-cols="5"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
  .cat-in, .pd-in, .co-grid, .doc-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gal, .sum, .doc-nav { position: static; }
  .gal-stage { height: 360px; }
  .cat-art { height: 320px; }
  .fform { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fform .fld-pn { grid-column: span 2; }
  .sec-head { flex-wrap: wrap; }
  .nav .links, .nav .step-name { display: none; }
  .nav .right .lbl { display: none; }
  .nav .right button { padding: 0 11px; }
  .chips { flex-wrap: wrap; }
  .chart { font-size: 13px; }
  .chart td:nth-child(2) { white-space: normal; }
  .co-body { padding: 2px 16px 20px; }
  .fi.s4, .fi.s3, .fi.s2 { grid-column: span 6; }
  .buy-row { grid-template-columns: 1fr auto; }
  .buy-row .btn { grid-column: span 2; }
  .ft { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-brand { grid-column: span 2; }
  .ctas { flex-wrap: wrap; padding: 0 16px; }
}
@media (forced-colors: active) {
  .btn, .step, .chip, .ctl select, .ctl input, .fi input, .fi select { border: 1px solid ButtonText; }
}
/* phones are not designed yet: the scroll hint gives way to the two buttons */
@media (max-width: 600px) { .open .cue { display: none; } }
.fitbox details[open] + .fit-more { margin-top: 12px; padding-bottom: 6px; }

/* V6.3: liquid-glass search. A clear lens over the page instead of a white sheet: the page stays visible through it,
   a bright rim catches the light at the edges, a soft highlight follows the pointer, and each result sits on its own frosted chip. */
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 22%; }
@property --gy { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
#search::backdrop { background: radial-gradient(120% 80% at 50% 0%, rgba(0, 12, 36, .04), rgba(0, 12, 36, .14)); }
.search { isolation: isolate; border-radius: 30px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, .24));
  -webkit-backdrop-filter: blur(12px) saturate(2.1) brightness(1.06); backdrop-filter: blur(12px) saturate(2.1) brightness(1.06);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .9), inset 0 -10px 24px -14px rgba(255, 255, 255, .55), inset 0 12px 30px -20px rgba(0, 24, 70, .25),
    0 30px 70px -24px rgba(0, 18, 50, .45), 0 2px 6px rgba(0, 18, 50, .08); }
/* the rim: a thin edge that is bright top-left and bottom-right, like light bending through a glass edge */
.search::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15) 30%, rgba(255, 255, 255, .05) 60%, rgba(255, 255, 255, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* the moving highlight */
.search::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(340px circle at var(--gx) var(--gy), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%);
  transition: --gx .5s var(--ease-ui), --gy .5s var(--ease-ui); }
.search-row .ctl input { border-radius: 20px; background: rgba(255, 255, 255, .66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 18px -10px rgba(0, 18, 50, .35); }
.search-row .ctl input:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(29, 29, 31, .3), 0 6px 18px -10px rgba(0, 18, 50, .35); }
.search .x { border-radius: 50%; background: rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.search-help { color: var(--ink); text-shadow: 0 0 14px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .8); }
.search .opts { display: grid; gap: 6px; padding: 2px; background: none; border-radius: 0; }
.search .opts li[role="option"], .search .opt-none { border-radius: 18px; background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 4px 14px -8px rgba(0, 18, 50, .3);
  transition: transform .18s var(--ease-ui), background-color .18s var(--ease-ui), box-shadow .18s var(--ease-ui); }
.search .opts li[role="option"]:hover, .search .opts li[aria-selected="true"] { background: rgba(255, 255, 255, .9); transform: translateY(-1px); }
.search .opts li[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--navy), 0 8px 20px -10px rgba(0, 18, 50, .4); }
.search .opt-ph { background: rgba(255, 255, 255, .85); }
@media (prefers-reduced-motion: reduce) { .search::after { transition: none; } .search .opts li[role="option"] { transition: none; transform: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .search { background: rgba(255, 255, 255, .94); } }
html.a11y-calm .search::after { transition: none; } html.a11y-calm .search .opts li[role="option"] { transform: none; }
html[class*="a11y-con"] .search { background: var(--surface); } html[class*="a11y-con"] .search::after { display: none; }
@media (prefers-reduced-transparency: reduce) { .search { background: var(--surface); } .search::after { display: none; } #search::backdrop { background: rgba(0, 12, 36, .3); } }
