/* youkey — премиум светлая тема. Чистый CSS, без зависимостей. */
:root {
  --bg: #fafaf8;
  --bg-soft: #f6f6f3;
  --bg-tint: rgba(170, 255, 0, 0.08);
  --ink: #141414;
  --ink-2: #2a2a2a;
  --muted: #666666;
  --muted-2: #767676; /* было #8f8f8f — контраст 3.4:1, ниже AA (4.5:1) для мелкого текста */
  --line: rgba(0, 0, 0, 0.06);
  --line-2: rgba(0, 0, 0, 0.1);
  --brand: #aaff00;        /* лайм — заливки, glow, точки */
  --brand-2: #95e000;      /* чуть темнее — нижняя точка градиента кнопок */
  --brand-ink: #5f8f00;    /* читаемый текст-акцент (лайм на белом нечитаем) */
  --brand-deep: #6a9f00;   /* для текст-градиентов заголовков */
  --ok: #16a34a;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.035), 0 16px 50px -28px rgba(0, 0, 0, 0.18);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 80px -30px rgba(0, 0, 0, 0.22);
  --shadow-brand: 0 14px 36px -8px rgba(170, 255, 0, 0.45);
  --container: 1360px;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Inter Tight', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  /* фирменная точечная лаймовая сетка (как в макете Сергея) */
  background-image: radial-gradient(rgba(170, 255, 0, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.05em; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--brand);
  color: #111;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(170, 255, 0, 0.6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #d8d8e4; }
/* Тач-устройства: не оставляем «залипший» hover-подъём кнопок после тапа */
@media (hover: none) {
  .btn:hover, .btn-primary:hover, .btn-ghost:hover, .cta-band .btn:hover { transform: none; }
}
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* Бейдж-пилюля */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--bg-tint);
  border: 1px solid rgba(170, 255, 0, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(170, 255, 0, 0.2); }

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: -0.04em; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand);
  display: grid; place-items: center; color: #111; font-weight: 900; font-size: 18px;
  box-shadow: 0 0 20px rgba(170, 255, 0, 0.5);
  object-fit: cover; overflow: hidden;
}
.nav-links { display: none; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 14px; transition: color 0.15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 700; }
.nav-links a.active::after { content: ''; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--brand); box-shadow: 0 0 8px rgba(170, 255, 0, 0.6); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
/* Пункт «Каталог» только для бургер-меню (на десктопе есть кнопка в шапке) */
.nav-cat-m { display: none; }

/* ── Двухзонная шапка (keysoft-стиль) ── */
.header-top { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.header-top-in { display: flex; justify-content: flex-end; align-items: center; height: 38px; }
.top-nav { display: flex; align-items: center; gap: 24px; }
.top-nav a { color: var(--muted); font-weight: 600; font-size: 13px; transition: color 0.15s; }
.top-nav a:hover, .top-nav a.active { color: var(--ink); }
.nav-cat-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: none; }
.nav-cat-btn:hover { box-shadow: none; }
.hsearch { position: relative; flex: 1 1 auto; max-width: 560px; display: flex; align-items: center; height: 46px; padding: 0 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.hsearch:focus-within { border-color: var(--brand-ink); box-shadow: 0 0 0 3px rgba(170, 255, 0, 0.18); }
.hsearch-ic { color: var(--muted); flex: none; margin-right: 10px; }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-family: var(--font); font-size: 15px; color: var(--ink); }
.hsearch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hsearch-drop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 70; max-height: 60vh; overflow-y: auto; }
.hs-group { padding: 8px 10px 4px; font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.hs-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 14px; }
.hs-item:hover, .hs-item.on { background: var(--bg-tint); }
.hs-item .hs-ic { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 12px; overflow: hidden; }
.hs-item .hs-ic img { width: 100%; height: 100%; object-fit: cover; }
.hs-item .hs-price { margin-left: auto; color: var(--brand-ink); font-weight: 800; font-size: 13px; white-space: nowrap; }
.hs-item .hs-ic svg { width: 16px; height: 16px; }
.hs-item .hs-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-empty { padding: 18px 10px; text-align: center; color: var(--muted-2); font-size: 14px; }
/* Правый кластер: аватар · Заказы · Корзина · бургер (порядок через order) */
.nav-actions .acc-link, .nav-actions .acc-login { order: 1; }
.orders-link { order: 2; }
.cart-link { order: 3; }
.nav-toggle { order: 9; }
.nav-ico { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 54px; color: var(--ink); font-size: 11px; font-weight: 600; cursor: pointer; background: none; border: 0; text-decoration: none; position: relative; transition: color 0.15s; }
.nav-ico:hover { color: var(--brand-ink); }
.nav-ico svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% -10%, rgba(170, 255, 0, 0.18), transparent 60%),
    radial-gradient(50% 50% at 10% 0%, rgba(170, 255, 0, 0.1), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 850; margin-top: 24px; text-wrap: balance; overflow-wrap: break-word; }
