/* ANKOBAGS — концепт редизайну
   Палітра взята з назв кольорів шкіри в каталозі ANKO:
   сіро-бузковий камінь як підлога показу, шоколад як чорнило, баклажан як дія, бургунді як знижка. */

:root {
  --stone: #E4E0E3;      /* сіро-бузковий камінь — фон */
  --stone-deep: #D3CCD2; /* підлога подіуму */
  --paper: #F2EFF1;      /* світла поверхня: картки, кошик */
  --ink: #2B1B17;        /* шоколад — текст */
  --ink-soft: #6A5A5D;   /* приглушений текст */
  --aubergine: #4E2440;  /* баклажан — кнопки, фокус */
  --burgundy: #8A2A2E;   /* бургунді — ціна зі знижкою */
  --line: rgba(43, 27, 23, .16);

  --display: "Prata", "Times New Roman", serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* модульна шкала 1.333 від 16px */
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.333rem;
  --fs-lg: 1.777rem;
  --fs-xl: 2.369rem;
  --fs-2xl: clamp(2.369rem, 4.6vw, 4.209rem);

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 var(--fs-base)/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--aubergine); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 500; font-size: var(--fs-base); text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--aubergine); border-color: var(--aubergine); }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 68px; padding: 0 var(--gutter);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-solid { background: rgba(228, 224, 227, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__logo { font-family: var(--display); font-size: 1.6rem; letter-spacing: .08em; text-decoration: none; justify-self: start; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav__phone { text-decoration: none; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.nav__phone:hover { color: var(--ink); }
.nav__cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--ink); border-radius: 999px;
  min-height: 40px; padding: 0 8px 0 16px; font-weight: 500;
}
.nav__count {
  min-width: 26px; height: 26px; border-radius: 999px; padding: 0 6px;
  display: inline-grid; place-items: center;
  background: var(--ink); color: var(--paper); font-size: var(--fs-sm); font-variant-numeric: tabular-nums;
}
.nav__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); background: var(--aubergine); } }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1fr; align-content: end;
  padding: 96px var(--gutter) clamp(32px, 6vh, 64px);
  overflow: hidden;
}
.hero__word {
  position: absolute; inset: 72px 0 auto; display: flex; justify-content: center;
  font-family: var(--display); line-height: .8;
  font-size: clamp(7rem, 31vw, 34rem); letter-spacing: -.02em;
  color: var(--stone-deep);
  user-select: none; pointer-events: none;
}
.hero__word span { display: inline-block; }
/* без transform на батьківському елементі: інакше multiply ізолюється і біле тло фото проступає */
.hero__bag {
  position: absolute; margin: 0 auto;
  left: 0; right: 0; top: clamp(84px, 11vh, 140px);
  width: min(42vw, 50vh, 640px);
}
.hero__bag img { mix-blend-mode: multiply; width: 100%; }
.hero__bag figcaption {
  position: absolute; left: 100%; bottom: 22%; padding-left: 8px;
  font-size: var(--fs-sm); color: var(--ink-soft); width: 16ch; line-height: 1.35;
}
.hero__copy {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 48px; align-items: end;
}
.hero__copy h1 { font-size: var(--fs-2xl); line-height: 1.05; max-width: 14ch; }
.hero__copy p { color: var(--ink-soft); max-width: 42ch; font-size: var(--fs-md); line-height: 1.45; }
.hero__actions { grid-column: 2; display: flex; gap: 12px; flex-wrap: wrap; }

/* Page-load: the single orchestrated moment */
.js .hero__word span { transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.js .hero__bag img { opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease) .35s, transform 1.6s var(--ease) .35s; }
.js .hero__copy, .js .hero__bag figcaption { opacity: 0; transition: opacity .8s var(--ease) .9s; }
.is-loaded .hero__word span { transform: none; opacity: 1; }
.is-loaded .hero__word span:nth-child(2) { transition-delay: .08s; }
.is-loaded .hero__word span:nth-child(3) { transition-delay: .16s; }
.is-loaded .hero__word span:nth-child(4) { transition-delay: .24s; }
.is-loaded .hero__bag img { opacity: 1; transform: none; }
.is-loaded .hero__copy, .is-loaded .hero__bag figcaption { opacity: 1; }

