/* =====================================================================
   KUPITO — styles.css
   Mobile-first. Tokens → base → layout → komponenty → widoki → motion.
   ===================================================================== */

/* ---------------------------------------------------------------- TOKENS */
:root {
  --bg: #FAFAF8;
  --paper: #FFFFFF;
  --ink: #101010;
  --ink-2: #55544F;
  --ink-3: #8C8B85;
  --line: #E7E6E1;

  --lime: #C8FF2E;   --lime-t: #EEFFC7;
  --pink: #FF3D9A;   --pink-t: #FFE1EF;
  --blue: #3977FF;   --blue-t: #DFE8FF;
  --purple: #8B5CFF; --purple-t: #E9E1FF;
  --orange: #FF7139; --orange-t: #FFE5D9;
  --yellow: #FFD83D; --yellow-t: #FFF4C2;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-h3: clamp(18px, 1.4vw, 21px);
  --fs-h2: clamp(34px, 5.2vw, 72px);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --gut: 16px;
  --maxw: 1440px;
  --gap: 12px;
  --hh: 60px;           /* wysokość headera */
  --bnav: 64px;         /* dolna nawigacja mobile */
  --bleed: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut)));

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hard: 3px 3px 0 var(--ink);
}
@media (min-width: 600px)  { :root { --gut: 24px; --gap: 16px; } }
@media (min-width: 1100px) { :root { --gut: 40px; --gap: 20px; --hh: 72px; } }

