/* StyleFlow: swap brand by editing these tokens + the PRODUCTS/SLIDES data in app.js */
:root {
  --black: #000;
  --white: #fff;
  --grey-50: #F5F5F5;
  --grey-100: #ECECEC;
  --grey-300: #D4D4D4;
  --grey-600: #6B6B6B;
  --brand: #2B35A8;
  --brand-deep: #0F1240;
  --sale: #C8102E;
  --ok: #1E7A46;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;
  --header-h: 68px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.hero :focus-visible, .brand :focus-visible, .news :focus-visible, .announce :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 2px;
  font-weight: 700; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-variation-settings: "wdth" 110;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-white { background: var(--white); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover { background: var(--black); color: var(--white); border-color: var(--white); }
  .btn-black:hover { background: var(--brand); }
}

.link-btn {
  background: none; border: 0; padding: 4px 0; font-size: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.link-arrow { font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; text-underline-offset: 5px; }

.icon-btn {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: 50%; touch-action: manipulation;
  transition: background-color .2s ease, transform .16s var(--ease-out), opacity .2s;
}
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.round { border: 1px solid currentColor; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: rgb(0 0 0 / .06); } }

/* ---------- Announcement ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 38px; padding: 6px var(--gutter);
  background: var(--black); color: var(--white);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; text-align: center;
}
.countdown { font-variant-numeric: tabular-nums; font-weight: 800; margin-left: 4px; }
.announce-cta {
  padding: 3px 12px; background: var(--white); color: var(--black); text-decoration: none;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 2px;
}

/* ---------- Demo bar and load error ---------- */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 14px;
  padding: 8px var(--gutter); background: var(--brand); color: var(--white);
  font-size: 0.8125rem; font-weight: 600; text-align: center;
}
.demo-bar .link-btn { color: inherit; font-weight: 700; }
.load-error {
  display: grid; place-content: center; justify-items: center; gap: 20px; min-height: 100vh; min-height: 100dvh;
  padding: var(--gutter); font-size: 1.125rem; font-weight: 700; text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  height: var(--header-h); padding: 0 var(--gutter);
  background: var(--white); border-bottom: 1px solid var(--grey-100);
  transition: transform .4s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-100%); }
.logo {
  justify-self: start;
  font-weight: 900; font-size: 1.375rem; letter-spacing: -0.01em; text-transform: uppercase;
  font-variation-settings: "wdth" 125; text-decoration: none;
}
.main-nav ul { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.main-nav a {
  position: relative; display: block; padding: 8px 0;
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav-sale { color: var(--sale); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-link { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; padding: 8px; }
.menu-btn { display: none; }
.bag-count {
  position: absolute; top: 4px; right: 2px; display: grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--black); color: var(--white); font-size: 0.6875rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.bag-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 35% { transform: scale(1.45); } }

/* ---------- Hero carousel ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--black); color: var(--white);
  height: clamp(540px, calc(100svh - var(--header-h) - 38px), 880px);
  touch-action: pan-y;
}
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .9s ease, visibility 0s .9s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos);
  transform: scale(1.08); transition: transform 8s linear;
}
.slide.is-active img { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / .15) 50%, transparent 70%),
              linear-gradient(0deg, rgb(0 0 0 / .45) 0%, transparent 40%);
}
.slide-copy {
  position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(88px, 12vh, 140px);
  max-width: min(860px, calc(100% - 2 * var(--gutter)));
}
.slide-kicker { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.slide-title {
  margin-top: 12px; font-size: clamp(3rem, 7.4vw, 7.5rem); font-weight: 900; line-height: 0.88;
  text-transform: uppercase; letter-spacing: -0.02em; font-variation-settings: "wdth" 104;
}
.slide-title span { display: block; }
.slide-text { margin-top: 20px; max-width: 30rem; font-size: 1.0625rem; color: rgb(255 255 255 / .9); }
.slide-perks { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; font-size: 0.9375rem; }
.slide-perks strong { display: block; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.02em; }
.slide-copy .btn { margin-top: 28px; }

/* text choreography: lines rise in sequence when a slide becomes active */
.slide-copy > *, .slide-title span { opacity: 0; transform: translateY(28px); }
.slide.is-active .slide-copy > *, .slide.is-active .slide-title span {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}
.slide.is-active .slide-title { transition-delay: .1s; }
.slide.is-active .slide-title span:nth-child(1) { transition-delay: .15s; }
.slide.is-active .slide-title span:nth-child(2) { transition-delay: .25s; }
.slide.is-active .slide-text, .slide.is-active .slide-perks { transition-delay: .38s; }
.slide.is-active .slide-copy .btn { transition-delay: .48s; }
.slide.is-active .slide-copy .btn:active { transform: scale(0.97); transition-delay: 0s; }

.hero-controls {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.hero-controls .icon-btn { width: 40px; height: 40px; color: var(--white); border-color: rgb(255 255 255 / .5); }
.hero-controls .icon-btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .hero-controls .icon-btn:hover { background: rgb(255 255 255 / .15); } }
.i-play { display: none; }
[data-paused="true"] .i-play { display: block; }
[data-paused="true"] .i-pause { display: none; }
.dots { display: flex; gap: 8px; padding: 0 6px; }
.dot {
  position: relative; width: 44px; height: 24px; padding: 0; background: none; border: 0;
}
.dot::before, .dot span {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 1px; background: rgb(255 255 255 / .35);
}
.dot span { background: var(--white); transform: scaleX(0); transform-origin: left; }
.dot[aria-current="true"] span { animation: progress var(--dur, 7s) linear forwards; }
[data-paused="true"] .dot[aria-current="true"] span { animation-play-state: paused; }
.dot.done span { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--black); color: var(--white); border-top: 1px solid rgb(255 255 255 / .12); }
.marquee-track {
  display: flex; width: max-content; padding: 12px 0;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
}
.marquee-track li::after { content: ""; width: 6px; height: 6px; background: var(--white); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Vitrine ---------- */
.vitrine { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.tabs-wrap { padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.tabs-wrap::-webkit-scrollbar { display: none; }

.track-wrap { position: relative; margin-top: 32px; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * 16px) / 4);
  gap: 16px; padding: 0 var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -2px; }
.track-arrow {
  position: absolute; z-index: 2; top: calc(50% - 60px); background: var(--white); border-color: var(--grey-300) !important;
  box-shadow: 0 4px 16px rgb(0 0 0 / .08);
  transition: opacity .25s ease, transform .16s var(--ease-out), background-color .2s;
}
.track-arrow.prev { left: calc(var(--gutter) - 22px); }
.track-arrow.next { right: calc(var(--gutter) - 22px); }
.track-arrow:disabled { opacity: 0; pointer-events: none; }
.track-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px var(--gutter) 0; }
.track-progress { position: relative; flex: 1; max-width: 320px; height: 2px; background: var(--grey-100); overflow: hidden; }
.track-progress span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--black); transition: width .2s linear, transform .2s linear; }
.track-foot .link-btn { font-size: 0.875rem; }

