/* ==========================================================================
   Hi-Style Readymades — "Bright & Clean" theme
   White canvas · charcoal text · navy actions · logo-yellow highlights
   Fonts: Outfit (headings) + Inter (body)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --bg-3: #eef0f4;
  --card: #ffffff;
  --line: rgba(17, 24, 39, 0.08);
  --line-2: rgba(17, 24, 39, 0.16);
  --text: #1c1c1e;
  --muted: #6b7280;
  --navy: #1e3a8a;
  --navy-2: #2747a8;
  --navy-deep: #0f1d4a;
  --yellow: #f5c518;
  --yellow-soft: #fff6d1;
  --green: #15803d;
  --wa: #25d366;
  --danger: #dc2626;
  --white: #ffffff;

  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06), 0 2px 8px rgba(17, 24, 39, 0.04);
  --shadow: 0 10px 30px -12px rgba(17, 24, 39, 0.18);
  --shadow-lg: 0 30px 70px -30px rgba(17, 24, 39, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Reset & base ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
em { font-style: normal; }
::selection { background: var(--yellow); color: var(--text); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--fill { stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding-top: 24px; }
/* Less air straight after the home banner */
.hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.view { min-height: 100vh; outline: none; }

/* ── Type ─────────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.eyebrow--line::before { width: 28px; height: 3px; border-radius: 2px; }
.h2 { font: 700 clamp(32px, 4.8vw, 60px)/1.05 var(--display); letter-spacing: -0.03em; }
/* Highlighted word in headings: navy text with a yellow marker underline */
.h2 em, .page-title em, .hero__title em, .visit__title em, .pdp__name em {
  color: var(--navy);
  background: linear-gradient(transparent 64%, rgba(245, 197, 24, 0.55) 64%, rgba(245, 197, 24, 0.55) 92%, transparent 92%);
  padding: 0 0.04em;
}
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }

/* ── Buttons & controls ──────────────────────────────────── */

.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px; border-radius: 12px;
  font: 600 15px/1 var(--sans); letter-spacing: 0;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.45s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--yellow); transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
/* Primary (navy). Class names kept from the markup. */
.btn--gold, .btn--light { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px -10px rgba(30, 58, 138, 0.7); }
.btn--gold:hover, .btn--light:hover { color: var(--text); }
.btn--ghost, .btn--outline { border: 1.5px solid var(--line-2); color: var(--text); background: var(--white); }
.btn--ghost::after, .btn--outline::after { background: var(--text); }
.btn--ghost:hover, .btn--outline:hover { color: var(--white); border-color: var(--text); }
.btn--wa { background: var(--wa); color: #05371a; }
.btn--wa::after { background: #1ebe5a; }
.btn--sm { --bh: 42px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn--lg { --bh: 58px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn sup { background: var(--yellow); color: var(--text); border-radius: 99px; padding: 2px 6px; font-size: 10px; font-weight: 700; }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--bg-3); }
.icon-btn--round { width: 52px; height: 52px; border: 1.5px solid var(--line-2); }
.icon-btn.is-on { color: #e11d48; }
.icon-btn.is-on svg, .card__wish.is-on svg { fill: #e11d48; stroke: #e11d48; }
.icon-btn.is-bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.3) rotate(-8deg); } 60% { transform: scale(0.92); } 100% { transform: scale(1); } }

.badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--yellow); color: var(--text);
  font: 700 10px/18px var(--sans); text-align: center;
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); padding: 8px 0; position: relative; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--yellow); transform-origin: right; transition: transform 0.5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow .i { transition: transform 0.4s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-sm { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color 0.2s; }
.link-sm:hover { color: var(--navy); }

.chips { display: flex; gap: 8px; }
.chips--scroll { overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 16px;
  border-radius: 99px; border: 1.5px solid var(--line); background: var(--bg-2); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip--x .i { width: 14px; height: 14px; }

.tag { display: inline-block; padding: 5px 8px; border-radius: 6px; background: var(--white); color: var(--text); font: 700 10.5px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.tag--gold { background: var(--yellow); color: var(--text); }
.tag--dark { background: var(--text); color: var(--white); }
.tag--ghost { background: var(--green); color: var(--white); }

.tag--navy { background: var(--navy); color: var(--white); }
.card__combo { font-size: 12.5px; color: var(--muted); }
.card__combo b { color: var(--navy); font-weight: 600; }

/* Shirt only / Shirt + pant combo chooser */
.buyas__opts { display: grid; gap: 8px; }
.buyas__opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); text-align: left; transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s; }
.buyas__opt:hover { border-color: var(--navy); }
.buyas__opt.is-on { border-color: var(--navy); background: #f5f7ff; box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1); }
.buyas__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; transition: border-color 0.25s; }
.buyas__opt.is-on .buyas__radio { border-color: var(--navy); }
.buyas__opt.is-on .buyas__radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy); }
.buyas__text { display: grid; gap: 1px; min-width: 0; }
.buyas__text b { font: 600 15px/1.3 var(--display); }
.buyas__text small { font-size: 12.5px; color: var(--muted); }
.buyas__price { font-weight: 700; white-space: nowrap; text-align: right; }
.buyas__price s { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.buyas__pant { margin-top: 14px; }
.buyas__pant[hidden] { display: none; }
.sizes--sm .size { min-width: 52px; height: 44px; }
.pdp__for { font-size: 13px; font-weight: 600; color: var(--navy); }
.qv__price { display: grid; gap: 6px; }
.cart-line__combo { justify-self: start; padding: 2px 8px; border-radius: 6px; background: #eef2ff; color: var(--navy); font-size: 12px; font-weight: 600; }

.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price b { font-weight: 700; font-size: 16px; color: var(--text); }
.price s { color: var(--muted); font-size: 13px; }
.price em { color: var(--green); font-weight: 600; font-size: 13px; }
.price--ask { color: var(--navy); font-weight: 600; font-size: 14px; }
.price--lg b { font: 700 32px/1 var(--display); }
.price--lg s { font-size: 17px; }
.price--lg em { font-size: 15px; }
.price--lg.price--ask { font-size: 20px; }

/* ── Preloader ───────────────────────────────────────────── */

.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--white);  transition: opacity 0.5s ease, visibility 0s 0.5s; }
.preloader__inner { text-align: center; transition: opacity 0.5s, transform 0.8s var(--ease); }
.preloader__logo { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 16px); font: 800 clamp(52px, 10vw, 120px)/1 var(--display); letter-spacing: -0.03em; }
.preloader__word { display: flex; overflow: hidden; padding: 0.06em 0; }
.preloader__word:first-child { background: var(--yellow); border-radius: 0.14em; padding: 0.06em 0.16em; }
.preloader__word span { display: block; transform: translateY(115%); animation: preUp 0.9s var(--ease) forwards; }
.preloader__word:first-child span:nth-child(2) { animation-delay: 0.07s; }
.preloader__word:last-child span:nth-child(1) { animation-delay: 0.25s; }
.preloader__word:last-child span:nth-child(2) { animation-delay: 0.31s; }
.preloader__word:last-child span:nth-child(3) { animation-delay: 0.37s; }
.preloader__word:last-child span:nth-child(4) { animation-delay: 0.43s; }
.preloader__word:last-child span:nth-child(5) { animation-delay: 0.49s; }
.preloader__dash { display: none; }
.preloader__meta { display: flex; justify-content: space-between; gap: 40px; margin-top: 22px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.preloader__meta::before { content: ''; }
.preloader__count { font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 700; min-width: 3ch; text-align: right; }
.preloader__count::after { content: '%'; color: var(--muted); }
@keyframes preUp { to { transform: translateY(0); } }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader.is-done .preloader__inner { transform: scale(0.98); }

/* ── Page transition ─────────────────────────────────────── */

.view { transition: opacity 0.2s ease, transform 0.2s ease; }
.view.is-leaving { opacity: 0; transform: translateY(-6px); }
.view.is-entering { animation: viewIn 0.55s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.route-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 990; pointer-events: none; background: var(--navy); transform: scaleX(0); transform-origin: left; opacity: 0; }
.route-bar.is-active { opacity: 1; transform: scaleX(0.7); transition: transform 0.3s var(--ease); }
.route-bar.is-done { transform: scaleX(1); opacity: 0; transition: transform 0.25s var(--ease), opacity 0.35s 0.2s; }

/* ── Progress ───────────────────────────────────── */

.grain { display: none; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 600; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--yellow)); transform-origin: left; transform: scaleX(0); }


