/* CleanSt0re — «ДРОП» (proposal 3). Night drop: graphite, off-white, one signal red. */

@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  --bg: #0D0D0E;
  --raised: #161618;
  --raised-2: #1E1E21;
  --line: #2A2A2D;
  --line-2: #3B3B40;
  --text: #F1EFEA;
  --muted: #A7A39B;
  --dim: #8E8A82;
  --red: #FF3B2F;
  --red-hi: #FF5A4F;
  --on-red: #0D0D0E;
  --studio: #DCDAD5;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);

  --f-d: 'Dela Gothic One', 'Onest', sans-serif;
  --f-u: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --g: 16px;
  --hdr: 60px;
  --r: 12px;
  --r-s: 8px;
  --maxw: 1720px;
  --sec-y: 88px;

  color-scheme: dark;
}
@media (min-width: 768px) { :root { --g: 28px; --hdr: 68px; --sec-y: 120px; } }
@media (min-width: 1280px) { :root { --g: 44px; --sec-y: 150px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line-2) var(--bg);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-u);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
html.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
select, input, textarea { font: inherit; color: inherit; caret-color: var(--red); accent-color: var(--red); }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }

::selection { background: var(--red); color: var(--on-red); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #55555b; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--red); color: var(--on-red); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus-visible { top: 12px; }
.noscript { color: var(--muted); padding: 24px 0; }

/* ---------- the 0: red ring with a turning dash ---------- */
.zero { display: inline-block; width: 0.74em; height: 0.74em; color: var(--red); margin: 0 0.035em; vertical-align: -0.02em; flex: none; }
.zero svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- type roles ---------- */
.h-display {
  font-family: var(--f-d);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8.6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.012em;
}
.h-count {
  font-family: var(--f-u);
  font-weight: 700;
  font-size: 0.24em;
  letter-spacing: 0;
  color: var(--red);
  vertical-align: top;
  position: relative;
  top: 0.18em;
  margin-left: 0.25em;
  font-variant-numeric: tabular-nums;
}
.micro { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), opacity .2s;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); color: var(--on-red); }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; transform: none; }
.btn.is-loading { pointer-events: none; opacity: .7; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: border-color .2s, background-color .2s, color .2s, transform .25s var(--ease);
  flex: none;
}
.icon-btn:hover { border-color: var(--text); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.icon-btn--sm { width: 40px; height: 40px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  color: var(--text);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-n { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip-n { color: #55524c; }
.chip[disabled] { opacity: .38; cursor: not-allowed; }
.chip--sale[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--on-red); }
.chip--sale[aria-pressed="true"] .chip-n { color: rgba(13,13,14,.7); }

.text-btn { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: .28em; min-height: 40px; padding: 0 6px; }
.text-btn:hover { color: var(--text); }

.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none; -webkit-appearance: none;
  min-height: 40px; padding: 0 40px 0 16px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  max-width: 100%;
  transition: border-color .2s;
}
.select select:hover { border-color: var(--text); }
.select select option { background: var(--raised); color: var(--text); }
.select .i { position: absolute; right: 14px; pointer-events: none; width: 16px; height: 16px; color: var(--muted); }
.select.is-set select { border-color: var(--text); background: var(--raised-2); }
.select-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 10px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--hdr);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 0 var(--g);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s;
}
.hdr.is-solid { background: var(--bg); border-bottom-color: var(--line); }
.wm {
  font-family: var(--f-d); font-size: 19px; line-height: 1; letter-spacing: 0.01em;
  text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap;
  min-height: 44px;
}
.nav { display: none; justify-self: center; gap: 32px; }
.nav a {
  position: relative;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 12px 0;
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease);
}
.nav a[aria-current="true"]::after { transform: translateX(-50%) scale(1); }
.hdr-act { display: flex; align-items: center; gap: 8px; justify-self: end; }
.cart-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 6px 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .2s, background-color .2s;
}
.cart-pill:hover { border-color: var(--text); }
.cart-pill .i { width: 18px; height: 18px; }
.cart-label { display: none; }
.cart-n {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--line); color: var(--muted);
  font-weight: 800; font-size: 13px; letter-spacing: 0; font-variant-numeric: tabular-nums;
  transition: background-color .25s, color .25s;
}
.cart-n.has { background: var(--red); color: var(--on-red); }
.cart-n.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.28); } 100% { transform: scale(1); } }
.hdr-tg { display: none; }
.menu-btn .i-shut { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-shut { display: block; }

@media (min-width: 560px) { .cart-label { display: inline; } .hdr-tg { display: inline-grid; } }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .wm { font-size: 21px; }
}

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  padding: calc(var(--hdr) + 24px) var(--g) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .25s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  font-family: var(--f-d); font-size: clamp(2.4rem, 12vw, 4rem); line-height: 1.05; text-transform: uppercase;
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line);
  transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.menu.is-open .menu-nav a { transform: none; opacity: 1; }
