/* Vestium storefront
   Brand: the logo's heavy black wordmark and hanger on a violet → rose → amber gradient.
   The site is mostly ink on white; the gradient appears only on banners, the announcement
   bar and small accents, so it stays special. */

:root {
  --ink: #161515;
  --ink-2: #2c2a29;
  --white: #ffffff;
  --canvas: #f6f5f3;
  --stone: #ecebe8;
  --line: #e2dfdb;
  --muted: #6b6663;
  --soft: #9a9490;
  --violet: #8c52ff;
  --rose: #c571a6;
  --amber: #ff914e;
  --grad: linear-gradient(100deg, #8c52ff 0%, #c571a6 50%, #ff914e 100%);
  --sale: #b42318;
  --ok: #1d7a4b;
  --warn: #a35f00;

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: max(16px, min(4vw, 48px), env(safe-area-inset-left, 0px));
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --shadow: 0 30px 60px -30px rgba(22, 21, 21, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 15.5px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
::selection { background: #e7dcff; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- type ---------- */
.h-hero, .h-display {
  font-family: var(--f-display); font-weight: 850; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: -.012em; line-height: .95;
}
.h-hero { font-size: clamp(36px, 5.6vw, 76px); }
.h-display { font-size: clamp(26px, 3.2vw, 44px); }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.lede { color: var(--muted); font-size: 17px; max-width: 58ch; margin-top: 14px; }
.fine { font-size: 13px; color: var(--muted); }
.link-arrow { font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--b); border-radius: var(--radius);
  font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), transform .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { color: var(--ink); border-color: transparent; }
.btn--light { --b: #fff; background: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--quiet { border-color: transparent; background: transparent; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.btn--quiet:hover { color: var(--ink); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--lg { min-height: 60px; font-size: 15px; justify-content: space-between; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn.is-done { background: var(--ok); border-color: var(--ok); color: #fff; }

.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; background: transparent;
  border-radius: 50%; color: inherit; position: relative; transition: background .2s;
}
.icon-btn:hover { background: rgba(22, 21, 21, .06); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn--line { border: 1px solid var(--line); }
.icon-btn--glass { background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); color: var(--ink); }
.icon-btn--glass:hover { background: #fff; }

/* ---------- announcement ---------- */
.announce { background: var(--grad); color: var(--ink); overflow: hidden; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; }
.announce__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.announce__group { display: flex; align-items: center; gap: 28px; padding: 9px 14px; white-space: nowrap; }
.announce__group i { font-style: normal; opacity: .6; font-size: 10px; }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
  padding-top: env(safe-area-inset-top, 0px);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .35); }
.header__inner {
  height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
}
.header__menu { display: none; }
.header__nav { display: flex; gap: 26px; font-size: 13.5px; font-weight: 500; letter-spacing: .03em; }
.header__nav a { text-decoration: none; position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.header__nav a:hover::after { transform: none; }
.is-sale { color: var(--sale); }
.header__logo img { height: 24px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 21px; }
.header__tools { display: flex; justify-content: flex-end; gap: 2px; }
.bag-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
}
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); background: var(--violet); } }

/* ---------- menu, search, drawer overlays ---------- */
.menu, .search, .drawer { position: fixed; inset: 0; z-index: 60; background: rgba(22, 21, 21, 0); transition: background .35s; }
.menu.is-open, .search.is-open, .drawer.is-open { background: rgba(22, 21, 21, .42); }
.menu__panel {
  position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-100%); transition: transform .45s var(--ease);
}
.menu.is-open .menu__panel { transform: none; }
.menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.menu__head img { height: 20px; width: auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 28px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu__foot { margin-top: auto; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.menu__foot a { text-decoration: none; }

.search__panel {
  position: absolute; inset: 0 0 auto 0; background: #fff; display: flex; align-items: center; gap: 12px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px; transform: translateY(-100%); transition: transform .4s var(--ease);
}
.search.is-open .search__panel { transform: none; }
.search__panel > svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; flex: none; }
.search__panel input { flex: 1; border: 0; outline: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 3vw, 32px); text-transform: uppercase; padding: 10px 0; min-width: 0; background: transparent; }