/* Card */
.card { scroll-snap-align: start; min-width: 0; }
.card.swap-out { opacity: 0; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.card.swap-in { animation: card-in .5s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--grey-50); }
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform .8s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .card:hover .card-media img { transform: scale(1.05); } }

.quick {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1;
  padding: 10px; background: rgb(255 255 255 / .96); border-radius: 2px;
  transform: translateY(calc(100% + 12px)); transition: transform .35s var(--ease-out);
}
.quick p { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.quick-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.quick-sizes button {
  min-height: 36px; padding: 0; background: var(--white); border: 1px solid var(--grey-300); border-radius: 2px;
  font-size: 0.8125rem; font-weight: 700; transition: background-color .15s, color .15s, border-color .15s, transform .12s var(--ease-out);
}
.quick-sizes button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .quick, .card:focus-within .quick { transform: none; }
  .quick-sizes button:not(:disabled):hover { background: var(--black); color: var(--white); border-color: var(--black); }
}
.card.is-open .quick { transform: none; }
.quick-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: none;
  width: 40px; height: 40px; background: var(--white); border-radius: 50%; box-shadow: 0 2px 10px rgb(0 0 0 / .12);
}
.quick-toggle svg { transition: transform .3s var(--ease-out); }
.card.is-open .quick-toggle svg { transform: rotate(45deg); }
@media (hover: none), (pointer: coarse) {
  .quick-toggle { display: grid; }
  .card-swatches { right: auto; left: 10px; top: auto; bottom: 10px; }
  .quick {
    bottom: 56px; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: bottom right;
    transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .card.is-open .quick { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s; }
}

.card-body { padding-top: 14px; }
.card-name { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.card-meta { margin-top: 2px; font-size: 0.8125rem; color: var(--grey-600); }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.card-price s { font-size: 0.8125rem; color: var(--grey-600); }
.card-price strong { font-size: 1.0625rem; font-weight: 800; }
.card-price .is-sale { color: var(--sale); }
.card-install { margin-top: 2px; font-size: 0.8125rem; color: var(--grey-600); }
.card-pix { font-size: 0.8125rem; font-weight: 600; }

/* ---------- Brand banner (silk) ---------- */
.brand {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 86vh, 820px); display: grid; place-items: center; text-align: center;
  padding: 96px var(--gutter); color: var(--white);
  background: radial-gradient(120% 80% at 70% 20%, #3a46c4 0%, var(--brand) 30%, var(--brand-deep) 75%);
  touch-action: pan-y;
}
.silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s ease; }
.silk.ready { opacity: 1; }
.brand-inner { display: grid; justify-items: center; gap: 20px; max-width: 100%; }
.brand-kicker { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; }
.wordmark {
  display: flex; justify-content: center; font-size: 15.5vw; line-height: 0.9; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.03em; white-space: nowrap; user-select: none;
}
.wordmark span { display: inline-block; font-variation-settings: "wdth" 100, "wght" 900; }
.brand-text { max-width: 34rem; font-size: 1.0625rem; color: rgb(255 255 255 / .88); }
.brand-hint {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / .55);
}
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }

/* ---------- Editorial ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; background: var(--grey-50); }
.editorial-media { margin: 0; height: 100%; min-height: 520px; overflow: hidden; }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.editorial-copy { padding: clamp(48px, 7vw, 112px) var(--gutter); max-width: 620px; }
.editorial-copy h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); text-transform: uppercase; letter-spacing: -0.01em; font-variation-settings: "wdth" 108; line-height: 0.95; }
.editorial-copy > p { margin-top: 20px; color: #333; font-size: 1.0625rem; }
.perks { display: grid; gap: 20px; margin-top: 36px; }
.perks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.perks svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.perks strong { display: block; font-weight: 800; }
.perks span { font-size: 0.9375rem; color: var(--grey-600); }

/* ---------- Stores ---------- */
.stores { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.stores h2 { font-size: clamp(2rem, 4vw, 3.25rem); text-transform: uppercase; font-variation-settings: "wdth" 108; text-align: center; }
.store-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.store { display: grid; gap: 12px; align-content: start; padding: 32px; border: 1px solid var(--grey-100); }
.store h3 { font-size: 1.5rem; text-transform: uppercase; font-variation-settings: "wdth" 108; }
.store address { font-style: normal; }
.store p { color: var(--grey-600); }

/* ---------- Newsletter ---------- */
.news { background: var(--black); color: var(--white); padding: clamp(56px, 8vw, 96px) var(--gutter); }
.news-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.news h2 { font-size: clamp(1.75rem, 4vw, 3rem); text-transform: uppercase; font-variation-settings: "wdth" 110; }
.news-inner > p { margin-top: 12px; color: rgb(255 255 255 / .75); }
.news-form { display: flex; gap: 8px; margin: 28px auto 0; max-width: 560px; }
.news-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border: 1.5px solid rgb(255 255 255 / .35); border-radius: 2px;
  background: transparent; color: var(--white); font-size: 16px; transition: border-color .2s;
}
.news-form input::placeholder { color: rgb(255 255 255 / .55); }
.news-form input:focus-visible { outline: none; border-color: var(--white); }
.news-form .btn { min-height: 52px; }
.form-msg { min-height: 1.6em; margin-top: 12px; font-size: 0.9375rem; }
.form-msg.error { color: #FF8A99; }
.form-msg.ok { color: #9BE3B5; }
input[aria-invalid="true"] { border-color: var(--sale) !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey-50); padding: 64px var(--gutter) calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: var(--max); margin: 0 auto; }
.footer-cols h2 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-cols ul { display: grid; gap: 8px; }
.footer-cols a, .footer-cols .link-btn { text-decoration: none; padding: 0; font-size: 0.9375rem; color: #333; }
.footer-cols p { font-size: 0.9375rem; color: #333; }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover, .footer-cols .link-btn:hover { text-decoration: underline; text-underline-offset: 4px; } }
.footer-logo {
  margin: 56px 0 0 -0.04em; font-size: 11.6vw; line-height: 0.8; font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.03em; font-variation-settings: "wdth" 125; color: var(--grey-100); white-space: nowrap;
}
.footer-legal { margin-top: 24px; font-size: 0.8125rem; color: var(--grey-600); }

/* ---------- Sheets & modal ---------- */
dialog { padding: 0; border: 0; color: var(--black); background: var(--white); max-width: none; max-height: none; }
dialog::backdrop { background: rgb(0 0 0 / .45); }
.sheet { margin: 0; width: min(440px, 100vw); height: 100dvh; }
.sheet-right { margin-left: auto; }
.sheet-left { margin-right: auto; width: min(360px, 88vw); }
.sheet[open] { animation: sheet-in-right .5s var(--ease-drawer); }
.sheet-left[open] { animation-name: sheet-in-left; }
.sheet.closing { animation: sheet-out-right .28s var(--ease-in-out) forwards; }
.sheet-left.closing { animation-name: sheet-out-left; }
dialog[open]::backdrop { animation: fade-in .3s ease; }
dialog.closing::backdrop { animation: fade-out .28s ease forwards; }
@keyframes sheet-in-right { from { transform: translateX(100%); } }
@keyframes sheet-out-right { to { transform: translateX(100%); } }
@keyframes sheet-in-left { from { transform: translateX(-100%); } }
@keyframes sheet-out-left { to { transform: translateX(-100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.sheet-inner { display: flex; flex-direction: column; height: 100%; padding: 20px 24px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--grey-100); }
.sheet-head h2 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.sheet-head .logo { font-size: 1.25rem; }
.menu-list { margin-top: 8px; }
.menu-list a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--grey-100);
  font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; font-variation-settings: "wdth" 110;
}
.sheet-left[open] .menu-list li { animation: menu-item .5s var(--ease-out) both; animation-delay: calc(80ms + var(--i) * 40ms); }
@keyframes menu-item { from { opacity: 0; transform: translateX(-16px); } }

.shipping { margin-top: 16px; padding: 14px 16px; background: var(--grey-50); font-size: 0.9375rem; }
.shipping-bar { margin-top: 10px; height: 4px; background: var(--grey-100); overflow: hidden; }
.shipping-bar span { display: block; height: 100%; width: 0; background: var(--ok); transition: width .6s var(--ease-out); }
.bag-items { flex: 1; overflow-y: auto; overscroll-behavior: contain; margin-top: 8px; }
.bag-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--grey-100); }
.bag-item.added { animation: bag-added .9s var(--ease-out); }
@keyframes bag-added { from { background: var(--grey-50); } }
.bag-item img { width: 80px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; background: var(--grey-50); }
.bag-item h3 { font-size: 0.9375rem; font-weight: 700; }
.bag-meta { font-size: 0.8125rem; color: var(--grey-600); }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--grey-300); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 1.125rem; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .qty button:hover { background: var(--grey-50); } }
.qty output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.bag-price { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.remove { display: block; margin: 8px 0 0 auto; font-size: 0.8125rem; color: var(--grey-600); }
.bag-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 20px; color: var(--grey-600); }
.sheet-foot { padding-top: 16px; border-top: 1px solid var(--grey-100); }
.totals { margin: 0 0 16px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--grey-600); }
.totals dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }

.modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal[open] { animation: modal-in .35s var(--ease-out); }
.modal.closing { animation: modal-out .2s ease forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: scale(.97); } }
.size-form { display: grid; gap: 18px; padding: 24px; }
.size-form > p { color: var(--grey-600); font-size: 0.9375rem; }
.size-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--grey-300); border-radius: 2px; font-size: 16px; }
.field input:focus-visible { outline: none; border-color: var(--black); }
.size-result { min-height: 1.6em; }
.size-result strong { font-size: 1.5rem; }
.size-result.error { color: var(--sale); }
.size-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.size-table th, .size-table td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--grey-100); }
.size-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey-600); }
.size-table tr.match td { font-weight: 800; background: var(--grey-50); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: calc(100vw - 32px); padding: 14px 22px; background: var(--black); color: var(--white);
  font-size: 0.9375rem; font-weight: 600;
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Card links ---------- */
.card-link { position: absolute; inset: 0; z-index: 0; }
.card-rating, .card-badges, .card-swatches { z-index: 1; pointer-events: none; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ""; } /* name stays the keyboard entry point; image link is mouse-only */
@media (hover: hover) and (pointer: fine) { .card-name a:hover { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- WhatsApp ---------- */
.btn-wa { background: #25D366; color: #06371C; }
.btn-wa-outline { background: var(--white); color: #0B6B34; border-color: #25D366; }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--black); }
.wa-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-wa:hover { background: #1EBE5A; }
  .btn-wa-outline:hover { background: #EAFBF1; }
  .btn-outline:hover { background: var(--black); color: var(--white); }
}
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 25;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); box-shadow: 0 6px 20px rgb(0 0 0 / .2);
  transition: transform .2s var(--ease-out);
  animation: wa-in .6s var(--ease-out) 1.2s both;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); } }
@keyframes wa-in { from { opacity: 0; transform: scale(.6); } }

.muted { color: var(--grey-600); }
.dot-color { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25); }

/* ---------- Checkout (inside bag) ---------- */
.sheet-inner { overflow-y: auto; overscroll-behavior: contain; }
.bag-items { flex: none; overflow: visible; }
.checkout { display: grid; gap: 12px; min-width: 0; }
.checkout .btn, .bag-sent .btn, .pdp-form .btn { white-space: normal; text-align: center; letter-spacing: 0.05em; line-height: 1.2; padding-top: 12px; padding-bottom: 12px; }
.checkout .field label, .co-row label { margin-bottom: 4px; }
.checkout input, .checkout select, .checkout textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--grey-300); border-radius: 2px;
  background: var(--white); font-size: 16px; font-family: inherit;
}
.checkout textarea { resize: vertical; min-height: 64px; }
.checkout :is(input, select, textarea):focus-visible { outline: none; border-color: var(--black); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--grey-600); }
.checkout .form-msg { min-height: 0; margin: 0; color: var(--sale); font-size: 0.875rem; }
.checkout .form-msg:empty { display: none; }
.co-note { font-size: 0.8125rem; color: var(--grey-600); text-align: center; }
.bag-sent { display: grid; gap: 14px; padding: 24px 0; justify-items: center; text-align: center; }
.bag-sent h3 { font-size: 1.375rem; text-transform: uppercase; font-variation-settings: "wdth" 108; }
.bag-sent > p { color: #333; }
.bag-sent .link-btn { font-size: 0.9375rem; }
.bag-item h3 a { text-decoration: none; }

/* ---------- Product page ---------- */
.pdp, .order-view { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 80px; }
.pdp:focus, .order-view:focus { outline: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8125rem; color: var(--grey-600); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs [aria-current] { color: var(--black); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--black); text-decoration: underline; } }