.menu.is-open .menu-nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu-nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu-nav a:nth-child(4) { transition-delay: .12s; }
.menu-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.menu-contacts { color: var(--muted); font-size: 15px; }
.menu-contacts a { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  --hw: min(calc((100vw - 2 * var(--g)) / 4.36), 26svh);
  --ratio: 0.58;
  position: relative;
  min-height: max(600px, 100svh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  padding-top: var(--hdr);
  overflow: hidden;
  isolation: isolate;
}
.hero-word {
  grid-row: 1;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--f-d);
  font-size: var(--hw);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-top: 0.1em;
  user-select: none; pointer-events: none;
  white-space: nowrap;
}
.hw-line { display: block; padding: 0.03em 0; }
.hw-in { display: flex; align-items: center; }
.zero--hero { width: 0.76em; height: 0.76em; margin: 0 0.02em; }
.hero-ring { display: none; }
.js .hw-in { animation: hw-rise 1.1s var(--ease) both; }
.js .hw-line:nth-child(2) .hw-in { animation-delay: .08s; }
@keyframes hw-rise { from { transform: translateY(26%); opacity: 0; filter: blur(10px); } to { transform: none; opacity: 1; filter: blur(0); } }

/* the lightbox: a lit studio frame where the people stand and move */
.hero-stage {
  grid-row: 2;
  position: relative; z-index: 2;
  justify-self: center; align-self: stretch;
  aspect-ratio: var(--ratio);
  min-height: 330px;
  max-width: calc(100vw - 2 * var(--g));
  margin-top: calc(var(--hw) * -0.34);
}
.hero-frame {
  position: absolute; inset: 0;
  border-radius: 16px; overflow: hidden; isolation: isolate;
  background: var(--studio);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .95);
}
.js .hero-frame { animation: frame-in 1s .12s var(--ease) both; }
@keyframes frame-in { from { clip-path: inset(100% 0 0 0 round 16px); } to { clip-path: inset(0 0 0 0 round 16px); } }
.hero-fig { position: absolute; inset: 0; visibility: hidden; }
.hero-fig.is-on { visibility: visible; }
.hero-fig img, .hero-fig video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform-origin: 50% 60%; }
.hero-wipe { position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0; }
.hero-wipe span { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: translateX(-1px); }