.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(460px, 100vw); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease); padding-top: env(safe-area-inset-top, 0px);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 20px; font-stretch: 110%; }
.drawer__head h2 span { color: var(--muted); font-weight: 500; font-family: var(--f-body); font-size: 14px; text-transform: none; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ship-meter { padding: 14px 24px; background: var(--canvas); font-size: 13.5px; }
.ship-meter__bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .8s var(--ease); }

.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line__img { aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; text-decoration: none; display: block; line-height: 1.35; }
.line__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line__problem { font-size: 12.5px; color: var(--sale); font-weight: 600; margin-top: 4px; }
.line__row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line__price { font-weight: 600; text-align: right; white-space: nowrap; }
.line__remove { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 38px; }
.qty button { width: 36px; height: 100%; border: 0; background: none; font-size: 17px; }
.qty input, .qty span { width: 34px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .qty { height: 52px; }
.bag-empty { padding: 48px 0; text-align: center; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.bag-empty img { width: 120px; opacity: .2; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 4px 0; }
.sum-row--total { font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }

/* ---------- hero slider & banners ---------- */
.hero { position: relative; }
.hero__slides { position: relative; height: clamp(540px, 80svh, 860px); overflow: hidden; background: var(--ink); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); z-index: 1; }
.hero__slide .banner { height: 100%; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 5; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 56px; height: 24px; border: 0; background: none; padding: 0; display: grid; align-items: center; }
.hero__dots i { display: block; height: 2px; background: rgba(255, 255, 255, .4); position: relative; overflow: hidden; }
.hero__dots i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-selected="true"] i::after { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots [aria-selected="true"] i::after { animation-play-state: paused; }
.hero[data-tone="ink"] .hero__dots i { background: rgba(22, 21, 21, .25); }
.hero[data-tone="ink"] .hero__dots i::after { background: var(--ink); }
@keyframes fill { to { transform: none; } }
.hero__arrows { display: flex; gap: 8px; }

.banner { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 520px; color: #fff; isolation: isolate; }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .banner__media img { animation: kenburns 10s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.banner__content { position: relative; padding-block: 72px 110px; display: grid; gap: 22px; justify-items: start; }
.banner--center .banner__content { justify-items: center; text-align: center; }
.banner__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.banner__eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.banner__title {
  font-family: var(--f-display); font-weight: 900; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(46px, 8vw, 132px); line-height: .96; letter-spacing: -.025em; max-width: 11ch;
}
.banner__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.banner__title .w > span { display: inline-block; }
.hero__slide.is-active .banner__title .w > span { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
.hero__slide.is-active .banner__eyebrow, .hero__slide.is-active .banner__sub, .hero__slide.is-active .banner__cta { animation: fadeup .9s var(--ease) both; animation-delay: .55s; }
.hero__slide.is-active .banner__sub { animation-delay: .7s; }
.hero__slide.is-active .banner__cta { animation-delay: .85s; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } }
.banner__sub { font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; opacity: .9; }

/* gradient banner = the logo itself: ink type on the brand gradient, gently moving */
.banner--gradient { background: var(--grad); color: var(--ink); }
.banner__mesh { position: absolute; inset: -20%; z-index: -1; filter: blur(70px); }
.banner__mesh i { position: absolute; border-radius: 50%; mix-blend-mode: soft-light; opacity: .9; }
.banner__mesh i:nth-child(1) { width: 55%; height: 70%; left: -5%; top: 5%; background: #6b2cff; animation: drift1 16s ease-in-out infinite alternate; }
.banner__mesh i:nth-child(2) { width: 50%; height: 60%; right: 0; top: 25%; background: #ffb36b; animation: drift2 19s ease-in-out infinite alternate; }
.banner__mesh i:nth-child(3) { width: 40%; height: 50%; left: 35%; bottom: -5%; background: #ff6fae; animation: drift3 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18%, 12%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22%, -10%) scale(.9); } }
@keyframes drift3 { to { transform: translate(-15%, -25%) scale(1.2); } }
.banner__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.banner--gradient .banner__eyebrow::before { background: var(--ink); }
.banner--ink { background: var(--ink); }
.banner--image-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 13, 13, .82) 0%, rgba(14, 13, 13, .45) 45%, rgba(14, 13, 13, 0) 75%); }
.banner--image-light { color: var(--ink); }
.banner--image-light::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246, 245, 243, .92) 0%, rgba(246, 245, 243, .55) 45%, rgba(246, 245, 243, 0) 75%); }
.banner--image-light .banner__eyebrow, .banner--gradient .banner__eyebrow { color: var(--ink); }
.banner--image-dark .banner__title, .banner--ink .banner__title { text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.banner--center.banner--image-dark::after { background: rgba(14, 13, 13, .45); }

.feature { padding-block: 0; }
.feature .banner { min-height: clamp(420px, 56vw, 640px); }
.feature .banner__title { font-size: clamp(40px, 6vw, 96px); }
.feature .banner__media img { transition: transform 1.6s var(--ease); }
.feature:hover .banner__media img { transform: scale(1.03); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-top: 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); flex-wrap: wrap; }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-nav .link-arrow { margin-right: 12px; }