/* ── Announcement bar (running ticker) ───────────────────── */

.announce { position: relative; z-index: 60; height: 38px; overflow: hidden; background: var(--navy); color: var(--white); font: 500 13px/38px var(--sans); }
.announce::before, .announce::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1; pointer-events: none; }
.announce::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.announce::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.announce__track { display: flex; width: max-content; animation: ticker 40s linear infinite; will-change: transform; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__group { display: flex; }
.announce__group span { padding: 0 34px; white-space: nowrap; position: relative; }
.announce__group span::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--yellow); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Header ──────────────────────────────────────────────── */

.header { position: sticky; top: 0; z-index: 500; height: var(--header-h); background: rgba(255, 255, 255, 0.97); transition: transform 0.6s var(--ease), box-shadow 0.4s, background-color 0.4s; border-bottom: 1px solid var(--line); }
.header.is-scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 8px 28px -16px rgba(17, 24, 39, 0.28); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 calc(var(--gutter) - 8px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.brand { display: inline-flex; align-items: center; gap: 7px; font: 800 22px/1 var(--display); letter-spacing: -0.02em; padding: 6px 8px; }
.brand__mark { background: var(--yellow); color: var(--text); padding: 6px 7px 5px; border-radius: 7px; font: 800 15px/1 var(--display); transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }

/* Nav with a sliding yellow pill behind the hovered / current link */
.nav { display: none; position: relative; justify-self: center; align-items: center; gap: 2px; padding: 5px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.nav__pill { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08), 0 4px 12px -4px rgba(17, 24, 39, 0.15); opacity: 0; transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s; pointer-events: none; }
.nav__pill::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px; background: var(--yellow); }
.nav a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px; font-size: 14.5px; font-weight: 500; color: #4b5563; border-radius: 10px; white-space: nowrap; transition: color 0.25s; }
.nav a:hover, .nav a.is-active { color: var(--navy); }
.nav a.is-active { font-weight: 600; }
.nav__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.nav__item { position: relative; }
.nav__item--mega:hover .nav__chev, .nav__item--mega:focus-within .nav__chev { transform: rotate(180deg); }

/* Shop dropdown (mega menu) */
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(860px, calc(100vw - 48px)); translate: -30% 0; z-index: 20; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0s 0.35s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.35s var(--ease); }
.nav__item--mega.mega-off .mega { opacity: 0; visibility: hidden; }
.mega__inner { display: grid; grid-template-columns: 1.25fr 0.9fr 1fr 1fr; gap: 24px; padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mega h4 { font: 700 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__col a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: background-color 0.2s, color 0.2s; }
.mega__col a:hover { background: var(--bg-2); color: var(--navy); }
.mega__col img { width: 38px; height: 46px; object-fit: cover; border-radius: 8px; flex: none; }
.mega__col small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.mega__col .mega__all { margin-top: 6px; color: var(--navy); font-weight: 600; }
.mega__col--brands h4:not(:first-child) { margin-top: 18px; }
.mega__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.mega__sizes a { margin: 0; padding: 6px 10px; border: 1.5px solid var(--line-2); font-size: 12.5px; font-weight: 600; }
.mega__sizes a:hover { border-color: var(--navy); }
.mega__feature { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 240px; background: var(--bg-3); }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 0.8s var(--ease); }
.mega__feature:hover img { scale: 1.07; }
.mega__feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 18, 45, 0.8)); }
.mega__feature span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--white); }
.mega__feature strong { display: block; font: 700 18px/1.2 var(--display); }
.mega__feature small { font-size: 12.5px; opacity: 0.85; }

/* Search pill (desktop) / icon (mobile) */
.search-pill { display: none; align-items: center; gap: 10px; height: 42px; width: 230px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; transition: border-color 0.25s, background-color 0.25s, width 0.4s var(--ease); }
.search-pill:hover { border-color: var(--navy); background: var(--white); }
.search-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.search-pill span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-pill kbd { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 6px; background: var(--white); border: 1px solid var(--line-2); font: 600 12px/1 var(--sans); color: var(--muted); }

/* Bag button with label */
.bag-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: background-color 0.25s, color 0.25s; }
.bag-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.bag-btn:hover { background: var(--bg-3); }
.bag-btn:hover svg { transform: scale(1.1); }
.bag-btn .badge { position: static; margin-left: -2px; }
.bag-btn__label { display: none; }
.bag-btn.is-bump { animation: bump 0.6s var(--ease); }

@media (max-width: 959px) {
  .header__inner { grid-template-columns: 1fr auto 1fr; }
  .header__inner .brand { justify-self: center; }
  .bag-btn { padding: 0 10px; }
  .bag-btn .badge { position: absolute; top: 3px; right: 1px; margin: 0; }
}
@media (min-width: 960px) {
  .header__menu, .header__search { display: none; }
  .nav { display: flex; }
  .bag-btn { background: var(--navy); color: var(--white); padding: 0 14px 0 12px; }
  .bag-btn:hover { background: var(--navy-2); }
  .bag-btn__label { display: inline; }
  .bag-btn .badge { background: var(--yellow); color: var(--text); }
}
@media (min-width: 1180px) { .search-pill { display: flex; } }
@media (min-width: 960px) and (max-width: 1179px) { .header__search { display: inline-grid; } }

/* ── Fullscreen menu ─────────────────────────────────────── */

.menu { position: fixed; inset: 0; z-index: 700; visibility: hidden; transition: visibility 0s 0.9s; }
.menu.is-open { visibility: visible; transition: none; }
.menu__bg { position: absolute; inset: 0; background: var(--white); clip-path: circle(0% at 36px 34px); transition: clip-path 0.9s var(--ease-in-out); }
.menu.is-open .menu__bg { clip-path: circle(150% at 36px 34px); }
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 84px var(--gutter) 32px; overflow-y: auto; }
.menu__close { position: absolute; top: 12px; right: 12px; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 700 clamp(30px, 8vw, 52px)/1.1 var(--display); letter-spacing: -0.02em; opacity: 0; transform: translateY(36px); transition: opacity 0.5s, transform 0.7s var(--ease), color 0.3s; }
.menu__nav a span { font: 600 12px/1 var(--sans); color: var(--muted); }
.menu__nav a:hover { color: var(--navy); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 0.3s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.35s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.4s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.45s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 0.5s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: 0.55s; }
.menu.is-open .menu__nav a:nth-child(7) { transition-delay: 0.6s; }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; color: var(--muted); font-size: 14px; opacity: 0; transition: opacity 0.6s 0.6s; }
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }

/* ── Search overlay ──────────────────────────────────────── */

