/* DR1FT — темна тема, нахил під кут логотипу, червоний акцент.
   Кольори --bg / --text / --accent підставляються з адмінки. */
:root {
  --bg: #0a0a0b;
  --text: #f4f4f5;
  --accent: #ffffff;
  --surface: color-mix(in srgb, var(--text) 5%, var(--bg));
  --surface-2: color-mix(in srgb, var(--text) 9%, var(--bg));
  --muted: color-mix(in srgb, var(--text) 55%, var(--bg));
  --line: color-mix(in srgb, var(--text) 10%, transparent);
  --on-accent: #fff;
  --skew: -14deg;
  --page: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --display: Unbounded, "Arial Black", sans-serif;
  --body: Manrope, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* легке «зерно» поверх усього */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.main { flex: 1; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.loading { padding: 140px 16px; display: grid; place-items: center; }
.spinner { width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- логотип (білий логотип на чорному → маска будь-якого кольору) ---------- */
.logo-mask {
  display: block; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  -webkit-mask-mode: luminance; mask-mode: luminance;
  aspect-ratio: 1;
}

/* ---------- біжучий рядок ---------- */
.ticker {
  background: var(--accent); color: var(--on-accent); overflow: hidden; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  height: 32px; display: flex; align-items: center;
}
.ticker__track { display: inline-flex; animation: ticker 40s linear infinite; will-change: transform; }
.ticker__track span { padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker__track span::after { content: ""; width: 14px; height: 6px; background: currentColor; transform: skewX(var(--skew)); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--page); margin: 0 auto; padding: 12px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0) skewX(var(--skew)); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1) skewX(var(--skew)); }
.logo { text-decoration: none; display: block; color: var(--text); }
.logo .logo-mask { height: 42px; width: 42px; transition: transform .4s var(--ease), color .2s; }
.logo:hover .logo-mask { transform: skewX(-6deg) translateX(2px); color: var(--accent); }
.logo img { height: 42px; width: auto; }
.logo__text { font-family: var(--display); font-weight: 900; font-size: 18px; font-style: italic; letter-spacing: .02em; }
.header__icons { display: flex; justify-content: flex-end; gap: 4px; }
.icon-btn {
  background: none; border: 0; padding: 9px; cursor: pointer; display: inline-flex;
  position: relative; text-decoration: none; color: var(--text); border-radius: 50%; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.menu-toggle { display: none; }
.cart-count {
  position: absolute; right: 1px; top: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: var(--on-accent); border-radius: 9px;
  font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ---------- кнопки (паралелограм, як у логотипі) ---------- */
.btn {
  --b: var(--text);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 34px; border: 0; background: none; cursor: pointer; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); isolation: isolate; transition: color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border: 1.5px solid var(--b);
  transform: skewX(var(--skew)); transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.btn:hover::before { background: var(--text); }
.btn:hover { color: var(--bg); }
.btn--accent { --b: var(--accent); color: var(--on-accent); }
.btn--accent::before { background: var(--accent); }
.btn--accent:hover { color: var(--on-accent); }
.btn--accent:hover::before { background: var(--accent); transform: skewX(var(--skew)) scaleX(1.04); box-shadow: 0 10px 40px -8px var(--accent); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[disabled]:hover { color: var(--text); }
.btn[disabled]:hover::before { background: none; }

/* ---------- банер ---------- */
.hero {
  position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 110%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
    radial-gradient(40% 40% at 50% 45%, color-mix(in srgb, var(--text) 6%, transparent), transparent 70%);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; opacity: .45; }
/* «швидкісні» лінії */
.hero__speed {
  position: absolute; inset: -20% -50%; z-index: -2; opacity: .55;
  background: repeating-linear-gradient(90deg, transparent 0 120px, color-mix(in srgb, var(--text) 7%, transparent) 120px 121px, transparent 121px 260px, color-mix(in srgb, var(--accent) 22%, transparent) 260px 262px, transparent 262px 420px);
  transform: skewX(var(--skew));
  animation: speed 6s linear infinite;
  -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent);
}
@keyframes speed { to { background-position: -420px 0; } }
/* величезний контурний текст, що їде позаду */
.hero__outline {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; z-index: -1; white-space: nowrap; overflow: hidden;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(90px, 17vw, 260px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 13%, transparent); user-select: none;
}
.hero__outline div { display: inline-block; animation: ticker 50s linear infinite; }
.hero__outline span { padding-right: .4em; }
.hero__content { position: relative; padding: 70px 16px 90px; display: grid; justify-items: center; }
.hero__logo {
  width: clamp(150px, 26vw, 270px); color: var(--text);
  filter: drop-shadow(0 0 40px color-mix(in srgb, var(--accent) 45%, transparent));
  animation: slideIn 1.1s var(--ease) both;
}
.hero__logo img { width: 100%; }
.hero__title {
  font-family: var(--display); font-weight: 900; font-style: italic; letter-spacing: -.01em; text-transform: uppercase;
  font-size: clamp(30px, 6vw, 76px); line-height: .95; margin: 22px 0 0;
  animation: rise .9s .2s var(--ease) both;
}
.hero__title em { font-style: inherit; color: var(--accent); }
.hero__sub { color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); margin: 16px 0 34px; max-width: 520px; animation: rise .9s .32s var(--ease) both; }
.hero .btn { animation: rise .9s .44s var(--ease) both; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 1px; height: 46px;
  background: linear-gradient(var(--text), transparent); opacity: .5; animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-80px) skewX(-20deg); filter: blur(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- переваги ---------- */
.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks__inner { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); }
.perk { padding: 26px var(--gutter); display: flex; gap: 16px; align-items: flex-start; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__num { font-family: var(--display); font-weight: 900; font-style: italic; color: var(--accent); font-size: 13px; padding-top: 2px; }
.perk__title { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.perk__text { color: var(--muted); font-size: 13px; }

/* ---------- секції ---------- */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }
.section__title {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(28px, 5vw, 56px); line-height: 1; margin: 0; letter-spacing: -.01em;
}
.section__title sup { font-size: .32em; color: var(--accent); vertical-align: top; margin-left: 6px; font-style: normal; letter-spacing: .05em; }
.link-arrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; gap: 10px; align-items: center; color: var(--muted); transition: color .2s;
}
.link-arrow:hover { color: var(--accent); }

/* ---------- картки товарів ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.card { text-decoration: none; display: block; position: relative; }
.card__media {
  aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.card__media .alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media .alt { opacity: 1; }
.card__num {
  position: absolute; top: 12px; left: 14px; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: .1em; color: var(--text); mix-blend-mode: difference;
}
.card__go {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); transform: skewX(var(--skew)) translateY(12px); opacity: 0;
  transition: transform .4s var(--ease), opacity .3s;
}
.card__go svg { transform: skewX(14deg); }
.card:hover .card__go { transform: skewX(var(--skew)); opacity: 1; }
.card__body { padding: 14px 2px 0; display: grid; gap: 4px; }
.card__title { font-size: 14px; font-weight: 600; line-height: 1.35; transition: color .2s; }
.card:hover .card__title { color: var(--accent); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card__price { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.card__sizes { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.badge {
  position: absolute; left: 12px; bottom: 14px; z-index: 2; background: var(--text); color: var(--bg);
  font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; transform: skewX(var(--skew));
}
.card--sold .card__media img { filter: grayscale(1); opacity: .5; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted);
  background: repeating-linear-gradient(-76deg, transparent 0 22px, color-mix(in srgb, var(--text) 3%, transparent) 22px 23px);
}
.placeholder .logo-mask { width: 34%; color: color-mix(in srgb, var(--text) 12%, transparent); }

/* поява при прокрутці */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- каталог ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.input, .toolbar input, .toolbar select, .field input, .field textarea {
  border: 1px solid var(--line); background: var(--surface); padding: 12px 16px; min-height: 48px; border-radius: 0;
  transition: border-color .2s;
}
.input:focus, .toolbar input:focus, .toolbar select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.toolbar input { flex: 1; min-width: 220px; }
.toolbar select { cursor: pointer; }
.empty { color: var(--muted); padding: 50px 0; }

/* ---------- сторінка товару ---------- */
.crumbs { padding-top: 26px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); padding: 24px 0 90px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.gallery--single { grid-template-columns: 1fr; }
.gallery__main { background: var(--surface); aspect-ratio: 4 / 5; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery__main.zoom img { transform: scale(1.8); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumbs button { aspect-ratio: 4/5; padding: 0; border: 0; background: var(--surface); cursor: pointer; opacity: .45; transition: opacity .2s; position: relative; }
.gallery__thumbs button.active, .gallery__thumbs button:hover { opacity: 1; }
.gallery__thumbs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { position: sticky; top: 100px; }
.product__vendor { font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.product__title { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.05; margin: 10px 0 18px; }
.product__price { font-family: var(--display); font-weight: 700; font-size: 24px; }
.product__tax { font-size: 12px; color: var(--muted); margin: 4px 0 30px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pill {
  position: relative; min-width: 54px; height: 42px; padding: 0 16px; border: 0; background: none; cursor: pointer;
  font-weight: 700; font-size: 13px; isolation: isolate; transition: color .2s;
}
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--line); background: var(--surface); transform: skewX(var(--skew)); transition: all .2s; }
.pill:hover::before { border-color: var(--text); }
.pill.active { color: var(--on-accent); }
.pill.active::before { background: var(--accent); border-color: var(--accent); }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 48px; margin-bottom: 26px; background: var(--surface); }
.qty button { width: 46px; height: 100%; background: none; border: 0; cursor: pointer; font-size: 18px; transition: color .2s; }
.qty button:hover { color: var(--accent); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product__actions { display: grid; gap: 14px; max-width: 460px; }
.product__desc { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); white-space: pre-line; color: var(--muted); max-width: 460px; }
.related { border-top: 1px solid var(--line); }

/* ---------- кошик ---------- */
.cart { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 70px); padding: 10px 0 90px; align-items: start; }
.cart__item { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart__item:first-of-type { border-top: 1px solid var(--line); }
.cart__thumb { aspect-ratio: 4/5; background: var(--surface); overflow: hidden; position: relative; }
.cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart__name { font-weight: 700; text-decoration: none; }
.cart__name:hover { color: var(--accent); }
.cart__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart__sum { font-family: var(--display); font-weight: 700; font-size: 14px; }
.cart__remove { background: none; border: 0; cursor: pointer; font-size: 12px; color: var(--muted); padding: 0; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.cart__remove:hover { color: var(--accent); }
.cart__item .qty { height: 38px; margin: 12px 0 0; }
.cart__item .qty button { width: 36px; }
.cart__item .qty input { width: 32px; }
.summary { border: 1px solid var(--line); background: var(--surface); padding: clamp(20px, 3vw, 32px); position: sticky; top: 100px; }
.summary__title { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 18px; margin: 0 0 18px; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary__total strong { font-family: var(--display); font-size: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; background: var(--bg); }
.field textarea { min-height: 84px; resize: vertical; }
.form-error { color: var(--accent); font-size: 14px; font-weight: 600; margin: 6px 0 12px; }
.center-page { padding: clamp(80px, 14vw, 160px) 0; text-align: center; display: grid; justify-items: center; gap: 10px; }
.center-page h1 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 4.5vw, 52px); line-height: 1.05; margin: 0; }
.center-page p { color: var(--muted); margin: 0 0 24px; }
.center-page .big-num { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(60px, 12vw, 140px); line-height: 1; color: var(--accent); }

/* ---------- контакти ---------- */
.contact { padding: clamp(50px, 8vw, 100px) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact__text { white-space: pre-line; color: var(--muted); font-size: 17px; margin: 22px 0 0; }
.contact__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact__list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: color .2s, padding .3s var(--ease);
}
.contact__list a:hover { color: var(--accent); padding-left: 10px; }
.contact__list small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact__list strong { font-size: 18px; font-weight: 600; }

/* ---------- підвал ---------- */
.footer { border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; white-space: nowrap; text-align: center;
  font-size: clamp(44px, 12.5vw, 200px); line-height: .9; letter-spacing: -.02em; padding: 40px 0 0;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 18%, transparent);
  transition: color .5s;
}
.footer__big:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.footer__inner {
  max-width: var(--page); margin: 0 auto; padding: 40px var(--gutter) 34px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; font-size: 13px;
}
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col a { color: var(--muted); text-decoration: none; transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__col--end { text-align: right; justify-items: end; color: var(--muted); }
.footer__label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; translate: -50% 0; z-index: 60;
  background: var(--text); color: var(--bg); padding: 14px 18px 14px 22px; font-size: 14px; font-weight: 600;
  display: flex; gap: 18px; align-items: center; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6);
  animation: toastIn .4s var(--ease); max-width: calc(100vw - 32px);
}
.toast a { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; translate: -50% 16px; } }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto 1fr; }
  .header__inner > .menu-toggle { justify-self: start; }
  .nav {
    /* absolute, бо blur у шапці ламає position: fixed для вкладених елементів */
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--hdr, 100px)); overflow-y: auto; background: var(--bg);
    flex-direction: column; gap: 0; padding: 20px var(--gutter); z-index: 40;
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 34px; letter-spacing: 0; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--accent); }
  .header__inner { padding-top: 8px; padding-bottom: 8px; }
  .logo .logo-mask { width: 36px; height: 36px; }
  .perks__inner { grid-template-columns: 1fr; }
  .perk { padding: 18px var(--gutter); }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .product, .cart, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; padding-bottom: 6px; }
  .info, .summary { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col--end { grid-column: 1 / -1; text-align: left; justify-items: start; }
  .hero { min-height: 78vh; }
}
@media (max-width: 420px) {
  .cart__item { grid-template-columns: 72px 1fr; }
  .cart__item > :last-child { grid-column: 2; }
  .card__sizes { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- передоплата ---------- */
.prepay-note {
  display: grid; gap: 4px; padding: 14px 16px; margin-bottom: 16px; font-size: 13px; color: var(--muted);
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.prepay-note strong { color: var(--text); font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.center-page p strong { color: var(--text); }
.prepay-timer { font-size: 13px; margin-top: 18px !important; }