/* kolory kategorii: --c (mocny), --t (tint), --on (tekst na --c) */
.c-tech   { --c: var(--blue);   --t: var(--blue-t);   --on: #fff; }
.c-room   { --c: var(--pink);   --t: var(--pink-t);   --on: var(--ink); }
.c-gaming { --c: var(--purple); --t: var(--purple-t); --on: #fff; }
.c-auto   { --c: var(--orange); --t: var(--orange-t); --on: var(--ink); }
.c-fun    { --c: var(--lime);   --t: var(--lime-t);   --on: var(--ink); }
.c-gifts  { --c: var(--yellow); --t: var(--yellow-t); --on: var(--ink); }
.c-scooters { --c: var(--lime);   --t: var(--lime-t);   --on: var(--ink); }
.c-moto     { --c: var(--pink); --t: var(--pink-t); --on: var(--ink); }
.c-safety   { --c: var(--purple); --t: var(--purple-t); --on: #fff; }
.c-gear     { --c: var(--orange); --t: var(--orange-t); --on: var(--ink); }
.c-style    { --c: var(--ink); --t: #ECEBE6; --on: var(--lime); }
.c-ink    { --c: var(--ink);    --t: #ECEBE6;         --on: var(--lime); }

/* ---------------------------------------------------------------- BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-md)/1.5 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(var(--bnav) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }
.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: 200; background: var(--ink); color: var(--lime); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 800; }
.skip:focus { top: 12px; }
.noscript { padding: 40px; text-align: center; font-weight: 700; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; position: relative; transition: background .2s; flex: none; }
.icon-btn:hover { background: rgba(16,16,16,.06); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- BUTTONS / PILLS */
.btn {
  --bb: var(--ink); --bf: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--bb); color: var(--bf);
  font-weight: 800; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn--ink { --bb: var(--ink); --bf: var(--lime); }
.btn--ink:hover { box-shadow: 4px 4px 0 var(--pink); }
.btn--ghost { --bb: transparent; --bf: var(--ink); }
.btn--ghost:hover { --bb: var(--paper); }
.btn--lime { --bb: var(--lime); --bf: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 2px solid var(--ink); background: var(--paper);
  font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.pill--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255,61,154,.6); animation: pulse 1.8s infinite; }
.pill--white { background: #fff; color: var(--ink); border-color: #fff; }

.badge {
  display: inline-flex; align-items: center;
  padding: 5px 9px 4px; border-radius: var(--r-pill);
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
}
.badge--VIRAL { background: var(--pink); }
.badge--NEW { background: var(--lime); }
.badge--HOT { background: var(--orange); }
.badge--TIKTOK { background: var(--ink); color: #fff; }
.badge--BESTSELLER, .badge--COZY { background: var(--yellow); }
.badge--LIMITED, .badge--GAMING { background: var(--purple); color: #fff; }
.badge--WOW { background: var(--blue); color: #fff; }
.badge--TREND { background: var(--pink-t); }
.badge--MUST-HAVE { background: var(--lime); }
.badge--PROMO { background: var(--yellow); }
.badge--sale { background: var(--ink); color: var(--lime); }

.ph { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--yellow-t); border: 1px dashed var(--ink); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }

/* ---------------------------------------------------------------- MARQUEE */
.marquee { overflow: hidden; white-space: nowrap; --speed: 28s; }
.marquee__track { display: inline-flex; animation: marquee var(--speed) linear infinite; will-change: transform; }
.marquee__track > * { flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.topbar { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; height: 34px; display: flex; align-items: center; }
.topbar .marquee__track span { padding: 0 28px; }

/* ---------------------------------------------------------------- HEADER */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.header.is-scrolled {
  background: rgba(250, 250, 248, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { height: var(--hh); display: flex; align-items: center; gap: 4px; }
.header__burger { margin-left: -10px; }
.logo {
  font-weight: 800; font-size: 26px; letter-spacing: -.055em; line-height: 1;
  display: inline-flex; align-items: flex-start;
  font-variation-settings: "opsz" 96;
}
.logo__bang { color: var(--pink); display: inline-block; transform: rotate(12deg) translateY(-1px); margin-left: 1px; transition: transform .35s var(--spring); }
.logo:hover .logo__bang { transform: rotate(-10deg) scale(1.2); }
.logo.logo--xl { font-size: clamp(56px, 12vw, 128px); }

.nav { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.bag-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0 16px; margin-left: 6px;
  background: var(--ink); color: #fff; border-radius: var(--r-pill);
  font-weight: 800; font-size: 14px; letter-spacing: .04em;
  transition: transform .25s var(--spring);
}
.bag-btn b { color: var(--lime); }
.bag-btn:hover { transform: rotate(-3deg) scale(1.04); }
.bag-btn.bump { animation: bump .5s var(--spring); }
.dot-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.hide-sm { display: none; }
@media (min-width: 600px) { .hide-sm { display: inline-grid; } }

@media (min-width: 1200px) {
  .header__burger { display: none; }
  .logo { font-size: 30px; }
  .nav { display: flex; gap: 2px; margin-left: 40px; }
  .nav a {
    position: relative; padding: 10px 12px; border-radius: var(--r-pill);
    font-weight: 800; font-size: 13.5px; letter-spacing: .04em;
    transition: background .2s, color .2s, transform .25s var(--spring);
  }
  .nav a:hover, .nav a[aria-current="page"] { background: var(--c); color: var(--bg); transform: rotate(-2deg); }
  .nav a:is([style*="yellow"],[style*="lime"],[style*="pink"],[style*="orange"]):is(:hover,[aria-current="page"]) { color: var(--ink); }
}
@media (min-width: 1320px) { .nav { margin-inline: auto; } .header__actions { margin-left: 0; } .nav a { padding: 10px 14px; } }

/* ---------------------------------------------------------------- MOBILE MENU */
.mnav { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mnav.is-open { visibility: visible; }
.mnav__panel {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom));
  transform: translateY(-100%); transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mnav.is-open .mnav__panel { transform: none; }
.mnav__top { height: var(--hh); display: flex; align-items: center; justify-content: space-between; margin-right: -10px; }
.mnav__links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mnav__links a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 18px; border-radius: var(--r);
  background: var(--c); font-weight: 800; font-size: clamp(30px, 9vw, 44px); letter-spacing: -.035em; line-height: 1;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mnav__links a[style*="blue"], .mnav__links a[style*="purple"] { color: #fff; }
.mnav__links small { font-size: 12px; letter-spacing: .06em; }
.mnav.is-open .mnav__links a { opacity: 1; transform: none; }
.mnav.is-open .mnav__links a:nth-child(2) { transition-delay: .04s; }
.mnav.is-open .mnav__links a:nth-child(3) { transition-delay: .08s; }
.mnav.is-open .mnav__links a:nth-child(4) { transition-delay: .12s; }
.mnav.is-open .mnav__links a:nth-child(5) { transition-delay: .16s; }
.mnav.is-open .mnav__links a:nth-child(6) { transition-delay: .2s; }
.mnav.is-open .mnav__links a:nth-child(7) { transition-delay: .24s; }
.mnav__foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; }
.mnav__foot p { width: 100%; color: var(--ink-3); font-size: 14px; }

/* ---------------------------------------------------------------- HERO */
.hero { display: grid; gap: 8px; padding-top: 20px; padding-bottom: 8px; }
.hero__text { position: relative; z-index: 2; }
.hero__title { margin-top: 18px; font-weight: 800; letter-spacing: -.045em; line-height: .9; font-variation-settings: "opsz" 96; }
.hero__pre { display: block; font-size: clamp(26px, 7vw, 44px); letter-spacing: -.03em; margin-bottom: 6px; }
.hero__big { display: block; font-size: clamp(50px, 14.2vw, 108px); }
.hero__big em { font-style: normal; }
.outline { color: transparent; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke; }
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--pink); } }
.hero__big mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
.hero__big mark::before { content: ""; position: absolute; left: -.06em; right: -.08em; bottom: .04em; height: .5em; background: var(--lime); z-index: -1; border-radius: 6px; transform: rotate(-2deg); }
.hero__lead { margin-top: 18px; font-size: var(--fs-lg); line-height: 1.45; color: var(--ink-2); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__meta { margin-top: 14px; font-size: var(--fs-sm); color: var(--ink-2); }
.hero__meta b { color: var(--ink); }

.hero__stage { position: relative; height: clamp(310px, 88vw, 460px); margin-inline: calc(var(--gut) * -1); overflow: hidden; }
.shape { position: absolute; pointer-events: none; }
.shape--lime { width: 62%; aspect-ratio: 1; left: 22%; top: 8%; border-radius: 50%; background: var(--lime); }
.shape--pink { width: 30%; aspect-ratio: 1; right: 4%; bottom: 6%; border-radius: 28%; background: var(--pink); transform: rotate(18deg); }
.shape--blue { width: 22%; aspect-ratio: 1; left: 3%; top: 10%; background: var(--blue); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: spin 22s linear infinite; }

.hero__item { position: absolute; display: block; filter: drop-shadow(0 18px 18px rgba(16,16,16,.14)); transition: filter .3s; }
.hero__item img { width: 100%; height: auto; transition: transform .45s var(--spring); }
.hero__item:hover img { transform: scale(1.06) rotate(-3deg); }
.hero__item--1 { width: 44%; left: 28%; top: 2%; z-index: 3; }
.hero__item--2 { width: 34%; left: 1%; top: 36%; z-index: 4; }
.hero__item--3 { width: 33%; right: 1%; top: 44%; z-index: 4; }
.hero__item--4 { width: 27%; right: 3%; top: -2%; z-index: 2; }
.hero__item--5 { width: 34%; left: 34%; bottom: -8%; z-index: 5; }
.tag {
  position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%) rotate(-3deg);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-pill);
  padding: 5px 10px; font-size: 10px; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
  box-shadow: var(--hard);
}
.tag b { margin-left: 4px; color: var(--pink); -webkit-text-stroke: .3px var(--ink); }
.hero__item--3 .tag { bottom: 16%; transform: translateX(-50%) rotate(4deg); }

.sticker {
  position: absolute; z-index: 6; display: grid; place-items: center; text-align: center;
  font-weight: 800; line-height: .95; letter-spacing: -.01em; border: 2px solid var(--ink);
  box-shadow: var(--hard); pointer-events: none;
}
.sticker--want { width: 76px; height: 76px; border-radius: 50%; background: var(--pink); font-size: 15px; left: 6%; top: 8%; transform: rotate(-14deg); animation: wobble 5s var(--ease) infinite; }
.sticker--tiktok { padding: 8px 10px; background: var(--yellow); font-size: 11px; right: 6%; top: 34%; transform: rotate(7deg); border-radius: 6px; }
.sticker--new { width: 72px; height: 72px; background: var(--lime); font-size: 13px; left: 4%; bottom: 8%; clip-path: polygon(50% 0, 62% 14%, 80% 7%, 83% 25%, 100% 32%, 92% 50%, 100% 68%, 83% 75%, 80% 93%, 62% 86%, 50% 100%, 38% 86%, 20% 93%, 17% 75%, 0 68%, 8% 50%, 0 32%, 17% 25%, 20% 7%, 38% 14%); border: 0; box-shadow: none; animation: spin 18s linear infinite; }

.hero__stage--ride .hero__item--1 { width: 60%; left: 20%; top: 2%; }
.hero__stage--ride .hero__item--2 { width: 29%; left: 0; top: 46%; z-index: 4; }
.hero__stage--ride .hero__item--3 { width: 27%; right: 0; top: 50%; }
.hero__stage--ride .hero__item--4 { width: 23%; right: 4%; top: 0; }
.hero__stage--ride .hero__item--5 { width: 26%; left: 2%; top: 4%; bottom: auto; z-index: 2; }
.hero__stage--ride .hero__item--1 .tag { bottom: 16%; }
.hero__stage--ride .hero__item--2 .tag { bottom: 12%; transform: translateX(-50%) rotate(4deg); }
.hero__stage--ride .sticker--want { left: auto; right: 26%; top: 4%; }
.hero__stage--ride .sticker--tiktok { right: 3%; top: 38%; }
.hero__stage--ride .sticker--new { left: 30%; bottom: 3%; }

@media (min-width: 600px) {
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__stage { height: 480px; margin-inline: 0; overflow: visible; }
  .sticker--want { width: 96px; height: 96px; font-size: 19px; }
  .sticker--tiktok { font-size: 14px; padding: 10px 14px; }
  .sticker--new { width: 92px; height: 92px; font-size: 16px; }
  .tag { font-size: 12px; padding: 6px 12px; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 45fr 55fr; align-items: center; min-height: clamp(600px, 72vh, 700px); padding-top: 8px; gap: 24px; }
  .hero__stage { height: clamp(560px, 70vh, 660px); }
  .hero__big { font-size: clamp(76px, 7.4vw, 124px); }
  .hero__pre { font-size: clamp(36px, 3.3vw, 52px); }
  .hero__lead { font-size: 20px; }
}

/* ---------------------------------------------------------------- PROOF */
.proof { border-block: 2px solid var(--ink); background: var(--paper); margin-top: 20px; }
.proof__list { display: grid; grid-template-columns: 1fr 1fr; }
.proof__list li { display: flex; align-items: center; gap: 8px; padding: 14px 4px; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; }
.proof__list li span { font-size: 18px; }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list li { justify-content: center; font-size: 14px; padding: 20px 8px; }
  .proof__list li + li { border-left: 2px solid var(--ink); }
}

/* ---------------------------------------------------------------- SECTIONS */
.section { padding-block: clamp(56px, 8vw, 110px) 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 36px); }
.h2 { font-weight: 800; font-size: var(--fs-h2); letter-spacing: -.045em; line-height: .92; font-variation-settings: "opsz" 96; text-wrap: balance; }
.section__sub { margin-top: 10px; color: var(--ink-2); font-size: var(--fs-lg); }

/* ---------------------------------------------------------------- SLIDER */
.slider {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed);
  padding-inline: var(--bleed); padding-block: 6px 14px;
  scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider__track { display: flex; gap: var(--gap); width: max-content; }
.slider__track > * { scroll-snap-align: start; }
.slider.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.slider.is-drag a, .slider.is-drag img { pointer-events: none; }
@media (pointer: fine) { .slider { cursor: grab; } }

.slider-nav { display: none; gap: 8px; flex: none; }
@media (min-width: 900px) { .slider-nav { display: flex; } }
.arrow {
  width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; transition: transform .25s var(--spring), background .2s, opacity .2s;
}
.arrow svg { width: 22px; height: 22px; }
.arrow[data-dir="-1"] svg { transform: rotate(180deg); }
.arrow:hover:not(:disabled) { background: var(--lime); transform: scale(1.08); }
.arrow:disabled { opacity: .3; cursor: default; }

.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 4px; transform-origin: left; transition: transform .1s linear; }

/* szerokości kart w sliderach: n = widoczne karty */
.track--products { --n: 1.3; }
@media (min-width: 480px)  { .track--products { --n: 1.8; } }
@media (min-width: 700px)  { .track--products { --n: 2.6; } }
@media (min-width: 1000px) { .track--products { --n: 3.3; } }
@media (min-width: 1280px) { .track--products { --n: 4.2; } }
.track--products > .card { width: calc((min(100vw, var(--maxw)) - 2 * var(--gut) - (var(--n) - 1) * var(--gap)) / var(--n)); flex: none; }

/* ---------------------------------------------------------------- PRODUCT CARD */
.card { position: relative; display: flex; flex-direction: column; container-type: inline-size; min-width: 0; }
.card__top { position: relative; }
.card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r);
  background: var(--t); overflow: hidden; isolation: isolate;
}
.card__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .25s; pointer-events: none; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .35s; }
.card__alt { opacity: 0; }
.card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 60px); }
.card__badges .badge:first-child { transform: rotate(-4deg); }
.heart {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink);
  display: grid; place-items: center; transition: transform .3s var(--spring), background .2s;
}
.heart svg { width: 19px; height: 19px; }
.heart:hover { transform: scale(1.1); }
.heart[aria-pressed="true"] { background: var(--pink); --fill: var(--ink); }
.heart.pop { animation: bump .5s var(--spring); }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: none; gap: 8px;
}
.card__quick button {
  flex: 1; min-height: 44px; border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--paper); font-weight: 800; font-size: 13px; letter-spacing: .03em;
  transition: background .2s, transform .25s var(--spring);
}
.card__quick button:hover { background: var(--ink); color: var(--lime); }
.card__quick .qa { background: var(--c); color: var(--on); flex: 1.2; }