.search { position: fixed; inset: 0; z-index: 700; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; }
.search.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.search__inner { max-width: 820px; margin: 0 auto; padding: 12vh var(--gutter) 40px; transform: translateY(30px); transition: transform 0.6s var(--ease); height: 100%; overflow-y: auto; }
.search.is-open .search__inner { transform: none; }
.search__bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--text); padding-bottom: 12px; }
.search__bar > svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 2; flex: none; }
.search__bar input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font: 600 clamp(24px, 4.5vw, 38px)/1.2 var(--display); letter-spacing: -0.02em; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__bar input::placeholder { color: #9ca3af; font-weight: 500; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.sr { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 10px; border-radius: 12px; transition: background-color 0.25s; animation: fadeUp 0.5s calc(var(--i) * 50ms) var(--ease) both; }
.sr:hover { background: var(--bg-2); }
.sr img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; }
.sr small { display: block; color: var(--muted); font-size: 12px; }
.sr b { font-weight: 600; }
.sr-all { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; color: var(--navy); font-weight: 600; }
.sr-none { color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* ── Hero ────────────────────────────────────────────────── */

.hero { position: relative; min-height: min(calc(100svh - var(--header-h) - 38px), 760px); display: flex; align-items: center; padding: 28px 0 48px; overflow: hidden; background: radial-gradient(1100px 600px at 85% 30%, #f3f5fb 0%, transparent 60%), var(--bg); }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 24, 0.28), transparent 65%); pointer-events: none; }
.hero__bgword { position: absolute; left: 50%; top: 52%; display: flex; flex-direction: column; align-items: center; translate: -50% -50%; font: 900 clamp(120px, 24vw, 380px)/0.8 var(--display); letter-spacing: -0.05em; color: #f4f5f8; pointer-events: none; user-select: none; white-space: nowrap; z-index: 0; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero__title { font: 800 clamp(46px, 7.4vw, 104px)/0.98 var(--display); letter-spacing: -0.045em; margin-bottom: 22px; }
.hero__title em { display: inline-block; white-space: nowrap; }
.hero__sub { max-width: 44ch; color: #4b5563; font-size: clamp(16px, 1.3vw, 18px); margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 36px 0 0; }
.hero__facts li { display: grid; gap: 2px; padding: 12px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hero__facts b { font: 700 20px/1.1 var(--display); color: var(--navy); }
.hero__facts span { font-size: 12.5px; color: var(--muted); }

.hero__visual { position: relative; width: 100%; max-width: calc((100svh - 220px) * 0.8); justify-self: center; }
/* Yellow offset block behind the photo (bottom leaves room for the slide dots). */
.hero__visual::before { content: ''; position: absolute; inset: 24px -24px 36px 24px; border-radius: var(--radius-lg); background: var(--yellow); z-index: -1; }
.hero__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow-lg); }
.hero__slide { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); z-index: 1; }
.hero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path 1.2s var(--ease-in-out); }
.hero__slide.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active img { animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { scale: 1.08; } to { scale: 1; } }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 45, 0.75)); }
.hero__slide-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: grid; gap: 4px; color: var(--white); }
.hero__slide-cap small { font-size: 13px; font-weight: 500; opacity: 0.85; }
.hero__slide-cap strong { font: 700 clamp(24px, 2.6vw, 34px)/1.05 var(--display); letter-spacing: -0.02em; }
.hero__slide-cap > * { transform: translateY(20px); opacity: 0; transition: transform 0.9s 0.5s var(--ease), opacity 0.9s 0.5s; }
.hero__slide.is-active .hero__slide-cap > * { transform: none; opacity: 1; }
.hero__dots { display: flex; gap: 8px; margin-top: 40px; }
.hero__dots button { flex: 1; height: 20px; display: flex; align-items: center; }
.hero__dots button span { display: block; width: 100%; height: 3px; border-radius: 3px; background: var(--bg-3); position: relative; overflow: hidden; }
.hero__dots button span::after { content: ''; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active span::after { animation: dotFill 5.2s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.spin-badge { position: absolute; left: -40px; top: 16%; z-index: 3; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); box-shadow: var(--shadow); transition: transform 0.5s var(--ease); }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.spin-badge text { font: 600 9.5px/1 var(--sans); letter-spacing: 0.14em; fill: var(--white); }
.spin-badge > span { position: relative; z-index: 1; display: grid; place-items: center; color: var(--yellow); }
.spin-badge > span .i { width: 30px; height: 30px; stroke-width: 1.8; transition: transform 0.5s var(--ease); }
.spin-badge:hover > span .i { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }


@media (max-width: 899px) {
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .hero__visual::before { inset: 14px -12px 46px 14px; }
  .spin-badge { width: 92px; height: 92px; left: auto; right: -6px; top: -28px; }
  .spin-badge text { font-size: 9px; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); }
  .hero { padding-bottom: 56px; }
}

/* ── Categories: "Find your fit" ─────────────────────────── */
/* Desktop: list on the left, big photo stage on the right (swaps on hover).
   Phones: swipeable cards (each row shows its own photo). */

.catx { display: grid; gap: 28px; }
.catx__list { list-style: none; margin: 0; padding: 0; display: grid; }
.catx__row { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 8px; border-bottom: 1px solid var(--line); transition: background-color 0.35s, padding 0.45s var(--ease); }
.catx__list li:first-child .catx__row { border-top: 1px solid var(--line); }
.catx__thumb { display: none; }
.catx__num { font: 700 14px/1 var(--display); color: var(--muted); width: 26px; transition: color 0.3s; }
.catx__body { display: grid; gap: 6px; min-width: 0; }
.catx__body strong { font: 700 clamp(22px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -0.03em; color: #9ca3af; transition: color 0.35s, transform 0.45s var(--ease); transform-origin: left; }
.catx__body small { font-size: 13.5px; color: var(--muted); }
.catx__body small b { color: var(--green); font-weight: 600; }
.catx__dots { display: flex; align-items: center; gap: 5px; height: 14px; opacity: 0; transform: translateY(-4px); transition: opacity 0.35s, transform 0.45s var(--ease); }
.catx__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.catx__dots em { font-style: normal; font-size: 11.5px; color: var(--muted); margin-left: 2px; }
.catx__go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line-2); color: var(--muted); transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.45s var(--ease); }

/* Active (hovered / focused) row */
.catx__row.is-on { background: linear-gradient(90deg, var(--bg-2), transparent); padding-left: 18px; }
.catx__row.is-on .catx__num { color: var(--navy); }
.catx__row.is-on .catx__body strong { color: var(--text); }
.catx__row.is-on .catx__dots { opacity: 1; transform: none; }
.catx__row.is-on .catx__go { background: var(--yellow); border-color: var(--yellow); color: var(--text); transform: rotate(45deg); }
.catx__row::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--navy); transform: scaleY(0); transition: transform 0.45s var(--ease); }
.catx__row.is-on::before { transform: scaleY(1); }