.hero-look { position: absolute; z-index: 4; left: 10px; bottom: 10px; right: 10px; display: flex; }
.hl-list { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: opacity .2s; }
.hl-list.is-swap { opacity: 0; }
.hl-tag {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(13, 13, 14, .86); color: var(--text);
  font-size: 13px; line-height: 1.3; text-decoration: none;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
  transition: background-color .2s;
}
a.hl-tag:hover { background: var(--bg); }
a.hl-tag:hover span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.hl-tag b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-tag .gone { color: var(--muted); font-size: 12px; }
.hl-ctrl { position: absolute; z-index: 4; right: 10px; top: 10px; display: flex; align-items: center; gap: 4px; }
.hl-ctrl .icon-btn { background: rgba(13,13,14,.86); border-color: transparent; }
.hl-ctrl .icon-btn:hover { background: var(--bg); border-color: transparent; }
.hl-count { height: 40px; display: inline-grid; place-items: center; min-width: 58px; padding: 0 10px; border-radius: 999px; background: rgba(13,13,14,.86); text-align: center; font-size: 13px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
#heroPrev, #heroNext { display: none; }
#heroPause .i-play { display: none; }
#heroPause[aria-pressed="true"] .i-play { display: block; }
#heroPause[aria-pressed="true"] .i-pause { display: none; }

.hero-foot { grid-row: 3; position: relative; z-index: 4; padding: 22px var(--g) 26px; }
.hero-title {
  font-family: var(--f-d); text-transform: uppercase;
  font-size: clamp(1.7rem, 7.4vw, 3.1rem); line-height: 1; letter-spacing: -0.005em;
  max-width: 13ch;
}
.hero-sub { display: none; color: var(--muted); max-width: 42ch; margin-top: 16px; }
.hero-cta { display: flex; gap: 10px; margin-top: 18px; }
.hero-cta .btn--red { flex: 1; }
.hero-status { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

@media (min-width: 560px) and (max-width: 899px) {
  .hero-cta .btn--red { flex: 0 0 auto; }
}
/* Phones: the moving person is the hero. The wordmark becomes the backdrop (out of flow),
   the lightbox takes every pixel the screen can spare, and the price tags move out of the
   picture into a swipeable row under it, so they never cover the clothes. */
@media (max-width: 899px) {
  .hero {
    --ratio: 0.7;
    min-height: max(540px, 100vh);
    min-height: max(540px, 100svh);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  /* the giant wordmark would hide behind the card here; the brand's red 0 frames the person instead */
  .hero-word { display: none; }
  .hero-stage {
    grid-row: 1;
    align-self: stretch;
    min-height: 250px;
    margin-top: 14px;
    margin-bottom: 52px;
  }
  .hero-ring {
    display: block; position: absolute; z-index: -1; left: 50%; top: 50%;
    width: 152%; height: auto; aspect-ratio: 1; margin: 0;
    transform: translate(-50%, -50%); pointer-events: none;
  }
  .js .hero-ring { animation: ring-in 1.2s .2s var(--ease) both; }
  @keyframes ring-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.82) rotate(-40deg); } to { opacity: 1; transform: translate(-50%, -50%); } }
  .hero-fig img, .hero-fig video { object-position: 50% 45%; }
  .hero-look {
    left: 50%; right: auto; bottom: auto; top: calc(100% + 10px);
    width: 100vw; transform: translateX(-50%);
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    padding: 0 var(--g);
  }
  .hero-look::-webkit-scrollbar { display: none; }
  .hl-list { flex-direction: row; flex-wrap: nowrap; gap: 6px; width: max-content; margin: 0 auto; }
  .hl-tag { min-height: 40px; align-items: center; padding: 0 14px; background: var(--raised-2); box-shadow: none; white-space: nowrap; }
  .hero-foot { grid-row: 2; padding: 6px var(--g) calc(18px + env(safe-area-inset-bottom)); }
  .hero-title { font-size: clamp(1.45rem, 6.5vw, 2.3rem); }
  .hero-cta { margin-top: 14px; }
}
@media (max-width: 899px) and (max-height: 760px) { .hero-status { display: none; } }
@media (min-width: 900px) {
  .hero { --hw: min(calc((100vw - 2 * var(--g)) / 4.4), 27.5svh); --ratio: 0.58; }
  .hero-stage {
    position: absolute; grid-row: auto;
    left: calc(50% + var(--hw) * 0.47);
    bottom: 36px;
    height: min(calc(100% - var(--hdr) - 52px), calc((50vw - var(--hw) * 0.47 - var(--g)) / var(--ratio)));
    min-height: 0; max-width: none; margin: 0;
  }
  .hero-look { left: -34px; bottom: 76px; right: auto; }
  .hl-tag { font-size: 14px; padding: 9px 14px; }
  #heroPrev, #heroNext { display: inline-grid; }
  .hl-ctrl { right: 14px; top: 14px; }
  .hero-foot { padding-bottom: 40px; align-self: end; }
  .hero-copy { max-width: min(calc(50vw - var(--g) - 60px), 470px); }
  .hero-sub { display: block; }
  .hero-cta .btn--red { flex: 0 0 auto; }
  .hero-title { font-size: clamp(1.9rem, 2.75vw, 2.75rem); }
  .hero-foot { padding-top: 12px; }
  .hero-sub { margin-top: 14px; }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative; z-index: 5;
  border-block: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track { display: flex; width: max-content; animation: tick var(--tick-dur, 60s) linear infinite; }
.ticker-group { display: flex; align-items: center; flex: none; }
.tk { display: inline-flex; align-items: center; font-family: var(--f-d); text-transform: uppercase; font-size: clamp(18px, 2.1vw, 28px); line-height: 1; white-space: nowrap; letter-spacing: .01em; }
.tk .zero { width: .72em; height: .72em; margin: 0 .9em; }
.tk .zero svg { animation: none; }
.ticker:hover .ticker-track, .ticker.is-off .ticker-track, .is-still .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: var(--sec-y) var(--g) 0; max-width: var(--maxw); margin: 0 auto; scroll-margin-top: var(--hdr); }
.sec:focus { outline: none; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 32px; }
.sec-lead { color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 40px; margin-bottom: 44px; }
  .sec-lead { justify-self: end; padding-bottom: 6px; }
}