.cats { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); text-decoration: none; max-width: 100%; }
.cat__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover .cat__img { transform: scale(1.06); }
.cat__label {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center;
  background: #fff; padding: 14px 18px; font-family: var(--f-display); font-weight: 850; font-stretch: 110%; text-transform: uppercase; font-size: 20px;
}
.cat__label svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.cat:hover .cat__label svg { transform: translateX(6px); }
.cat__label::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.cat:hover .cat__label::before { transform: none; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 23vw, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1488px) { .rail { padding-inline: calc((100vw - 1440px) / 2 + var(--gutter)); } }

/* ---------- product card ---------- */
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); max-width: 100%; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card__img--alt { opacity: 0; }
@media (hover: hover) {
  .card__media:hover .card__img { transform: scale(1.045); }
  .card__media:hover .card__img--alt { opacity: 1; }
  .card__media:hover .card__sizes { transform: none; opacity: 1; }
}
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; line-height: 1; }
.badge--sale { background: var(--ink); color: #fff; }
.badge--low { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(22, 21, 21, .35); background: rgba(255, 255, 255, .7); }
.badge--muted { background: rgba(255, 255, 255, .85); color: var(--muted); }
.card__sizes {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; gap: 4px; flex-wrap: wrap; justify-content: center;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); padding: 9px; transform: translateY(12px); opacity: 0; transition: .4s var(--ease);
}
.card__sizes i { font-style: normal; font-size: 12px; font-weight: 600; min-width: 28px; text-align: center; }
.card__body { display: grid; gap: 4px; }
.card__name { font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 1.3; }
.card__name a { text-decoration: none; }
.card__price { font-size: 14.5px; display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.card__price s, .buy__price s { color: var(--soft); font-size: .9em; }
.card__price .is-sale, .buy__price .is-sale { color: var(--sale); font-weight: 600; }
.card__colors { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.card__colors-n { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); display: inline-block; flex: none; }
.ph-empty { position: absolute; inset: 0; display: grid; place-items: center; background: var(--stone); }
.ph-empty img { width: 40%; opacity: .14; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; margin-block: clamp(40px, 6vw, 80px); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track > div { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font-family: var(--f-display); font-weight: 900; font-stretch: 115%; text-transform: uppercase; font-size: clamp(34px, 5vw, 72px); line-height: 1; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); flex: none; }

/* ---------- story ---------- */
.story { background: var(--canvas); padding-block: clamp(64px, 9vw, 128px); }
.story__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__mark { display: grid; place-items: center; aspect-ratio: 1; background: var(--grad); max-width: 100%; }
.story__mark img { width: 62%; }
.story__text { display: grid; gap: 20px; justify-items: start; }
.story__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 54ch; }