/* Photo stage */
.catx__stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow-lg); min-height: 520px; }
.catx__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.catx__slide.is-on { opacity: 1; z-index: 1; }
.catx__main { width: 100%; height: 100%; object-fit: cover; scale: 1.08; transition: scale 1.4s var(--ease); }
.catx__slide.is-on .catx__main { scale: 1; }
.catx__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 45, 0.7)); }
.catx__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.catx__label { padding: 8px 14px; border-radius: 10px; background: var(--white); font: 700 15px/1 var(--display); box-shadow: var(--shadow-sm); }
.catx__strip { display: flex; gap: 8px; }
.catx__strip img { width: 54px; height: 68px; object-fit: cover; border-radius: 10px; border: 2px solid var(--white); box-shadow: var(--shadow); transform: translateY(14px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.5s; }
.catx__slide.is-on .catx__strip img { transform: none; opacity: 1; }
.catx__slide.is-on .catx__strip img:nth-child(2) { transition-delay: 0.08s; }
.catx__slide.is-on .catx__strip img:nth-child(3) { transition-delay: 0.16s; }

@media (min-width: 900px) {
  .catx { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: stretch; }
}

/* Phones & tablets: swipe cards instead of the stage */
@media (max-width: 899px) {
  .catx__stage { display: none; }
  .catx__list { grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
  .catx__list::-webkit-scrollbar { display: none; }
  .catx__list li { scroll-snap-align: start; }
  .catx__list li:first-child .catx__row { border-top: 0; }
  .catx__row, .catx__row.is-on { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
  .catx__row::before, .catx__num { display: none; }
  .catx__thumb { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
  .catx__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .catx__body { padding: 14px 16px 16px; }
  .catx__body strong, .catx__row.is-on .catx__body strong { color: var(--text); font-size: 20px; }
  .catx__dots { opacity: 1; transform: none; }
  .catx__go { position: absolute; top: 12px; right: 12px; background: var(--white); border: 0; box-shadow: var(--shadow-sm); color: var(--text); }
  .catx__row.is-on .catx__go { transform: none; background: var(--white); }
}

@media (hover: hover) {
  .catx__row:hover .catx__body strong { transform: translateX(4px); }
}

/* ── Horizontal "New arrivals" ───────────────────────────── */

.hsec { position: relative; padding: clamp(64px, 9vw, 110px) 0; background: var(--bg-2); overflow: hidden; }
.hsec__head { position: relative; }
.hsec__progress { height: 3px; border-radius: 3px; background: var(--bg-3); margin: -24px 0 36px; display: none; }
.hsec__progress span { display: block; height: 100%; border-radius: inherit; background: var(--navy); transform-origin: left; transform: scaleX(var(--hprogress, 0)); }
.hsec__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter); }
.hsec__viewport::-webkit-scrollbar { display: none; }
.hsec__track { display: flex; gap: 16px; width: max-content; padding-right: var(--gutter); }
.hsec__item { position: relative; width: min(70vw, 340px); scroll-snap-align: start; }
.hsec__index { display: block; font: 700 13px/1 var(--display); color: var(--muted); margin-bottom: 10px; }
.hsec__more { width: min(60vw, 280px); align-self: stretch; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); font: 700 24px/1.15 var(--display); letter-spacing: -0.02em; transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease); margin-top: 23px; }
.hsec__more .i { width: 46px; height: 46px; stroke-width: 1.6; color: var(--yellow); transition: transform 0.5s var(--ease); }
.hsec__more:hover { background: var(--yellow); color: var(--text); }
.hsec__more:hover .i { color: var(--navy); transform: rotate(45deg); }
.hsec.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
.hsec.is-pinned .hsec__viewport { overflow: visible; }
.hsec.is-pinned .hsec__progress { display: block; }
.hsec.is-pinned .hsec__item { width: clamp(220px, min(24vw, (100vh - 330px) * 0.75), 360px); }
.hsec.is-pinned .hsec__more { width: clamp(200px, 20vw, 280px); }
.hsec.is-pinned .sec-head { margin-bottom: 36px; }

/* ── Product cards & grid ────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 44px 22px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(46vw, 270px); gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { display: none; }

.card { position: relative; }
.card__media {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
  transition: transform 0.6s var(--ease), box-shadow 0.6s; transform-style: preserve-3d; will-change: transform;
}
.card:hover .card__media { box-shadow: var(--shadow-lg); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.7s var(--ease), scale 1.2s var(--ease), filter 0.4s; }
.card__img.is-swapping { opacity: 0.25; filter: blur(6px); }
.card__img--hover { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img { scale: 1.06; }
  .card:hover .card__img--hover { opacity: 1; }
}
.card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 55%); opacity: 0; transition: opacity 0.4s; mix-blend-mode: soft-light; }
.card:hover .card__glare { opacity: 1; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.card__wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--text); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease); }
.card__wish:hover { transform: scale(1.12); }
.card__wish.is-on { animation: heart 0.5s var(--ease); }
@keyframes heart { 40% { transform: scale(1.35); } }
.card__quick { display: none; }
@media (hover: hover) {
  /* No top/bottom set: it sits at its static position (just below the image), pulled up by margin-top. */
  .card__quick {
    display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 3;
    position: absolute; left: 12px; right: 12px; margin-top: -56px; height: 44px; border-radius: 10px;
    background: var(--navy); color: var(--white); font: 600 14px/1 var(--sans);
    transform: translateY(16px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s, background-color 0.3s, color 0.3s;
  }
  .card:hover .card__quick { transform: none; opacity: 1; }
  .card__quick:hover { background: var(--yellow); color: var(--text); }
}
.card__info { padding: 12px 2px 0; display: grid; gap: 3px; }
.card__brand { font: 600 11.5px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card__name { font: 600 15.5px/1.3 var(--display); letter-spacing: -0.01em; }
.card__name a { background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ease); }
.card__name a:hover { background-size: 100% 2px; }
.card__swatches { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); position: relative; transition: transform 0.3s var(--ease); }
.dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color 0.3s; }
.dot:hover, .dot.is-on { transform: scale(1.12); }
.dot:hover::after, .dot.is-on::after { border-color: var(--navy); }
.dot-more { font-size: 12px; color: var(--muted); }
.card.is-soldout .card__img { filter: grayscale(0.8); opacity: 0.6; }

/* ── Explore the collection (home) ───────────────────────── */

.explore__tabs { margin-bottom: 28px; }
.explore__tabs .chip small { font-size: 11px; font-weight: 600; color: var(--muted); }
.explore__tabs .chip.is-on small { color: var(--yellow); }
.explore__grid { transition: opacity 0.18s ease; }
.explore__grid.is-switching { opacity: 0; }
.explore__grid .pop { animation: popIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.explore__more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; text-align: center; }
.explore__more .btn { min-width: 260px; }
.explore__left { font-weight: 500; color: var(--muted); margin-left: 4px; }
.explore__more .btn:hover .explore__left { color: inherit; }
.explore__more p { margin: 0; }

/* ── How to order: scroll progress tracker ───────────────── */
/* --p (0 → 1) is set while scrolling; steps get .is-done as the bar reaches them. */

.how { background: var(--bg-2); }
.howbar { --p: 0; --node: 60px; position: relative; }
.howbar__track { position: absolute; z-index: 0; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.howbar__fill { position: absolute; left: 0; top: 0; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--navy-2) 70%, var(--yellow)); }
.howbar__steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.howbar__step { display: grid; gap: 16px; }

.howbar__node { position: relative; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%; background: var(--white); border: 2px solid var(--line-2); color: var(--muted); box-shadow: var(--shadow-sm); transition: background-color 0.5s, border-color 0.5s, color 0.5s, transform 0.6s var(--ease), box-shadow 0.5s; }
.howbar__node .i { width: 24px; height: 24px; }
.howbar__node b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-3); border: 2px solid var(--bg-2); font: 800 11px/1 var(--display); color: var(--muted); transition: background-color 0.5s, color 0.5s; }
.howbar__card { padding: 20px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0.72; transition: opacity 0.5s, transform 0.6s var(--ease), box-shadow 0.5s, border-color 0.5s; }
.howbar__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.howbar__meta em { font-style: normal; text-transform: none; letter-spacing: 0; padding: 3px 8px; border-radius: 99px; background: var(--bg-2); color: var(--muted); transition: background-color 0.5s, color 0.5s; }
.howbar__card h3 { font: 700 19px/1.25 var(--display); margin-bottom: 6px; }
.howbar__card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Reached steps */
.howbar__step.is-done .howbar__node { background: var(--navy); border-color: var(--navy); color: var(--white); transform: scale(1.06); box-shadow: 0 0 0 6px rgba(30, 58, 138, 0.12), var(--shadow); }
.howbar__step.is-done .howbar__node b { background: var(--yellow); color: var(--text); }
.howbar__step.is-done:nth-child(3) .howbar__node { background: var(--wa); border-color: var(--wa); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.15), var(--shadow); }
.howbar__step.is-done .howbar__card { opacity: 1; border-color: rgba(30, 58, 138, 0.18); box-shadow: var(--shadow); transform: translateY(-3px); }
.howbar__step.is-done .howbar__meta { color: var(--navy); }
.howbar__step.is-done .howbar__meta em { background: var(--yellow-soft); color: var(--navy); }
/* The latest reached step gets a gentle pulse */
.howbar__step.is-done:not(:has(~ .is-done)) .howbar__node::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--navy); animation: ping 2s var(--ease) infinite; }