/* ---------- filters ---------- */
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 28px; }
.chips-scroll { margin: 0 calc(-1 * var(--g)); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 8px; padding: 2px var(--g); width: max-content; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.fb-left, .fb-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fb-left .select { flex: 1 1 140px; }
.fb-left .select select { width: 100%; }
.result { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.result b { color: var(--text); font-weight: 700; }
.select--sort .select-label { display: none; }
@media (max-width: 559px) {
  .fb-left { width: 100%; }
  .fb-right { width: 100%; justify-content: space-between; }
}
@media (min-width: 768px) {
  .fb-left .select { flex: 0 0 auto; }
  .fb-left .select select { width: auto; min-width: 170px; }
  .select--sort .select-label { display: inline; }
  .filters {
    position: sticky; top: calc(var(--hdr) - 1px); z-index: 20;
    background: var(--bg);
    margin: 0 calc(-1 * var(--g)) 28px; padding: 14px var(--g);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
  }
  .filters.is-stuck { border-bottom-color: var(--line); }
  .chips-scroll { margin: 0 calc(-1 * var(--g)); }
}

/* ---------- product grid & the hanging tile ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; position: relative; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1600px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card { position: relative; min-width: 0; }
.card[hidden] { display: none; }
.card-link { text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: var(--r); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--red); outline-offset: 4px; }

.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--raised);
  border-radius: var(--r);
  overflow: hidden;
  --ox: 8%; --oy: 7%; --cord: 8%; --cx: 50%; --ax: .5; --t: .06;
  contain: paint;
}
/* the rail the garment hangs from */
.tile::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--line-2); z-index: 1;
}
.hang { position: absolute; inset: 0; transform-origin: var(--cx) 0; }
.cord {
  position: absolute; left: var(--cx); top: 0; width: 1.5px; height: var(--cord);
  background: #5d5c61; transform: translateX(-50%);
}
.cord::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 10px; border-radius: 2px;
  background: #9a978f; transform: translateX(-50%);
}
.garment {
  position: absolute; left: var(--ox); top: var(--oy);
  width: 84%; aspect-ratio: 3 / 4;
  transform-origin: calc(var(--ax) * 100%) calc(var(--t) * 100%);
}
.garment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.js .tile--cut .garment, .js .tile--cut .cord { opacity: 0; transition: opacity .45s var(--ease); }
.js .tile--cut.is-ready .garment, .js .tile--cut.is-ready .cord { opacity: 1; }
.tile--cut.is-broken .garment, .tile--cut.is-broken .cord { opacity: 1; }

/* loading shimmer placeholder in the card's own ratio */
.tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(241,239,234,.04) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
.tile.is-ready::after, .tile--photo.is-ready::after { content: none; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

.tile--photo img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.tile--photo img.ph2 { opacity: 0; }

/* real-photo peek on hover */
.peek {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  width: 36%; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden;
  background: var(--raised-2);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.6);
  clip-path: inset(100% 0 0 0 round 8px);
  transition: clip-path .5s var(--ease);
  pointer-events: none;
}
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .peek.is-loaded, .card:focus-within .peek.is-loaded { clip-path: inset(0 0 0 0 round 8px); }
  .card:hover .tile--photo .ph2 { opacity: 1; }
  .card:hover .c-name a { text-decoration: underline; text-decoration-color: var(--line-2); }
}

.tags { position: absolute; left: 10px; top: 12px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tag {
  display: inline-block; padding: 4px 9px 3px; border-radius: 6px;
  font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.tag--sale { background: var(--red); color: var(--on-red); }
.tag--res { background: var(--text); color: var(--bg); }
.tag--sold { background: transparent; color: var(--red); border: 1.5px solid var(--red); }

.add {
  position: absolute; z-index: 4;
  right: 10px; bottom: 10px;
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(13,13,14,.82); border: 1px solid var(--line-2); color: var(--text);
  transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease);
}
.add:hover { border-color: var(--text); }
.add:active { transform: scale(.9); }
.add .i-on { display: none; }
.add[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--on-red); }
.add[aria-pressed="true"] .i-on { display: block; }
.add[aria-pressed="true"] .i-off { display: none; }

.card-meta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 2px 0; }
.c-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); min-width: 0; }
.c-top span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-top span:last-child { flex: 0 1 auto; max-width: 48%; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-name {
  font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: .005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.c-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 8px; }
.price-now { font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.price-now.is-ask { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-old { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; white-space: nowrap; }
.card.is-sale .price-now { color: var(--red); }

/* ---------- lookbook ---------- */
.sec-head--rail .rail-ctrl { display: none; }
.rail { position: relative; }
.look { display: flex; flex-direction: column; min-width: 0; }
.look-media { position: relative; overflow: hidden; background: var(--studio); }
.look-media img, .look-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.look-media img { transition: transform 1.4s var(--ease); }
.look-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px 0 0; }
.look-rows { display: grid; grid-template-columns: minmax(0, 1fr); }
.look-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.35; text-decoration: none;
}
.look-row:first-child { border-top: 1px solid var(--line); }
a.look-row:hover .lr-name { text-decoration: underline; }
.lr-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.lr-price .i { width: 16px; height: 16px; color: var(--muted); }
.lr-gone { color: var(--muted); font-size: 13px; white-space: nowrap; }
.look-act { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.look-act .note { font-size: 13px; color: var(--muted); white-space: nowrap; }

@media (max-width: 767px) {
  .lookbook { padding-left: 0; padding-right: 0; }
  .lookbook .sec-head { padding: 0 var(--g); }
  .look {
    height: calc(100svh - var(--hdr));
    min-height: 560px;
    scroll-snap-align: start; scroll-margin-top: var(--hdr);
    margin-bottom: 12px;
  }
  .look-media { flex: 1 1 auto; min-height: 0; }
  .look-media img, .look-media video { position: absolute; inset: 0; }
  .look-body { padding: 14px var(--g) 18px; background: var(--bg); }
  .rail.is-collapsed .look:nth-child(n+5) { display: none; }
  .rail-more { padding: 8px var(--g) 0; }
  .rail-more .btn { width: 100%; }
  .look.is-live .look-media img { animation: drift 9s ease-in-out infinite alternate; }
}
@media (max-width: 767px) and (pointer: coarse) {
  html:not(.lenis) { scroll-snap-type: y proximity; }
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05) translateY(-1.2%); } }