/* ---------------- RUNWAY: глибинний подіум ----------------
   Сумки стоять в одну лінію, що йде з правого краю в розмитий простір ліворуч.
   Положення, розмір, розмиття і прозорість кожної сумки читаються з таблиці глибин в app.js. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.runway { position: relative; background: var(--stone); }
.runway__sticky {
  position: sticky; top: 0; height: 100svh; min-height: 520px; padding-top: 68px;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 372px);
}
.stage {
  position: relative; overflow: hidden; min-width: 0;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: none;
  background:
    linear-gradient(transparent 60%, rgba(255, 255, 255, .55) 100%),
    linear-gradient(90deg, #E6E1E5 0%, #D9D2D8 38%, #E1DBE0 62%, #ECE8EB 100%);
}
.stage:focus-visible { outline: 2px solid var(--aubergine); outline-offset: -4px; }
.stage__line { position: absolute; inset: 0; }
/* multiply на самому шарі: біле тло фото зникає в підлозі подіуму */
.m { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, filter; mix-blend-mode: multiply; }
.m img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.m::before {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 9%; height: 4.5%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 27, 23, .3), transparent);
}

.stage__intro { position: absolute; z-index: 200; left: var(--gutter); top: 32px; width: min(400px, 60%); pointer-events: none; }
.stage__intro h2 { font-size: var(--fs-xl); line-height: 1.1; }
.stage__intro p { margin-top: 14px; color: var(--ink-soft); line-height: 1.6; }

.stage__tag { position: absolute; z-index: 200; left: var(--gutter); bottom: 40px; --lh: 48px; }
.stage__look { display: flex; gap: .4em; font-family: var(--display); font-size: 2.4rem; line-height: var(--lh); pointer-events: none; }
.stage__win { height: var(--lh); overflow: hidden; }
.stage__roll { display: block; will-change: transform; font-variant-numeric: tabular-nums; }
.stage__roll b { display: block; height: var(--lh); font-weight: 400; }
.stage__name { color: var(--ink-soft); margin-top: 4px; }
.stage__shop {
  margin-top: 14px; padding: 0 0 4px; background: none; border: 0; border-bottom: 1px solid currentColor;
  font-weight: 500; cursor: pointer;
}
.stage__shop:hover { color: var(--aubergine); }
.stage__shop.is-done { color: var(--aubergine); }
.stage__progress { position: absolute; z-index: 200; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.stage__progress span { display: block; height: 100%; width: 0; background: var(--ink); }

.ring {
  position: absolute; z-index: 300; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border: 2.5px solid var(--ink); border-radius: 99px; pointer-events: none; opacity: 0;
  transition: width .22s cubic-bezier(.2, .8, .2, 1), height .22s cubic-bezier(.2, .8, .2, 1), margin .22s cubic-bezier(.2, .8, .2, 1), opacity .2s;
}
.ring.show { opacity: 1; }
.ring.drag { width: 84px; height: 34px; margin: -17px 0 0 -42px; }

/* Колонка «речі з образу»: 16 карток на одному зацикленому треку */
.rail { position: relative; overflow: hidden; background: var(--paper); min-height: 0; }
.rcard {
  position: absolute; left: 0; top: 0; width: 100%;
  display: flex; flex-direction: column; padding: 18px 24px;
  background: var(--paper); will-change: transform;
}
.rcard.alt { background: #FBFAFB; }
.fav { position: absolute; z-index: 1; left: 18px; top: 14px; width: 36px; height: 36px; padding: 7px; background: none; border: 0; color: var(--ink); }
.fav svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; transition: fill .2s; }
.fav[aria-pressed="true"] svg { fill: var(--burgundy); stroke: var(--burgundy); }
.rcard__shot { flex: 1; min-height: 0; display: block; }
.rcard__shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rcard__meta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 12px; margin-top: 6px; }
.rcard__meta h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.05rem; line-height: 1.2; }
.rcard__price { grid-column: 1; margin-top: 4px; font-size: var(--fs-sm); font-weight: 500; }
.rcard__price .sale { color: var(--burgundy); }
.rcard__price s { color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.rcard__add {
  grid-column: 2; grid-row: 1 / 3; width: 36px; height: 36px; position: relative;
  background: none; border: 0; border-radius: 99px; transition: transform .2s, background .2s;
}
.rcard__add::before, .rcard__add::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px; margin: -.75px 0 0 -7.5px; background: var(--ink);
}
.rcard__add::after { transform: rotate(90deg); }
.rcard__add:hover { transform: rotate(90deg); }
.rcard__add.is-done { background: var(--aubergine); }
.rcard__add.is-done::before, .rcard__add.is-done::after { background: var(--paper); }