@media (hover: hover) and (pointer: fine) {
  .card__quick { display: flex; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .3s var(--ease); }
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
  .card:hover .card__media img { transform: scale(1.05); }
  .card:hover .card__alt { opacity: 1; }
  .card:hover .card__media::after { box-shadow: inset 0 0 0 2px var(--ink); }
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 2px 0; }
.card__cat { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ink-2); }
.card__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); }
.card__name { margin-top: 5px; font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.card__name a::after { content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 4 / 5; }
.card__hook { margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); border: 1.5px solid var(--ink); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.price s { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.add {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 2px solid var(--ink); background: var(--c); color: var(--on);
  font-weight: 800; font-size: 13px; letter-spacing: .03em; white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s;
}
.add:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: var(--hard); }
.add.is-added { background: var(--ink); color: var(--lime); }
@container (max-width: 230px) {
  .card__row { flex-direction: column; align-items: stretch; }
  .card__name { font-size: 16px; }
  .card__hook { font-size: 13px; }
  .price b { font-size: 18px; }
  .heart { width: 38px; height: 38px; }
}

/* ---------------------------------------------------------------- CATEGORY TILES */
.track--cats > .cat { flex: none; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  width: clamp(270px, 76vw, 420px); height: clamp(360px, 100vw, 470px);
  padding: 22px; border-radius: var(--r-lg); border: 2px solid var(--ink);
  background-color: var(--c); color: var(--on); overflow: hidden; isolation: isolate;
  background-image: radial-gradient(rgba(16,16,16,.12) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  transition: transform .45s var(--spring), box-shadow .3s;
}
.cat:hover { transform: rotate(-1.5deg) translateY(-6px); box-shadow: 6px 6px 0 var(--ink); }
.cat:nth-child(even):hover { transform: rotate(1.5deg) translateY(-6px); }
.cat { container-type: inline-size; }
.cat__name { font-weight: 800; font-size: min(84px, 15.5cqi); letter-spacing: -.055em; line-height: .86; font-variation-settings: "opsz" 96; position: relative; z-index: 2; }
.cat__name span { display: block; font-size: .55em; margin-top: 6px; }
.cat__hook { position: relative; z-index: 2; margin-top: 10px; font-weight: 700; max-width: 14em; }
.cat img { position: absolute; right: -8%; bottom: -4%; width: 70%; height: auto; z-index: 1; transition: transform .5s var(--spring); filter: drop-shadow(0 14px 16px rgba(16,16,16,.2)); }
.cat:hover img { transform: scale(1.07) rotate(5deg); }
.cat__foot { position: static; z-index: 2; display: flex; align-items: center; gap: 10px; }
.cat__cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-pill); font-weight: 800; font-size: 14px; }
.cat__count { position: relative; z-index: 2; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .06em; background: var(--paper); padding: 4px 9px; border-radius: var(--r-pill); }