.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 20px; align-items: start; }

.buybox { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.pdp-rating { justify-self: start; padding: 4px 0; background: none; border: 0; font-size: 0.875rem; font-weight: 700; }
.pdp-rating > span:first-child { letter-spacing: 1px; }
@media (hover: hover) and (pointer: fine) { .pdp-rating:hover .muted { text-decoration: underline; } }
.buybox h1 { margin-top: 4px; font-size: clamp(1.75rem, 3vw, 2.5rem); text-transform: uppercase; letter-spacing: -0.01em; font-variation-settings: "wdth" 106; }
.buybox h1:focus { outline: none; }
.pdp-material { color: var(--grey-600); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; font-variant-numeric: tabular-nums; }
.pdp-price s { color: var(--grey-600); }
.pdp-price strong { font-size: 1.75rem; font-weight: 800; }
.pdp-price .is-sale { color: var(--sale); }
.pdp-install { font-size: 0.9375rem; color: #333; }

.pdp-form { display: grid; gap: 18px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--grey-100); }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend, .qty-row > span { padding: 0; margin-bottom: 10px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.opt legend strong { text-transform: none; letter-spacing: 0; font-weight: 600; }
.opt-note { margin-top: 8px; font-size: 0.8125rem; color: var(--grey-600); }
.opt-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.opt-foot .link-btn { font-size: 0.875rem; margin-left: auto; }
.field-msg { font-size: 0.875rem; color: var(--sale); font-weight: 600; }
.qty-row { display: flex; align-items: center; justify-content: space-between; }
.qty-row > span { margin: 0; }
.qty-row .qty { margin: 0; }
.pdp-form .btn + .btn { margin-top: -8px; }

.pdp-perks { display: grid; gap: 8px; margin-top: 22px; padding: 16px; background: var(--grey-50); font-size: 0.875rem; font-weight: 600; }
.pdp-perks li { display: flex; align-items: center; gap: 10px; }
.pdp-perks li::before { content: ""; width: 6px; height: 6px; background: var(--black); transform: rotate(45deg); }

.accordions { margin-top: 18px; border-top: 1px solid var(--grey-100); }
.accordions details { border-bottom: 1px solid var(--grey-100); interpolate-size: allow-keywords; }
.accordions summary {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; transition: transform .3s var(--ease-out); }
.accordions details[open] summary::after { transform: rotate(45deg); }
.accordions details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
.accordions details[open]::details-content { height: auto; }
.acc-body { display: grid; gap: 8px; padding-bottom: 16px; color: #333; font-size: 0.9375rem; }


.related { margin-top: clamp(56px, 8vw, 96px); }
.related h2 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; font-variation-settings: "wdth" 72; line-height: .9; }
.related .related-track { margin: 24px calc(-1 * var(--gutter)) 0; }

/* ---------- Order catalog page ---------- */
.order-wrap { max-width: 860px; margin: 0 auto; }
.order-head { padding: 24px 0 28px; border-bottom: 2px solid var(--black); }
.order-kicker { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.order-head h1 { margin: 8px 0 10px; font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; font-variation-settings: "wdth" 106; }
.order-head h1:focus { outline: none; }
.order-list { margin-top: 8px; }
.order-item { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(16px, 3vw, 32px); padding: 24px 0; border-bottom: 1px solid var(--grey-100); }
.order-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--grey-50); }
.order-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.order-info { display: grid; align-content: start; gap: 4px; }
.order-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 0.8125rem; font-weight: 800; }
.order-info h2 { margin-top: 6px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); text-transform: uppercase; font-variation-settings: "wdth" 106; }
.order-info h2 a { text-decoration: none; }
.order-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 16px 0 0; }
.order-specs dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey-600); }
.order-specs dd { margin: 2px 0 0; font-weight: 600; }
.order-specs s { color: var(--grey-600); font-weight: 400; margin-left: 4px; }
.order-line { margin-top: 14px; font-size: 1.375rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.order-totals { margin-top: 24px; font-size: 1.125rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- StyleFlow components: tabs, cards, gallery, pickers, reviews ---------- */
.tabs {
  position: relative; display: inline-flex; gap: 2px; padding: 5px; margin: 0 auto;
  background: var(--grey-50); border: 1px solid var(--grey-100); border-radius: 999px;
}
.tabs-wrap { display: flex; justify-content: center; }
.tabs [role="tab"] {
  position: relative; z-index: 1; padding: 11px 22px; background: none; border: 0; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.02em; font-variation-settings: "wdth" 108;
  color: var(--grey-600); white-space: nowrap; transition: color .3s ease;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--white); }
@media (hover: hover) and (pointer: fine) { .tabs [role="tab"]:not([aria-selected="true"]):hover { color: var(--black); } }
.tab-indicator {
  position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--brand);
  box-shadow: 0 4px 14px rgb(43 53 168 / .3);
  transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}