.hero h1 .grad { background: linear-gradient(90deg, #141414, var(--brand-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 22px auto 0; max-width: 640px; font-size: 20px; color: var(--muted); }
.hero-cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 44px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--brand-ink); }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 900; letter-spacing: -0.06em; background: linear-gradient(90deg, #141414, var(--brand-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Сетки/карточки */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e3e3ee; }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg-tint); color: var(--brand-ink);
}
.card h3 { font-size: 20px; font-weight: 750; }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* Шаги */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .n {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 18px; color: #111;
  background: var(--brand); box-shadow: var(--shadow-brand);
}
.step h3 { margin-top: 18px; font-size: 19px; font-weight: 750; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* Тарифы */
/* auto-fit + justify-content: при 1-2 товарах карточки по центру, а не прижаты влево */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 370px)); justify-content: center; gap: 26px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 20px 50px -20px rgba(170, 255, 0, 0.35); border-color: rgba(170, 255, 0, 0.5); }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-brand); }
.plan-mark { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-width: 54px; height: 54px; padding: 0 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(170, 255, 0, 0.25), rgba(170, 255, 0, 0.08)); border: 1px solid rgba(170, 255, 0, 0.45); color: var(--brand-ink); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 16px; }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #111; font-family: var(--font-display); font-size: 12px; font-weight: 800; padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(170, 255, 0, 0.6); }
.plan .name { font-weight: 700; color: var(--ink-2); font-size: 19px; }
.plan .price { font-family: var(--font-display); margin-top: 10px; font-size: 40px; font-weight: 900; letter-spacing: -0.06em; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.plan li .ck { color: var(--brand-ink); flex: 0 0 auto; margin-top: 2px; }
.plan .btn { width: 100%; justify-content: center; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.stars { color: #f59e0b; letter-spacing: 2px; }
.review p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.review .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #111; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.review .who b { display: block; font-size: 15px; }
.review .who span { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-ink); font-size: 24px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 12px; color: var(--muted); }

/* CTA-баннер */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; color: #111; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 24px 70px -24px rgba(170, 255, 0, 0.6); }
.cta-band::before { content: ''; position: absolute; width: 320px; height: 320px; right: -60px; top: -120px; background: rgba(255, 255, 255, 0.35); border-radius: 50%; filter: blur(20px); }
.cta-band h2 { position: relative; font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
.cta-band p { position: relative; margin: 14px auto 0; max-width: 540px; opacity: 0.78; font-size: 18px; }
.cta-band .btn { position: relative; margin-top: 28px; background: #141414; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.35); }
.cta-band .btn:hover { transform: translateY(-2px); }

/* Подвал */
.site-footer { background: var(--bg-soft); color: var(--muted); padding: 70px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid .brand { color: var(--ink); }
.footer-grid .brand + p { margin-top: 14px; color: var(--muted); max-width: 280px; font-size: 15px; }
.footer-col h4 { color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color 0.15s; }
.footer-col a:hover { color: var(--brand-ink); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 14px; }

/* ===== Анимации: живой hero, влетающие буквы, ротатор, парящие символы ===== */

/* Буквы заголовка влетают снизу с поворотом */
.anim-char { display: inline-block; }
/* Слово целиком не переносится по буквам — перенос только между словами */
.word { display: inline-block; white-space: nowrap; }
.anim-ready .anim-char {
  opacity: 0;
  transform: translateY(46px) rotateX(-90deg) scale(0.7);
  transform-origin: 50% 100%;
  animation: charIn 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.04s);
}
.anim-char.space { width: 0.32em; }
@keyframes charIn {
  to { opacity: 1; transform: none; }
}

/* Плавное появление блоков hero */
.anim-ready .hero-rise { opacity: 0; transform: translateY(26px); animation: rise 0.8s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.anim-ready .hero-rise.d2 { animation-delay: 0.7s; }
.anim-ready .hero-rise.d3 { animation-delay: 0.85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Меняющееся слово-ротатор */
.rotator {
  display: inline-block;
  min-width: 0;
  font-weight: 850;
  background: linear-gradient(90deg, #141414, var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.3s, transform 0.4s;
}
.rotator.flip { opacity: 0; transform: translateY(-14px) rotateX(80deg); }

/* Парящие крутящиеся символы на фоне hero */
.float-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.float-field span {
  position: absolute;
  font-weight: 800;
  color: var(--brand-ink);
  opacity: 0.13;
  left: var(--x);
  top: var(--y);
  font-size: var(--s, 40px);
  animation: floaty var(--dur, 9s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  will-change: transform;
}
@keyframes floaty {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-34px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}
.hero-inner { z-index: 1; }

/* Появление секций при прокрутке */
.anim-ready .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.anim-ready .reveal.in { opacity: 1; transform: none; }
.anim-ready .reveal.stagger-up { transition-delay: calc(var(--si, 0) * 0.08s); }

/* Лёгкое «дыхание» акцентной кнопки */
.btn-primary.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: var(--shadow-brand); }
  50% { box-shadow: 0 18px 50px -10px rgba(170, 255, 0, 0.7); }
}

/* Прогресс-бар прокрутки */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--brand), var(--brand-deep)); box-shadow: 0 0 12px rgba(170, 255, 0, 0.7); transition: width 0.1s linear; }

/* Кнопка «наверх» */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer; display: grid; place-items: center; color: #111; background: var(--brand); box-shadow: var(--shadow-brand); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* Шапка уплотняется при прокрутке */
.site-header.scrolled { box-shadow: 0 8px 28px -18px rgba(16, 18, 34, 0.35); }
.site-header.scrolled .nav { height: 62px; }

/* Лента логотипов нейросетей (бесконечная) */
.logos-band { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.logos-cap { text-align: center; color: var(--muted-2); font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #b6b9c8; letter-spacing: -0.02em; white-space: nowrap; transition: color 0.2s; }
.marquee-track .logo:hover { color: var(--brand-ink); }
.marquee-track .logo .d { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: 0.6; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* Tilt-карточки (3D-наклон за курсором) */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* SVG-иконки */
.ico svg { width: 26px; height: 26px; }
.chk { display: inline-flex; width: 18px; height: 18px; color: var(--brand-ink); flex: 0 0 auto; }
.chk svg { width: 100%; height: 100%; }
.hero-trust .ic svg { width: 16px; height: 16px; vertical-align: -3px; }

@media (prefers-reduced-motion: reduce) {
  .anim-ready .anim-char, .anim-ready .hero-rise, .anim-ready .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-field span, .btn-primary.pulse, .marquee-track { animation: none !important; }
}

/* Пока каталог не загрузился из Пульта, динамические блоки скрыты — иначе
   посетитель на миг видит запасные (устаревшие) цены. Класс cat-wait ставит
   и снимает main.js; страховочный таймер 3.5с гарантирует показ фоллбэка. */
.cat-wait #catalogPricing, .cat-wait #catalogShowcase, .cat-wait #catalogPopular { opacity: 0; }
#catalogPricing, #catalogShowcase, #catalogPopular { transition: opacity 0.25s ease; }

/* Адаптив */
@media (max-width: 920px) {
  .grid-3, .steps, .plans, .reviews { grid-template-columns: 1fr; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Шапка: полному меню (8 пунктов + 2 кнопки) нужно ~1030px — до этой ширины
   бургер, иначе на планшетах 761-920 меню вылезало за экран (гориз. скролл). */
@media (max-width: 1040px) {
  .header-top { display: none; }
  .nav-cat-btn { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 22px; gap: 16px;
  }
  .nav-links.open a { font-size: 16px; }
  /* «Каталог» первым, акцентным пунктом в открытом бургере */
  .nav-links.open .nav-cat-m { display: list-item; order: -1; }
  .nav-links.open .nav-cat-m a { color: var(--ink); font-weight: 800; }
}
@media (max-width: 760px) {
  .section { padding: 32px 0; }
  /* Компактная шапка на мобиле: поиск и «Заказы» прячем (есть в каталоге/профиле) */
  .hsearch { display: none; }
  .orders-link { display: none; }
  .nav-ico { min-width: 44px; }
  .nav { height: 58px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .mark { width: 28px; height: 28px; font-size: 16px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions { gap: 8px; }
  /* «Выбрать доступ» в шапке — маленькая, чтобы не занимала пол-экрана */
  .nav-actions .btn-primary { padding: 9px 13px; font-size: 12px; border-radius: 11px; }
  .hero { padding: 56px 0 48px; }
  .page-hero { padding: 32px 0 14px; }
  /* Крупные кнопки (hero / CTA-баннер) — компактнее на мобиле */
  .btn-lg { padding: 13px 20px; font-size: 15px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  /* Совсем узко — в шапке только лого + Войти/аккаунт + бургер; «Каталог» в меню */
  .nav-actions .btn-primary { display: none; }
  .nav-actions { gap: 6px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  /* Статистика: 2 колонки, но числа не должны вылезать за край */
  .stats { gap: 14px 10px; }
  .stat .num { font-size: 30px; }
  .stat .lbl { font-size: 12px; letter-spacing: 0.02em; }
  .container { padding: 0 16px; }
}
/* Ни один блок не форсит горизонтальную прокрутку на мобиле */
.footer-grid > *, .stat, .nav { min-width: 0; }

/* ===== Под-страницы: компактный hero ===== */
.page-hero { position: relative; overflow: hidden; padding: 52px 0 20px; text-align: center; }
.page-hero + .section { padding-top: 24px; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% -20%, rgba(170, 255, 0, 0.16), transparent 60%),
    radial-gradient(50% 50% at 8% 0%, rgba(170, 255, 0, 0.1), transparent 60%);
}
.page-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); margin-top: 18px; }
.page-hero h1 .grad { background: linear-gradient(90deg, #141414, var(--brand-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { margin: 18px auto 0; max-width: 600px; color: var(--muted); font-size: 19px; }

/* ===== Калькулятор ===== */
.calc { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 26px; align-items: start; }
.calc-grid { display: grid; gap: 12px; }
.calc-item {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  font-family: var(--font); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s;
}
.calc-item:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.calc-item.on { border-color: var(--brand); background: var(--bg-tint); box-shadow: var(--shadow-brand); }
.calc-check { position: relative; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); flex: 0 0 auto; transition: 0.2s; }
.calc-item.on .calc-check { background: var(--brand); border-color: var(--brand); }
.calc-item.on .calc-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #111; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.calc-item-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calc-item-body b { font-size: 16px; }
.calc-item-body span { color: var(--muted); font-size: 13px; }
.calc-item-price { font-family: var(--font-display); font-weight: 800; white-space: nowrap; }
.calc-item-price small { color: var(--muted); font-weight: 600; font-size: 11px; }
.calc-summary { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.calc-term-label { font-weight: 700; margin-bottom: 10px; }
.calc-terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 4px; }
.calc-term { cursor: pointer; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: 0.15s; }
.calc-term:hover { border-color: var(--brand); }
.calc-term.active { border-color: var(--brand); background: var(--bg-tint); color: var(--brand-ink); font-weight: 800; }
.calc-lines { display: flex; flex-direction: column; gap: 10px; min-height: 40px; padding: 16px 0; margin-top: 14px; border-top: 1px solid var(--line); }
.calc-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.calc-empty { color: var(--muted-2); font-size: 14px; }
.calc-total-row { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-total-row span { color: var(--muted); font-weight: 600; }
.calc-total { font-family: var(--font-display); font-size: 30px; font-weight: 900; letter-spacing: -0.04em; }
.calc-save { color: var(--brand-ink); font-weight: 700; font-size: 14px; margin-top: 6px; min-height: 18px; }
.calc-go { width: 100%; justify-content: center; margin-top: 16px; }
.calc-note { color: var(--muted-2); font-size: 12px; margin-top: 12px; line-height: 1.45; }

/* ── Калькулятор оплаты ($→₽) — премиум ───────────────────────────── */
/* #paycalc сам НЕ грид — иначе ловит .calc-сетку старого калькулятора (1.3fr/0.9fr)
   и схлопывается в ~60% ширины. Сетку держит внутренний .paycalc. */
#paycalc { display: block; }
.paycalc { display: grid; gap: 20px; align-items: start; max-width: 920px; margin: 0 auto; }
@media (min-width: 820px) { .paycalc { grid-template-columns: 1fr 1fr; } }

.pc-panel { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.pc-panel--sum { background: linear-gradient(160deg, var(--bg-tint), #fff 62%); overflow: hidden; justify-content: center; }
.pc-panel--sum::before {
  content: ''; position: absolute; top: -70px; right: -70px; width: 220px; height: 220px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%); opacity: 0.16; pointer-events: none;
}
/* В левой панели подсказку прижимаем вниз — панели одинаковой высоты, дышат. */
.pc-panel:not(.pc-panel--sum) .pc-hint:last-child { margin-top: auto; padding-top: 20px; }

.pc-label { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.pc-badge { font-family: var(--font-display); font-weight: 900; font-size: 11px; letter-spacing: 0.06em; color: #0a0a0a; background: var(--brand); border-radius: 8px; padding: 4px 9px; box-shadow: 0 6px 16px -8px var(--brand); }

.pc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pc-chip { cursor: pointer; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); font-family: var(--font); font-weight: 700; font-size: 15px; color: var(--ink-2); transition: 0.15s; }
.pc-chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.pc-chip.active { background: var(--brand); border-color: var(--brand); color: #0a0a0a; box-shadow: 0 8px 20px -10px var(--brand); }

.pc-input { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 18px; padding: 6px 22px; background: #fff; transition: 0.15s; }
.pc-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--bg-tint); }
.pc-cur { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--muted); }
.pc-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--ink); padding: 16px 0; letter-spacing: -0.03em; -moz-appearance: textfield; }
.pc-input input::-webkit-outer-spin-button, .pc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc-hint { color: var(--muted-2); font-size: 13px; margin-top: 18px; line-height: 1.55; }

.pc-rate { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; margin-bottom: 22px; }
.pc-rate b { color: var(--ink); font-weight: 800; }

.pc-lines { display: flex; flex-direction: column; gap: 16px; }
.pc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.pc-line span:last-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.pc-divider { height: 1px; background: var(--line); margin: 24px 0; }
.pc-total { display: flex; flex-direction: column; gap: 4px; }
.pc-total > span { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--muted); }
.pc-total b { font-family: var(--font-display); font-size: clamp(30px, 5vw, 42px); font-weight: 900; letter-spacing: -0.03em; color: var(--brand-ink); line-height: 1.05; }
.pc-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.pc-actions .btn { width: 100%; justify-content: center; }
.pc-empty { color: var(--muted-2); font-size: 16px; text-align: center; padding: 60px 10px; line-height: 1.5; }
.pc-empty small { color: var(--muted-2); font-size: 14px; }
.pc-empty-ico { display: block; font-family: var(--font-display); font-weight: 900; font-size: 48px; color: var(--brand); opacity: 0.5; margin-bottom: 12px; }

/* ===== Витрина ===== */
.showcase-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.showcase-filters button { cursor: pointer; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink-2); transition: 0.18s; }
.showcase-filters button:hover { border-color: var(--brand); }
.showcase-filters button.active { background: var(--brand); border-color: var(--brand); color: #111; box-shadow: var(--shadow-brand); }
.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }

/* ── «Популярное»: карусель мелких плиток ── */
.pop-carousel { position: relative; }
.pop-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.pop-track::-webkit-scrollbar { display: none; }
.pop-tile { flex: 0 0 200px; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; }
.pop-tile:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.pop-vis { aspect-ratio: 4 / 3; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: radial-gradient(circle at 30% 25%, rgba(170, 255, 0, 0.5), transparent 32%), linear-gradient(135deg, #f8f8f4, #fff); font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.06em; color: #141414; overflow: hidden; }
.pop-vis.has-img { padding: 0; background: #f4f6ef; }
.pop-vis img { width: 100%; height: 100%; object-fit: cover; }
.pop-name { margin-top: 10px; font-weight: 700; font-size: 14px; line-height: 1.3; min-height: 36px; }
.pop-price { margin-top: 6px; font-family: var(--font-display); font-weight: 900; font-size: 18px; letter-spacing: -0.03em; }
.pop-price small { font-size: 11px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.pop-badge { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--brand); color: #111; font-family: var(--font-display); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.pop-arrow { position: absolute; top: calc(50% - 12px); transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: border-color 0.15s, opacity 0.15s; }
.pop-arrow:hover { border-color: var(--brand); }
.pop-arrow:disabled { opacity: 0; pointer-events: none; }
.pop-prev { left: -8px; }
.pop-next { right: -8px; }
@media (max-width: 760px) { .pop-arrow { display: none; } .pop-tile { flex-basis: 154px; } }
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.product-card::after { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; background: var(--bg-tint); filter: blur(45px); border-radius: 50%; pointer-events: none; }
.product-visual { position: relative; height: 130px; border-radius: 20px; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid var(--line); background: radial-gradient(circle at 30% 25%, rgba(170, 255, 0, 0.6), transparent 30%), linear-gradient(135deg, #f8f8f4, #fff); }
.product-visual span { font-family: var(--font-display); font-size: 38px; font-weight: 900; letter-spacing: -0.08em; color: #141414; text-shadow: 0 0 36px rgba(170, 255, 0, 0.55); }
/* Загруженная картинка карточки — заполняет визуал, без градиента-подложки */
.product-visual.has-img { background: #f4f6ef; overflow: hidden; padding: 0; height: auto; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Баннер товара показываем ЦЕЛИКОМ (без кропа) — высота контейнера по картинке. */
.product-visual.has-img img { height: auto; object-fit: contain; }
/* Звёзды + «куплено N раз» на карточке и странице товара */
.p-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; font-size: 14px; }
.p-rate .pr-stars { color: #f5a623; letter-spacing: 2px; font-size: 16px; line-height: 1; }
.p-rate .pr-num { font-weight: 800; color: var(--ink); font-size: 15px; }
.p-rate .pr-sold { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-ink); font-weight: 700; font-size: 12.5px; background: var(--bg-tint); border: 1px solid rgba(170, 255, 0, 0.35); padding: 3px 10px; border-radius: 999px; }
.p-rate .pr-sold::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(170, 255, 0, 0.18); }
.p-rate .pr-dot { display: none; }
.product-info .p-rate { font-size: 16px; margin: 8px 0 20px; gap: 12px; }
.product-info .p-rate .pr-stars { font-size: 20px; }
.product-info .p-rate .pr-num { font-size: 17px; }
.product-info .p-rate .pr-sold { font-size: 13.5px; }
.product-rate-link { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; text-decoration: none; color: inherit; margin: 8px 0 20px; cursor: pointer; }
.product-rate-link .p-rate { margin: 0; }
.rate-hint { color: var(--brand-ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.product-rate-link:hover .rate-hint { text-decoration: none; }
.product-badge { position: absolute; z-index: 1; top: 18px; right: 18px; background: var(--brand); color: #111; font-family: var(--font-display); font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.product-card h3 { position: relative; font-size: 20px; }
.product-card .p-desc { position: relative; margin-top: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.product-card .p-foot { position: relative; margin-top: 20px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.product-card .p-price { font-family: var(--font-display); font-size: 24px; font-weight: 900; letter-spacing: -0.04em; white-space: nowrap; }
.product-card .p-price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.product-card .p-foot .btn { justify-content: center; width: 100%; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--brand-ink); }

/* ===== Контакты ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); text-align: center; }
.contact-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--bg-tint); color: var(--brand-ink); }
.contact-card .ico svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 18px; }
.contact-card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.contact-card .c-link { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 700; color: var(--brand-ink); }

/* ===== Текстовые страницы (О нас / правовое) ===== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 42px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin-bottom: 16px; font-size: 17px; }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { display: flex; gap: 10px; color: var(--ink-2); }
.prose ul li::before { content: '✦'; color: var(--brand-ink); flex: 0 0 auto; }

/* ===== Адаптив новых блоков ===== */
@media (max-width: 920px) {
  .calc { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== Каталог (keysoft-стиль): сайдбар категорий + сортировка ===== */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.catalog-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.catalog-search input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--bg-card, #fff); font: inherit; font-size: 14px; color: var(--ink); outline: none;
}
.catalog-search input:focus { border-color: var(--brand-ink); }
.catalog-cats { display: flex; flex-direction: column; gap: 4px; }
.catalog-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 10px 13px; border: 1px solid transparent; border-radius: 11px;
  background: none; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--muted); text-align: left; transition: all .15s;
}
.catalog-cat:hover { background: var(--line, #f0f0ec); color: var(--ink); }
.catalog-cat.active { background: var(--brand); color: #111; border-color: var(--brand); }
.catalog-cat span { font-size: 12px; font-weight: 700; opacity: .65; }
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.catalog-count { color: var(--muted); font-size: 14px; font-weight: 600; }
.catalog-sort { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.catalog-sort select {
  padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--bg-card, #fff); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; outline: none;
}
.catalog-sort select:focus { border-color: var(--brand-ink); }
@media (max-width: 860px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-cats { flex-direction: row; flex-wrap: wrap; }
  .catalog-cat { width: auto; }
}

/* ===== Страница товара ===== */
.product-page { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 36px; align-items: start; }
.product-gallery { position: relative; }
.product-visual.big { height: auto; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); }
.product-visual.big.has-img { padding: 0; aspect-ratio: auto; }
.product-visual.big img { object-fit: contain; }
.product-visual.big.has-img img { height: auto; }
.product-visual.big span { font-size: 52px; }
.gallery-badges { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.gallery-badges li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.gallery-badges .ic, .bb-instant .ic { width: 18px; height: 18px; color: var(--brand-ink); flex: none; }
.variant-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 4px; }
.variant-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 15px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color 0.15s, background 0.15s; font-family: var(--font); }
.variant-chip:hover { border-color: var(--brand-ink); }
.variant-chip.active { border-color: var(--brand); background: var(--bg-tint); }
.variant-chip .vc-label { font-weight: 700; font-size: 14px; color: var(--ink); }
.variant-chip .vc-price { font-size: 12px; color: var(--muted); font-weight: 600; }
.variant-chip.active .vc-price { color: var(--brand-ink); }
.buybox { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.bb-priceline { display: flex; align-items: baseline; gap: 8px; }
.bb-price { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 5vw, 34px); letter-spacing: -0.05em; color: var(--ink); }
.bb-unit { color: var(--muted); font-weight: 600; font-size: 16px; }
.bb-instant { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; background: var(--bg-tint); border: 1px solid rgba(170, 255, 0, 0.4); color: var(--brand-ink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.buybox .product-actions { margin-top: 18px; }
.bb-trust { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.bb-trust li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.product-specs { width: 100%; margin-top: 26px; border-collapse: collapse; }
.product-specs th, .product-specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.product-specs th { color: var(--muted); font-weight: 600; width: 42%; }
.product-specs td { color: var(--ink); font-weight: 700; }
.product-fulldesc { margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.7; white-space: pre-line; }
.product-details { margin-top: 36px; max-width: 860px; }
.pd-title { font-size: 22px; font-weight: 850; letter-spacing: -0.03em; }
.pd-text { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.product-info h1 { font-size: clamp(23px, 3vw, 32px); font-weight: 850; letter-spacing: -0.03em; }
.product-lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.product-price { margin-top: 24px; font-family: var(--font-display); font-weight: 900; font-size: 40px; letter-spacing: -0.05em; color: var(--ink); }
.product-price small { font-size: 17px; font-weight: 600; color: var(--muted); font-family: var(--font); }
.product-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.product-perks { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.product-perks li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
@media (max-width: 780px) {
  .product-page { grid-template-columns: 1fr; gap: 22px; }
  .product-visual.big { max-width: 360px; }
  /* Карточка одноколоночная → кнопки покупки в столбик на всю ширину (без съезда) */
  .buybox .product-actions { flex-direction: column; }
  .buybox .product-actions .btn { width: 100%; flex: none; justify-content: center; }
}
@media (max-width: 560px) {
  .buybox { padding: 16px; }
  .buybox .product-actions { flex-direction: column; }
  .buybox .product-actions .btn { width: 100%; }
  .bb-trust { grid-template-columns: 1fr; gap: 10px; }
  .product-details { margin-top: 28px; }
  .product-specs th, .product-specs td { padding: 10px 0; font-size: 14px; }
}

/* ===== Корзина в шапке + мини-корзина ===== */
.nav-actions { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: 8px; min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: 9px; background: var(--brand); color: #111; font-size: 10.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
}
.mini-cart {
  position: absolute; top: 54px; right: 0; z-index: 60; width: min(320px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.mini-empty { color: var(--muted); text-align: center; padding: 14px 0; }
.mini-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; font-size: 14px; }
.mini-item b { font-weight: 800; }
.mini-item button { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.mini-item button:hover { color: #e53e3e; }
.mini-total { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Страница корзины ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; box-shadow: var(--shadow-sm); }
.cart-row-vis { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-tint), #fff); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 15px; border: 1px solid var(--line); }
.cart-row-info { display: flex; flex-direction: column; gap: 3px; }
.cart-row-info b { font-size: 16px; font-weight: 700; }
.cart-row-info span { color: var(--muted); font-size: 14px; }
.cart-row-rm { border: 0; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.cart-row-rm:hover { color: #e53e3e; }
.cart-summary { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.cart-summary h3 { font-size: 20px; font-weight: 800; }
.cart-sum-row { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cart-sum-row b { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: var(--ink); }
.promo-field { display: flex; gap: 8px; margin: 4px 0 6px; }
.promo-field input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 11px; font-family: var(--font); font-size: 14px; text-transform: uppercase; }
.promo-field input:focus { outline: none; border-color: var(--brand-ink); }
.promo-field .btn { flex: 0 0 auto; padding: 10px 16px; }
.promo-msg { font-size: 13px; margin-bottom: 8px; min-height: 4px; }
.promo-msg.ok { color: var(--brand-ink); }
.promo-msg.err, .promo-msg:not(.ok):not(:empty) { color: #e0483a; }
.cart-sum-row.promo-row { margin: 0 0 10px; padding-bottom: 0; border: 0; color: var(--brand-ink); font-size: 14px; }
.cart-sum-row.promo-row b { font-size: 16px; color: var(--brand-ink); }
.promo-x { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0 0 0 4px; }
.promo-x:hover { color: #e0483a; }
.cart-sum-row.cart-total-row { margin: 0 0 18px; padding-top: 12px; border-top: 1px solid var(--line); border-bottom: 0; color: var(--ink); }
@media (max-width: 720px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }

/* ===== Аккаунт: кнопка входа + аватар в шапке ===== */
.acc-login { border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 12px; cursor: pointer; box-shadow: none; transition: border-color .15s; }
.acc-login:hover { border-color: #d8d8e4; }
.acc-link { display: inline-flex; }
.acc-avatar { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #111; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; box-shadow: none; }

/* ===== Модал входа/регистрации ===== */
.auth-ov { position: fixed; inset: 0; z-index: 200; background: rgba(20,20,20,.5); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.auth-box { position: relative; width: min(400px, 100%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.auth-x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; line-height: 1; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 22px; }
.auth-tabs button { flex: 1; padding: 10px; border: 0; background: var(--bg-soft); border-radius: 11px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.auth-tabs button.active { background: var(--brand); color: #111; }
#authForm label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
#authForm input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
#authForm input:focus { border-color: var(--brand-ink); }
.auth-err { color: #e53e3e; font-size: 14px; min-height: 18px; margin: 2px 0 10px; }

/* ===== Профиль ===== */
.profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.profile-side { display: flex; flex-direction: column; gap: 4px; }
.profile-nav { display: flex; align-items: center; gap: 9px; text-align: left; padding: 12px 15px; border: 0; background: none; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.profile-nav:hover { background: var(--bg-soft); color: var(--ink); }
.profile-nav.active { background: var(--brand); color: #111; }
.profile-nav svg { width: 17px; height: 17px; flex: none; }
.profile-main h2 { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
.orders-list { display: flex; flex-direction: column; gap: 16px; }
.orders-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--brand-ink); background: var(--bg-tint); border-radius: 999px; vertical-align: middle; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.order-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-num { font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--brand-ink); letter-spacing: -0.02em; }
.order-date { color: var(--muted); font-size: 14px; }
.order-body { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.order-thumb { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #d6ff8a); color: #111; font-family: var(--font-display); font-weight: 900; font-size: 22px; }
.order-item { min-width: 0; }
.order-item-name { font-weight: 700; font-size: 16px; }
.order-item-price { color: var(--muted); font-size: 14px; margin-top: 2px; }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.order-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.order-meta b { color: var(--ink); font-weight: 700; }
.order-meta b.st-new { color: #b8860b; }
.order-meta b.st-paid, .order-meta b.st-issued, .order-meta b.st-done { color: #16794a; }
.order-meta b.st-canceled { color: #9ca3af; }
.order-pay { flex: 0 0 auto; }
.order-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-cancel { flex: 0 0 auto; }
.orders-empty { text-align: center; padding: 40px 0; }
.settings-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 440px; box-shadow: var(--shadow-sm); }
.settings-card label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.settings-card input { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; color: var(--ink); }
.settings-card input:disabled { background: var(--bg-soft); color: var(--muted); }
.set-msg { margin-left: 12px; color: var(--brand-ink); font-size: 14px; font-weight: 600; }
.cart-hint { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.btn-text { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }
.btn-text:hover { color: var(--ink); }
@media (max-width: 720px) { .profile-layout { grid-template-columns: 1fr; } .profile-side { flex-direction: row; flex-wrap: wrap; } }

/* ===== Отзывы с модерацией (агрегатор + форма) ===== */
.rev-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; flex-wrap: wrap; }
.rev-avg { text-align: center; }
.rev-avg-num { font-family: var(--font-display); font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: -0.05em; }
.rev-avg .stars { color: #f5a623; font-size: 18px; }
.rev-avg-cnt { color: var(--muted); font-size: 13px; margin-top: 4px; }
.rev-bars { display: flex; flex-direction: column; gap: 5px; min-width: 220px; }
.rev-bar { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 2px 4px; border-radius: 8px; }
.rev-bar:hover, .rev-bar.active { background: var(--bg-soft); }
.rev-bar-lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.rev-bar-track { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; }
.rev-bar-track span { display: block; height: 100%; background: #f5a623; border-radius: 4px; }
.rev-bar-c { font-size: 12px; color: var(--muted); text-align: right; }
.rev-cta { display: flex; align-items: center; }
.rev-form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
/* display:flex перебивает атрибут hidden → пустая белая форма висела до клика */
.rev-form[hidden] { display: none; }
.rev-form input, .rev-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.rev-form textarea { min-height: 90px; resize: vertical; }
.rev-form input:focus, .rev-form textarea:focus { border-color: var(--brand-ink); }
/* Фото к отзыву — кнопка прикрепления, превью выбранных, галерея в отзыве. */
.rev-photo-add { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--brand-ink); padding: 9px 14px; border: 1px dashed var(--line-2); border-radius: 12px; width: fit-content; transition: border-color 0.15s, background 0.15s; }
.rev-photo-add:hover { border-color: var(--brand-ink); background: rgba(170, 255, 0, 0.06); }
.rev-photo-add span { color: var(--muted-2); font-weight: 500; }
.rev-photo-prev { display: flex; flex-wrap: wrap; gap: 6px; }
.rev-photo-prev:empty { display: none; }
.rev-photo-chip { font-size: 12px; background: var(--bg-tint); color: var(--muted); padding: 4px 9px; border-radius: 8px; }
.rev-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.rev-photo { display: block; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.rev-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.rev-photo:hover img { transform: scale(1.06); }
.rev-pick { display: flex; gap: 4px; }
.rev-pick button { border: 0; background: none; font-size: 28px; color: var(--line-2); cursor: pointer; line-height: 1; padding: 0; }
.rev-pick button.on { color: #f5a623; }
.rev-thanks { color: var(--brand-ink); font-weight: 600; text-align: center; padding: 10px 0; }
.rev-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev-head .av { width: 40px; height: 40px; border-radius: 11px; background: var(--bg-tint); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; }
.rev-head b { display: block; font-size: 15px; }
.rev-head .stars { color: #f5a623; font-size: 14px; }
.rev-verified { font-size: 11px; color: var(--brand-ink); font-weight: 700; }
.rev-prod { display: inline-block; font-size: 12px; color: var(--muted); background: var(--bg-soft); padding: 2px 9px; border-radius: 999px; margin-bottom: 8px; }
.rev-date { display: block; color: var(--muted-2); font-size: 12px; margin-top: 10px; }
@media (max-width: 760px) {
  .rev-summary { grid-template-columns: 1fr; text-align: center; gap: 18px; padding: 22px 20px; }
  .rev-bars { min-width: 0; }
  .rev-cta { justify-content: center; }
  .rev-cta .btn { width: 100%; }
  .rev-form { max-width: none; }
}

/* ===== Блог ===== */
.blog-toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.blog-toolbar #blogSearch { flex: 1; min-width: 220px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; font: inherit; font-size: 15px; outline: none; }
.blog-toolbar #blogSearch:focus { border-color: var(--brand-ink); }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-cat { padding: 9px 15px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.blog-cat:hover { color: var(--ink); }
.blog-cat.active { background: var(--brand); color: #111; border-color: var(--brand); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #d6ff8a); color: #111; font-family: var(--font-display); font-weight: 900; font-size: 36px; }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--bg-tint); padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.blog-card-body h3 { font-size: 18px; font-weight: 750; }
.blog-card-body p { color: var(--muted); font-size: 15px; }
.blog-card-meta { margin-top: auto; color: var(--muted-2); font-size: 13px; }
.bc-views { display: inline-flex; align-items: center; gap: 4px; }
.bc-views svg { width: 14px; height: 14px; }
/* Статья */
.post-title { font-size: clamp(28px, 4vw, 42px); font-weight: 850; margin: 14px 0; letter-spacing: -0.04em; }
.post-meta { color: var(--muted-2); font-size: 14px; margin-bottom: 24px; }
.post-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.post-cover img { width: 100%; }
.post-body { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.post-body h2 { font-size: 26px; font-weight: 800; margin: 32px 0 14px; }
.post-body p { margin: 16px 0; }
.post-body ul, .post-body ol { margin: 16px 0; padding-left: 22px; }
.post-body li { margin: 8px 0; }
/* Гиперссылки внутри статьи — выделяем (перекрываем глобальное a{inherit;none}). */
.post-body a { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; text-decoration-color: rgba(170, 255, 0, 0.55); transition: color 0.15s, text-decoration-color 0.15s; }
.post-body a:hover { color: var(--brand-deep); text-decoration-color: var(--brand); }
.post-cta { margin-top: 40px; padding: 28px; background: var(--bg-tint); border-radius: var(--radius); text-align: center; }
.post-cta p { font-weight: 700; font-size: 18px; margin-bottom: 16px; }

/* ===== О нас: юр.блок ===== */
.legal-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; max-width: 820px; margin: 0 auto; }
.legal-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.legal-text { color: var(--muted); font-size: 15px; white-space: pre-line; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.legal-links a { color: var(--brand-ink); font-weight: 600; font-size: 14px; }
.legal-links a:hover { text-decoration: underline; }

/* Выдача доступа в карточке заказа */
.order-deliver { margin: 4px 0 14px; padding: 12px 16px; background: var(--bg-tint); border: 1px solid rgba(170,255,0,.25); border-radius: 12px; font-size: 14px; color: var(--ink-2); }
.order-deliver b { color: var(--brand-ink); }

/* Успех оплаты + промокоды */
.pay-ok { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--brand); color: #111; display: grid; place-items: center; box-shadow: 0 0 30px rgba(170,255,0,.5); }
.promo-card { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); max-width: 560px; }
.promo-ic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: var(--bg-tint); display: grid; place-items: center; color: var(--brand-ink); }
.promo-ic svg { width: 26px; height: 26px; }
.promo-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