/* ---------------------------------------------------------------- DROP */
.drop { margin-top: clamp(64px, 9vw, 120px); background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.drop::before { content: ""; position: absolute; width: 60vw; max-width: 780px; aspect-ratio: 1; right: -18%; top: -30%; border-radius: 50%; background: #4E87FF; }
.drop__inner { position: relative; display: grid; gap: 36px; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 7vw, 90px); }
.drop__title { margin-top: 20px; font-weight: 800; font-size: clamp(64px, 17vw, 168px); letter-spacing: -.06em; line-height: .84; font-variation-settings: "opsz" 96; }
.drop__title span { color: var(--lime); }
.drop__lead { margin-top: 20px; font-size: var(--fs-lg); max-width: 26em; color: rgba(255,255,255,.9); }
.drop .btn { margin-top: 26px; }
.drop__visual { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.dcard {
  position: relative; display: block; border-radius: var(--r); border: 2px solid var(--ink);
  background: var(--t); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 5px 5px 0 var(--ink);
  transition: transform .45s var(--spring);
}
.dcard img { width: 100%; height: 100%; object-fit: cover; }
.dcard:nth-child(1) { transform: rotate(-5deg) translateY(10px); }
.dcard:nth-child(2) { transform: rotate(2deg) translateY(-18px); z-index: 2; }
.dcard:nth-child(3) { transform: rotate(6deg) translateY(4px); }
.dcard:hover { transform: rotate(0) translateY(-24px) scale(1.04); z-index: 3; }
.dcard__tag { position: absolute; left: 8px; right: 8px; bottom: 8px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 8px; font-size: 11px; font-weight: 800; line-height: 1.15; }
.dcard__tag b { display: block; font-size: 14px; }
.marquee--big { background: var(--lime); color: var(--ink); border-top: 2px solid var(--ink); --speed: 22s; position: relative; }
.marquee--big .marquee__track { padding-block: 14px 12px; }
.marquee--big span, .marquee--big i { font-weight: 800; font-size: clamp(30px, 5vw, 60px); letter-spacing: -.035em; line-height: 1; font-style: normal; padding: 0 .35em; }
.marquee--big i { color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); }
@media (min-width: 900px) {
  .drop__inner { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
  .dcard__tag { font-size: 12px; left: 10px; right: 10px; bottom: 10px; }
  .dcard__tag b { font-size: 16px; }
}

/* ---------------------------------------------------------------- MOTUS */
.motus { margin-top: clamp(64px, 9vw, 120px); background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); overflow: hidden; position: relative; }
.motus::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; left: -160px; bottom: -260px; border-radius: 50%; background: var(--lime); opacity: .12; }
.motus__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); position: relative; }
.pill--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.motus__title { margin-top: 18px; font-weight: 800; font-size: clamp(52px, 10vw, 136px); letter-spacing: -.06em; line-height: .86; font-variation-settings: "opsz" 96; }
.motus__title span { color: var(--lime); }
.motus__lead { margin-top: 16px; font-size: var(--fs-lg); color: rgba(255,255,255,.78); max-width: 30em; }
.slider-nav--dark .arrow { background: transparent; border-color: #fff; color: #fff; }
.slider-nav--dark .arrow:hover:not(:disabled) { color: var(--ink); }
.track--models > .model { flex: none; width: clamp(270px, 78vw, 360px); }
@media (min-width: 1280px) { .track--models > .model { width: calc((min(100vw, var(--maxw)) - 2 * var(--gut) - 3 * var(--gap)) / 4); } }
.model { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--ink); container-type: inline-size; transition: transform .4s var(--spring); }
.model:hover { transform: translateY(-6px) rotate(-.6deg); }
.model__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--t); overflow: hidden; }
.model__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.model:hover .model__media img { transform: scale(1.05); }
.model__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.model__name { font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.model__hook { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.model__specs { margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.model__specs div { background: var(--t); border-radius: 10px; padding: 8px 8px 7px; min-width: 0; }
.model__specs dt { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.model__specs dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.motus__law { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.7); max-width: 60em; position: relative; }

/* ---------------------------------------------------------------- UGC / REELS */
.track--ugc > .reel { flex: none; }
.reel {
  position: relative; display: block; width: clamp(220px, 62vw, 300px); aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(165deg, var(--c) 0%, var(--t) 78%);
  border: 2px solid var(--ink);
  transition: transform .4s var(--spring);
}
.reel:hover { transform: translateY(-6px) rotate(-1deg); }
.reel__media { position: absolute; inset: 0; z-index: -1; }
.reel__media img, .reel__media video { width: 100%; height: 100%; object-fit: cover; }
.reel__media img { object-fit: contain; object-position: center 38%; transform: scale(1.02); }
.reel::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(16,16,16,.82)); }
.reel__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.reel__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 12px; border: 2px solid #fff; }
.reel__handle { color: var(--ink); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: var(--r-pill); }
.reel__demo { margin-left: auto; font-size: 10px; letter-spacing: .08em; background: var(--ink); color: #fff; padding: 4px 7px; border-radius: 6px; }
.reel__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(16,16,16,.25); transition: transform .3s var(--spring); }
.reel__play svg { width: 24px; height: 24px; margin-left: 4px; }
.reel .reel__play { background: rgba(255,255,255,.72); }
.reel:hover .reel__play { transform: scale(1.12); }
.reel__side { position: absolute; right: 10px; bottom: 120px; display: flex; flex-direction: column; gap: 14px; font-size: 11px; font-weight: 800; text-align: center; }
.reel__side span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(16,16,16,.35); font-size: 17px; }
.reel__bottom { position: absolute; left: 14px; right: 60px; bottom: 14px; }
.reel__hook { font-weight: 800; font-size: 22px; line-height: 1.02; letter-spacing: -.025em; }
.reel__views { margin-top: 6px; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; opacity: .9; }
.reel__views svg { width: 15px; height: 15px; }
.reel__shop { white-space: nowrap; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); border: 2px solid var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.reel__shop small { font-weight: 700; opacity: .7; }