@media (min-width: 768px) {
  .lookbook { max-width: none; padding-left: 0; padding-right: 0; }
  .lookbook .sec-head { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding: 0 var(--g); grid-template-columns: minmax(0, 1fr) minmax(0, 380px) auto; }
  .sec-head--rail .rail-ctrl { display: flex; gap: 8px; padding-bottom: 6px; }
  .rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 23vw, 340px);
    gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding: 0 var(--g);
    padding: 0 var(--g) 18px;
    scrollbar-width: thin;
    cursor: grab;
  }
  .rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
  .rail.is-drag a, .rail.is-drag img { pointer-events: none; }
  .look { scroll-snap-align: start; }
  .look-media { aspect-ratio: 2 / 3; border-radius: var(--r); }
  .look:hover .look-media img { transform: scale(1.045); }
  .rail-more { display: none; }
}

/* ---------- next drop ---------- */
.drop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.drop-copy { container-type: inline-size; }
.drop .h-display { font-size: min(6rem, 15.2cqi); }
.drop-text { font-family: var(--f-d); text-transform: uppercase; font-size: clamp(1.2rem, 2.1vw, 1.8rem); line-height: 1.3; margin-top: 22px; max-width: 24ch; }
.drop-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 30px; justify-items: start; }
.drop-subs { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.drop-subs b { color: var(--text); }
.drop-stage {
  position: relative;
  border-radius: var(--r);
  background: var(--raised);
  padding: 28px 12px 76px;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  overflow: hidden;
}
.tz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.tz img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; -webkit-user-drag: none; transform: scale(1.22); }
.tz--blur img { filter: blur(18px) brightness(.78) saturate(.7); }
.tz--sharp {
  position: absolute; left: 12px; right: 12px; top: 28px;
  --mx: 50%; --my: 50%;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--r) * .55), transparent var(--r));
          mask-image: radial-gradient(circle at var(--mx) var(--my), #000 calc(var(--r) * .55), transparent var(--r));
  transition: --r .55s var(--ease);
  pointer-events: none;
}
.drop-stage.is-peek .tz--sharp { --r: 150px; transition-duration: .4s; }
.drop-stage.is-full .tz--sharp { --r: 1600px; transition-duration: .9s; }
.drop-stage.is-tracking .tz--sharp { transition-property: --r; }
.drop-peek { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.peek-hint { font-size: 13px; color: var(--muted); }
.peek-hint--fine { display: none; }
@media (hover: hover) and (pointer: fine) { .peek-hint--fine { display: inline; } .peek-hint--touch { display: none; } .drop-stage { cursor: crosshair; } }
@media (min-width: 900px) {
  .drop { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: 56px; }
  .drop-stage { padding: 48px 28px 88px; }
  .tz--sharp { left: 28px; right: 28px; top: 48px; }
}

/* ---------- sold wall ---------- */
.sold-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 32px; }
.sold-count { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.sold-num { font-family: var(--f-d); font-size: clamp(4rem, 13vw, 6rem); line-height: .85; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; min-width: 3ch; }
.sold-cap { color: var(--muted); max-width: 30ch; padding-bottom: 4px; }
@media (min-width: 900px) {
  .sold-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 48px; margin-bottom: 44px; }
  .sold-count { justify-content: flex-end; }
}
.sold-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
@media (min-width: 768px) { .sold-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; } }
.sc a {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-s); overflow: hidden;
  background: var(--raised); text-decoration: none;
}
.sc img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: grayscale(.75) brightness(.55); transition: filter .35s, transform .5s var(--ease); }
.sc.is-photo img { object-fit: cover; padding: 0; }
.sc a:hover img, .sc a:focus-visible img { filter: none; transform: scale(1.04); }
.stamp {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--rot, -12deg));
  padding: 3px 7px 2px; border: 1.5px solid var(--red); border-radius: 4px;
  color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
  background: rgba(13,13,14,.55);
  transition: opacity .25s;
  white-space: nowrap;
}
.sc-price {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 6px 6px;
  font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums;
  background: linear-gradient(transparent, rgba(13,13,14,.9));
  opacity: 0; transition: opacity .25s;
}
.sc a:hover .sc-price, .sc a:focus-visible .sc-price { opacity: 1; }
.sc a:hover .stamp, .sc a:focus-visible .stamp { opacity: 0; }
.sold-more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- info ---------- */
.info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.info-rows { display: grid; grid-template-columns: minmax(0, 1fr); }
.info-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-h { font-family: var(--f-d); text-transform: uppercase; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.05; }
.info-b { color: var(--text); max-width: 60ch; }
.info-b p { color: #D8D5CE; }
.info-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.info-list li, .info-steps li { position: relative; padding-left: 22px; color: #D8D5CE; }
.info-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--red); }
.info-steps { counter-reset: s; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.info-steps li { counter-increment: s; padding-left: 30px; }
.info-steps li::before { content: counter(s); position: absolute; left: 0; top: .1em; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.contacts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.contacts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.contacts .who { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
.contacts a { color: var(--text); font-weight: 500; }
.contacts a:hover { color: var(--red); }
.info-city { color: var(--muted); margin-top: 14px; }
.info-city a { color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .info { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
  .info-title { position: sticky; top: calc(var(--hdr) + 32px); }
  .info-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 32px 0; }
}

/* ---------- footer ---------- */
.foot { margin-top: var(--sec-y); padding: 0 var(--g) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.foot-word {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-d); font-size: calc((min(100vw, var(--maxw)) - 2 * var(--g)) / 8.95); line-height: 1; letter-spacing: -0.02em;
  padding: .22em 0 .16em; text-decoration: none; white-space: nowrap;
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; font-size: 14px; color: var(--muted); }
.foot-disc { max-width: 62ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: var(--text); min-height: 32px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: var(--red); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 6fr) auto auto; align-items: start; gap: 40px; } }

/* ---------- sheets (product + drawer) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, .72); opacity: 0; transition: opacity .3s; }
.sheet.is-open .sheet-backdrop { opacity: 1; transition-duration: .45s; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: min(94svh, 100%);
  display: flex; flex-direction: column;
  background: var(--bg);
  border-radius: 18px 18px 0 0;
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform .28s var(--ease-in);
  outline: none;
  overflow: hidden;
}
.sheet.is-open .sheet-panel { transform: none; transition: transform .55s var(--ease); }
.sheet-panel.is-dragging { transition: none !important; }
.sheet-grab { flex: none; height: 24px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet-grab span { width: 44px; height: 4px; border-radius: 4px; background: var(--line-2); }
.sheet-close { position: absolute; right: 12px; top: 12px; z-index: 6; background: rgba(13,13,14,.85); }
.sheet-scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (min-width: 768px) {
  .sheet-panel {
    left: auto; top: 0; bottom: 0; right: 0; height: auto;
    width: min(680px, 100vw - 48px);
    border-radius: 0; border-top: 0; border-left: 1px solid var(--line);
    transform: translateX(100%);
  }
  .sheet-grab { display: none; }
  .sheet-close { top: 16px; right: 16px; }
  .sheet--drawer .sheet-panel { width: min(460px, 100vw - 48px); }
}
@media (min-width: 1100px) { .sheet--product .sheet-panel { width: min(1080px, 78vw); } }

/* product view */
.pv { display: grid; grid-template-columns: minmax(0, 1fr); }
.pv-gal { position: relative; background: var(--raised); }
.pv-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pv-track::-webkit-scrollbar { display: none; }
.pv-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 4; max-height: 70svh; }
.pv-slide .tile { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: var(--raised); }
.pv-slide .tile::before { height: 3px; }
.pv-slide--photo { background: #111; }
.pv-slide--photo img { width: 100%; height: 100%; object-fit: contain; }
.real-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(13,13,14,.84); border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.real-badge .i { width: 16px; height: 16px; color: var(--red); }
.pv-nav { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); background: rgba(13,13,14,.8); display: none; }
.pv-nav--prev { left: 12px; }
.pv-nav--next { right: 12px; }
.pv-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.pv-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(241,239,234,.35); transition: background-color .2s, transform .2s; }
.pv-dots span.on { background: var(--text); transform: scale(1.25); }
.pv-thumbs { display: none; }
.pv-stamp {
  position: absolute; left: 50%; top: 46%; z-index: 5; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-family: var(--f-d); font-size: clamp(2rem, 6vw, 3.4rem); text-transform: uppercase; line-height: 1;
  color: var(--red); border: 4px solid var(--red); border-radius: 10px; padding: .18em .34em .12em;
  background: rgba(13,13,14,.5);
}
.pv.is-sold .pv-slide img { filter: grayscale(.6) brightness(.7); }