.card-badges { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badge {
  padding: 5px 11px; border-radius: 999px; background: var(--brand); color: var(--white);
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.03em; font-variation-settings: "wdth" 110;
}
.badge.sale { background: var(--sale); }
.badge.new { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 1px var(--black); }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-rating { flex: none; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card-colors { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 0.75rem; font-weight: 700; color: var(--grey-600); }
.card-colors i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }

/* Gallery: thumbnails on the side, swipeable stage */
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: start; }
.g-thumbs { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.g-thumb {
  position: relative; padding: 0; border: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--grey-50);
  border-radius: 10px; opacity: .55; transition: opacity .25s ease, transform .2s var(--ease-out);
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(var(--s, 1)); }
.g-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brand); }
.g-thumb:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .g-thumb:hover { opacity: 1; } }
.g-stage {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  border-radius: 18px; background: var(--grey-50);
}
.g-stage::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transform: scale(var(--s, 1)); transition: transform .5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .g-item { cursor: zoom-in; }
  .g-item.zooming img { transform: scale(calc(var(--s, 1) * 1.9)); transition-duration: .25s; }
}
.g-progress { display: none; }

/* Price + Pix */
.pix-chip {
  justify-self: start; margin-top: 8px; padding: 8px 14px; border-radius: 999px;
  background: #EEF0FB; color: var(--brand); font-size: 0.875rem;
}
.pix-chip strong { font-weight: 800; }

/* Color: fabric samples */
.pdp-swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.pdp-swatches input, .pdp-sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pdp-swatches label { display: grid; justify-items: center; gap: 6px; width: 64px; cursor: pointer; }
.chip {
  width: 56px; height: 56px; border-radius: 12px; background-color: var(--c);
  background-image:
    repeating-linear-gradient(45deg, rgb(255 255 255 / .09) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / .07) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15);
  transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.chip-name { font-size: 0.75rem; color: var(--grey-600); text-align: center; line-height: 1.2; }
.pdp-swatches label:active .chip { transform: scale(.93); }
.pdp-swatches input:checked + label .chip { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15), 0 0 0 3px var(--white), 0 0 0 5px var(--brand); transform: translateY(-2px); }
.pdp-swatches input:checked + label .chip-name { color: var(--black); font-weight: 700; }
.pdp-swatches input:focus-visible + label .chip { outline: 2px solid var(--brand); outline-offset: 6px; }