/* ---------------------------------------------------------------- CATALOG */
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.toolbar--sticky { position: sticky; top: var(--hh); z-index: 20; background: var(--bg); padding-block: 12px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); border-bottom: 1px solid var(--line); }
.toolbar__row { display: flex; gap: 10px; align-items: center; }
.field-search { position: relative; flex: 1; min-width: 0; }
.field-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; }
.field-search input { width: 100%; height: 48px; border-radius: var(--r-pill); border: 2px solid var(--ink); background: var(--paper); padding: 0 16px 0 46px; font-size: 16px; }
.select { position: relative; flex: none; }
.select select { appearance: none; -webkit-appearance: none; height: 48px; border-radius: var(--r-pill); border: 2px solid var(--ink); background: var(--paper); padding: 0 40px 0 16px; font-weight: 800; font-size: 14px; cursor: pointer; max-width: 170px; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--paper); font-weight: 800; font-size: 13px; letter-spacing: .03em; white-space: nowrap;
  transition: background .2s, color .2s, transform .25s var(--spring);
}
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--c, var(--ink)); color: var(--on, var(--lime)); }
.chip sup { font-size: 10px; margin-left: 3px; opacity: .6; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 768px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.catalog__count { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.catalog__more { display: flex; justify-content: center; margin-top: 40px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; border: 2px dashed var(--ink); border-radius: var(--r-lg); }
.empty p:first-child { font-size: 48px; }
.empty h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0; }
.empty .btn { margin-top: 18px; }
@media (min-width: 900px) {
  .toolbar { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .toolbar .chips { order: 3; width: 100%; margin: 0; padding-inline: 0; flex-wrap: wrap; }
  .toolbar__row { width: 100%; }
  .field-search { max-width: 420px; }
  .select { margin-left: auto; }
  .select select { max-width: none; }
}

.shop-hero { padding-block: 28px 24px; }
.shop-hero__box {
  border-radius: var(--r-lg); border: 2px solid var(--ink); background: var(--c); color: var(--on);
  padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-image: radial-gradient(rgba(16,16,16,.12) 1.4px, transparent 1.6px); background-size: 18px 18px;
}
.shop-hero__crumbs { font-size: 13px; font-weight: 700; opacity: .85; margin-bottom: auto; padding-bottom: 20px; }
.shop-hero__crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.shop-hero h1 { font-weight: 800; font-size: clamp(54px, 11vw, 140px); letter-spacing: -.055em; line-height: .86; position: relative; z-index: 2; font-variation-settings: "opsz" 96; }
.shop-hero p { margin-top: 12px; font-weight: 700; font-size: var(--fs-lg); position: relative; z-index: 2; max-width: 60%; }
.shop-hero img { position: absolute; right: -2%; bottom: -14%; width: clamp(150px, 30vw, 360px); z-index: 1; filter: drop-shadow(0 14px 16px rgba(16,16,16,.2)); }

/* ---------------------------------------------------------------- PDP */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); padding-block: 18px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--ink-3); }
.pdp { display: grid; gap: 24px; }
.gallery { min-width: 0; }
.gallery__main {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gut) * -1); gap: 0;
}
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--t); position: relative; overflow: hidden; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide--video { display: grid; place-items: center; background: var(--c); color: var(--on); text-align: center; padding: 24px; }
.gallery__slide--video .reel__play { position: static; margin: 0 auto 14px; }
.gallery__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery__dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .3s, background .3s; }
.gallery__dots i.on { width: 24px; background: var(--ink); }
.gallery__thumbs { display: none; }
.gallery__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 55fr 45fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .gallery__main { margin-inline: 0; border-radius: var(--r-lg); border: 2px solid var(--ink); }
  .gallery__dots { display: none; }
  .gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
  .gallery__thumbs button { width: 88px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--t); border: 2px solid transparent; transition: border-color .2s, transform .25s var(--spring); display: grid; place-items: center; }
  .gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
  .gallery__thumbs button:hover { transform: translateY(-3px); }
  .gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
  .gallery__thumbs .thumb-video { background: var(--c); color: var(--on); font-size: 11px; font-weight: 800; }
  .gallery__thumbs .thumb-video svg { width: 22px; height: 22px; }
}