.pv-info { padding: 24px var(--g) 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.pv-brand { color: var(--muted); }
.pv-name { font-family: var(--f-u); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -0.012em; margin-top: 6px; }
.pv-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 16px; }
.pv-price .price-now { font-size: clamp(2rem, 4vw, 2.6rem); }
.pv-price .price-old { font-size: 17px; }
.pv-price .tag { align-self: center; }
.pv.is-sale .pv-price .price-now { color: var(--red); }
.pv-state { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.pv-state .dot { width: 8px; height: 8px; border-radius: 50%; background: #5BD18A; }
.pv-state.is-reserved .dot { background: var(--text); }
.pv-state.is-sold .dot { background: var(--red); }
.pv-specs { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 22px; border-top: 1px solid var(--line); }
.pv-specs div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pv-specs dt { color: var(--muted); }
.pv-specs dd a { color: var(--text); }
.pv-specs dd a:hover { color: var(--red); }
.pv-desc { margin-top: 20px; white-space: pre-line; color: #DAD7D0; max-width: 62ch; }
.pv-desc.is-empty { color: var(--muted); }
.pv-actions {
  position: sticky; bottom: 0; z-index: 5;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 8px;
  margin: 22px calc(-1 * var(--g)) 0; padding: 12px var(--g) calc(12px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line);
}
.pv-actions .btn { padding: 0 12px; min-width: 0; font-size: 13px; letter-spacing: .05em; }
@media (max-width: 399px) { .hide-s { display: none; } .hero-tg { padding: 0; width: 52px; flex: none; } }
.pv-actions .btn--single { grid-column: 1 / -1; }
.pv-note { font-size: 13px; color: var(--muted); grid-column: 1 / -1; }
.pv-sub { margin-top: 36px; }
.pv-sub h3 { font-family: var(--f-d); text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; margin-bottom: 14px; }
.pv-sub:last-child { padding-bottom: 32px; }
.mini-row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.mini { text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-size: 13px; line-height: 1.3; }
.mini-img { aspect-ratio: 3 / 4; border-radius: var(--r-s); background: var(--raised); overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .4s var(--ease); }
.mini-img.is-photo img { object-fit: cover; padding: 0; }
.mini-img.is-look { background: var(--studio); aspect-ratio: 2 / 3; }
.mini-img.is-look img { object-fit: cover; padding: 0; }
.mini:hover .mini-img img { transform: scale(1.05); }
.mini b { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px; }
.mini .mini-t { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (min-width: 768px) {
  .pv-nav { display: inline-grid; }
  .pv-info { padding: 28px 32px 0; }
  .pv-actions { margin: 24px -32px 0; padding: 14px 32px; }
  .pv-slide { max-height: none; }
}
@media (min-width: 1100px) {
  .pv { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: 100%; }
  .pv-gal { position: sticky; top: 0; align-self: start; height: 100svh; display: flex; flex-direction: column; }
  .pv-track { flex: 1 1 auto; min-height: 0; }
  .pv-slide { aspect-ratio: auto; height: 100%; }
  .pv-dots { display: none; }
  .pv-thumbs { display: flex; gap: 8px; padding: 12px; background: var(--raised); border-top: 1px solid var(--line); overflow-x: auto; flex: none; }
  .pv-th { width: 54px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: var(--raised-2); border: 1.5px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; flex: none; }
  .pv-th img { width: 100%; height: 100%; object-fit: contain; }
  .pv-th.is-photo img { object-fit: cover; }
  .pv-th[aria-current="true"] { opacity: 1; border-color: var(--text); }
  .pv-th:hover { opacity: 1; }
  .pv-info { padding: 64px 40px 0; }
  .pv-actions { margin: 28px -40px 0; padding: 16px 40px; }
}

/* drawer */
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px var(--g) 14px; border-bottom: 1px solid var(--line); flex: none; }
@media (min-width: 768px) { .dr-head { padding: 18px 24px 16px; } }
.dr-title { font-family: var(--f-d); text-transform: uppercase; font-size: 1.6rem; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.dr-n { font-family: var(--f-u); font-weight: 700; font-size: .55em; color: var(--red); font-variant-numeric: tabular-nums; }
.dr-wrap { padding: 8px var(--g) 28px; }
@media (min-width: 768px) { .dr-wrap { padding: 8px 24px 32px; } }
.dg { padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.dg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.dg-head span { color: var(--muted); font-size: 14px; }
.dg-head a { font-weight: 700; color: var(--text); }
.dr-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; }
.dr-thumb { aspect-ratio: 3 / 4; border-radius: 6px; background: var(--raised); overflow: hidden; display: block; }
.dr-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.dr-thumb.is-photo img { object-fit: cover; padding: 0; }
.dr-name { font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dr-name:hover { text-decoration: underline; }
.dr-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.dr-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.dr-rm { width: 36px; height: 36px; margin-top: 4px; margin-left: auto; border-radius: 999px; display: grid; place-items: center; color: var(--muted); transition: color .2s, background-color .2s; }
.dr-rm:hover { color: var(--text); background: var(--raised-2); }
.dr-rm .i { width: 18px; height: 18px; }
.dg-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 14px; font-size: 15px; color: var(--muted); }
.dg-sum b { color: var(--text); font-size: 20px; font-variant-numeric: tabular-nums; }
.dr-how { margin-top: 22px; padding: 16px; border-radius: var(--r); background: var(--raised); font-size: 14px; color: #D3D0C9; display: flex; gap: 12px; }
.dr-how .i { color: var(--red); margin-top: 2px; }
.dr-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; font-weight: 700; }
.dr-total b { font-size: 24px; font-variant-numeric: tabular-nums; }
.dr-empty { padding: 48px 0 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: start; }
.dr-empty .big { font-family: var(--f-d); text-transform: uppercase; font-size: 2rem; line-height: 1; }
.dr-empty p { color: var(--muted); max-width: 34ch; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 150;
  transform: translate(-50%, 20px); opacity: 0;
  width: max-content; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 18px; border-radius: 14px;
  background: var(--text); color: var(--bg);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
  font-size: 15px; font-weight: 500; line-height: 1.35;
  transition: transform .45s var(--ease), opacity .3s;
}
.toast[hidden] { display: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast .i { color: var(--red); }
.toast.is-error { background: var(--red); color: var(--on-red); }
.toast.is-error .i { color: var(--on-red); }
.toast button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg); color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* empty state */
.empty { padding: 56px 0 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; border-top: 1px solid var(--line); }
.empty-title { font-family: var(--f-d); text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; color: var(--red); }
.empty-text { color: var(--muted); max-width: 46ch; }
.empty-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- motion paused / reduced ---------- */
.is-still .zero svg, .hero.is-off .zero svg { animation-play-state: paused; }

/* ---------- phones: ergonomics ---------- */
html { -webkit-tap-highlight-color: transparent; }
.h-count { font-size: max(12px, 0.24em); }
.peek span { font-size: 11px; }
.look-row { min-height: 46px; align-items: center; }
.contacts a, .foot-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.chip:active, .cart-pill:active, .hl-tag:active { transform: scale(.96); }
.chip, .cart-pill, .hl-tag { transition: transform .15s var(--ease), background-color .2s, border-color .2s; }
@media (pointer: coarse) {
  .select select { font-size: 16px; min-height: 44px; } /* iOS zooms into any field under 16px */
  .chip { min-height: 42px; }
}

/* catalogue paging on phones: 12 at a time */
.more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.more-wrap[hidden] { display: none; }
.more-wrap .btn { width: 100%; max-width: 420px; }

/* selection dock: the basket within thumb reach once something is in it */
.cart-dock {
  position: fixed; z-index: 55; left: var(--g); right: var(--g);
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
  transition: transform .5s var(--ease), visibility 0s .5s; visibility: hidden;
}
.cart-dock.is-on { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.is-locked .cart-dock, .menu-open .cart-dock { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); visibility: hidden; }
.cart-dock-btn {
  width: 100%; min-height: 60px; display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 10px; border-radius: 999px;
  background: var(--text); color: var(--bg); text-align: left;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease);
}
.cart-dock-btn:active { transform: scale(.98); }
.cd-n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-t { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.cd-t b { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cd-t span { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-go { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--red); color: var(--on-red); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cd-go .i { width: 18px; height: 18px; }
.has-dock .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
.has-dock .foot { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .cart-dock { display: none; } .has-dock .toast { bottom: calc(18px + env(safe-area-inset-bottom)); } .has-dock .foot { padding-bottom: calc(32px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  .hero-ring { animation: none !important; }
  .cart-dock, .cart-dock.is-on { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; }
  .zero svg { animation: none !important; }
  .js .hw-in { animation: none !important; }
  .tile::after { animation: none !important; }
  .ticker-track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--g); }
  .ticker-group { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .ticker-group + .ticker-group { display: none; }
  .look-media img { transition: none !important; }
  .look:hover .look-media img { transform: none; }
  .sheet-panel, .sheet.is-open .sheet-panel { transition: opacity .15s !important; }
}