/* Size: one segmented bar */
.pdp-sizes {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 4px; gap: 4px;
  border-radius: 14px; background: var(--grey-50); border: 1px solid var(--grey-100);
}
.pdp-sizes label {
  display: grid; place-items: center; height: 46px; border-radius: 10px; cursor: pointer;
  font-weight: 800; font-size: 0.9375rem; font-variation-settings: "wdth" 110;
  transition: background-color .2s, color .2s, transform .12s var(--ease-out), box-shadow .2s;
}
.pdp-sizes label:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .pdp-sizes label:hover { background: var(--white); } }
.pdp-sizes input:checked + label { background: var(--brand); color: var(--white); box-shadow: 0 4px 12px rgb(43 53 168 / .3); }
.pdp-sizes input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Sold-out size: struck through, cannot be chosen */
.pdp-sizes input:disabled + label, .quick-sizes button:disabled {
  color: var(--grey-600); text-decoration: line-through; cursor: not-allowed; background: transparent; transform: none;
}
.gone { display: grid; justify-items: start; gap: 24px; padding: clamp(32px, 6vw, 72px) 0 0; }
.gone h1 { font-size: clamp(1.75rem, 4vw, 3rem); text-transform: uppercase; font-variation-settings: "wdth" 80; }
.gone h1:focus { outline: none; }
.size-hint { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.8125rem; color: #333; }
.size-hint strong { color: var(--brand); }
.tape-icon {
  flex: none; width: 26px; height: 10px; border-radius: 2px; background-color: #F2C94C;
  background-image: repeating-linear-gradient(90deg, rgb(0 0 0 / .55) 0 1px, transparent 1px 4px);
  background-size: 100% 50%; background-repeat: no-repeat;
}

/* Perks: stitched label */
.pdp-perks {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; padding: 16px;
  border: 1.5px dashed var(--grey-300); border-radius: 14px; background: none; font-size: 0.8125rem; font-weight: 600;
}
.pdp-perks li { display: grid; justify-items: center; gap: 6px; text-align: center; line-height: 1.3; }
.pdp-perks li::before { content: none; }
.pdp-perks svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Accordions */
.accordions { border-top: 0; display: grid; gap: 8px; }
.accordions details { border: 1px solid var(--grey-100); border-radius: 12px; padding: 0 16px; transition: background-color .25s; }
.accordions details[open] { background: var(--grey-50); }
.accordions summary { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.accordions summary::after {
  content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px var(--grey-300);
}
.accordions details[open] summary::after { transform: rotate(180deg); }

/* Reviews */
.reviews { margin-top: clamp(56px, 8vw, 104px); }
.rev-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; }
.rev-head h2 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; font-variation-settings: "wdth" 72; line-height: .9; }
.rev-board { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-top: 28px; }
.rev-board > div { padding: 24px; border-radius: 20px; background: var(--grey-50); }
.rev-board > .rev-score { background: var(--brand); color: var(--white); display: grid; align-content: start; gap: 4px; }
.rev-big { font-size: clamp(4rem, 8vw, 5.5rem); font-weight: 900; line-height: .9; font-variation-settings: "wdth" 70; }
.rev-stars-row { font-size: 1.125rem; letter-spacing: 3px; color: #FFD66B; }
.rev-ring { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.rev-ring svg { width: 56px; height: 56px; flex: none; transform: rotate(-90deg); }
.rev-ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: rgb(255 255 255 / .2); }
.ring-fg { stroke: var(--white); stroke-linecap: round; stroke-dasharray: var(--dash); stroke-dashoffset: var(--off); }
.rev-ring p { font-size: 0.875rem; line-height: 1.3; }
.rev-ring strong { display: block; font-size: 1.25rem; }
.mini { margin-bottom: 14px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-600); }

.hist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; height: 150px; }
.hist-col { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 6px; min-height: 0; }
.hist-pct { font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hist-bar { position: relative; width: 100%; max-width: 34px; border-radius: 8px; background: var(--grey-100); overflow: hidden; }
.hist-bar b { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 8px; background: var(--black); transform-origin: bottom; }
.hist-label { font-size: 0.75rem; font-weight: 700; }
.js .rev-hist[data-reveal], .js .rev-tape[data-reveal] { opacity: 1; transform: none; }
.js .rev-hist[data-reveal] .hist-bar b { transform: scaleY(0); transition: transform 1s var(--ease-out); }
.js .rev-hist[data-reveal].in .hist-bar b { transform: none; }
.js .rev-hist[data-reveal].in .hist-col:nth-child(2) b { transition-delay: .08s; }

.tape {
  position: relative; height: 36px; margin-top: 30px; border-radius: 4px;
  background-color: #F2C94C;
  background-image:
    repeating-linear-gradient(90deg, rgb(0 0 0 / .6) 0 1px, transparent 1px 10%),
    repeating-linear-gradient(90deg, rgb(0 0 0 / .35) 0 1px, transparent 1px 2%);
  background-size: 100% 60%, 100% 30%; background-repeat: no-repeat;
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / .08);
}
.tape-pin {
  position: absolute; left: var(--x); bottom: 100%; transform: translate(-50%, -6px);
  padding: 4px 10px; border-radius: 999px; background: var(--brand); color: var(--white);
  font-size: 0.75rem; font-weight: 800; white-space: nowrap;
}
.tape-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 42px; margin-left: -1px; background: var(--brand); }
.js .rev-tape[data-reveal] .tape-pin { left: 0; transition: left 1.2s var(--ease-out) .1s; }
.js .rev-tape[data-reveal].in .tape-pin { left: var(--x); }
.tape-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: var(--grey-600); }
.tape-stats { display: flex; gap: 16px; margin-top: 16px; font-size: 0.8125rem; color: #333; }
.tape-stats strong { display: block; font-size: 1.125rem; color: var(--black); }

.rev-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.rev-filter button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--grey-300); background: var(--white); font-size: 0.875rem; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s var(--ease-out);
}
.rev-filter button span { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--grey-100); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.rev-filter button:active { transform: scale(.96); }
.rev-filter button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.rev-filter button[aria-pressed="true"] span { background: rgb(255 255 255 / .2); }