.buy { position: relative; }
@media (min-width: 900px) { .buy { position: sticky; top: calc(var(--hh) + 24px); } }
.buy__badge { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.buy__badge .pill { background: var(--c); color: var(--on); }
.buy h1 { margin-top: 14px; font-weight: 800; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.05em; line-height: .9; font-variation-settings: "opsz" 96; }
.rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.rating__stars { letter-spacing: 2px; color: var(--ink-3); font-size: 16px; }
.buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 18px; }
.buy__price b { font-size: clamp(34px, 4vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.buy__price s { font-size: 18px; color: var(--ink-3); }
.buy__hook { margin-top: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.buy__desc { margin-top: 10px; color: var(--ink-2); }
.opt { margin-top: 22px; }
.opt__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; margin-bottom: 10px; }
.opt__label span { color: var(--ink-2); font-weight: 700; letter-spacing: 0; margin-left: 4px; text-transform: none; font-size: 14px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14px; transition: border-color .2s; }
.variant i { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 1.5px solid var(--ink); }
.variant[aria-pressed="true"] { border-color: var(--ink); box-shadow: var(--hard); }
.buy__row { display: flex; gap: 10px; margin-top: 22px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); height: 60px; flex: none; }
.qty button { width: 46px; height: 100%; font-size: 22px; font-weight: 800; border-radius: var(--r-pill); }
.qty button:hover { background: var(--lime); }
.qty output, .qty input { width: 32px; text-align: center; font-weight: 800; font-size: 17px; border: 0; background: none; }
.btn-buy {
  flex: 1; min-height: 60px; border-radius: var(--r-pill); border: 2px solid var(--ink);
  background: var(--ink); color: var(--lime); font-weight: 800; font-size: 16px; letter-spacing: .03em;
  transition: transform .25s var(--spring), box-shadow .25s, background .2s;
}
.btn-buy:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--pink); }
.btn-buy.is-added { background: var(--lime); color: var(--ink); }
.buy__wish { width: 60px; height: 60px; flex: none; }
.buy__wish.heart { position: static; }
.buy__wish svg { width: 22px; height: 22px; }
.perks { margin-top: 20px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); }
.perks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; font-size: 14px; }
.perks li + li { border-top: 1px solid var(--line); }
.perks svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.perks b { display: block; font-size: 15px; }
.perks small { color: var(--ink-2); font-size: 13px; }

.pdp-sec { margin-top: clamp(56px, 8vw, 100px); }
.pdp-sec .h2 { font-size: clamp(32px, 4.6vw, 60px); margin-bottom: 24px; }
.benefits { display: grid; gap: 12px; }
@media (min-width: 700px) { .benefits { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } }
.benefit { border-radius: var(--r-lg); border: 2px solid var(--ink); padding: 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; background: var(--c); color: var(--on); }
.benefit:nth-child(2) { background: var(--paper); color: var(--ink); }
.benefit:nth-child(3) { background: var(--ink); color: #fff; }
.benefit span { font-size: 13px; font-weight: 800; letter-spacing: .08em; opacity: .7; }
.benefit p { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.video-ph {
  position: relative; display: grid; place-items: center; text-align: center;
  aspect-ratio: 16 / 9; border-radius: var(--r-lg); border: 2px solid var(--ink); overflow: hidden;
  background: linear-gradient(135deg, var(--c), var(--t)); color: var(--ink);
}
.video-ph img { position: absolute; height: 115%; width: auto; right: 4%; bottom: -8%; opacity: .95; }
.video-ph__inner { position: relative; z-index: 2; padding: 20px; background: rgba(255,255,255,.88); border-radius: var(--r); border: 2px solid var(--ink); max-width: 80%; }
.video-ph .reel__play { position: static; margin: 0 auto 12px; }
.video-ph b { display: block; font-size: 18px; }
.video-ph small { color: var(--ink-2); }
@media (max-width: 599px) { .video-ph { aspect-ratio: 4 / 5; } .video-ph img { height: 80%; right: -10%; } }
.pdp-2col { display: grid; gap: 40px; }
@media (min-width: 900px) { .pdp-2col { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); } }
.specs { border-top: 2px solid var(--ink); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { font-weight: 800; }
.specs dd { margin: 0; text-align: right; color: var(--ink-2); }
.specs-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 800; font-size: 16px; cursor: pointer; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 18px; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 40em; }

.atc-bar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--bnav) + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 10px var(--gut);
  background: var(--paper); border-top: 2px solid var(--ink);
  transform: translateY(130%); transition: transform .35s var(--ease);
}
.atc-bar.show { transform: none; }
.atc-bar__info { flex: 1; min-width: 0; }
.atc-bar__info b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atc-bar__info span { font-weight: 800; font-size: 18px; }
.atc-bar .btn-buy { flex: none; min-height: 50px; padding: 0 22px; font-size: 14px; }
@media (min-width: 900px) { .atc-bar { display: none; } }

/* ---------------------------------------------------------------- CART DRAWER */
.drawer, .search { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open, .search.is-open { visibility: visible; }
.drawer__overlay, .search__overlay { position: absolute; inset: 0; background: rgba(16,16,16,.45); opacity: 0; transition: opacity .3s; }
.is-open > .drawer__overlay, .is-open > .search__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .42s var(--ease);
  border-left: 2px solid var(--ink);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 20px; border-bottom: 2px solid var(--ink); }
