/* =====================================================================
   VM CLOTHES — storefront design system
   Palette: graphite ink, cool chalk ground, indigo-dye primary, marigold accent.
   Type: Archivo (expanded, heavy) for display; Instrument Sans for text.
   ===================================================================== */
:root {
  --ink: #1D2024;
  --ink-2: #3A3F46;
  --muted: #5E646C;
  --line: #DADDE1;
  --line-soft: #E8EAEC;
  --bg: #F3F4F2;
  --surface: #FFFFFF;
  --tint: #E7E9E7;
  --indigo: #22306E;
  --indigo-2: #2F43A0;
  --indigo-soft: #E6E9F5;
  --marigold: #F2B33D;
  --marigold-soft: #FCEFD2;
  --sale: #B4232A;
  --ok: #1E7A4C;
  --warn: #9A5B00;
  --wa: #128C4B;
  --radius-s: 4px;
  --radius-m: 8px;
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 64px;
  --bottom-nav-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow-pop: 0 18px 50px rgba(29, 32, 36, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
.drawer-panel, .filters-panel, .modal-card, .search-overlay, .rail-track, .gallery-main, .account-tabs, .chip-row { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
body { margin: 0; font-family: var(--font-text); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--bottom-nav-h) + var(--safe-b)); }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--indigo-2); outline-offset: 2px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.display-md { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.01em; margin: 24px 0 12px; }

/* ----------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius-s); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--marigold); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e7340; }
.btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-ghost.is-loading::after { border-color: rgba(0,0,0,.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.linklike { background: none; border: 0; padding: 0; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.text-link { color: var(--indigo); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; color: inherit; text-decoration: none; }
.icon-btn:hover { background: rgba(0,0,0,.05); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--marigold); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.tag { display: inline-block; padding: 3px 8px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; font-style: normal; }
.tag-sale { background: var(--marigold); color: var(--ink); }
.tag-muted { background: #fff; color: var(--muted); }
.tag-tryon { background: var(--indigo); }

/* ----------------------------------------------------------- Header */
.announce { background: var(--ink); color: #E9EAEC; font-size: 13px; text-align: center; padding: 8px var(--gutter); }
.announce p { margin: 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243,244,242,.97); border-bottom: 1px solid var(--line); transform: translateZ(0); }
@media (min-width: 1024px) and (hover: hover) { .site-header { background: rgba(243,244,242,.9); backdrop-filter: blur(8px); } }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 5px; text-decoration: none; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; letter-spacing: .02em; font-size: 22px; line-height: 1; }
.wordmark .wm-vm { background: var(--ink); color: var(--bg); padding: 4px 6px 3px; }
.wordmark .wm-rest { color: var(--ink); }
.wordmark.small { font-size: 18px; }
.wordmark.light .wm-vm { background: var(--marigold); color: var(--ink); }
.wordmark.light .wm-rest { color: #fff; }
.wordmark img { height: 28px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: center; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--radius-s); }
.main-nav a:hover, .main-nav a[aria-current] { background: rgba(0,0,0,.05); }
.main-nav .nav-sale { color: var(--sale); }
.subnav { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 8px; box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.subnav ul { display: block; }
.subnav a { font-weight: 500; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu-toggle { display: none; }

/* ----------------------------------------------------------- Drawers, search, modals */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(20,22,25,.45); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(88vw, 380px); background: var(--surface); overflow-y: auto; transition: transform .25s ease; padding: 12px 18px calc(24px + var(--safe-b)); }
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer.open .drawer-left { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.drawer-head h2 { font-size: 20px; margin: 0; }
.mobile-nav a, .mobile-nav summary { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.mobile-nav details a { padding-left: 18px; font-weight: 500; font-size: 16px; }
.mobile-nav hr { border: 0; height: 12px; }
.mobile-nav .nav-sale { color: var(--sale); }
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(243,244,242,.98); display: none; padding-top: 18px; overflow-y: auto; }
.search-overlay.open { display: block; }
.search-box form { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--ink); }
.search-box input { flex: 1; border: 0; background: none; font-size: clamp(20px, 3vw, 28px); padding: 14px 4px; font-family: var(--font-display); font-weight: 700; outline: none; min-width: 0; }
.search-results { display: grid; gap: 4px; padding: 16px 0 40px; }
.search-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: var(--radius-m); text-decoration: none; }
.search-item:hover, .search-item:focus { background: var(--surface); }
.search-item img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius-s); background: var(--tint); }
.search-item small { display: block; color: var(--muted); font-size: 12px; }
.search-item .price s { margin-left: 6px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20,22,25,.5); }
.modal-card { width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--radius-m); padding: 22px; }
.modal-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.modal-card header h2 { margin: 0; font-size: 22px; }