.howbar__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 40px; }
.howbar__cta .link-arrow .i { width: 18px; height: 18px; }

/* Phones: vertical timeline */
@media (max-width: 799px) {
  .howbar { --node: 52px; }
  .howbar__track { left: calc(var(--node) / 2 - 2px); width: 4px; top: calc(var(--node) / 2); bottom: 40px; }
  .howbar__fill { width: 100%; height: calc(var(--p) * 100%); }
  .howbar__step { grid-template-columns: var(--node) 1fr; align-items: start; gap: 16px; }
}

/* Desktop: horizontal bar through the step icons */
@media (min-width: 800px) {
  .howbar__track { top: calc(var(--node) / 2 - 2px); height: 4px; left: 12.5%; right: 12.5%; }
  .howbar__fill { height: 100%; width: calc(var(--p) * 100%); }
  .howbar__steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .howbar__step { justify-items: center; text-align: center; }
  .howbar__card { width: 100%; }
}

/* ── Visit band (home) ───────────────────────────────────── */

.visit { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) 0; background: var(--yellow); }
.visit::before { content: ''; position: absolute; width: 620px; height: 620px; left: -200px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%); pointer-events: none; }

/* Title + intro on the yellow */
.visit__head { position: relative; display: grid; gap: 14px 48px; align-items: end; margin-bottom: clamp(26px, 3.5vw, 40px); }
.visit .eyebrow { color: var(--text); }
.visit .eyebrow::before { background: var(--navy); }
.visit__head .visit__title { margin: 0; font-size: clamp(40px, 6vw, 80px); }
.visit__head .visit__title em { color: var(--navy); background: none; }
.visit__lead { margin: 0; max-width: 46ch; font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.6; color: #3b3b3d; }
@media (min-width: 900px) { .visit__head { grid-template-columns: 1.1fr 0.9fr; } }
.visit__find { font: 700 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

.visit__card { position: relative; display: grid; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: 0 40px 80px -40px rgba(17, 24, 39, 0.45); }
.visit__copy { padding: clamp(26px, 4vw, 52px); }
.visit__title { font: 800 clamp(36px, 5vw, 64px)/1.02 var(--display); letter-spacing: -0.045em; margin-bottom: 22px; }

.visit__info { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.visit__info li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: #374151; }
.visit__info .i { width: 20px; height: 20px; margin-top: 1px; color: var(--navy); }
.visit__info a:hover { color: var(--navy); text-decoration: underline; }

.visit__facts { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.visit__facts li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: background-color 0.3s, border-color 0.3s; }
.visit__facts .i { width: 16px; height: 16px; color: var(--navy); }
.visit__facts li:hover { background: var(--yellow-soft); border-color: rgba(245, 197, 24, 0.6); }

.visit__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--icon { width: var(--bh); padding: 0; }
.btn--icon .i { width: 20px; height: 20px; }
.visit__more { margin-top: 18px; }

/* Map preview — the whole map is one link; the iframe itself ignores the mouse
   so it never hijacks page scrolling. */
.visit__map { position: relative; display: block; min-height: 320px; background: var(--bg-3); overflow: hidden; }
.visit__map iframe { position: absolute; inset: -160px; width: calc(100% + 320px); height: calc(100% + 320px); border: 0; pointer-events: none; filter: saturate(0.9); transition: transform 1.2s var(--ease); }
.visit__map:hover iframe { transform: scale(1.06); }
.visit__map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 18, 45, 0.35)); pointer-events: none; }
.visit__pin { position: absolute; left: 50%; top: 50%; z-index: 1; translate: -50% -100%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50% 50% 50% 4px; rotate: -45deg; background: var(--navy); box-shadow: 0 12px 28px -8px rgba(30, 58, 138, 0.7); animation: pinBob 2.4s ease-in-out infinite; }
.visit__pin .brand__mark { rotate: 45deg; font-size: 13px; }
.visit__pin::after { content: ''; position: absolute; left: 50%; bottom: -16px; width: 18px; height: 6px; margin-left: -9px; border-radius: 50%; background: rgba(17, 24, 39, 0.25); rotate: 45deg; }
@keyframes pinBob { 50% { translate: -50% calc(-100% - 8px); } }
.visit__mapcta { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: var(--white); font-size: 13.5px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); transition: transform 0.4s var(--ease), background-color 0.3s; }
.visit__mapcta .i { width: 16px; height: 16px; }
.visit__map:hover .visit__mapcta { transform: translateY(-3px); background: var(--yellow); color: var(--text); }

@media (min-width: 900px) {
  .visit__card { grid-template-columns: 1.05fr 0.95fr; }
  .visit__map { min-height: 100%; }
}
@media (max-width: 599px) {
  .visit__ctas .btn:not(.btn--icon) { flex: 1; padding: 0 14px; }
  .visit__ctas .btn--gold:not(.btn--icon) { flex-basis: 100%; }
}

/* ── Page hero & toolbar ─────────────────────────────────── */

.page-hero { padding: clamp(18px, 2.6vw, 30px) 0 clamp(18px, 2.4vw, 26px); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.page-hero--center { text-align: center; min-height: 70vh; display: grid; place-items: center; }
.page-hero--center .hero__ctas { justify-content: center; }
.page-title { font: 800 clamp(32px, 4.6vw, 56px)/1.05 var(--display); letter-spacing: -0.04em; margin: 10px 0 6px; }
.page-sub { margin: 0; }
.page-sub { color: var(--muted); font-size: 15px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.giant { display: block; font: 900 clamp(110px, 22vw, 260px)/0.85 var(--display); letter-spacing: -0.06em; color: var(--yellow); }

.toolbar { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top 0.6s var(--ease); }
.header.is-hidden ~ .view .toolbar { top: 0; }
.toolbar__inner { display: flex; align-items: center; gap: 12px; padding-block: 12px; }
.toolbar .chips { flex: 1; min-width: 0; }
.toolbar__right { display: flex; gap: 8px; flex: none; }
.select select { appearance: none; -webkit-appearance: none; height: 42px; padding: 0 36px 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat; font-size: 13.5px; font-weight: 500; }
@media (max-width: 699px) {
  .toolbar__inner { flex-wrap: wrap; }
  .toolbar .chips { order: 2; flex-basis: 100%; }
  .toolbar__right { width: 100%; }
  .toolbar__right > * { flex: 1; }
  .select select { width: 100%; }
}
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; }
.empty { text-align: center; padding: 72px 20px; border: 2px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); }
.empty h3 { font: 700 28px/1.1 var(--display); margin-bottom: 10px; }
.empty p { color: var(--muted); margin: 0 auto 22px; max-width: 52ch; }
.empty__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.empty--soon { border-style: solid; border-color: rgba(245, 197, 24, 0.6); background: linear-gradient(180deg, var(--yellow-soft), var(--white)); }
.empty__badge { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 99px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 600; }

/* ── Filters drawer ──────────────────────────────────────── */