/* ---------- assurance + footer ---------- */
.assurance { border-top: 1px solid var(--line); padding-block: 36px; }
.assurance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.assurance__grid > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: start; }
.assurance svg { grid-row: span 2; width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.assurance strong { font-size: 14.5px; }
.assurance span { font-size: 13px; color: var(--muted); }

.footer { background: var(--ink); color: #d9d6d3; padding-block: 64px calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { width: min(220px, 70%); height: auto; }
.footer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer a { text-decoration: none; color: inherit; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 16px; margin-top: 8px; }
.footer__base { margin-top: 56px; padding-top: 20px; border-top: 1px solid #333; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #9a9592; }

.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; background: #1fae5b; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; }
.wa-float .fill { fill: #fff; stroke: none; }

/* ---------- listing ---------- */
.listing-head { padding-block: clamp(32px, 5vw, 64px) 8px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs--pdp { padding-top: 22px; margin-bottom: 18px; }
.filters { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); margin-inline: calc(var(--gutter) * -1); padding: 16px var(--gutter); margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters__row { display: flex; gap: 28px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
.filter-group__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chip { position: relative; }   /* keeps the hidden radio inside the scrolling chip row, so it can't widen the page */
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 17px; font-size: 13.5px; white-space: nowrap; cursor: pointer; transition: .2s; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.filters__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.count { font-size: 14px; color: var(--muted); }
.count strong { color: var(--ink); }
.select select { appearance: none; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161515' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 9px 40px 9px 14px; border-radius: var(--radius); font-size: 14px; }
.listing { padding-bottom: clamp(56px, 8vw, 112px); }

.empty-state { text-align: center; display: grid; gap: 16px; justify-items: center; padding-block: 64px; }
/* coming-soon collections */
.soon .h-display { margin: 0; }
.soon__msg { font-size: 17px; color: var(--muted); max-width: 32ch; }
.soon__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.soon-tag { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; line-height: 1.4; }
.menu__nav .soon-tag { font-family: var(--f-body); font-size: 10px; vertical-align: 6px; }
.footer .soon-tag { background: rgba(255, 255, 255, .14); }
.cat__soon { position: absolute; top: 14px; left: 14px; z-index: 2; }
.empty-state img { width: 140px; opacity: .18; }
.empty-state p { color: var(--muted); max-width: 44ch; }
.empty-state--page { min-height: 50vh; align-content: center; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); padding-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0; }
.gallery__thumbs { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 10px; }
.gallery__thumb { padding: 0; border: 1px solid transparent; background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; opacity: .6; transition: .25s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--ink); }
.gallery__main { display: grid; gap: 12px; min-width: 0; }
.gallery__slide { margin: 0; aspect-ratio: 4 / 5; background: var(--stone); position: relative; overflow: hidden; max-width: 100%; }
.zoom { width: 100%; height: 100%; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.zoom.is-zoomed img { transform: scale(1.9); transition-duration: .3s; }
.gallery__dots { display: none; }

.buy__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.buy__name { font-family: var(--f-display); font-weight: 850; font-stretch: 108%; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); line-height: .98; letter-spacing: -.01em; }
.buy__price { display: flex; align-items: center; gap: 12px; font-size: 20px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.buy__form { display: grid; gap: 20px; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-size: 14px; margin-bottom: 12px; display: flex; gap: 6px; width: 100%; padding: 0; }
.opt__link { margin-left: auto; font-size: 13px; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px #fff, 0 0 0 4px transparent; cursor: pointer; transition: box-shadow .25s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px #fff, 0 0 0 4px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 5px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.size span { display: grid; place-items: center; height: 48px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; position: relative; }
.size span:hover { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.size input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.size input:disabled + span { color: var(--soft); cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); }
.size.is-low span::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.stock-note { font-size: 13.5px; min-height: 1.4em; color: var(--muted); margin-top: -8px; }
.stock-note.is-low { color: var(--warn); font-weight: 600; }
.stock-note.is-out { color: var(--sale); font-weight: 600; }
.stock-note.is-error { color: var(--sale); }
.buy__actions { display: flex; gap: 10px; }
.perks { list-style: none; margin: 0; padding: 18px 0; border-block: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.prose { color: var(--ink-2); font-size: 15px; padding-bottom: 18px; display: grid; gap: 10px; }
.prose--page { font-size: 16px; gap: 14px; padding-top: 24px; }
.prose--page h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 20px; margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.table thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .4s var(--ease);
}
.sticky-buy.is-shown { transform: none; }
.sticky-buy div { display: grid; font-size: 13px; min-width: 0; }
.sticky-buy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- checkout ---------- */
.checkout { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 8vw, 112px); }
.checkout__head { margin-bottom: 32px; }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.checkout__form { display: grid; gap: 34px; }
.step h2 { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 20px; font-stretch: 110%; margin-bottom: 18px; }
.step h2 span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-family: var(--f-body); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px; font-size: 16px; font-weight: 400; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(140, 82, 255, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--sale); }
.field .msg { color: var(--sale); font-weight: 500; font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pay { display: grid; gap: 10px; }
.pay__opt input { position: absolute; opacity: 0; }
.pay__card { display: grid; gap: 2px; padding: 16px 18px 16px 52px; border: 1px solid var(--line); border-radius: var(--radius); position: relative; cursor: pointer; transition: .2s; }
.pay__card::before { content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--soft); }
.pay__card em { font-style: normal; font-size: 13.5px; color: var(--muted); }
.pay__opt input:checked + .pay__card { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay__opt input:checked + .pay__card::before { border: 6px solid var(--ink); }
.pay__opt input:focus-visible + .pay__card { outline: 2px solid var(--violet); outline-offset: 2px; }
.pay__details, .notice { background: var(--canvas); padding: 16px 18px; font-size: 14px; display: grid; gap: 8px; }
.pay__details pre, .notice pre { margin: 0; font: 600 14px/1.6 var(--f-body); white-space: pre-wrap; }
.form-error { background: #fdecea; color: var(--sale); padding: 14px 16px; font-size: 14.5px; font-weight: 500; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--canvas); padding: 24px; display: grid; gap: 14px; }
.summary__toggle summary { list-style: none; display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 18px; cursor: pointer; }
.summary__toggle summary::-webkit-details-marker { display: none; }
.summary__toggle summary strong { display: none; }
.summary__lines { margin-top: 12px; }
.summary .line { grid-template-columns: 64px 1fr auto; }
.summary .line__img { position: relative; overflow: visible; }
.summary .line__img img { position: relative; }
.qty-badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; z-index: 1; }
.btn--lg strong { font-variant-numeric: tabular-nums; }

/* ---------- confirmation, tracking, pages ---------- */
.confirm { padding-block: clamp(40px, 6vw, 80px); }
.confirm__hero { display: grid; gap: 12px; justify-items: start; margin-bottom: 40px; }
.confirm__tick svg { width: 64px; height: 64px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.confirm__tick circle { stroke: var(--violet); stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .9s var(--ease) forwards; }
.confirm__tick path { stroke: var(--ink); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.confirm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; align-content: start; text-decoration: none; min-width: 0; }
.panel h2 { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; padding: 0 0 18px 28px; position: relative; font-size: 14px; }
.timeline li span { color: var(--muted); font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done::before { border-color: var(--violet); background: var(--violet); }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-lines__img { aspect-ratio: 4 / 5; background: var(--stone); position: relative; overflow: hidden; display: block; }
.mini-lines__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-lines em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 14px; margin: 8px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.track { padding-block: clamp(32px, 5vw, 64px); }
.track__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin: 28px 0 16px; }
.track__result { margin-top: 24px; }
.track__top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.track__h { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.progress { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); font-size: 12.5px; color: var(--muted); position: relative; }
.progress li { display: grid; gap: 8px; justify-items: center; text-align: center; position: relative; }
.progress li span { width: 14px; height: 14px; border-radius: 50%; background: var(--line); position: relative; z-index: 1; }
.progress li::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.progress li:first-child::before { display: none; }
.progress li.is-done { color: var(--ink); font-weight: 600; }
.progress li.is-done span { background: var(--violet); }
.progress li.is-done::before { background: var(--violet); }
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.events li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.events span { color: var(--muted); }
.pill { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--stone); white-space: nowrap; }
.pill--delivered { background: #e3f3ea; color: var(--ok); }
.pill--cancelled, .pill--returned { background: #fdecea; color: var(--sale); }
.pill--shipped, .pill--packed, .pill--confirmed { background: #eee6ff; color: #5b2ccf; }

.page { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.contact-cards .panel { gap: 4px; }
.contact-cards .panel span { color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; z-index: 80;
  background: var(--ink); color: #fff; padding: 13px 20px; font-size: 14px; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: .4s var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }

/* ---------- reveal on scroll ---------- */
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header__nav { gap: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .assurance__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .header__menu { display: inline-grid; }
  .header__nav { display: none; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__logo { justify-self: center; }
  .header__logo img { height: 19px; }
  .header.is-scrolled .header__logo img { height: 18px; }
  .hide-sm { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; margin-inline: calc(var(--gutter) * -1); }
  .gallery__thumbs { display: none; }
  .gallery__main { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
  .gallery__main::-webkit-scrollbar { display: none; }
  .gallery__slide { scroll-snap-align: start; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
  .gallery__dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: .3s var(--ease); }
  .gallery__dots i.is-active { width: 22px; background: var(--ink); }
  .zoom { cursor: default; }
  .buy__sticky { position: static; }
  .checkout__grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; padding: 16px 18px; }
  .summary__toggle:not([open]) summary strong { display: inline; }
  .story__grid { grid-template-columns: 1fr; }
  .story__mark { aspect-ratio: 16 / 9; }
  .story__mark img { width: 40%; }
  .cats, .cats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .confirm__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
  .rail { grid-auto-columns: 68%; gap: 10px; }
  .card__name { font-size: 14px; }
  .card__price { font-size: 13.5px; }
  .cats, .cats--2, .cats--4 { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 16 / 11; }
  .cat__label { font-size: 17px; padding: 12px 14px; }
  .hero__slides { height: min(640px, 78svh); }
  .banner { min-height: 0; align-items: flex-end; }
  .banner__content { padding-block: 40px 96px; gap: 16px; }
  .banner--image-dark::after { background: linear-gradient(0deg, rgba(14, 13, 13, .88) 0%, rgba(14, 13, 13, .5) 50%, rgba(14, 13, 13, .1) 100%); }
  .banner--image-light::after { background: linear-gradient(0deg, rgba(246, 245, 243, .95) 0%, rgba(246, 245, 243, .7) 50%, rgba(246, 245, 243, .1) 100%); }
  .hero__arrows { display: none; }
  .hero__dots button { width: 40px; }
  .rail-nav .icon-btn { display: none; }
  .rail-nav .link-arrow { margin-right: 0; }
  .fields { grid-template-columns: 1fr; }
  .track__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .assurance__grid { grid-template-columns: 1fr; gap: 18px; }
  .filters__row { flex-direction: column; gap: 10px; }
  .filter-group { width: 100%; }
  .buy__actions .qty { display: none; }
  .progress { font-size: 11px; }
  .drawer__head, .drawer__body, .drawer__foot, .ship-meter { padding-inline: 18px; }
  .wa-float { width: 50px; height: 50px; }
  .page-product .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
}

/* native select inside checkout fields */
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161515' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