/* ----------------------------------------------------------- Forms */
label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-size: 16px; font-weight: 400; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px var(--indigo-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 10px 0; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--indigo); flex: none; }
.form-stack { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.has-error input, .has-error select { border-color: var(--sale); }
.err { display: block; color: var(--sale); font-size: 13px; font-weight: 500; margin-top: 4px; }
label small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.flash { padding: 12px 16px; border-radius: var(--radius-s); margin: 16px auto; font-weight: 500; }
.flash-success { background: #E2F3EA; color: #134F31; }
.flash-error { background: #FBE6E7; color: #7D1419; }
.flash-info { background: var(--indigo-soft); color: var(--indigo); }
.warn { color: var(--sale); font-size: 14px; font-weight: 500; margin: 6px 0; }
.hint { color: var(--warn); font-size: 13px; margin: 4px 0; }

/* ----------------------------------------------------------- Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-slide { display: none; grid-template-columns: 1.1fr 1fr; min-height: min(78vh, 720px); background: var(--hero-bg, var(--ink)); }
.hero-slide.is-active { display: grid; }
.hero-copy { padding: clamp(32px, 6vw, 88px) var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; max-width: 760px; margin-left: max(0px, calc((100vw - var(--wrap)) / 2)); }
.hero-kicker { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 15px; color: var(--marigold); margin-bottom: 18px; }
.hero-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(42px, 7.6vw, 112px); line-height: .92; letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: #CDD0D4; max-width: 44ch; margin-bottom: 28px; }
.hero-copy .btn { align-self: flex-start; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { position: absolute; bottom: 18px; left: var(--gutter); display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.35); padding: 0; }
.hero-dots button[aria-selected=true] { background: var(--marigold); }

/* ----------------------------------------------------------- Rails & grids */
.rail { padding-block: clamp(36px, 5vw, 64px) 0; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rail-head h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); margin: 0; }
.rail-head p { margin: 6px 0 0; color: var(--muted); }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail-track > * { scroll-snap-align: start; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 18px; }

/* ----------------------------------------------------------- Product card */
.pcard { position: relative; min-width: 0; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-s); background: var(--tint); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pcard-alt { opacity: 0; }
@media (hover: hover) { .pcard:hover .pcard-alt { opacity: 1; } }
.pcard-tags { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.wish-btn { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.wish-btn svg, .wish-lg svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.wish-btn.on svg, .wish-lg.on svg { fill: var(--sale); stroke: var(--sale); }
.pcard-body { padding-top: 10px; }
.pcard-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.pcard-title a { text-decoration: none; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-weight: 700; }
.price s, .cl-price s, .pdp-price s { color: var(--muted); font-size: .9em; }
.pcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.swatches { display: inline-flex; align-items: center; gap: 4px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatches em { font-style: normal; font-size: 12px; }
.pcard-sizes { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 6px 0 0; font-size: 12px; color: var(--ink-2); }
.pcard-sizes .na { color: #A8ADB3; text-decoration: line-through; }

/* ----------------------------------------------------------- Home blocks */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); padding-block: clamp(40px, 6vw, 80px) 0; align-items: start; }
.feature-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-s); background: var(--tint); }
.feature-body .display-md { margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 24px; }
.promo { margin-top: clamp(36px, 5vw, 64px); background: var(--promo-bg, var(--marigold)); color: var(--ink); border-radius: var(--radius-m); padding: clamp(22px, 4vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.promo h2 { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(26px, 4vw, 48px); margin: 0; line-height: 1; }
.promo p { margin: 8px 0 0; font-size: 17px; }
.cat-tiles { padding-block: clamp(36px, 5vw, 64px) 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius-s); overflow: hidden; background: var(--tint); text-decoration: none; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-tile:hover img { transform: scale(1.03); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 18px; }
.reviews-band { margin-top: clamp(40px, 6vw, 80px); background: var(--surface); padding-block: clamp(36px, 5vw, 64px); }
.review-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.quote { margin: 0; border-top: 3px solid var(--ink); padding-top: 14px; }
.quote blockquote { margin: 10px 0; font-size: 17px; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption a { color: var(--ink-2); }
.verified { color: var(--ok); font-weight: 600; }
.stars { color: #C9CDD2; letter-spacing: 1px; font-size: 16px; }
.stars--sm { font-size: 14px; }
.star.on { color: var(--marigold); }
.insta { padding-block: clamp(36px, 5vw, 64px) 0; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius-s); background: var(--tint); }
.newsletter { margin-top: clamp(40px, 6vw, 80px); background: var(--indigo); color: #fff; padding-block: clamp(32px, 5vw, 56px); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.newsletter h2 { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(24px, 3vw, 36px); }
.newsletter p { color: #C9CEE8; margin: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input[type=email] { margin: 0; border-color: transparent; }
.nl-consent { grid-column: 1 / -1; display: flex; gap: 8px; color: #C9CEE8; font-weight: 400; font-size: 13px; }
.newsletter .btn-dark { background: var(--marigold); color: var(--ink); }

/* ----------------------------------------------------------- Shop */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A8ADB3; }
.crumbs a { text-decoration: none; }
.shop-head { padding-bottom: 8px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.chip { flex: none; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; background: var(--surface); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 12px; }
.filters-panel { position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; padding-right: 6px; }
.filters .drawer-head h2 { font-size: 18px; }
.filters details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.filters summary { font-weight: 700; cursor: pointer; padding: 4px 0; list-style-position: outside; }
.opt-list { display: grid; gap: 6px; padding-top: 8px; }
.opt-list label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.opt-list input { accent-color: var(--indigo); width: 17px; height: 17px; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.opt-chip input, .opt-color input, .size-btn input, .swatch input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chip span { display: inline-block; min-width: 44px; text-align: center; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer; }
.opt-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt-chip input:focus-visible + span, .size-btn input:focus-visible + span, .swatch input:focus-visible + i { outline: 2px solid var(--indigo-2); outline-offset: 2px; }
.opt-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 8px; }
.opt-color { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.opt-color i { width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.opt-color input:checked + i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 8px; }
.filter-actions { display: flex; gap: 10px; padding: 16px 0; position: sticky; bottom: 0; background: inherit; }
.filter-actions .btn { flex: 1; }
.listing-bar { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 16px; }
.listing-bar .count { margin: 0; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.sort select { margin: 0; min-height: 40px; width: auto; }
.empty-state { text-align: center; padding: 56px 16px; }
.empty-state h2 { font-size: 22px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 36px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); text-decoration: none; font-weight: 600; background: var(--surface); }
.pagination span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.only-md { display: none !important; }

/* ----------------------------------------------------------- Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-top: 16px; }
.gallery { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.gallery-main { grid-column: 2; grid-row: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius-s); background: var(--tint); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4/5; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-slide.hide { display: none; }
.gallery-video iframe, .gallery-video video { width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.gallery-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; max-height: 620px; overflow-y: auto; scrollbar-width: none; }
.thumb { padding: 0; border: 1.5px solid transparent; border-radius: var(--radius-s); background: var(--tint); overflow: hidden; flex: none; }
.thumb img { width: 72px; height: 90px; object-fit: cover; }
.thumb.on { border-color: var(--ink); }
.thumb.hide { display: none; }
.thumb-video { width: 75px; height: 93px; display: grid; place-items: center; }
.thumb-video svg { width: 26px; height: 26px; fill: var(--ink); }
.gallery-dots { justify-content: center; gap: 6px; padding-top: 10px; }
.gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: #B9BEC4; }
.gallery-dots i.on { background: var(--ink); width: 18px; border-radius: 3px; }
.zoom-layer { position: fixed; inset: 0; z-index: 110; background: #fff; overflow: auto; cursor: zoom-out; }
.zoom-layer img { width: auto; max-width: none; min-width: 100%; }
.zoom-layer .icon-btn { position: fixed; top: 12px; right: 12px; background: #fff; }
.brand-line { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.pdp-title { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; margin-bottom: 10px; }
.rating-line { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.pdp-price { font-size: 26px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp-price strong { font-weight: 800; }
.off { color: var(--ok); font-weight: 700; font-size: 15px; }
.tax-note { color: var(--muted); font-size: 13px; margin: 2px 0 18px; }
.opt-group { border: 0; padding: 0; margin: 0 0 18px; }
.opt-group legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; width: 100%; }
.opt-group legend span[data-color-name], .opt-group legend span[data-size-name] { font-weight: 500; color: var(--ink-2); }
.size-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.size-links { margin-left: auto; display: inline-flex; gap: 14px; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch i { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.swatch input:checked + i { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.swatch.oos i { opacity: .45; }
.size-buttons { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.size-btn { position: relative; }
.size-btn span { display: grid; place-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-weight: 700; cursor: pointer; }
.size-btn input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-btn.oos span { color: #A8ADB3; background: repeating-linear-gradient(135deg, transparent 0 6px, #F0F1F2 6px 7px), var(--surface); text-decoration: line-through; cursor: not-allowed; }
.size-btn.low span::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--marigold); }
.stock-msg { font-size: 14px; margin: 10px 0 0; min-height: 1.4em; font-weight: 500; }
.stock-msg.low { color: var(--warn); }
.stock-msg.out { color: var(--sale); }
.stock-msg.ok { color: var(--ok); }
.size-rec { background: var(--indigo-soft); color: var(--indigo); padding: 8px 12px; border-radius: var(--radius-s); font-size: 14px; margin-top: 10px; }
.tryon-cta { display: flex; width: 100%; align-items: center; gap: 14px; padding: 14px 18px; margin: 4px 0 18px; border: 0; border-radius: var(--radius-m); background: var(--marigold); color: var(--ink); text-align: left; transition: transform .12s, background-color .15s; }
.tryon-cta:hover { background: #F6C35E; }
.tryon-cta:active { transform: scale(.99); }
.tryon-cta svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.tryon-cta strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 19px; letter-spacing: .02em; }
.tryon-cta small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 20px; }
.qty input { width: 46px; min-height: 0; height: 46px; margin: 0; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 34px; height: 36px; } .qty-sm input { height: 36px; width: 38px; }
.wish-lg, .qty-row .icon-btn { border: 1.5px solid var(--line); border-radius: var(--radius-s); width: 48px; height: 48px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-box { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.pin-row { display: flex; gap: 8px; margin-top: 6px; }
.pin-row input { margin: 0; }
.pin-result { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; }
.pin-result.err { color: var(--sale); }
.assurance { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.assurance li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--marigold); }
.assurance strong { font-size: 15px; }
.assurance span { font-size: 13px; color: var(--muted); }
.accordions { margin-top: 18px; }
.accordions details { border-top: 1px solid var(--line); }
.accordions details:last-child { border-bottom: 1px solid var(--line); }
.accordions summary { padding: 15px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.accordions summary::after { content: "+"; font-size: 20px; line-height: 1; }
.accordions details[open] summary::after { content: "−"; }
.accordions summary::-webkit-details-marker { display: none; }
.prose { padding-bottom: 14px; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose h2 { font-size: 20px; margin-top: 1.4em; color: var(--ink); }
.prose h3 { font-size: 17px; margin-top: 1.2em; color: var(--ink); }
.spec-table, .size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }
.size-table th, .size-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: center; white-space: nowrap; }
.size-table thead th { background: var(--bg); font-weight: 700; }
.size-table tbody th { font-weight: 700; }
.table-scroll { overflow-x: auto; }
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding-block: clamp(40px, 6vw, 72px) 0; }
.reviews-summary h2 { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 28px; }
.big-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.big-rating strong { font-size: 44px; font-family: var(--font-display); line-height: 1; }
.big-rating span { color: var(--muted); font-size: 14px; width: 100%; }
.bars { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 13px; }
.bars li { display: grid; grid-template-columns: 30px 1fr 30px; gap: 8px; align-items: center; }
.bar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; display: block; }
.bar i { display: block; height: 100%; background: var(--ink); }
.review { border-bottom: 1px solid var(--line); padding: 18px 0; }
.review header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.review footer { font-size: 13px; color: var(--muted); }
.review-imgs { display: flex; gap: 8px; margin: 8px 0; }
.review-imgs img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-s); }
.star-input { border: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input legend { width: 100%; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 32px; color: #CDD1D5; cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--marigold); }
.star-input input:focus-visible + label { outline: 2px solid var(--indigo-2); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + var(--safe-b)); z-index: 40; display: none; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .2s; }
.sticky-buy.show { transform: none; }
.sticky-info { display: grid; min-width: 0; font-size: 13px; }
.sticky-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { min-height: 44px; padding: 8px 14px; }
.size-result { margin-top: 18px; padding: 16px; border-radius: var(--radius-m); background: var(--indigo-soft); }
.size-result .rec { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 34px; color: var(--indigo); line-height: 1; margin-bottom: 4px; }
.size-result ul { padding-left: 18px; margin: 10px 0; font-size: 14px; }

/* ----------------------------------------------------------- Cart / checkout */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line.unavailable { opacity: .65; }
.cl-img img { width: 110px; height: 138px; object-fit: cover; border-radius: var(--radius-s); background: var(--tint); }
.cl-info h2 { font-size: 16px; margin-bottom: 4px; }
.cl-info h2 a { text-decoration: none; }
.cl-opts { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); display: inline-block; }
.cl-price { margin-bottom: 6px; font-size: 15px; }
.cl-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.cl-total { font-weight: 700; margin: 0; }
.ship-progress { background: var(--surface); border-radius: var(--radius-m); padding: 12px 16px; margin-bottom: 4px; }
.ship-progress p { margin: 0 0 8px; font-size: 14px; }
.ship-progress.done p { margin: 0; color: var(--ok); font-weight: 600; }
.ship-progress .bar i { background: var(--marigold); }
.summary { position: sticky; top: calc(var(--header-h) + 12px); background: var(--surface); border-radius: var(--radius-m); padding: 22px; display: grid; gap: 14px; }
.summary h2 { font-size: 19px; margin: 0; }
.totals { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals dt { color: var(--ink-2); } .totals dd { margin: 0; font-weight: 600; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 10px; font-size: 18px; }
.totals .grand dd { font-weight: 800; }
.narrow-dl { max-width: 380px; margin: 16px 0; }
.savings { color: var(--ok); font-weight: 600; margin: 0; font-size: 14px; }
.coupon-msg { font-size: 13px; margin: 6px 0 0; }
.coupon-msg.ok { color: var(--ok); } .coupon-msg.err { color: var(--sale); }
.co-step { border: 0; padding: 0; margin: 0 0 26px; }
.co-step legend { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.checkout-auth { background: var(--surface); border-radius: var(--radius-m); padding: 14px 18px; margin-bottom: 20px; }
.checkout-auth p { margin: 0; }
.addr-pick { display: grid; gap: 8px; margin-bottom: 14px; }
.addr-card { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-m); background: var(--surface); font-weight: 400; cursor: pointer; }
.addr-card input { accent-color: var(--indigo); margin-top: 4px; }
.addr-card > span:first-of-type { flex: 1; }
.addr-card.static { cursor: default; margin-bottom: 10px; }
.addr-card:has(input:checked) { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-m); background: var(--surface); cursor: pointer; }
.pay-option input { accent-color: var(--indigo); margin-top: 4px; width: 18px; height: 18px; }
.pay-option small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.pay-option:has(input:checked) { border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-soft); }
.pay-option.disabled { opacity: .5; pointer-events: none; }
.mini-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-lines img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius-s); background: var(--tint); }
.mini-lines small { display: block; color: var(--muted); }
.order-done { padding-bottom: 40px; }
.done-head { padding: 28px 0 10px; max-width: 760px; }
.done-head.failed h1 { color: var(--sale); }
.done-mark { width: 56px; height: 56px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; margin-bottom: 20px; }
.timeline { list-style: none; padding: 0; margin: 10px 0 20px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done::before { background: var(--ok); }
.timeline small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.status { display: inline-block; padding: 3px 9px; border-radius: 3px; font-size: 12px; font-weight: 700; background: var(--line-soft); color: var(--ink-2); vertical-align: middle; }
.s-delivered, .s-approved, .s-paid { background: #E2F3EA; color: #134F31; }
.s-cancelled, .s-refunded, .s-returned, .s-rejected, .s-failed { background: #FBE6E7; color: #7D1419; }
.s-shipped, .s-out_for_delivery { background: var(--indigo-soft); color: var(--indigo); }
.s-pending { background: var(--marigold-soft); color: #6E4600; }
.pay-sim { padding-block: 40px; }

/* ----------------------------------------------------------- Account / static */
.auth { padding-block: 24px 40px; }
.account-head { display: flex; justify-content: space-between; align-items: center; }
.account-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.account-tabs a { flex: none; padding: 12px 14px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; }
.account-tabs a[aria-current] { color: var(--ink); border-color: var(--ink); }
.account-body { padding-bottom: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.panel-lite { background: var(--surface); border-radius: var(--radius-m); padding: 22px; }
.panel-lite h2 { font-size: 19px; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border-radius: var(--radius-m); text-decoration: none; margin-bottom: 8px; }
.order-row img { width: 56px; height: 70px; object-fit: cover; border-radius: var(--radius-s); background: var(--tint); }
.order-row small { display: block; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
form.inline { display: inline; }
.faq-cat { font-size: 20px; margin-top: 28px; }
.callout { background: var(--marigold-soft); border-radius: var(--radius-m); padding: 20px; margin: 28px 0; }
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.contact-cards { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--indigo); }
.contact-cards small { color: var(--muted); }
.track-result { background: var(--surface); padding: 22px; border-radius: var(--radius-m); margin-top: 22px; }

/* ----------------------------------------------------------- Footer & fixed UI */
.site-footer { margin-top: clamp(48px, 7vw, 96px); background: var(--ink); color: #C7CACF; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 14px 0; max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #353A41; margin-top: 36px; padding-top: 18px; font-size: 13px; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-base p { margin: 0; }
.footer-base .linklike { color: #C7CACF; font-size: 13px; }
.wa-float { position: fixed; right: 18px; bottom: calc(18px + var(--bottom-nav-h) + var(--safe-b)); z-index: 45; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-pop); }
.wa-float svg { width: 26px; height: 26px; }
.bottom-nav { display: none; }
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--bottom-nav-h) + var(--safe-b)); z-index: 80; display: flex; justify-content: center; }
.consent-inner { width: min(760px, 100%); background: var(--surface); border-radius: var(--radius-m); padding: 18px; box-shadow: var(--shadow-pop); border: 1px solid var(--line); }
.consent-inner p { font-size: 14px; margin-bottom: 10px; }
.consent-options { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.consent-options label { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.consent-options input { accent-color: var(--indigo); width: 17px; height: 17px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.toast-stack { position: fixed; top: calc(var(--header-h) + 10px); right: 12px; left: 12px; z-index: 120; display: grid; justify-items: end; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-m); box-shadow: var(--shadow-pop); font-size: 14px; max-width: 380px; display: flex; gap: 12px; align-items: center; animation: toastIn .2s ease; }
.toast.err { background: var(--sale); }
.toast a { color: var(--marigold); font-weight: 700; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } }

/* ----------------------------------------------------------- Virtual try-on */
.tryon { position: fixed; inset: 0; z-index: 200; background: #0E1013; color: #fff; display: grid; grid-template-rows: auto 1fr auto; height: 100dvh; }
.tryon-top { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px; }
.tryon-top h2 { font-size: 16px; margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tryon-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; background: var(--marigold); color: var(--ink); }
.tryon-badge.manual { background: #3A3F46; color: #fff; }
.tryon .icon-btn { color: #fff; }
.tryon .icon-btn:hover { background: rgba(255,255,255,.1); }
.tryon-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; background: #000; }
.tryon-stage canvas { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.tryon-stage video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tryon-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, 88%); text-align: center; background: rgba(14,16,19,.86); padding: 22px; border-radius: var(--radius-m); }
.tryon-msg h3 { font-size: 19px; }
.tryon-msg p { color: #C7CACF; font-size: 14px; }
.tryon-msg .btn { margin: 4px; }
.tryon-hint { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); background: rgba(14,16,19,.7); padding: 6px 12px; border-radius: 999px; font-size: 13px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.tryon-tools { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.tryon-tools .icon-btn { background: rgba(14,16,19,.7); }
.tryon-bottom { padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); background: #15181C; display: grid; gap: 10px; }
.tryon-row { display: flex; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.tryon-row::-webkit-scrollbar { display: none; }
.tryon-row .lbl { font-size: 12px; color: #9DA2A9; flex: none; width: 46px; }
.tryon-chip { flex: none; min-width: 40px; height: 36px; padding: 0 10px; border-radius: var(--radius-s); border: 1.5px solid #3A3F46; background: none; color: #fff; font-weight: 700; font-size: 13px; }
.tryon-chip.on { background: #fff; color: var(--ink); border-color: #fff; }
.tryon-chip:disabled { opacity: .35; text-decoration: line-through; }
.tryon-sw { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.tryon-sw.on { box-shadow: 0 0 0 2px #15181C, 0 0 0 4px #fff; }
.tryon-prod { flex: none; width: 52px; height: 64px; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent; padding: 0; background: #2A2E34; }
.tryon-prod.on { border-color: var(--marigold); }
.tryon-prod img { width: 100%; height: 100%; object-fit: cover; }
.tryon-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.tryon-shutter { width: 58px; height: 58px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,.15); }
.tryon-shutter:active { background: #fff; }
.tryon-note { font-size: 11px; color: #8D939A; margin: 0; text-align: center; }
.tryon-adjust { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; font-size: 12px; color: #9DA2A9; }
.tryon-adjust input[type=range] { width: 100%; accent-color: var(--marigold); }
.tryon-preview { position: absolute; inset: 0; background: #0E1013; display: grid; grid-template-rows: 1fr auto; z-index: 3; }
.tryon-preview img { width: 100%; height: 100%; object-fit: contain; }
.tryon-preview .btn-row { justify-content: center; padding: 12px; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .rail-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; }
  .main-nav a { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 58px; --bottom-nav-h: 62px; }
  .main-nav, .hide-sm { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-inner { gap: 4px; }
  .wordmark { font-size: 19px; margin-right: auto; }
  .only-md { display: inline-flex !important; }
  .shop-layout { grid-template-columns: 1fr; }
  .drawer-md { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
  .drawer-md.open { visibility: visible; }
  .drawer-md .drawer-backdrop { display: block; }
  .drawer-md.open .drawer-backdrop { opacity: 1; }
  .drawer-md .filters-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(92vw, 400px); max-height: none; background: var(--surface); padding: 12px 18px 0; transform: translateX(100%); transition: transform .25s; }
  .drawer-md.open .filters-panel { transform: none; }
  .filter-actions { padding-bottom: calc(16px + var(--safe-b)); background: var(--surface); }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; margin-inline: calc(var(--gutter) * -1); }
  .gallery-main { grid-column: 1; border-radius: 0; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex !important; }
  .sticky-buy { display: grid; }
  .cart-layout, .checkout-layout, .done-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .reviews { grid-template-columns: 1fr; gap: 16px; }
  .feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--bottom-nav-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--surface); border-top: 1px solid var(--line); }
  .bottom-nav a, .bottom-nav button { display: grid; justify-items: center; align-content: center; gap: 2px; border: 0; background: none; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); }
  .bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .bottom-nav [aria-current] { color: var(--ink); }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .page-product .wa-float { bottom: calc(86px + var(--bottom-nav-h) + var(--safe-b)); }
  .contact-page, .two-col { grid-template-columns: 1fr; }
  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 4.4; }
  .hero-copy { padding-top: 26px; padding-bottom: 46px; margin-left: 0; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .rail-track { grid-auto-columns: 46%; gap: 12px; }
  .grid-products { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 88px 1fr; }
  .cl-img img { width: 88px; height: 110px; }
  .cl-total { grid-column: 2; }
  .cta-row { grid-template-columns: 1fr 1fr; }
  .listing-bar .count { display: none; }
  .sort { font-size: 0; } .sort select { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .order-row { grid-template-columns: 56px 1fr auto; }
  .order-row b { grid-column: 2; }
  .promo { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 14px 14px 0 0; max-height: 92dvh; padding-bottom: calc(22px + var(--safe-b)); }
  .footer-grid { grid-template-columns: 1fr; }
  .consent-actions .btn { flex: 1; }
  .newsletter-form { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .pcard-title { font-size: 14px; }
  .size-buttons { grid-template-columns: repeat(4, 1fr); }
  .tryon-cta strong { font-size: 17px; }
  .wordmark { font-size: 17px; }
}
@media (min-width: 1700px) { :root { --wrap: 1560px; } .grid-products { grid-template-columns: repeat(5, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