.filters { position: fixed; inset: 0; z-index: 650; visibility: hidden; transition: visibility 0s 0.6s; }
.filters.is-open { visibility: visible; transition: none; }
.filters__scrim, .drawer__scrim, .modal__scrim { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.5s; }
.is-open > .filters__scrim, .is-open > .drawer__scrim, .is-open > .modal__scrim { opacity: 1; }
.filters__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 92vw); background: var(--white); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform 0.6s var(--ease); box-shadow: var(--shadow-lg); }
.filters.is-open .filters__panel { transform: none; }
.filters__head, .drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.filters__head h2, .drawer__head h2 { font: 700 24px/1 var(--display); }
.filters__body { flex: 1; overflow-y: auto; padding: 4px 22px 22px; }
.filters fieldset { border: 0; padding: 20px 0; margin: 0; border-bottom: 1px solid var(--line); }
.filters legend { font: 700 14px/1 var(--display); color: var(--text); margin-bottom: 14px; padding: 0; float: left; width: 100%; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.opt input, .size-opt input, .swatch-opt input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.opt span, .size-opt span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all 0.25s; }
.opt span:hover, .size-opt span:hover { border-color: var(--navy); }
.opt input:checked + span, .size-opt input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.opt input:focus-visible + span, .size-opt input:focus-visible + span, .swatch-opt input:focus-visible + i { outline: 2px solid var(--navy); outline-offset: 2px; }
.opt__count { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.opt input:checked + span .opt__count { color: var(--yellow); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; clear: both; }
.size-opt span { width: 100%; justify-content: center; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px 6px; clear: both; }
.swatch-opt { display: grid; justify-items: center; gap: 6px; cursor: pointer; text-align: center; }
.swatch-opt i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--white), 0 0 0 4.5px transparent; transition: box-shadow 0.25s, transform 0.3s var(--ease); }
.swatch-opt span { font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.swatch-opt input:checked + i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--white), 0 0 0 4.5px var(--navy); transform: scale(1.06); }
.swatch-opt input:checked ~ span { color: var(--text); font-weight: 600; }
.filters__foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); }

/* ── Product detail ──────────────────────────────────────── */

.pdp { padding: 20px 0 40px; }
.pdp__grid { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 960px) { .pdp__grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 5vw, 72px); } }

.gallery { position: relative; transition: opacity 0.26s, filter 0.26s; }
.gallery.is-swapping { opacity: 0; filter: blur(8px); }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); background: var(--bg-3); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; aspect-ratio: 3 / 4; scroll-snap-align: start; overflow: hidden; position: relative; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__slide.is-zoomed img { transform: scale(2); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs button { flex: none; width: 70px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; opacity: 0.5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.3s, outline-color 0.3s; }
.gallery__thumbs button.is-active { opacity: 1; outline-color: var(--navy); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.9); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }

.pdp__sticky { display: grid; gap: 20px; }
@media (min-width: 960px) { .pdp__info { padding-top: 6px; } }
.pdp__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pdp__brand { display: inline-block; padding: 5px 10px; border-radius: 6px; background: var(--yellow-soft); font: 700 12px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.pdp__code { font-size: 13px; color: var(--muted); }
.pdp__name { font: 800 clamp(30px, 3.6vw, 48px)/1.05 var(--display); letter-spacing: -0.035em; }
.pdp__price { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pdp__save { display: inline-block; justify-self: start; padding: 4px 10px; border-radius: 6px; background: #dcfce7; color: var(--green); font-size: 13px; font-weight: 600; }
.pdp__price small { font-size: 12.5px; }
.pdp__label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.pdp__label b { color: var(--text); font-weight: 600; }
.pdp__label .link-sm { margin-left: auto; color: var(--navy); }
.pdp__hint { min-height: 1.2em; margin: 8px 0 0; color: var(--danger); font-size: 13.5px; font-weight: 500; }
.pdp__mini { display: flex; gap: 20px; justify-content: center; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 58px; aspect-ratio: 3 / 4; border-radius: 10px; transition: transform 0.4s var(--ease); }
.swatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.swatch i { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--white), inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.swatch::after { content: ''; position: absolute; inset: -4px; border-radius: 13px; border: 2px solid transparent; transition: border-color 0.3s; }
.swatch:hover { transform: translateY(-3px); }
.swatch:hover::after { border-color: var(--line-2); }
.swatch.is-on::after { border-color: var(--navy); }
.swatches--sm .swatch { width: 46px; }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes.shake { animation: shake 0.5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.size { position: relative; min-width: 58px; height: 50px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 600; font-size: 14.5px; display: grid; place-content: center; line-height: 1; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.size small { display: block; margin-top: 3px; font-size: 10px; font-weight: 600; color: #b45309; }
.size:hover:not(:disabled) { border-color: var(--navy); transform: translateY(-2px); }
.size.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.size.is-on small { color: var(--yellow); }
.size.is-out { color: #9ca3af; background: var(--bg-2) linear-gradient(to top right, transparent calc(50% - 0.75px), var(--line-2) 50%, transparent calc(50% + 0.75px)); border-color: var(--line); cursor: not-allowed; }

.pdp__actions { display: flex; gap: 10px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; height: 52px; background: var(--white); }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; transition: color 0.2s; }
.qty button:hover:not(:disabled) { color: var(--navy); }
.qty button:disabled { opacity: 0.3; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--sm { height: 34px; border-radius: 9px; }
.qty--sm button { width: 30px; }
.qty--sm .i { width: 14px; height: 14px; }

.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); font-size: 13.5px; color: var(--muted); }
.perks li .i { color: var(--navy); width: 22px; height: 22px; margin-top: 2px; }
.perks b { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }

.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 600 16px/1.3 var(--display); cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--bg-2); font: 500 20px/1 var(--sans); color: var(--navy); transition: transform 0.4s var(--ease), background-color 0.3s; }
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.accordion details > div { padding-bottom: 18px; color: #4b5563; animation: fadeUp 0.5s var(--ease); }
.accordion--faq summary { font-size: clamp(17px, 1.8vw, 21px); padding: 22px 0; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--text); font-weight: 500; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(17, 24, 39, 0.3); transform: translateY(110%); transition: transform 0.6s var(--ease); }
.buybar.is-shown { transform: none; }
.buybar__info { flex: 1; min-width: 0; display: grid; }
.buybar__info strong { font: 600 14px/1.3 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { --bh: 46px; }
@media (min-width: 960px) { .buybar { display: none; } }

/* ── Drawer (cart) ───────────────────────────────────────── */

.drawer { position: fixed; inset: 0; z-index: 680; visibility: hidden; transition: visibility 0s 0.7s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.7s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head sup { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--yellow); font: 700 12px/1 var(--sans); vertical-align: middle; margin-left: 4px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 6px 20px 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer__foot:empty { display: none; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 16px 32px 16px 0; border-bottom: 1px solid var(--line); animation: fadeUp 0.5s var(--ease) both; transition: opacity 0.28s, transform 0.28s; }
.cart-line.is-removing { opacity: 0; transform: translateX(30px); }
.cart-line__img img { width: 78px; height: 100px; object-fit: cover; border-radius: 10px; }
.cart-line__info { display: grid; gap: 3px; align-content: start; }
.cart-line__name { font: 600 15px/1.3 var(--display); }
.cart-line__meta { font-size: 13px; color: var(--muted); }
.cart-line__warn { font-size: 12.5px; color: var(--danger); font-weight: 600; }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cart-line__price { font-weight: 700; }
.cart-line__price small { color: var(--navy); font-size: 12px; font-weight: 600; }
.cart-line__rm { position: absolute; top: 8px; right: -8px; width: 34px; height: 34px; }
.cart-line__rm .i { width: 16px; height: 16px; }
.cart-line.is-out .cart-line__img { opacity: 0.4; }

.cart-empty { text-align: center; padding: 72px 10px; display: grid; justify-items: center; gap: 8px; }
.cart-empty__icon { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--yellow-soft); color: var(--navy); margin-bottom: 10px; animation: float 3s ease-in-out infinite; }
.cart-empty__icon .i { width: 34px; height: 34px; }
.cart-empty h3 { font: 700 24px/1.1 var(--display); }
.cart-empty p { color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

.checkout { margin-top: 22px; display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: var(--bg-2); }
.checkout h3 { font: 600 15px/1.3 var(--display); }
.checkout h3 small { font: 400 12.5px var(--sans); color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-3); }
.seg label { position: relative; }
.seg span { display: grid; place-items: center; height: 38px; border-radius: 9px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.seg input:checked + span { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 5px; }
.field span { font-size: 12.5px; color: #4b5563; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); outline: none; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12); }
.checkout__addr { display: grid; gap: 12px; }
.checkout__addr[hidden] { display: none; }

.totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals__grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line-2); align-items: baseline; font-weight: 600; }
.totals__grand b { font: 800 24px/1 var(--display); text-align: right; }
.totals__grand small { display: block; font: 500 11.5px/1.4 var(--sans); color: var(--navy); }
.free-bar { display: grid !important; gap: 6px; }
.free-bar > span { display: block; height: 6px; border-radius: 6px; background: var(--bg-3); position: relative; overflow: hidden; }
.free-bar > span::after { content: ''; position: absolute; inset: 0; width: var(--p); background: linear-gradient(90deg, var(--navy), var(--yellow)); border-radius: inherit; }
.free-bar small { color: var(--navy); }
.checkout-btns { display: flex; gap: 8px; }
.checkout-btns .btn--wa { flex: 1.4; }
.checkout-btns .btn--outline { flex: 1; padding: 0 14px; }
.drawer__foot .totals { gap: 2px; margin-bottom: 10px; font-size: 13.5px; }
.drawer__foot .totals__grand { padding-top: 6px; }
.fineprint b { color: var(--text); }
.fineprint { margin: 10px 0 0;font-size: 12px; color: var(--muted); text-align: center; }
.sent-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--yellow-soft); font-size: 13.5px; text-align: center; animation: fadeUp 0.5s var(--ease); }

/* ── Modal ───────────────────────────────────────────────── */

.modal { position: fixed; inset: 0; z-index: 690; display: grid; place-items: end center; visibility: hidden; transition: visibility 0s 0.6s; }
.modal.is-open { visibility: visible; transition: none; }
.modal__panel { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; background: var(--white); border-radius: 24px 24px 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.6s var(--ease); box-shadow: var(--shadow-lg); }
.modal.is-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--bg-2); }
.modal__title { font: 800 30px/1 var(--display); letter-spacing: -0.03em; margin-bottom: 8px; }
@media (min-width: 760px) {
  .modal { place-items: center; padding: 24px; }
  .modal__panel { width: min(940px, 100%); border-radius: 24px; padding: 34px; transform: translateY(40px) scale(0.97); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s; }
  .modal.is-open .modal__panel { transform: none; opacity: 1; }
  .modal--chart .modal__panel { width: min(760px, 100%); }
}
.qv { display: grid; gap: 22px; }
.qv__media { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-3); max-height: 40vh; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s, filter 0.3s; }
.qv__media img.is-swapping { opacity: 0.2; filter: blur(6px); }
.qv__info { display: grid; gap: 14px; align-content: start; }
.qv__name { font: 800 clamp(26px, 2.8vw, 36px)/1.05 var(--display); letter-spacing: -0.03em; }
.qv .pdp__label { margin: 6px 0 -4px; }
.qv .pdp__hint { margin: -6px 0 0; }
.qv__actions { display: flex; gap: 10px; }
@media (min-width: 760px) { .qv { grid-template-columns: 0.9fr 1.1fr; gap: 34px; } .qv__media { max-height: none; } }