@media (max-width: 820px) {
  .runway__sticky { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 190px; padding-top: 64px; }
  .stage, .m { cursor: auto; }
  .ring { display: none; }
  .stage__intro { top: 16px; width: calc(100% - 32px); }
  .stage__intro h2 { font-size: var(--fs-md); }
  .stage__intro p { display: none; }
  .stage__tag { bottom: 16px; --lh: 34px; }
  .stage__look { font-size: 1.6rem; }
  .stage__name { font-size: var(--fs-sm); }
  .rcard { width: 160px; height: 100%; padding: 10px 12px; }
  .fav { left: 4px; top: 4px; }
  .rcard__meta h4 { font-size: .95rem; }
  .rcard__price s { display: none; }
  .rcard__add { width: 32px; height: 32px; }
}

/* ---------------- CATALOG ---------------- */
.catalog { padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(64px, 8vw, 120px); }
.catalog__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 48px; }
.catalog__head h2 { font-size: var(--fs-2xl); line-height: 1; }
.catalog__head p { color: var(--ink-soft); max-width: 40ch; }
.filters { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.filter {
  min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__media { background: var(--paper); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; border-radius: 2px; }
.card__media img { width: 92%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__row { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.card__name { font-family: var(--display); font-size: var(--fs-md); line-height: 1.2; }
.card__price { white-space: nowrap; font-weight: 500; text-align: right; }
.card__price .sale { color: var(--burgundy); }
.card__price s { display: block; color: var(--ink-soft); font-weight: 400; font-size: var(--fs-sm); }
.card__desc { color: var(--ink-soft); font-size: var(--fs-sm); margin-top: 2px; }
.card__add {
  margin-top: 14px; align-self: flex-start;
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font-weight: 500;
  transition: background .2s, color .2s;
}
.card__add:hover { background: var(--ink); color: var(--paper); }
.card__add.is-done { background: var(--aubergine); border-color: var(--aubergine); color: var(--paper); }

/* ---------------- ATELIER ---------------- */
.atelier {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "preview head" "preview panel";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  padding: clamp(64px, 10vw, 140px) var(--gutter);
  background: var(--paper);
}
.atelier__head { grid-area: head; }
.atelier__panel { grid-area: panel; }
.atelier__preview { grid-area: preview; position: sticky; top: 88px; align-self: start; }
.atelier__canvas { aspect-ratio: 1 / .9; display: grid; place-items: center; background: var(--stone); border-radius: 2px; }
.atelier__canvas svg { width: 86%; height: auto; overflow: visible; }
.atelier__canvas .body-fill { transition: fill .45s var(--ease); }
.atelier__summary { margin-top: 16px; font-family: var(--display); font-size: var(--fs-md); }
.atelier__head h2 { font-size: var(--fs-2xl); line-height: 1; }
.atelier__lead { color: var(--ink-soft); margin: 16px 0 32px; max-width: 46ch; }
.pick { border: 0; padding: 0; margin: 0 0 28px; }
.pick legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.pick legend span { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.pick__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pick__swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 40px; height: 40px; border-radius: 999px; padding: 0; border: 1px solid rgba(43, 27, 23, .2);
  background: var(--c); position: relative;
}
.swatch[aria-checked="true"]::after {
  content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--ink); border-radius: 999px;
}
.atelier__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 48px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 0 8px;
  padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft);
}
.steps li::before { content: counter(s); font-family: var(--display); color: var(--ink); grid-row: span 2; }
.steps strong { color: var(--ink); font-weight: 500; }

/* ---------------- REVIEWS ---------------- */
.reviews { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.reviews h2 { font-size: var(--fs-xl); margin-bottom: 48px; }
.reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.review { margin: 0; }
.review blockquote { margin: 0; font-family: var(--display); font-size: var(--fs-lg); line-height: 1.3; }
.review figcaption { margin-top: 20px; color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------------- SHOWROOM ---------------- */
.showroom {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px);
  padding: clamp(64px, 10vw, 140px) var(--gutter);
  background: var(--ink); color: var(--paper);
}
.showroom h2 { font-size: var(--fs-2xl); line-height: 1.05; max-width: 14ch; }
.showroom__main p { color: rgba(242, 239, 241, .72); max-width: 46ch; margin-top: 24px; font-size: var(--fs-md); line-height: 1.45; }
.showroom__phone { display: inline-block; margin-top: 32px; font-family: var(--display); font-size: var(--fs-xl); text-decoration: none; }
.showroom__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.showroom__actions { margin-top: 24px; }
.showroom .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.showroom .btn--solid:hover { background: transparent; color: var(--paper); }
.showroom :focus-visible { outline-color: var(--paper); }
.perks { list-style: none; margin: 0; padding: 0; align-self: end; border-top: 1px solid rgba(242, 239, 241, .2); }
.perks li { padding: 20px 0; border-bottom: 1px solid rgba(242, 239, 241, .2); display: grid; gap: 4px; }
.perks strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-md); }
.perks span { color: rgba(242, 239, 241, .72); }

