/* VK7SPORTS design system. Palette and fonts come from the project prototype:
   Navy #0A1121 and red #E31B23 on white (starting palette, restated at the end of this file). Inter throughout (clean e-commerce type: body 15px, nav 14.5px, buttons 14.5px semibold). */
:root {
  --navy: #0A1121;
  --navy-2: #141D33;
  --navy-3: #222C45;
  --red: #E31B23;
  --red-dark: #BE141B;
  --red-soft: #FDECEC;
  --white: #FFFFFF;
  --bg: #F5F5F5;
  --bg-2: #FAFAFA;
  --ink: #1A1A1A;
  --ink-2: #4A5261;
  --ink-3: #68707E;
  --line: #E2E8F0;
  --line-2: #CBD3DF;
  --ok: #157347;      --ok-bg: #E7F5EE;
  --warn: #8A5A00;    --warn-bg: #FDF3DC;
  --bad: #B3141B;     --bad-bg: #FDECEC;
  --info: #1F4E8C;    --info-bg: #E8EFF9;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --shadow-1: 0 1px 2px rgba(10,17,33,.06), 0 1px 3px rgba(10,17,33,.05);
  --shadow-2: 0 8px 24px rgba(10,17,33,.10);
  --shadow-3: 0 18px 50px rgba(10,17,33,.25);
  --wrap: 1240px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --head: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Consolas', 'SFMono-Regular', Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.2; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid #2F6FD0; outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); letter-spacing: .01em; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }
.eyebrow { font: 700 12px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: block; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.mt { margin-top: 16px; } .mt-l { margin-top: 28px; } .mb { margin-bottom: 16px; } .mb-0 { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-md); border: 1px solid transparent; font: 600 14.5px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:disabled, .btn[aria-disabled=true] { opacity: .5; cursor: not-allowed; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover:not(:disabled) { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover:not(:disabled) { background: var(--navy-3); }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-line:hover:not(:disabled) { border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover:not(:disabled) { background: var(--bg); }
.btn-danger { background: #fff; color: var(--bad); border-color: #EDB9BB; }
.btn-danger:hover:not(:disabled) { background: var(--bad-bg); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #E9ECF2; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13.5px; }
.btn-block { width: 100%; }
.link { color: var(--red-dark); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-decoration: underline; }

/* Public header */
.hdr { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 60; }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14.5px; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current=page] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.hdr-search { flex: 1 1 160px; min-width: 150px; max-width: 300px; position: relative; margin-left: auto; }
.hdr-search input { width: 100%; height: 40px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; padding: 0 12px 0 38px; }
.hdr-search input::placeholder { color: rgba(255,255,255,.6); }
.hdr-search svg { position: absolute; left: 11px; top: 11px; color: rgba(255,255,255,.65); }
.hdr-tools { display: flex; align-items: center; gap: 4px; }
.tool { white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 6px 10px; color: #fff; text-decoration: none; background: none; border: 0; border-radius: var(--r-md); font-weight: 500; font-size: 14px; }
.tool:hover { background: rgba(255,255,255,.08); }
.tool .count { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/18px var(--font); text-align: center; }
.burger { display: none; }
.drawer-bg { position: fixed; inset: 0; background: rgba(10,17,33,.55); z-index: 90; display: none; }
.drawer { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); background: #fff; z-index: 91; transform: translateX(-102%); transition: transform .2s; display: flex; flex-direction: column; overflow-y: auto; }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-bg { display: block; }
.drawer-head { background: var(--navy); padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.drawer-head img { height: 44px; }
.drawer a { display: block; padding: 13px 18px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.drawer a:hover { background: var(--bg); }

/* Footer */
.ftr { background: var(--navy); color: rgba(255,255,255,.75); margin-top: 64px; font-size: 14px; }
main:has(> .sec:last-child) + .ftr, main:has(> .auth:last-child) + .ftr { margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.ftr h4 { color: #fff; margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: rgba(255,255,255,.75); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-logo { height: 64px; margin-bottom: 14px; }
.ftr-base { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Hero and marketing */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 480px; }
.hero-copy { padding: 64px 48px 64px 0; align-self: center; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { font-size: 17px; color: rgba(255,255,255,.82); max-width: 520px; margin-bottom: 26px; }
.hero-img { position: relative; min-height: 320px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0, rgba(10,17,33,0) 26%); z-index: 1; }
@media (min-width: 901px) { .hero-img { margin-right: min(-24px, calc((var(--wrap) - 100vw) / 2 - 24px)); } }
.facts { background: var(--navy-2); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.1); display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.35; }
.fact:first-child { border-left: 0; }
.fact svg { flex: 0 0 auto; color: var(--red); }
.fact strong { display: block; font-weight: 600; }
.fact span { color: rgba(255,255,255,.68); font-size: 13px; }
.sec { padding: 64px 0; }
.sec-alt { background: var(--bg); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 620px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.cat-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
.cat { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: var(--bg); text-decoration: none; aspect-ratio: 4/5; border: 1px solid var(--line); }
.cat img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s; }
.cat:hover img { transform: scale(1.03); }
.cat span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font: 700 15px/1.2 var(--head); background: linear-gradient(transparent, rgba(10,17,33,.82)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 14px var(--head); margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 14px; margin: 6px 0 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; }
.tile > p { color: var(--ink-2); }
.tile > h3, .step h3 { margin-bottom: 6px; }
.tile .btn, .tile > .link { margin-top: auto; align-self: flex-start; }
.ticks { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 12px; height: 7px; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.cta { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.8); margin: 8px 0 0; }
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding: 32px 0; }
.page-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 720px; }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red-dark); text-decoration: underline; }
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.sticky { position: sticky; top: 92px; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
.pcard-img { aspect-ratio: 4/5; background: #fff; position: relative; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pcard-tag { position: absolute; top: 10px; left: 10px; }
.pcard-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.pcard h3 { font-size: 15px; line-height: 1.3; }
.pcard-body > :last-child:not(:first-child) { margin-top: auto; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(10,17,33,.25); display: inline-block; }
/* A product or category with no photo yet shows the brand mark small and centred, not cropped to fill. */
img[src$="mark-navy.png"] { object-fit: contain !important; object-position: center !important; padding: 18%; background: var(--bg); opacity: .55; }
.pcard-img img[src$="mark-navy.png"], .cat img[src$="mark-navy.png"], .gallery-main img[src$="mark-navy.png"] { padding: 26%; }
.cat:hover img[src$="mark-navy.png"] { transform: none; }
.price { font: 700 17px/1.2 var(--head); color: var(--navy); }
.price small { font: 400 12.5px var(--font); color: var(--ink-3); }
.price-lock { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }

/* Catalogue layout */
.cat-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px 0; }
.filters { border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 16px 16px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h4 { margin-bottom: 8px; font-size: 13.5px; }
.check { display: flex; gap: 9px; align-items: center; padding: 4px 0; cursor: pointer; font-size: 14px; }
.check input { width: 17px; height: 17px; accent-color: var(--red); flex: 0 0 auto; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; gap: 6px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; cursor: pointer; }
.filter-btn { display: none; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; padding: 28px 0 8px; align-items: start; }
.pdp > :first-child { position: sticky; top: 92px; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; aspect-ratio: 4/5; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs:has(> :only-child) { display: none; }
.thumb { width: 68px; height: 84px; padding: 0; border: 2px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb[aria-current=true] { border-color: var(--red); }
.spec { display: grid; grid-template-columns: 130px 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; }

/* Size x colour grid */
.mx { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mx-head, .mx-row { display: grid; grid-template-columns: 150px repeat(var(--sizes), minmax(0, 1fr)) 64px; gap: 6px; align-items: center; padding: 8px 12px; }
.mx-head { background: var(--navy); color: #fff; font: 600 12.5px var(--font); text-align: center; }
.mx-head span:first-child { text-align: left; }
.mx-row { border-top: 1px solid var(--line); }
.mx-colour { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; }
.mx-cell { min-width: 0; text-align: center; }
.mx-cell label { display: none; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.mx-cell input { width: 100%; height: 40px; text-align: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 2px; -moz-appearance: textfield; font-size: 15px; background: #fff; }
.mx-cell input::-webkit-outer-spin-button, .mx-cell input::-webkit-inner-spin-button { -webkit-appearance: none; }
.mx-cell input:disabled { background: var(--bg); color: var(--ink-3); }
.mx-cell input.over { border-color: var(--warn); background: var(--warn-bg); }
.mx-cell small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.mx-cell small.none { color: var(--bad); }
.mx-total { text-align: right; font-weight: 700; }
.mx-foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 14px; }
.meter { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 6px 0; }
.meter i { display: block; height: 100%; background: var(--red); border-radius: 4px; transition: width .15s; }
.meter.done i { background: var(--ok); }

/* Status + notices */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font: 600 12.5px/1.4 var(--font); white-space: nowrap; border: 1px solid transparent; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-warn { background: var(--warn-bg); color: var(--warn); }
.b-bad { background: var(--bad-bg); color: var(--bad); }
.b-info { background: var(--info-bg); color: var(--info); }
.b-mute { background: var(--bg); color: var(--ink-2); border-color: var(--line); }
.b-navy { background: var(--navy); color: #fff; }
.b-navy::before { display: none; }
.notice { border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; border: 1px solid; display: flex; gap: 10px; line-height: 1.45; }
.notice > div { min-width: 0; }
.notice strong { display: block; }
.n-info { background: var(--info-bg); border-color: #C5D6EE; color: #173A69; }
.n-ok { background: var(--ok-bg); border-color: #BFE3D0; color: #0F5734; }
.n-warn { background: var(--warn-bg); border-color: #F0DDAE; color: #694500; }
.n-bad { background: var(--bad-bg); border-color: #F5C5C7; color: #8F1016; }
.tbc { display: inline-block; font-size: 12.5px; font-weight: 600; color: #694500; background: var(--warn-bg); border: 1px dashed #D9B868; border-radius: var(--r-sm); padding: 0 6px; }

/* Forms */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.field > label, .label { font-weight: 600; font-size: 14px; }
.req { color: var(--red-dark); }
.hint { font-size: 13px; color: var(--ink-3); }
.err { font-size: 13px; color: var(--bad); font-weight: 500; }
.input, select.input, textarea.input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; }
textarea.input { min-height: 100px; resize: vertical; }
.input:focus { border-color: var(--navy); outline: 2px solid rgba(10,17,33,.15); }
.field.has-err .input { border-color: var(--bad); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }

/* Auth */
.auth { min-height: 70vh; display: grid; place-items: center; background: var(--bg); padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px; box-shadow: var(--shadow-1); }
.auth-card.wide { max-width: 720px; }
.demo-logins { display: grid; gap: 6px; }
.demo-logins button { display: flex; justify-content: space-between; gap: 10px; text-align: left; padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13px; }
.demo-logins button:hover { border-color: var(--navy); }

/* Cards and tables */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.card-pad { padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-head h3 { font-size: 15.5px; }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font: 600 12.5px var(--font); color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-2); }
.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr.click { cursor: pointer; }
.t tbody tr.click:hover { background: var(--bg-2); }
.t .mono { white-space: nowrap; }
.t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum { display: grid; gap: 7px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .tot { border-top: 1px solid var(--line); padding-top: 9px; font: 700 16px var(--head); color: var(--navy); }
.kv { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* Empty / loading / error */
.state { text-align: center; padding: 48px 20px; }
.state h3 { margin-bottom: 6px; }
.state p { color: var(--ink-2); margin: 0 auto 16px; max-width: 460px; }
.state-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: var(--ink-3); display: grid; place-items: center; margin: 0 auto 12px; }
.state-ico.is-ok { background: var(--ok-bg); color: var(--ok); }
.skel { background: linear-gradient(90deg, #EEF0F3 25%, #F7F8FA 50%, #EEF0F3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-sm); }
@keyframes sk { to { background-position: -200% 0; } }

/* Order tracker */
.track { display: flex; list-style: none; margin: 0; padding: 0; }
.track li { flex: 1; position: relative; text-align: center; font-size: 12.5px; color: var(--ink-3); padding-top: 32px; min-width: 0; }
.track li::before { content: ''; position: absolute; top: 8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); z-index: 1; }
.track li::after { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.track li:first-child::after { display: none; }
.track li.done::before { background: var(--navy); border-color: var(--navy); }
.track li.done::after, .track li.now::after { background: var(--navy); }
.track li.now { color: var(--navy); font-weight: 700; }
.track li.now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.track li.done { color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { position: relative; padding-left: 20px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.timeline li::after { content: ''; position: absolute; left: 6px; top: 18px; bottom: -14px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }

/* Portal shell (retailer + admin) */
.portal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 28px 0 8px; align-items: start; }
.side { border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px; position: sticky; top: 92px; }
.side-who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.side-who strong { display: block; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.side a, .a-side a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.side a:hover { background: var(--bg); color: var(--navy); }
.side a[aria-current=page] { background: var(--navy); color: #fff; }
.side .logout { color: var(--bad); width: 100%; background: none; border: 0; text-align: left; padding: 9px 12px; font-size: 14px; font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; text-decoration: none; display: block; }
a.stat:hover { border-color: var(--navy); }
.stat span { display: block; font-size: 13px; color: var(--ink-3); }
.stat strong { display: block; font: 800 26px/1.25 var(--head); color: var(--navy); margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.ptitle { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ptitle h1 { font-size: clamp(22px, 2.6vw, 26px); }
.ptitle p { margin: 4px 0 0; color: var(--ink-2); }

/* Admin */
.a-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--navy) 236px, var(--bg) 236px); }
.a-side { background: var(--navy); color: #fff; padding: 14px 10px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.a-side .logo { padding: 6px 10px 16px; }
.a-side .logo img { height: 44px; }
.a-side { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.a-side .grp { font: 600 11px var(--font); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 14px 12px 4px; }
.a-side a { color: rgba(255,255,255,.78); }
.a-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.a-side a[aria-current=page] { background: var(--red); color: #fff; }
.a-side .count-pill { margin-left: auto; background: rgba(255,255,255,.16); border-radius: 9px; padding: 0 7px; font-size: 12px; }
.a-top { background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; position: sticky; top: 0; z-index: 40; min-height: 58px; }
.a-main { padding: 24px; max-width: 1280px; width: 100%; }
.a-burger { display: none; background: none; border: 0; padding: 6px; }
.a-close, .a-me, .a-bg { display: none; }
.a-side-head .logo { display: block; }
@media (prefers-reduced-motion: reduce) { .a-side, .a-bg { transition: none !important; } }
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.filterbar .input { width: auto; min-height: 38px; padding: 6px 10px; }
.filterbar input.input { flex: 1 1 200px; min-width: 150px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); padding: 0 12px; }
.tabs button { background: none; border: 0; padding: 11px 12px; font-weight: 600; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs button[aria-selected=true] { color: var(--navy); border-color: var(--red); }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 96px; gap: 10px; align-items: center; font-size: 13.5px; }
.bar-track { height: 16px; border-radius: 4px; }
.bar-track i { display: block; height: 100%; background: var(--navy); border-radius: 0 4px 4px 0; min-width: 2px; }
.bar-track i:hover { background: var(--red); }

/* Modal + toast */
.modal-bg { position: fixed; inset: 0; background: rgba(10,17,33,.55); z-index: 120; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-3); }
.modal-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-b { padding: 20px; }
.x { background: none; border: 0; font-size: 22px; line-height: 1; padding: 4px 8px; color: var(--ink-2); }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 130; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--r-md); box-shadow: var(--shadow-2); font-size: 14px; }
.toast.bad { background: var(--bad); }
.wake { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 125; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 16px; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 14px; line-height: 1.4; box-shadow: var(--shadow-2); font-size: 13.5px; font-weight: 500; }
.wake[hidden] { display: none; }
.wake-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.doc { max-width: 820px; margin: 24px auto; background: #fff; border: 1px solid var(--line); padding: 36px; }
.doc-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--navy); padding-bottom: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.doc-head img { height: 64px; }
.not-invoice { border: 2px solid var(--red); color: var(--red-dark); font-weight: 700; text-align: center; padding: 8px; margin-bottom: 18px; border-radius: var(--r-sm); }
.err404 { text-align: center; padding: 80px 16px; }
.err404 b { display: block; font: 800 72px/1 var(--head); color: var(--navy); }

/* Responsive */
@media (max-width: 1440px) {
  .hdr-in { gap: 14px; }
  .nav a { padding: 8px 7px; font-size: 14px; }
  .logo img { height: 50px; }
}
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hdr-search { max-width: none; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 40px 0 32px; }
  .hero-img { height: 300px; margin: 0 -24px; }
  .hero-img::before { background: linear-gradient(180deg, var(--navy) 0, rgba(10,17,33,0) 22%); }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .filters.open { display: block; }
  .filter-btn { display: inline-flex; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pdp > :first-child { position: static; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .sticky, .side { position: static; }
  .portal { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .side { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .side::-webkit-scrollbar { display: none; }
  .side-who { display: none; }
  .side a { white-space: nowrap; }
  .side svg { display: none; }
  .side .logout { white-space: nowrap; width: auto; }
  .three, .two { grid-template-columns: minmax(0, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .a-shell { grid-template-columns: minmax(0, 1fr); background: var(--bg); }
  .a-top .who { display: none; }
  .a-side { position: fixed; z-index: 95; width: min(300px, 84vw); left: 0; top: 0; height: 100dvh; padding: 0 10px calc(16px + env(safe-area-inset-bottom)); transform: translateX(-104%); transition: transform .26s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 0 transparent; overscroll-behavior: contain; visibility: hidden; }
  .a-open .a-side { transform: none; visibility: visible; box-shadow: 12px 0 32px rgba(5, 10, 25, .35); }
  .a-open { overflow: hidden; }
  .a-side-head { position: sticky; top: 0; z-index: 1; background: inherit; display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 10px 0; margin: 0 -10px 0 0; }
  .a-side-head .logo { padding: 6px 10px; }
  .a-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 6px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
  .a-close:hover, .a-close:focus-visible { background: rgba(255, 255, 255, .18); }
  .a-me { display: flex; flex-direction: column; gap: 2px; margin: 2px 2px 8px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
  .a-me strong { font-size: 14.5px; color: #fff; overflow-wrap: anywhere; }
  .a-me span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
  .a-side a { min-height: 46px; padding: 11px 14px; border-radius: 10px; font-size: 15px; margin-bottom: 2px; }
  .a-side a svg { flex: none; opacity: .9; }
  .a-side a[aria-current=page] { box-shadow: inset 3px 0 0 #fff; }
  .a-side .grp { padding: 18px 14px 6px; }
  .a-bg { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(10, 17, 33, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .26s; }
  .a-open .a-bg { opacity: 1; pointer-events: auto; }
  .a-burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; margin-left: -8px; }
  .a-burger:active { background: var(--bg); }
  .a-main { padding: 16px; }
  .a-top { padding: 8px 16px; }
  .sec { padding: 44px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero-img { margin: 0 -16px; height: 260px; }
  .hdr-in { gap: 8px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .logo img { height: 34px; }
  .hdr-search { order: 5; flex-basis: 100%; }
  .hdr-tools { margin-left: auto; }
  .tool .lbl { display: none; }
  .pgrid, .pgrid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form-2 { grid-template-columns: minmax(0, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ftr-grid > :first-child { grid-column: 1 / -1; }
  .fact { padding: 12px; }
  .cta { padding: 24px; }
  .mx-head { display: none; }
  .mx-row { grid-template-columns: repeat(var(--sizes), minmax(0, 1fr)); padding: 10px 12px; }
  .mx-colour { grid-column: 1 / -1; }
  .mx-total { grid-column: 1 / -1; font-size: 13px; }
  .mx-total::before { content: 'Row total: '; font-weight: 500; color: var(--ink-3); }
  .mx-cell label { display: block; }
  .form-card, .auth-card { padding: 18px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tw { scrollbar-width: thin; }
  .tw > table.t { min-width: 600px; }
  .t th, .t td { padding: 10px 12px; }
  .stat { padding: 12px 14px; }
  .stat strong { font-size: 22px; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kv dd { margin-bottom: 8px; }
  .bar-row { grid-template-columns: 96px minmax(0, 1fr) 76px; }
  .track { flex-direction: column; gap: 0; }
  .track li { text-align: left; padding: 0 0 16px 28px; }
  .track li::before { left: 0; top: 2px; margin: 0; }
  .track li::after { left: 7px; top: -14px; width: 2px; height: 100%; }
  .doc { padding: 18px; margin: 0; border: 0; }
  .toolbar .input { flex: 1; }
}
@media print {
  .hdr, .ftr, .no-print, .toasts { display: none !important; }
  .doc { border: 0; margin: 0; max-width: none; padding: 0; }
  .a-shell { display: block; background: #fff; }
  .a-main { padding: 0; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Quote amounts */
.amt-trail { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.amt-trail li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 12px; background: var(--bg); border-radius: var(--r-sm); border-left: 3px solid var(--line-2); }
.amt-trail li.is-staff { background: var(--info-bg); border-left-color: var(--info); }
.amt-trail .small { grid-column: 1 / -1; }

/* Choosing how much to pay */
.pay-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.pay-pick { display: grid; gap: 10px; margin: 14px 0; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); }

/* Design preview on bulk and customised orders */
.studio { --st-text: #FFFFFF; --st-y: 0%; overflow: hidden; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 280px); gap: 20px; padding: 20px; align-items: start; }
.studio-styles { display: grid; gap: 8px; max-height: 520px; overflow-y: auto; }
.studio-style { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; font-size: 13px; font-weight: 500; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.studio-style img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); }
.studio-style.on { border-color: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }
.studio-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
.studio-stage > img[data-st-img] { width: 100%; height: 100%; object-fit: contain; }
.st-name, .st-num { position: absolute; left: 50%; transform: translateX(-50%); max-width: 62%; overflow: hidden; color: var(--st-text); font-family: var(--head); font-weight: 800; line-height: 1.05; text-align: center; white-space: nowrap; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); pointer-events: none; }
.st-name { top: calc(33% + var(--st-y)); font-size: clamp(14px, 2.2vw, 24px); }
.st-num { top: calc(41% + var(--st-y)); font-size: clamp(32px, 5.6vw, 64px); }
.st-logo { position: absolute; top: calc(25% + var(--st-y)); left: 57%; width: 11%; max-height: 11%; object-fit: contain; pointer-events: none; }
.st-logo[hidden] { display: none; }
.st-label { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.studio .swatch { width: 28px; height: 28px; padding: 0; cursor: pointer; border: 2px solid var(--line-2); border-radius: 50%; }
.studio .swatch.on { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 980px) {
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-styles { grid-auto-flow: column; grid-auto-columns: 170px; max-height: none; overflow-x: auto; padding-bottom: 6px; }
  .st-name { font-size: clamp(16px, 5vw, 26px); }
  .st-num { font-size: clamp(36px, 12vw, 64px); }
}

/* Language picker and Indian-language fonts */
.lang { min-height: 36px; max-width: 96px; padding: 4px 6px; font-size: 13px; font-weight: 500; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-sm); cursor: pointer; }
.lang option { color: var(--ink); background: var(--white); }
.lang:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
html[lang="hi"], html[lang="mr"] { --font: 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', 'Inter', sans-serif; --head: 'Nirmala UI', 'Noto Sans Devanagari', 'Mangal', 'Montserrat', sans-serif; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="mr"] h1, html[lang="mr"] h2, html[lang="mr"] h3 { letter-spacing: 0; line-height: 1.35; }

/* Courier tracking map */
.map { height: 100%; min-height: 420px; background: var(--bg); z-index: 0; }
.map-note { display: grid; place-items: center; color: var(--ink-3); font-size: 13px; }
.scan-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.trk { overflow: hidden; }
.trk-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding: 22px 24px; background: var(--navy); color: var(--white); }
.trk-hero.is-done { background: var(--ok); }
.trk-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .78; }
.trk-eta { font: 800 30px/1.15 var(--head); margin: 4px 0 6px; }
.trk-now { font-size: 14px; opacity: .92; }
.trk-awb { display: grid; gap: 6px; justify-items: end; }
.trk-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-sm); }
.trk-copy:hover { background: rgba(255,255,255,.2); }
.trk-steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 22px 12px 18px; }
.trk-steps::before, .trk-steps::after { content: ''; position: absolute; top: 37px; left: 12.5%; height: 4px; border-radius: 2px; }
.trk-steps::before { right: 12.5%; background: var(--line); }
.trk-steps::after { width: calc(75% * var(--trk-done)); background: var(--red); }
.trk-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.trk-steps li.done, .trk-steps li.now { color: var(--navy); font-weight: 600; }
.trk-dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--white); background: var(--white); border: 3px solid var(--line); }
.trk-steps .done .trk-dot, .trk-steps .now .trk-dot { background: var(--red); border-color: var(--red); }
.trk-steps .now .trk-dot { box-shadow: 0 0 0 5px var(--red-soft); }
.trk-map-wrap { position: relative; min-width: 0; isolation: isolate; }
.trk-chip { position: absolute; top: 12px; left: 12px; z-index: 500; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--white); border-radius: 999px; box-shadow: var(--shadow-2); }
.leaflet-top.leaflet-left { top: 48px; }
.trk-live { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: trk-pulse 1.6s infinite; }
.trk-live.is-done { background: var(--ok); animation: none; }
@keyframes trk-pulse { 0% { box-shadow: 0 0 0 0 rgba(227,27,35,.5); } 100% { box-shadow: 0 0 0 9px rgba(227,27,35,0); } }
.trk-pin { display: grid; place-items: center; width: 40px; height: 40px; color: var(--white); background: var(--red); border: 3px solid var(--white); border-radius: 50%; box-shadow: var(--shadow-2); }
.trk-pin.is-done { background: var(--ok); }
.trk-label { font-weight: 600; color: var(--navy); }
.trk-side { min-width: 0; max-height: 520px; overflow-y: auto; padding: 18px 20px; border-left: 1px solid var(--line); }
.trk-route { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.trk-route svg { color: var(--ink-3); }
.trk-day { margin: 14px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.trk-scans { list-style: none; margin: 0; padding: 0; }
.trk-scans li { position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 22px; padding-bottom: 16px; font-size: 14px; }
.trk-scans time { font-size: 12px; line-height: 21px; color: var(--ink-3); white-space: nowrap; }
.trk-scans li::before { content: ''; position: absolute; left: 74px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.trk-scans li::after { content: ''; position: absolute; left: 78px; top: 18px; bottom: -4px; width: 2px; background: var(--line); }
.trk-scans li:last-child::after { display: none; }
.trk-scans li.is-now::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.trk-foot { display: grid; gap: 10px; padding: 12px 20px; background: var(--bg-2); border-top: 1px solid var(--line); }
.trk-foot:empty { display: none; }
@media (max-width: 900px) {
  .scan-grid { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 320px; }
  .trk-side { max-height: none; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trk-hero { padding: 18px 16px; }
  .trk-awb { justify-items: start; }
  .trk-eta { font-size: 25px; }
  .trk-steps { padding-inline: 4px; }
  .trk-steps li { font-size: 12px; }
}
@media print { .trk-map-wrap { display: none; } .scan-grid { grid-template-columns: minmax(0, 1fr); } .trk-side { max-height: none; border-left: 0; } }

/* Customer support */
.sup-steps { list-style: none; margin: 0; padding: 0; counter-reset: sup; display: grid; gap: 14px; }
.sup-steps li { counter-increment: sup; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.sup-steps li::before { content: counter(sup); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.sup-steps span { color: var(--ink-3); font-size: 14px; }
.sup-reply { background: var(--ok-bg); border-left: 3px solid var(--ok); border-radius: 6px; padding: 10px 14px; }
.sup-result { margin-top: 14px; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.sup-msg { background: var(--bg-2); border-radius: 8px; padding: 12px 14px; white-space: pre-wrap; }
.sup-card h3 { font-size: 17px; }
.sup-promise { background: var(--ok-bg); border: 1px solid #BFE3D0; color: #0F5734; border-radius: 8px; padding: 14px 18px; text-align: left; max-width: 560px; margin: 8px auto 0; }

/* Payment standing */
.standing-in { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; }
.score-ring { width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fff 78%, transparent 79%), conic-gradient(var(--navy) calc(var(--p) * 1%), var(--line) 0); }
.score-ring strong { font-family: var(--head); font-size: 30px; line-height: 1; color: var(--navy); }
.score-ring span { font-size: 12px; color: var(--ink-3); }
.neg { color: var(--bad); font-weight: 600; }
.pos { color: var(--ok); font-weight: 600; }
.pay-mode.is-off { opacity: .65; }
@media (max-width: 560px) { .standing-in { grid-template-columns: 1fr; justify-items: start; } }

/* --- Accounts portal --- */
.acc-shell .a-side { background: #0E2A2A; }
.acc-shell .a-side a[aria-current="page"] { background: rgba(255, 255, 255, .12); color: #fff; }
.acc-tag { margin: -6px 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FD3C1; }
.acc-bars { display: flex; align-items: flex-end; gap: 14px; height: 180px; overflow-x: auto; padding-bottom: 6px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 44px; height: 100%; }
.bar-pair { flex: 1; display: flex; align-items: flex-end; gap: 4px; width: 100%; justify-content: center; }
.bar { width: 14px; min-height: 2px; border-radius: 3px 3px 0 0; display: block; }
.b-inv { background: var(--navy-3); }
.b-rec { background: #1E8E6E; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; vertical-align: middle; }
.aging { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.aging > div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.aging > div.is-late { border-color: #F3C1C3; background: var(--red-soft); }
.map.map-note { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; background: var(--bg-2); color: var(--ink-3); font-size: 14px; }
@media print { .acc-shell .a-side, .acc-shell .a-top, .filterbar { display: none !important; } .acc-shell { display: block; } }

/* --- Product editor: photo drop, detected colour, sizes --- */
.ced { display: flex; flex-direction: column; gap: 14px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 26px 16px; border: 2px dashed var(--line-2); border-radius: 10px; background: var(--bg-2); cursor: pointer; color: var(--ink-2); transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--navy); background: #EEF2F8; }
.ced-previews:empty { display: none; }
.ced-previews, .ced-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.ced-thumb { position: relative; width: 92px; height: 112px; }
.ced-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.ced-thumb .btn { position: absolute; top: 4px; right: 4px; min-height: 24px; padding: 1px 8px; }
.ced-thumb .badge { position: absolute; left: 4px; bottom: 4px; }
.ced-colour { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.ced-colour [data-detect] { grid-column: 1 / -1; }
.ced-swatch { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 2px; }
.ced-hex { width: 56px; height: 44px; padding: 2px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.ced-quick, .ced-foot { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.ced-quick .input { max-width: 120px; display: inline-block; margin-left: 6px; }
.ced-sizes .num-in { max-width: 130px; margin-left: auto; text-align: right; }
.ced-sizes td { vertical-align: middle; }
.mx-price { display: block; color: var(--navy); font-weight: 600; }
.price-gate .price-lock { margin-bottom: 6px; }
@media (max-width: 640px) { .ced-colour { grid-template-columns: auto minmax(0, 1fr); } .ced-quick .input { max-width: 90px; } }

/* Bot check: hidden unless Cloudflare asks the visitor to click. */
.bot-check { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200; display: none; background: #fff; padding: 8px; border-radius: 10px; box-shadow: 0 8px 28px rgba(10,17,33,.25); }
.bot-check.show { display: block; }

/* Legal pages */
.policy p { margin: 0 0 14px; line-height: 1.65; }
.policy ul { margin: 0 0 14px; padding-left: 22px; }
.policy li { margin-bottom: 6px; line-height: 1.6; }
.policy strong { color: var(--ink); }
.policy-table { margin: 6px 0 18px; }
.policy-table td, .policy-table th { vertical-align: top; }
.policy-nav a[aria-current=page] { font-weight: 700; color: var(--red); }
@media (min-width: 901px) { .policy-nav { position: sticky; top: 92px; align-self: start; } }
.policy-table .t { width: 100%; min-width: 0; table-layout: fixed; font-size: 14px; }
.policy-table .t th { white-space: normal; }
@media (max-width: 700px) {
  .policy-table { overflow: visible; }
  .policy-table .t, .policy-table .t tbody, .policy-table .t tr, .policy-table .t td { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
  .policy-table .t thead { display: none; }
  .policy-table .t tr { box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
  .policy-table .t td { border: 0; padding: 4px 0; }
  .policy-table .t td::before { content: attr(data-label); display: block; font: 600 11.5px var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
}
.tw.policy-table > table.t { min-width: 0; }

/* Optional person photo for the AI try-on picture */
.ced-model { display: grid; gap: 10px; margin: 4px 0 14px; }
.drop.drop-sm { padding: 14px; border-style: dashed; }
.ced-model-preview { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ==========================================================================
   Home page: premium landing (3D ring, WebGL fabric, AASIOM band).
   Motion lives in assets/js/home-fx.js. Every effect has a static fallback.
   ========================================================================== */
.hx { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(55% 75% at 82% 32%, rgba(227,27,35,.20), transparent 62%), radial-gradient(50% 60% at 8% 100%, rgba(70,104,143,.28), transparent 70%), var(--navy); }
.hx-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
.hx-gl.on { opacity: 1; }
.hx::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10,17,33,.88) 0, rgba(10,17,33,.45) 46%, rgba(10,17,33,0) 75%), linear-gradient(0deg, rgba(10,17,33,.9) 0, rgba(10,17,33,0) 28%); }
.hx-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: clamp(560px, 82vh, 780px); padding: 56px 24px 64px; }
.hx-copy h1 { color: #fff; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 20px; text-wrap: balance; }
.hx-copy h1 em { font-style: normal; color: var(--red); }
.hx-copy p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 500px; margin-bottom: 28px; }
.hx-chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hx-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.hx-chips svg { color: var(--red); }

.hx-stage { --cw: clamp(160px, 15.5vw, 230px); --r: clamp(210px, 23vw, 350px); position: relative; height: clamp(440px, 50vw, 640px); perspective: 1100px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: var(--r-lg); }
.hx-stage.grab { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; transform: translateZ(calc(var(--r) * -1)); }
.ring-card { position: absolute; margin: 0; width: var(--cw); height: calc(var(--cw) * 4 / 3); left: calc(var(--cw) / -2); top: calc(var(--cw) * -2 / 3); border-radius: 14px; overflow: hidden; background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 48px rgba(0,0,0,.45); transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r)); }
.ring-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; pointer-events: none; }
.hx-floor { position: absolute; left: 12%; right: 12%; bottom: 9%; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227,27,35,.35), rgba(227,27,35,0)); filter: blur(10px); pointer-events: none; }
.hx-hint { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* Marquee band */
.mq { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; }
.mq-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: mq 70s linear infinite; }
.mq span { font: 800 clamp(22px, 2.8vw, 36px)/1 var(--head); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.mq .hollow { color: var(--navy); }
.mq i { width: 10px; height: 10px; flex: 0 0 auto; background: #fff; transform: rotate(45deg); }
@keyframes mq { to { transform: translateX(-50%); } }

/* Scroll reveal (only when home-fx.js has turned it on) */
.fx .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * 90ms), transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0) * 90ms); }
.fx .reveal.in { opacity: 1; transform: none; }

/* Category cards that tilt toward the pointer */
.cat.tilt { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .25s; transform-style: preserve-3d; }
.fx .cat.tilt.reveal.in { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .7s ease calc(var(--d, 0) * 90ms), transform .25s ease-out, box-shadow .25s; }
.cat.tilt:hover { box-shadow: var(--shadow-2); }
.cat.tilt::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.28), transparent 55%); }
.cat.tilt:hover::after { opacity: 1; }

/* Editorial showcase */
.show { padding: 96px 0; overflow: hidden; }
.show-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.show-media { position: relative; margin-bottom: 40px; }
.show-a { width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; object-position: 50% 20%; border-radius: 18px; box-shadow: var(--shadow-3); }
.show-b { position: absolute; right: -18px; bottom: -40px; width: 40%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-3); transform: rotate(-4deg); }
.show-copy h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance; }
.show-copy > p { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font: 800 clamp(34px, 4vw, 52px)/1 var(--head); color: var(--navy); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats div:first-child dt { color: var(--red); }
.stats dd { margin: 8px 0 0; color: var(--ink-3); font-size: 13.5px; line-height: 1.4; }

/* Steps appear one after another */
.fx .steps-line.reveal { opacity: 1; transform: none; }
.fx .steps-line .step { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), border-color .2s; }
.fx .steps-line.in .step { opacity: 1; transform: none; }
.steps-line .step:nth-child(2) { transition-delay: .12s; } .steps-line .step:nth-child(3) { transition-delay: .24s; } .steps-line .step:nth-child(4) { transition-delay: .36s; }
.steps-line .step:hover { border-color: var(--navy); }
.steps-line .step:hover::before { background: var(--red); }

.tile-lift { transition: transform .25s ease, box-shadow .25s ease, opacity .7s ease; }
.tile-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.fx .tile-lift.reveal.in:hover { transform: translateY(-4px); }
.tile-dark { background: radial-gradient(90% 120% at 100% 0, rgba(227,27,35,.28), transparent 55%), var(--navy); border-color: var(--navy); color: #fff; }
.tile-dark h3 { color: #fff; }
.tile-dark > p, .tile-dark .ticks li { color: rgba(255,255,255,.78); }
.cta-glow { background: radial-gradient(70% 160% at 100% 0, rgba(227,27,35,.38), transparent 60%), radial-gradient(60% 120% at 0 100%, rgba(70,104,143,.35), transparent 60%), var(--navy); }

/* AASIOM technology partner band (AASIOM palette: graphite, warm white, logo teal) */
body[data-page="home"] .ftr { margin-top: 0; }
.ax { background: radial-gradient(60% 90% at 20% 50%, rgba(63,182,168,.14), transparent 65%), var(--navy); color: #eceef1; padding: 80px 0; border-top: 1px solid rgba(127,207,195,.18); }
.ax-in { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: 56px; align-items: center; }
.ax-knot { position: relative; aspect-ratio: 1; width: 100%; max-width: 360px; }
.ax-knot canvas { display: block; width: 100%; height: 100%; }
.ax-fallback { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.ax-knot.gl-on .ax-fallback { display: none; }
.ax-eyebrow { display: block; font: 700 12px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #7fcfc3; margin-bottom: 12px; }
.ax h2 { color: #eceef1; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.ax p { color: #a0a7b1; font-size: 16.5px; max-width: 540px; margin-bottom: 24px; }
.ax-btn { color: #7fcfc3; border-color: rgba(127,207,195,.45); background: transparent; }
.ax-btn:hover { background: rgba(127,207,195,.1); border-color: #7fcfc3; color: #bff3eb; }

/* AASIOM credit in the shared footer */
.ftr-aasiom { display: inline-flex; align-items: center; gap: 8px; }
.ftr-aasiom img { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hx-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 44px; padding-bottom: 32px; gap: 8px; }
  .hx::after { background: linear-gradient(180deg, rgba(10,17,33,.85) 0, rgba(10,17,33,.35) 55%, rgba(10,17,33,.85) 100%); }
  .hx-stage { height: 440px; }
  .show { padding: 64px 0; }
  .show-in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .show-b { right: 8px; }
  .ax-in { grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: center; justify-items: center; }
  .ax-knot { max-width: 240px; }
  .ax p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .hx-stage { --cw: 132px; --r: 172px; height: 370px; }
  .hx-copy p { font-size: 16px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stats div { display: flex; align-items: baseline; gap: 14px; }
  .stats dd { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .fx .reveal, .fx .steps-line .step { opacity: 1; transform: none; } }

/* Invisible model in the hero (replaces the ring of photos when WebGL is available) */
.mnq { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.mnq-on .mnq { opacity: 1; }
.mnq-on .ring, .mnq-on .hx-floor { display: none; }
.mnq-cap { position: absolute; left: 0; right: 0; bottom: 26px; margin: 0; text-align: center; font: 600 13px/1.4 var(--font); color: rgba(255,255,255,.82); letter-spacing: .02em; display: none; }
.mnq-on .mnq-cap { display: block; }


/* ==========================================================================
   Light studio theme: a warm off-white instead of stark white, calmer for people
   used to dark mode, below a dark navy hero where the moving clothes stand out.
   Navy also stays for the header, the accent tiles and the closing AASIOM band and footer.
   ========================================================================== */
:root { --paper: #F7F5F0; --paper-2: #EFECE5; --bg: var(--paper-2); }
body { background: var(--paper); }
.facts { background: #fff; color: var(--navy); border-bottom: 1px solid #E6E1D7; }
.fact { border-left-color: #E6E1D7; }
.fact span { color: var(--ink-3); }
.tile { border-color: #E6E1D7; }
.stats { border-top-color: #E3DED3; }
.show-b { border-color: var(--paper); }
@media (max-width: 900px) {
  .fact:nth-child(n+3) { border-top-color: #E6E1D7; }
}

/* Outfit picker under the invisible model */
.mnq-on .hx-hint { display: none; }
.mnq-cap { bottom: 92px; color: var(--ink-3); font-weight: 500; }
.mnq-on .mnq-cap span:nth-of-type(1), .mnq-on .mnq-cap span:nth-of-type(3) { color: var(--navy); font-weight: 700; }
.mnq-pick { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 14px; padding: 10px 16px; max-width: calc(100% - 16px); border-radius: 16px; background: rgba(255,255,255,.8); border: 1px solid rgba(10,17,33,.08); box-shadow: 0 12px 32px rgba(10,17,33,.10); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: default; }
.mnq-on .mnq-pick { display: flex; }
.mnq-row { display: flex; align-items: center; gap: 7px; }
.mnq-row + .mnq-row { padding-left: 14px; border-left: 1px solid rgba(10,17,33,.1); }
.mnq-lab { font: 700 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 3px; }
.mnq-sw { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px rgba(10,17,33,.2); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.mnq-sw:hover { transform: scale(1.12); }
.mnq-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy); }
.mnq-all { border: 0; background: none; padding: 6px 2px; font: 600 12.5px/1 var(--font); color: var(--red); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mnq-all[hidden] { display: none; }
@media (max-width: 560px) {
  .mnq-pick { gap: 10px; bottom: 10px; padding: 10px 12px; }
  .mnq-row + .mnq-row { border-left: 0; padding-left: 0; }
  .mnq-sw { width: 30px; height: 30px; }
  .mnq-cap { bottom: 118px; }
}
/* Picker as one tidy panel: outfit name, then a Tee row and a Cargo row */
.mnq-pick { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 12px; }
.mnq-row + .mnq-row { padding-left: 0; border-left: 0; }
.mnq-lab { min-width: 52px; }
.mnq-pick .mnq-cap { position: static; display: block; margin: 0 0 2px; text-align: left; font-size: 12.5px; white-space: pre; }
.mnq-row .mnq-all { margin-left: auto; padding-left: 14px; }
@media (max-width: 560px) { .mnq-pick .mnq-cap { font-size: 12px; } }

/* The hero stays dark navy (the clothes stand out best on it): studio floor glow and a dark-glass picker */
.hx-stage::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: 14%; height: 26%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(227,27,35,.05) 55%, rgba(255,255,255,0)); }
.mnq-pick { background: rgba(20,29,51,.72); border-color: rgba(255,255,255,.1); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.mnq-pick .mnq-cap { color: rgba(255,255,255,.6); }
.mnq-on .mnq-cap span:nth-of-type(1), .mnq-on .mnq-cap span:nth-of-type(3) { color: #fff; }
.mnq-lab { color: rgba(255,255,255,.55); }
.mnq-sw { border-color: var(--navy-2); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.mnq-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff; }
.mnq-all { color: #FF6B70; }
.hx + .mq { box-shadow: 0 -1px 0 rgba(255,255,255,.04); }

/* "Try it on": the invisible model and its outfit picker, as a dark studio card on the page */
.kit { padding: 64px 0 0; }
.kit-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 16px; padding-left: 52px; border-radius: 24px; overflow: hidden; color: #fff; box-shadow: var(--shadow-2);
  background: radial-gradient(60% 80% at 74% 46%, rgba(227,27,35,.16), transparent 65%), radial-gradient(50% 60% at 0 100%, rgba(70,104,143,.3), transparent 70%), var(--navy); }
.kit-copy h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.kit-copy p { color: rgba(255,255,255,.75); font-size: 16.5px; max-width: 440px; margin-bottom: 24px; }
.kit-stage { position: relative; height: clamp(480px, 46vw, 600px); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.kit-stage::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 14%; height: 24%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,.07), rgba(227,27,35,.05) 55%, rgba(255,255,255,0)); }
.kit-fallback { position: absolute; left: 50%; top: 44%; width: 50%; max-width: 300px; transform: translate(-50%, -50%); }
.mnq-on .kit-fallback { display: none; }
@media (max-width: 900px) {
  .kit-card { grid-template-columns: minmax(0, 1fr); padding: 36px 20px 0; gap: 8px; }
  .kit-stage { height: 540px; }
}

/* Palette harmony on the warm off-white: warm border greys and a softer info notice (were cool blue-greys made for pure white) */
:root { --line: #E4E0D8; --line-2: #CFC9BE; --info-bg: #EEF1F5; }
.n-info { border-color: #D6DDE7; color: #1F3A5F; }
.price-banner { background: #fff; border-color: var(--line); border-left: 3px solid var(--navy); }

/* "Try it on" as a runway show: the 3D scene fills the dark card, the copy sits over its left side */
.kit-card { position: relative; display: block; min-height: clamp(560px, 52vw, 700px); padding: 0; background: #060A14; }
.kit-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6,10,20,.94) 0, rgba(6,10,20,.7) 26%, rgba(6,10,20,0) 50%); }
.kit-stage { position: absolute; inset: 0; height: auto; }
.kit-stage::before { content: none; }
.kit-copy { position: relative; z-index: 2; max-width: 400px; padding: 72px 0 0 52px; pointer-events: none; }
.kit-copy .btn { pointer-events: auto; }
.kit-fallback { left: 66%; top: 50%; width: 30%; max-width: 280px; }
.kit .mnq-pick { left: auto; right: 24px; bottom: 24px; transform: none; z-index: 2; }
@media (max-width: 820px) {
  .kit-card { min-height: 0; }
  .kit-card::after { background: linear-gradient(180deg, rgba(6,10,20,.92) 0, rgba(6,10,20,0) 34%); }
  .kit-copy { max-width: none; padding: 32px 20px 0; }
  .kit-stage { position: relative; inset: auto; height: 560px; margin-top: -40px; }
  .kit-fallback { left: 50%; width: 50%; }
  .kit .mnq-pick { left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; }
}

/* ==========================================================================
   One screen per part. Screen 1: the hero with the red band. Screen 2: the
   runway show. Sizes follow the window (--hdr is the header's measured height),
   type scales down on short laptop screens, and scrolling settles on each screen.
   ========================================================================== */
:root { --hdr: 72px; --mqh: 62px; }
html:has(body[data-page="home"]) { scroll-snap-type: y proximity; scroll-padding-top: var(--hdr); }
.hx, .kit { scroll-snap-align: start; }
.mq { height: var(--mqh); padding: 0; display: flex; align-items: center; }

.hx-in { min-height: calc(100svh - var(--hdr) - var(--mqh)); padding-top: clamp(20px, 4svh, 48px); padding-bottom: clamp(44px, 7svh, 64px); }
.hx-copy h1 { font-size: clamp(34px, min(5.2vw, 8.4svh), 66px); margin-bottom: clamp(12px, 2.4svh, 20px); }
.hx-copy p { font-size: clamp(15.5px, 2.5svh, 18px); margin-bottom: clamp(16px, 3.4svh, 28px); }
.hx-chips { margin-top: clamp(14px, 3svh, 28px); }
.hx-stage { height: clamp(340px, calc(100svh - var(--hdr) - var(--mqh) - 90px), 640px);
  --cw: clamp(124px, min(15.5vw, 26svh), 230px); --r: clamp(170px, min(23vw, 38svh), 350px); }
.hx-cue { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,.55); font: 600 10.5px/1 var(--font); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.hx-cue::after { content: ''; width: 1px; height: 24px; background: linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,0)); transform-origin: top; animation: cue 1.9s cubic-bezier(.6,0,.3,1) infinite; }
.hx-cue:hover, .hx-cue:focus-visible { color: #fff; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 45% { transform: scaleY(1); opacity: 1; } 100% { transform: translateY(12px) scaleY(.4); opacity: 0; } }
@media (max-height: 700px) { .hx-chips { display: none; } }

/* Screen 2: the runway card fills the window below the header */
.kit { padding: 18px 0; }
.kit-card { height: calc(100svh - var(--hdr) - 36px); min-height: 430px; max-height: 920px; }
.kit-copy { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 460px; padding: 0 0 70px clamp(28px, 4.2vw, 60px); }
.kit-copy h2 { font-size: clamp(28px, min(3.5vw, 6.6svh), 48px); }
.kit-copy p { font-size: clamp(15px, 2.4svh, 17px); }
.kit-notes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: clamp(16px, 3svh, 26px) 0 0; color: rgba(255,255,255,.62); font-size: 13px; }
.kit-notes li { display: flex; align-items: center; gap: 8px; }
.kit-notes li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.kit + .facts { border-top: 1px solid #E6E1D7; }

@media (max-width: 820px) {
  html:has(body[data-page="home"]) { scroll-snap-type: none; }
  .hx-stage { height: 340px; }
  .kit-card { height: auto; min-height: 0; max-height: none; }
  .kit-copy { position: relative; max-width: none; padding: 32px 20px 0; }
}
@media (prefers-reduced-motion: reduce) { .hx-cue::after { animation: none; } html:has(body[data-page="home"]) { scroll-snap-type: none; } }

/* AASIOM credit as a slim strip: small turning mark, one short message, the link on the right */
.ax { padding: 26px 0; }
.ax-in { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 28px; }
.ax-knot { max-width: 96px; }
.ax-eyebrow { font-size: 11px; margin-bottom: 4px; }
.ax h2 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; margin-bottom: 2px; }
.ax p { font-size: 14px; margin: 0; max-width: 620px; }
.ax-btn { min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
@media (max-width: 900px) {
  .ax-in { grid-template-columns: 72px minmax(0, 1fr); gap: 14px 18px; text-align: left; justify-items: start; }
  .ax-knot { max-width: 72px; }
  .ax-btn { grid-column: 2; }
  .ax p { margin: 0; }
}

/* Typography: Inter throughout, sized like modern e-commerce sites. Body 15px, navigation 14.5px
   medium, buttons 14.5px semibold, product titles 16px semibold, the home heading 36-44px on
   desktop and 26-32px on phones. */
h1, h2 { font-weight: 700; letter-spacing: -.02em; }
h3, h4 { font-weight: 600; }
.pcard h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.hx-copy h1 { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; font-size: clamp(32px, min(3.4vw, 6.6svh), 44px); }
.hx-copy h1 span { display: block; }
.hx-copy h1 .hx-l2 { color: var(--red); }
.hx-copy p { max-width: 470px; }
.kit-copy h2, .show-copy h2 { font-size: clamp(26px, min(2.8vw, 5.4svh), 36px); font-weight: 800; letter-spacing: -.025em; }
.cta h2 { font-size: clamp(22px, 2.4vw, 30px); }
.mq span { font-size: clamp(16px, 1.9vw, 24px); font-weight: 800; letter-spacing: .06em; }
@media (max-width: 600px) {
  .hx-copy h1 { font-size: clamp(26px, 7.6vw, 32px); }
  .kit-copy h2, .show-copy h2 { font-size: clamp(24px, 6.6vw, 28px); }
}

/* ==========================================================================
   Starting palette: navy #0A1121 and red #E31B23 on white, as the site began. Restated here
   because earlier blocks in this file tried warmer page colours.
   ========================================================================== */
:root {
  --navy: #0A1121; --navy-2: #141D33; --navy-3: #222C45;
  --red: #E31B23; --red-dark: #BE141B; --red-soft: #FDECEC;
  --ink: #1A1A1A; --ink-2: #4A5261; --ink-3: #68707E;
  --paper: #FFFFFF; --paper-2: #F5F5F5; --bg: #F5F5F5;
  --line: #E2E8F0; --line-2: #CBD3DF; --info-bg: #E8EFF9;
}
body { background: #FFFFFF; }
.facts { background: var(--navy-2); color: #fff; border: 0; }
.kit + .facts { border-top: 0; }
.fact { border-left-color: rgba(255,255,255,.1); }
.fact svg { color: var(--red); }
.fact span { color: rgba(255,255,255,.68); }
.tile, .stats { border-color: var(--line); }
.show-b { border-color: #fff; }
.n-info { background: var(--info-bg); border-color: #C5D6EE; color: #173A69; }
.price-banner { background: var(--info-bg); border-color: #C5D6EE; border-left-width: 1px; }
@media (max-width: 900px) { .fact:nth-child(n+3) { border-top-color: rgba(255,255,255,.1); } }