.rev-list { columns: 3 260px; column-gap: 16px; margin-top: 16px; }
.rev-card {
  break-inside: avoid; margin-bottom: 16px; padding: 24px; border-radius: 20px; background: var(--white);
  border: 1px solid var(--grey-100); display: grid; gap: 10px;
  animation: card-in .4s var(--ease-out) both;
}
.rev-card[hidden] { display: none; }
.rev-card-stars { color: var(--brand); letter-spacing: 2px; }
.rev-card-stars span { color: var(--grey-300); }
.rev-card h3 { font-size: 1.125rem; }
.rev-text { position: relative; padding-left: 18px; color: #333; font-size: 0.9375rem; }
.rev-text::before { content: "\201C"; position: absolute; left: -2px; top: -8px; font-size: 2.25rem; font-weight: 900; color: var(--brand); line-height: 1; }
.rev-card footer { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: center; margin-top: 6px; padding-top: 14px; border-top: 1.5px dashed var(--grey-100); }
.monogram { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); font-size: 0.8125rem; font-weight: 800; grid-row: span 2; }
.rev-card footer div { display: grid; font-size: 0.875rem; line-height: 1.3; }
.rev-card footer .muted { font-size: 0.8125rem; }
.rev-fit-tag { justify-self: start; padding: 3px 10px; border: 1px dashed var(--grey-300); border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.rev-date { font-size: 0.75rem; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: minmax(0, 1fr); margin: 0 calc(-1 * var(--gutter)); gap: 0; }
  .g-thumbs { display: none; }
  .g-stage { border-radius: 0; }
  .g-progress { display: flex; gap: 6px; justify-content: center; padding: 12px 0 0; }
  .g-progress i { width: 22px; height: 3px; border-radius: 2px; background: var(--grey-300); transition: width .3s var(--ease-out), background-color .3s; }
  .g-progress i.on { width: 40px; background: var(--brand); }
  .rev-board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tabs-wrap { justify-content: flex-start; }
  .tabs [role="tab"] { padding: 10px 16px; font-size: 0.875rem; }
  .pdp-perks { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pdp-perks li { grid-template-columns: 24px 1fr; justify-items: start; text-align: left; align-items: center; gap: 10px; }
  .chip { width: 50px; height: 50px; }
  .pdp-swatches label { width: 58px; }
}

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 0 12% 0); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal="clip"] img { transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.js [data-reveal="clip"].in { clip-path: inset(0); }
.js [data-reveal="clip"].in img { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 2 * 16px) / 2.6); }
  .main-nav ul { gap: 18px; }
  .header-link { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .buybox { position: static; }
  .site-header { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .menu-btn { display: grid; margin-left: -10px; }
  .logo { justify-self: center; font-size: 1.25rem; }
  .main-nav { display: none; }
  .header-actions { margin-right: -10px; }
  .editorial { grid-template-columns: minmax(0, 1fr); }
  .editorial-media { min-height: 0; aspect-ratio: 4 / 3; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-arrow { display: none; }
}
@media (max-width: 640px) {
  .announce { gap: 10px; font-size: 0.75rem; }
  .hero { height: clamp(560px, calc(100svh - var(--header-h) - 38px), 760px); }
  .slide img { object-position: var(--pos-m, var(--pos)); }
  .slide::after { background: linear-gradient(0deg, rgb(0 0 0 / .75) 0%, rgb(0 0 0 / .25) 50%, transparent 75%); }
  .slide-copy { bottom: 96px; }
  .slide-text { font-size: 1rem; }
  .hero-controls { left: var(--gutter); right: auto; bottom: 24px; }
  .hero-controls [data-hero-prev], .hero-controls [data-hero-next] { display: none; }
  .track { grid-auto-columns: 72%; gap: 12px; }
  .tabs { justify-content: flex-start; }
  .store-list { grid-template-columns: minmax(0, 1fr); }
  .store { padding: 24px; }
  .news-form { flex-direction: column; }
  .size-fields { grid-template-columns: 1fr; }
  .wordmark { font-size: 16vw; }
  .co-row { grid-template-columns: 1fr; }
  .order-item { grid-template-columns: 110px 1fr; }
  .order-specs { grid-template-columns: 1fr 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .announce-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee { overflow-x: auto; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
}