.chart__title { font: 700 16px/1.2 var(--display); margin: 22px 0 -8px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 14px; border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.table th { padding: 13px 12px; background: var(--navy); font-size: 12px; font-weight: 600; color: var(--white); white-space: nowrap; }
.table td { padding: 12px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table td:first-child { font-weight: 700; color: var(--navy); }
.table tbody tr:nth-child(even) { background: var(--bg-2); }
.table tbody tr:hover { background: var(--yellow-soft); }
.measure-tips { display: grid; gap: 10px; }
.measure-tips div { display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--bg-2); }
.measure-tips b { color: var(--text); }
@media (min-width: 700px) { .measure-tips { grid-template-columns: repeat(3, 1fr); } }

/* ── Store page ──────────────────────────────────────────── */

.store-hero { position: relative; overflow: hidden; padding: clamp(18px, 2.6vw, 30px) 0 clamp(32px, 4vw, 56px); background: radial-gradient(900px 500px at 90% 20%, #eef2ff 0%, transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.store-hero::before { content: ''; position: absolute; width: 460px; height: 460px; right: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 24, 0.3), transparent 65%); pointer-events: none; }
.store-hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.store-hero__copy .eyebrow { margin-top: 22px; }
.store-hero .page-title { margin: 4px 0 18px; font-size: clamp(36px, 5.4vw, 68px); }
.store-hero__addr, .store-hero__hours { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 16px; color: #374151; }
.store-hero__addr .i, .store-hero__hours .i { width: 20px; height: 20px; margin-top: 2px; color: var(--navy); }
.store-hero__hours { color: var(--muted); font-size: 14.5px; }
.store-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.store-hero__visual { position: relative; height: clamp(360px, 44vw, 500px); margin-top: 12px; }
.store-hero__photo { position: absolute; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; border: 6px solid var(--white); box-shadow: var(--shadow-lg); transition: transform 0.7s var(--ease); }
.store-hero__photo--1 { left: 4%; top: 12%; transform: rotate(-8deg); z-index: 1; }
.store-hero__photo--2 { left: 27%; top: 5%; transform: rotate(2deg); z-index: 2; }
.store-hero__photo--3 { right: 2%; top: 14%; transform: rotate(9deg); z-index: 1; }
@media (hover: hover) {
  .store-hero__visual:hover .store-hero__photo--1 { transform: rotate(-12deg) translate(-14px, 6px); }
  .store-hero__visual:hover .store-hero__photo--2 { transform: rotate(0deg) translateY(-10px) scale(1.03); }
  .store-hero__visual:hover .store-hero__photo--3 { transform: rotate(13deg) translate(14px, 6px); }
}
.store-hero__facts { position: absolute; left: 50%; bottom: 0; z-index: 3; translate: -50% 0; display: flex; gap: 6px; padding: 8px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); white-space: nowrap; }
.store-hero__facts div { display: grid; justify-items: center; gap: 2px; padding: 8px 16px; border-radius: 12px; background: var(--bg-2); }
.store-hero__facts div:first-child { background: var(--yellow); }
.store-hero__facts b { font: 800 20px/1 var(--display); color: var(--navy); }
.store-hero__facts div:first-child b { color: var(--text); }
.store-hero__facts span { font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .store-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); } }
@media (max-width: 599px) {
  .store-hero__ctas .btn { flex: 1 1 calc(50% - 5px); padding: 0 14px; }
  .store-hero__ctas .btn:first-child { flex-basis: 100%; }
  .store-hero__visual { height: 330px; }
}

/* Map with contact card on top */
.store-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-3); }
.store-map iframe { display: block; width: 100%; height: clamp(360px, 46vw, 500px); border: 0; }
.store-map__card { padding: 22px; background: var(--white); border-top: 1px solid var(--line); }
.store-map__card h3 { font: 700 20px/1.2 var(--display); margin-bottom: 14px; }
.store-map__card ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.store-map__card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #374151; }
.store-map__card li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--navy); }
.store-map__card li a:hover { color: var(--navy); text-decoration: underline; }
@media (min-width: 800px) {
  .store-map__card { position: absolute; right: 20px; top: 20px; width: 330px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
}

/* Why visit */
.why { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why__item { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.why__item > .i { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--yellow-soft); color: var(--navy); margin-bottom: 16px; transition: background-color 0.3s, transform 0.5s var(--ease); }
.why__item h3 { font: 700 18px/1.25 var(--display); margin-bottom: 6px; }
.why__item p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (hover: hover) {
  .why__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(30, 58, 138, 0.25); }
  .why__item:hover > .i { background: var(--yellow); transform: rotate(-8deg); }
}

/* Payment & delivery strip */
.paybar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--navy-deep); color: var(--white); }
.paybar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.paybar__label { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; font-weight: 600; font-size: 14px; }
.paybar__label .i { color: var(--yellow); }
.paybar__chip { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 13px; font-weight: 500; }
.paybar__text { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }

/* ── Footer (deep navy) ──────────────────────────────────── */

.footer { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); padding: clamp(40px, 5vw, 64px) 0 calc(22px + env(safe-area-inset-bottom)); }
.footer::before { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(39, 71, 168, 0.55), transparent 65%); pointer-events: none; }
.footer .container { position: relative; z-index: 1; }

/* Help strip */
.footer__help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.footer__help-text { display: flex; align-items: center; gap: 14px; }
.footer__help-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--text); }
.footer__help-icon .i { width: 22px; height: 22px; }
.footer__help-text strong { display: block; font: 700 18px/1.25 var(--display); }
.footer__help-text span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.footer__help-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, 0.3); color: var(--white); }
.btn--ghost-light::after { background: var(--white); }
.btn--ghost-light:hover { color: var(--navy-deep); }

/* Main grid */
.footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 24px; padding: clamp(36px, 4vw, 52px) 0; }
.footer__about { grid-column: 1 / -1; }
.footer__about .brand { color: var(--white); padding-left: 0; }
.footer__tag { margin: 8px 0 18px; color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.footer__contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.footer__contact .i { width: 18px; height: 18px; margin-top: 1px; color: var(--yellow); }
.footer__contact a:hover { color: var(--white); text-decoration: underline; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.footer__social a:hover { background: var(--yellow); color: var(--text); transform: translateY(-3px); }
.footer__social .i { width: 19px; height: 19px; }
.footer__col h4 { font: 600 15px/1 var(--display); color: var(--yellow); margin-bottom: 14px; }
.footer__col a { display: block; width: fit-content; padding: 5px 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); transition: color 0.25s, transform 0.4s var(--ease); }
.footer__col a:hover { color: var(--white); transform: translateX(4px); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
  .footer__about { grid-column: auto; }
}

/* Payment & delivery row */
.footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__pay-label { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-size: 13.5px; font-weight: 600; }
.footer__pay-label .i { width: 18px; height: 18px; color: var(--yellow); }
.footer__pay-label--right { margin-left: auto; margin-right: 0; color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.footer__chip { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 12.5px; font-weight: 500; }
@media (max-width: 599px) { .footer__pay-label--right { margin-left: 0; flex-basis: 100%; margin-top: 6px; } }

.footer__owner { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__owner:hover { color: var(--yellow); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 76px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.footer__top-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); color: var(--white); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.footer__top-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--text); transform: translateY(-3px); }


/* ── Floating WhatsApp, toasts, fly ──────────────────────── */

.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 450; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 15px; border-radius: 99px; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6); font: 600 14px/1 var(--sans); transition: gap 0.5s var(--ease), transform 0.5s var(--ease), opacity 0.4s; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.6s var(--ease); }
.wa-float:hover { gap: 10px; }
.wa-float:hover span { max-width: 180px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
/* Product pages have their own WhatsApp buttons + sticky buy bar on phones. */
@media (max-width: 959px) { body[data-route="product"] .wa-float { opacity: 0; pointer-events: none; transform: scale(0.6); } }
@media (min-width: 960px) { .wa-float { right: 24px; bottom: 24px; } }
body.is-loading .wa-float { opacity: 0; transform: scale(0.6); }

.toast-stack { position: fixed; left: 50%; top: calc(var(--header-h) + 12px); translate: -50% 0; z-index: 990; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--text); color: var(--white); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transform: translateY(-20px) scale(0.96); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; }
.toast.is-in { transform: none; opacity: 1; }
.toast__icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--yellow); color: var(--text); flex: none; font-size: 13px; }
.toast__action { margin-left: auto; font-weight: 600; color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.fly-img { position: fixed; z-index: 980; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-lg); }
.burst { position: fixed; z-index: 980; width: 7px; height: 7px; border-radius: 50%; background: #e11d48; pointer-events: none; }
.burst:nth-child(even) { background: var(--yellow); }

/* ── Scroll effects ──────────────────────────────────────────
   Content is ALWAYS visible. Scrolling only adds gentle motion
   (rise, zoom-settle, highlight sweep); nothing starts hidden.
   Only the hero has an intro, and it plays as the page loads. */

/* Text blocks & buttons: small rise as they come into view */
.fx [data-reveal]:not([data-reveal="clip"]) { translate: 0 18px; transition: translate 1s var(--ease); transition-delay: var(--d, 0s); }
.fx [data-reveal].is-in { translate: 0 0; }

/* Image blocks: settle from a slight zoom (parent clips the overflow) */
.fx [data-reveal="clip"] { scale: 1.08; transition: scale 1.6s var(--ease); }
.fx [data-reveal="clip"].is-in { scale: 1; }

/* Grids: items rise in a quick wave */
.fx [data-stagger] > * { translate: 0 28px; transition: translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.fx [data-stagger].is-in > * { translate: 0 0; }
.fx .hsec__item .card { translate: 48px 0; transition: translate 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.fx .hsec__item .card.is-in { translate: 0 0; }

/* Headings: the yellow marker sweeps under the highlighted word */
.h2 em, .page-title em, .hero__title em { background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 1s 0.3s var(--ease); }
.fx [data-split]:not(.is-in) em { background-size: 0% 100%; }

/* Split headings stay readable; only the hero animates its words */
.fx [data-split] .w { display: inline-block; vertical-align: top; }
.fx .hero [data-split] .w { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.fx .hero [data-split] .w__i { display: inline-block; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }

/* Hero intro — plays once while the loading screen fades */
.fx body:not(.is-ready) .hero [data-split] .w__i { transform: translateY(110%); }
.fx body:not(.is-ready) .hero [data-reveal] { opacity: 0; }
.fx .hero [data-reveal] { transition: opacity 0.8s var(--ease), translate 1s var(--ease); transition-delay: var(--d, 0s); }
.fx .hero__frame { clip-path: inset(0 0 100% 0 round 22px); transition: clip-path 1.4s 0.15s var(--ease-in-out); }
.fx body.is-ready .hero__frame { clip-path: inset(0 0 0 0 round 22px); }
.fx .hero__visual::before { transform: translate(-24px, -24px); opacity: 0; transition: transform 1.2s 0.8s var(--ease), opacity 0.8s 0.8s; }
.fx body.is-ready .hero__visual::before { transform: none; opacity: 1; }
.fx .spin-badge { scale: 0; transition: scale 1s 0.9s var(--ease), transform 0.5s var(--ease); }
.fx body.is-ready .spin-badge { scale: 1; }

/* ── Hover effects ───────────────────────────────────────── */

@media (hover: hover) {
  /* Product cards: lift (tilt, glare, 2nd photo and quick add are set above) */
  .card__media { transition: transform 0.6s var(--ease), box-shadow 0.6s, translate 0.5s var(--ease); }
  .card:hover .card__media { translate: 0 -6px; }
  .card:hover .card__brand { color: var(--navy); }


  /* Hero photo: slow zoom while hovered */
  .hero__slide img { transition: scale 1.2s var(--ease); }
  .hero__frame:hover .hero__slide.is-active img { animation-play-state: paused; }



  /* Buttons: icons nudge forward */
  .btn .i { transition: transform 0.4s var(--ease); }
  .btn:hover .i { transform: translateX(3px); }

  /* Thumbnails, swatches, chips */
  .gallery__thumbs button:hover { opacity: 1; }
  .swatch img { transition: scale 0.4s var(--ease); }
  .swatch:hover img { scale: 1.06; }
  .chip { transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
  .chip:hover { transform: translateY(-2px); }

  /* Header icons */
  .header__actions .icon-btn svg { transition: transform 0.3s var(--ease); }
  .header__actions .icon-btn:hover svg { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