.drawer__head h2 { font-weight: 800; font-size: 26px; letter-spacing: -.04em; }
.ship { padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.ship b { font-weight: 800; }
.ship__bar { height: 10px; border-radius: 5px; background: var(--line); margin-top: 8px; overflow: hidden; border: 1.5px solid var(--ink); }
.ship__bar i { display: block; height: 100%; background: var(--lime); transition: width .5s var(--ease); }
.ship.is-free .ship__bar i { background: var(--pink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.citem { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.citem__img { width: 84px; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--t); overflow: hidden; }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__name { font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: -.01em; }
.citem__var { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.citem .qty { height: 40px; margin-top: 10px; }
.citem .qty button { width: 36px; font-size: 18px; }
.citem .qty output { width: 26px; font-size: 15px; }
.citem__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.citem__price { font-weight: 800; white-space: nowrap; }
.citem__rm { font-size: 12px; font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.citem__rm:hover { color: var(--pink); }
.cart-empty { text-align: center; padding: 48px 12px; }
.cart-empty p:first-child { font-size: 54px; }
.cart-empty h3 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0; }
.cart-empty .btn { margin-top: 18px; }
.xsell { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.xsell h3 { font-size: 15px; font-weight: 800; letter-spacing: .02em; margin-bottom: 10px; }
.xsell__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.xs { position: relative; border-radius: 12px; background: var(--t); overflow: hidden; }
.xs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.xs__info { padding: 6px 8px 8px; background: var(--paper); border: 1.5px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; }
.xs__info b { display: block; font-size: 12px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xs__info span { font-size: 12px; font-weight: 700; }
.xs button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 18px; line-height: 1; transition: transform .25s var(--spring); }
.xs button:hover { transform: scale(1.12) rotate(90deg); }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--bg); }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 20px; }
.sum small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.drawer__foot .btn { width: 100%; margin-top: 12px; min-height: 58px; font-size: 16px; }
.drawer__foot p { margin-top: 8px; font-size: 12px; color: var(--ink-2); text-align: center; }

/* ---------------------------------------------------------------- SEARCH */
.search__panel { position: absolute; left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; background: var(--bg); border-bottom: 2px solid var(--ink); transform: translateY(-100%); transition: transform .38s var(--ease); padding-bottom: 24px; }
.search.is-open .search__panel { transform: none; }
.search__form { display: flex; align-items: center; gap: 10px; height: 84px; position: relative; }
.search__form > svg { width: 26px; height: 26px; flex: none; }
.search__form input { flex: 1; min-width: 0; height: 56px; border: 0; border-bottom: 2px solid var(--ink); background: none; font-size: clamp(20px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; outline: none; border-radius: 0; }
.search__form input::-webkit-search-cancel-button { display: none; }
.search__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.search__tags p { width: 100%; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--ink-2); }
.search__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .search__results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .search__results { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sres { display: block; border-radius: 12px; overflow: hidden; background: var(--paper); border: 2px solid var(--line); transition: border-color .2s, transform .25s var(--spring); }
.sres:hover { border-color: var(--ink); transform: translateY(-3px); }
.sres__img { aspect-ratio: 1; background: var(--t); overflow: hidden; }
.sres__img img { width: 100%; height: 100%; object-fit: cover; }
.sres div:last-child { padding: 8px 10px; font-size: 13px; }
.sres b { display: block; line-height: 1.15; }
.search__none { grid-column: 1 / -1; font-weight: 700; color: var(--ink-2); }
.search__all { grid-column: 1 / -1; justify-self: start; }

/* ---------------------------------------------------------------- QUICK VIEW */
.qv {
  width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0;
  border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--bg); color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink); overflow: auto;
}
.qv::backdrop { background: rgba(16,16,16,.5); }
.qv[open] { animation: qvIn .35s var(--ease); }
.qv__grid { display: grid; }
.qv__media { position: relative; background: var(--t); aspect-ratio: 4 / 5; max-height: 52dvh; width: 100%; }
.qv__media img { width: 100%; height: 100%; object-fit: contain; }
.qv__body { padding: 22px; display: flex; flex-direction: column; }
.qv__body h2 { font-weight: 800; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; line-height: .92; margin-top: 10px; }
.qv__close { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--paper); border: 2px solid var(--ink); }
.qv__link { margin-top: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; min-height: 32px; }
@media (min-width: 760px) {
  .qv__grid { grid-template-columns: 1fr 1fr; }
  .qv__media { max-height: none; }
  .qv__body { padding: 36px 32px; justify-content: center; }
}