/* ---------------- FOOTER ---------------- */
.foot {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start;
  padding: 48px var(--gutter) 40px; background: var(--ink); color: rgba(242, 239, 241, .72);
  border-top: 1px solid rgba(242, 239, 241, .12);
}
.foot__logo { font-family: var(--display); font-size: 1.6rem; letter-spacing: .08em; color: var(--paper); }
.foot__brand p { margin-top: 6px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--paper); }
.foot__credit { grid-column: 1 / -1; font-size: var(--fs-sm); color: rgba(242, 239, 241, .5); }
.foot :focus-visible { outline-color: var(--paper); }

/* ---------------- CART ---------------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(43, 27, 23, .4); opacity: 0; transition: opacity .3s; }
.scrim.is-open { opacity: 1; }
.cart {
  position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: var(--fs-lg); }
.cart__close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: none; display: grid; place-items: center; }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart__empty { padding: 48px 0; color: var(--ink-soft); }
.cart__empty a { color: var(--ink); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line__img { width: 76px; height: 76px; background: var(--stone); border-radius: 2px; }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__name { font-family: var(--display); }
.line__meta { color: var(--ink-soft); font-size: var(--fs-sm); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: none; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.line__price { font-weight: 500; white-space: nowrap; }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: var(--fs-md); margin-bottom: 16px; }
.cart__foot .btn { width: 100%; }
.cart__note { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 12px; }
.form { display: grid; gap: 14px; padding: 16px 0; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: var(--fs-sm); }
.form input {
  font: inherit; min-height: 48px; padding: 0 14px; border-radius: 4px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.form input:focus { outline: 2px solid var(--aubergine); outline-offset: 0; border-color: transparent; }
.form__err { color: var(--burgundy); font-size: var(--fs-sm); }
.done { padding: 48px 0; }
.done h3 { font-size: var(--fs-lg); margin-bottom: 12px; }
.done p { color: var(--ink-soft); }

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px));
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px;
  transition: transform .4s var(--ease), visibility 0s .4s; visibility: hidden;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease); }

/* Позначка концепту: сайт публічний, покупці не мають сплутати його з офіційним магазином */
.concept {
  position: fixed; z-index: 35; left: 16px; bottom: 16px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(43, 27, 23, .88); color: var(--paper);
  font-size: .75rem; text-decoration: none; line-height: 1.3;
}
.concept:hover { background: var(--aubergine); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__phone { display: none; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .hero { align-content: start; padding-top: 112px; }
  .hero__copy { grid-template-columns: 1fr; }
  .hero__actions { grid-column: 1; }
  .hero__bag { position: relative; top: auto; width: min(82vw, 42svh); margin-bottom: 16px; }
  .hero__bag figcaption { display: none; }
  .hero__word { top: 90px; }
  .catalog__head, .showroom { grid-template-columns: 1fr; }
  .atelier { grid-template-columns: 1fr; grid-template-areas: "head" "preview" "panel"; grid-template-rows: auto; }
  .atelier__preview { position: relative; top: 0; margin: 32px 0 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .reviews__list { grid-template-columns: 1fr; gap: 40px; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card__row { flex-direction: column; gap: 2px; }
  .card__price { text-align: left; }
  .card__price s { display: inline; margin-left: 6px; }
  .card__add { width: 100%; padding: 0 10px; font-size: var(--fs-sm); white-space: nowrap; }
  .btn { width: 100%; }
  .hero__actions, .atelier__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover .card__media img { transform: none; }
}