/* ---------------------------------------------------------------- CHECKOUT */
.co { display: grid; gap: 28px; padding-block: 12px 64px; }
.co h1 { font-weight: 800; font-size: clamp(44px, 7vw, 96px); letter-spacing: -.05em; line-height: .9; }
.co__demo { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--yellow-t); border: 2px solid var(--ink); font-size: 14px; font-weight: 600; }
.fs { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.fs legend { font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.fs legend i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 14px; }
.fgrid { display: grid; gap: 12px; }
@media (min-width: 600px) { .fgrid--2 { grid-template-columns: 1fr 1fr; } .fgrid .span2 { grid-column: 1 / -1; } }
.f label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.f input { width: 100%; height: 52px; border-radius: 12px; border: 2px solid var(--ink); background: var(--paper); padding: 0 14px; font-size: 16px; transition: box-shadow .2s; }
.f input:focus { outline: none; box-shadow: 0 0 0 4px var(--lime); }
.f.err input { border-color: var(--pink); background: #FFF5F9; }
.f small { display: none; color: #C2185B; font-size: 12px; font-weight: 700; margin-top: 4px; }
.f.err small { display: block; }
.radio { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; min-height: 60px; transition: border-color .2s, box-shadow .2s; }
.radio input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.radio span { flex: 1; font-weight: 700; }
.radio span small { display: block; font-weight: 500; color: var(--ink-2); font-size: 13px; }
.radio b { white-space: nowrap; }
.radio:has(input:checked) { border-color: var(--ink); box-shadow: var(--hard); }
.co__side { align-self: start; border: 2px solid var(--ink); border-radius: var(--r-lg); background: var(--paper); padding: 20px; }
.co__side h2 { font-weight: 800; font-size: 22px; letter-spacing: -.03em; margin-bottom: 8px; }
.co__line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.co__line--tot { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 22px; }
.co__mini { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co__mini div:first-child { width: 52px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: var(--t); }
.co__mini img { width: 100%; height: 100%; object-fit: cover; }
.co__side .btn { width: 100%; margin-top: 16px; min-height: 58px; }
.co__ok { text-align: center; padding: 64px 0 96px; max-width: 640px; margin: 0 auto; }
.co__ok p:first-child { font-size: 72px; }
.co__ok h1 { margin: 12px 0; }
.co__ok .btn { margin-top: 20px; }
@media (min-width: 960px) {
  .co { grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); }
  .co__side { position: sticky; top: calc(var(--hh) + 24px); }
}

/* ---------------------------------------------------------------- BRAND STRIP */
.brand { padding-block: clamp(72px, 10vw, 140px); text-align: center; }
.brand__big { font-weight: 800; font-size: clamp(40px, 7.5vw, 112px); letter-spacing: -.055em; line-height: .9; font-variation-settings: "opsz" 96; }
.brand__big span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.brand__small { margin: 22px auto 0; max-width: 34em; color: var(--ink-2); font-size: var(--fs-lg); }

/* ---------------------------------------------------------------- FOOTER */
.footer { background: var(--ink); color: #fff; padding-top: clamp(48px, 7vw, 88px); }
.footer .logo__bang { color: var(--lime); }
.footer__top { display: grid; gap: 40px; }
.footer__brand > p { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--lime); }
.newsletter { margin-top: 28px; max-width: 460px; }
.newsletter label { display: block; font-weight: 800; margin-bottom: 8px; }
.newsletter div { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 48px; border-radius: var(--r-pill); border: 2px solid #fff; background: transparent; color: #fff; padding: 0 18px; font-size: 16px; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter .btn { border-color: var(--lime); }
.newsletter small { display: block; margin-top: 8px; min-height: 1.4em; color: var(--lime); font-weight: 700; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.footer__cols h3 { font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.footer__cols a { display: block; padding: 6px 0; font-weight: 700; font-size: 15px; }
.footer__cols a:hover { color: var(--lime); }
.footer__bottom { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(255,255,255,.65); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.3fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------------------------------------------------------------- BOTTOM NAV (mobile) */
.bnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bnav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(250,250,248,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 2px solid var(--ink);
}
.bnav a, .bnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.bnav svg { width: 24px; height: 24px; transition: transform .25s var(--spring); }
.bnav a[aria-current="page"] svg { transform: translateY(-2px); }
.bnav a[aria-current="page"]::before { content: ""; position: absolute; top: 8px; width: 34px; height: 30px; border-radius: 12px; background: var(--lime); z-index: -1; }
.bnav__count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: var(--ink); font-size: 11px; display: grid; place-items: center; border: 2px solid var(--bg); }
@media (min-width: 900px) { .bnav { display: none; } }

/* ---------------------------------------------------------------- TOAST */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bnav) + 16px + env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
  transform: translate(-50%, calc(100% + 140px)); visibility: hidden; transition: transform .4s var(--spring), visibility 0s .4s; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--spring); pointer-events: auto; }
.toast button { min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-weight: 800; font-size: 12px; }
.toast span { overflow: hidden; text-overflow: ellipsis; }
body.has-atc .toast { bottom: calc(var(--bnav) + 88px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .toast, body.has-atc .toast { bottom: 28px; } }

/* ---------------------------------------------------------------- MOTION */
.float { animation: float 6s ease-in-out infinite; }
.float--d1 { animation-delay: -1.5s; animation-duration: 7s; }
.float--d2 { animation-delay: -3s; animation-duration: 6.5s; }
.float--d3 { animation-delay: -4.5s; animation-duration: 7.5s; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.view.enter { animation: viewIn .45s var(--ease); }
.fly { position: fixed; z-index: 130; width: 64px; height: 80px; border-radius: 12px; overflow: hidden; pointer-events: none; transition: transform .7s cubic-bezier(.5, -.3, .3, 1), opacity .7s; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1.2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(-6deg) scale(1.05); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,61,154,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,61,154,0); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(-4deg); } 100% { transform: scale(1); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes qvIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

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

/* ---------------------------------------------------------------- REAL PHOTOS (packshoty) */
/* produkt z polem photo: true → jasne tło + zdjęcie w całości (bez przycinania) */
/* packshoty mają przezroczyste tło → zostaje kolor kategorii; tylko bez przycinania */
.is-photo img { object-fit: contain !important; }
.reel .reel__photo { object-fit: cover !important; transform: none !important; }
.badge--PRO { background: var(--ink); color: #fff; }
.badge--BEAST { background: var(--ink); color: var(--orange); }
.badge---23- { background: var(--ink); color: var(--lime); }

/* ---------------------------------------------------------------- MUSIC PLAYER */
.music {
  position: fixed; left: 12px; bottom: calc(var(--bnav) + 12px + env(safe-area-inset-bottom)); z-index: 44;
  width: 236px; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden;
  background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--lime);
  transition: width .3s var(--ease), transform .3s var(--ease);
}
@media (min-width: 900px) { .music { left: 20px; bottom: 20px; width: 260px; } }
.music__player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.music__player iframe, .music__player > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.music__bar { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; }
.music__meta { flex: 1; min-width: 0; line-height: 1.15; }
.music__meta b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music__meta small { display: block; font-size: 10.5px; color: var(--lime); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music__btn { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 16px; font-weight: 800; display: grid; place-items: center; transition: transform .25s var(--spring); }
.music__btn:hover { transform: scale(1.1); }
.music__min { background: #2a2a2a; color: #fff; }
.music__eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex: none; }
.music__eq i { width: 3px; height: 30%; background: var(--lime); border-radius: 2px; }
.music.is-playing:not(.is-muted) .music__eq i { animation: eq .9s ease-in-out infinite; }
.music.is-playing:not(.is-muted) .music__eq i:nth-child(2) { animation-delay: -.3s; }
.music.is-playing:not(.is-muted) .music__eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
/* zwinięty: mniejszy, ale odtwarzacz YouTube pozostaje widoczny (wymóg YouTube) */
.music.is-min { width: 150px; }
.music.is-min .music__meta { display: none; }
.music.is-min .music__bar { justify-content: space-between; }
.music.is-min .music__min { transform: rotate(180deg); }
body.has-atc .music { bottom: calc(var(--bnav) + 84px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.has-atc .music { bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { .music__eq i { animation: none !important; } }

.warn { margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--ink); background: var(--yellow-t); font-size: 13px; font-weight: 600; line-height: 1.35; }
.card__warn { margin-top: 3px; font-size: 11px; font-weight: 800; color: #B3261E; letter-spacing: .02em; }
