/* GreenGarden Donate — макет витрины. Токены темы задаются атрибутом data-shop на <html>. */
:root {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-s: 6px; --radius: 10px; --radius-l: 16px;
  --gap: 16px; --wrap: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms; --t: 240ms; --t-slow: 520ms;
}

/* ── STALKER: тёмный постапокалипсис, зелёный акцент ───────────────── */
:root, [data-shop="stalker"] {
  --font-head: "Russo One", "Inter", sans-serif;
  --bg: #0b0e0a; --bg-2: #10140f;
  --panel: #151b14; --panel-2: #1b2319; --panel-hi: #222c20;
  --line: rgba(120, 170, 110, .16); --line-hi: rgba(68, 148, 74, .55);
  --ink: #e6eadf; --ink-2: #aab3a1; --ink-3: #737d6b;
  --accent: #44944A; --accent-hi: #5bb562; --accent-ink: #f3fbef; --accent-soft: rgba(68, 148, 74, .14);
  --warm: #d0a24c; --warm-soft: rgba(208, 162, 76, .14);
  --danger: #d25b4c; --ok: #5bb562;
  --glow: 0 0 0 1px rgba(68,148,74,.35), 0 10px 40px -12px rgba(68,148,74,.45);
  --hero-a: #1d2a17; --hero-b: #0b0e0a;
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .6 0 0 0 0 .45 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tag-clip: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ── NEURO: тёмный sci-fi, бирюзовый акцент ─────────────────────────── */
[data-shop="neuro"] {
  --font-head: "Exo 2", "Inter", sans-serif;
  --bg: #060a0f; --bg-2: #09111a;
  --panel: #0c1520; --panel-2: #101c29; --panel-hi: #152535;
  --line: rgba(57, 199, 201, .14); --line-hi: rgba(57, 199, 201, .55);
  --ink: #e3f1f4; --ink-2: #9fb6bf; --ink-3: #647b86;
  --accent: #39C7C9; --accent-hi: #63e0e2; --accent-ink: #031416; --accent-soft: rgba(57, 199, 201, .12);
  --warm: #9b8cff; --warm-soft: rgba(155, 140, 255, .14);
  --danger: #ff6b7d; --ok: #39C7C9;
  --glow: 0 0 0 1px rgba(57,199,201,.4), 0 10px 44px -12px rgba(57,199,201,.5);
  --hero-a: #0b2230; --hero-b: #060a0f;
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%2339C7C9' stroke-opacity='.05'/%3E%3C/svg%3E");
  --tag-clip: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; font: 15px/1.55 var(--font-body); color: var(--ink);
  background: var(--texture), radial-gradient(1200px 600px at 80% -10%, var(--accent-soft), transparent 60%), var(--bg);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, .head { font-family: var(--font-head); font-weight: 400; letter-spacing: .02em; line-height: 1.15; margin: 0; }
[data-shop="neuro"] h1, [data-shop="neuro"] h2, [data-shop="neuro"] h3 { font-weight: 700; letter-spacing: .04em; }
h1 { font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); } .dim { color: var(--ink-3); }
.row { display: flex; gap: var(--gap); align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head .spacer + a { color: var(--accent-hi); font-weight: 600; }
.kicker { font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Кнопки и поля ───────────────────────────────────────────────── */
.btn {
  --b: var(--panel-2); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--b); color: var(--ink); font: 600 14px var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.btn:hover { border-color: var(--line-hi); background: var(--panel-hi); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible, .input:focus-visible, .chip:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hi); box-shadow: var(--glow); }
.btn.ghost { background: transparent; }
.btn.lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .25; transform: scale(0); animation: ripple 520ms var(--ease) forwards; pointer-events: none; }
.btn { overflow: hidden; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.input, select.input {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--radius-s); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--ink); font: 14px var(--font-body); transition: border-color var(--t);
}
.input:hover { border-color: var(--line-hi); }
label.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); font-size: 13px; cursor: pointer;
  transition: all var(--t) var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--line-hi); }
.chip.on { background: var(--accent-soft); color: var(--accent-hi); border-color: var(--line-hi); }
.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 8px; font: 700 11px/1.4 var(--font-body);
  letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); clip-path: var(--tag-clip);
}
.tag.warm { background: var(--warm); color: #140f04; }
.tag.dark { background: var(--panel-hi); color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.dot.off { background: var(--ink-3); box-shadow: none; }

/* ── Панели ──────────────────────────────────────────────────────── */
.panel { background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); border-radius: var(--radius); }
.panel.pad { padding: 20px; }
[data-shop="stalker"] .panel { border-radius: var(--radius-s); }
.panel-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-title h3 { font-size: 16px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ── Шапка ───────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(1.2) blur(10px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 38px; height: 38px; color: var(--accent); transition: transform var(--t-slow) var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.brand b { display: block; font: 15px/1 var(--font-head); letter-spacing: .14em; }
.brand small { display: block; margin-top: 4px; font: 600 11px/1 var(--font-body); letter-spacing: .3em; color: var(--accent-hi); text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { position: relative; padding: 8px 12px; color: var(--ink-2); font-weight: 600; font-size: 14px; border-radius: var(--radius-s); transition: color var(--t); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--panel); font-size: 13px; }
.balance b { font-size: 14px; }
.balance .bonus { color: var(--warm); }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; transition: border-color var(--t), transform var(--t-fast); }
.icon-btn:hover { border-color: var(--line-hi); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 11px/18px var(--font-body); text-align: center; }
.badge.bump { animation: bump 420ms var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.avatar { width: 40px; height: 40px; border-radius: var(--radius-s); background: linear-gradient(135deg, var(--accent), var(--panel-hi)); display: grid; place-items: center; font: 700 14px var(--font-head); color: var(--accent-ink); }
.burger { display: none; }

/* ── Подвал ──────────────────────────────────────────────────────── */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 36px; }
.footer h4 { margin: 0 0 12px; font: 600 12px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.footer a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14px; }
.footer a:hover { color: var(--accent-hi); }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; color: var(--ink-3); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, var(--hero-a), var(--hero-b) 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; min-height: 460px; padding-top: 40px; padding-bottom: 40px; }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 540px; margin: 16px 0 24px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero-art svg { width: 100%; height: 100%; }
.hero-scan { position: absolute; inset: 0; background: linear-gradient(transparent, var(--accent-soft), transparent); height: 30%; animation: scan 5s linear infinite; pointer-events: none; opacity: .6; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(380%); } }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 24px var(--font-head); color: var(--ink); }
.hero-stats span { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }
.timer { display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.timer i { font-style: normal; display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; background: var(--panel); border: 1px solid var(--line-hi); border-radius: var(--radius-s); font: 20px var(--font-head); }
.timer small { display: block; font-size: 10px; color: var(--ink-3); text-align: center; margin-top: 4px; letter-spacing: .1em; }
.timer.sm i { min-width: 30px; height: 28px; font-size: 13px; }

/* ── Серверы ─────────────────────────────────────────────────────── */
.servers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.server { position: relative; padding: 18px; overflow: hidden; transition: border-color var(--t), transform var(--t) var(--ease); }
.server:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.server .map { position: absolute; right: -20px; top: -20px; width: 120px; opacity: .12; color: var(--accent); }
.server h3 { margin: 10px 0 4px; }
.server .meter { height: 4px; border-radius: 2px; background: var(--panel-hi); margin-top: 12px; overflow: hidden; }
.server .meter span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

/* ── Категории ───────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat { display: grid; gap: 10px; justify-items: start; padding: 18px; transition: all var(--t) var(--ease); }
.cat svg { width: 34px; height: 34px; color: var(--accent-hi); transition: transform var(--t) var(--ease); }
.cat:hover { border-color: var(--line-hi); background: var(--panel-2); }
.cat:hover svg { transform: translateY(-3px) scale(1.08); }
.cat b { font-size: 14px; } .cat span { font-size: 12px; color: var(--ink-3); }

/* ── Карточка товара ─────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t); }
.card:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); }
/* Пропорция превью = пропорции картинок проекта (2000×1741), чтобы картинка влезала целиком без обрезки */
.card .media { position: relative; aspect-ratio: 2000/1741; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, var(--panel-hi), var(--bg-2) 75%); border-bottom: 1px solid var(--line); overflow: hidden; }
.card .media::before { content: ""; position: absolute; inset: 0; background: var(--texture); opacity: .9; }
.card .media svg { position: relative; width: 52%; height: 52%; color: var(--ink-2); transition: transform var(--t-slow) var(--ease), color var(--t); }
.card:hover .media svg { transform: scale(1.08) rotate(-3deg); color: var(--accent-hi); }
.card .tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.card .body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.card .type { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.card h3 { font-size: 15px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.card .srv { font-size: 12px; color: var(--ink-3); }
.card .foot { display: flex; align-items: end; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font: 20px var(--font-head); white-space: nowrap; }
.price s { display: block; font: 13px var(--font-body); color: var(--ink-3); }
.stock { height: 4px; border-radius: 2px; background: var(--panel-hi); overflow: hidden; }
.stock span { display: block; height: 100%; background: var(--warm); }
.add { width: 42px; padding: 0; flex: none; }
.add svg { width: 18px; height: 18px; }

/* ── Шаги ────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: s; }
.step { padding: 22px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 36px var(--font-head); color: var(--accent); opacity: .35; display: block; margin-bottom: 8px; }
kbd { display: inline-block; padding: 1px 7px; border: 1px solid var(--line-hi); border-bottom-width: 2px; border-radius: 4px; background: var(--panel-2); font: 600 12px var(--font-body); color: var(--accent-hi); }

/* ── Бонусная лестница ───────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tier { padding: 14px 10px; text-align: center; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--panel); transition: all var(--t) var(--ease); }
.tier b { display: block; font: 22px var(--font-head); color: var(--warm); }
.tier span { font-size: 12px; color: var(--ink-3); }
.tier.on { border-color: var(--warm); background: var(--warm-soft); transform: translateY(-3px); }
.tier.on span { color: var(--ink); }

/* ── Таблицы, списки ─────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: var(--accent-soft); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; border: 1px solid currentColor; }
.status.ok { color: var(--ok); } .status.wait { color: var(--warm); } .status.bad { color: var(--danger); } .status.idle { color: var(--ink-3); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { position: relative; padding: 12px 16px; background: none; border: 0; color: var(--ink-2); font: 600 14px var(--font-body); cursor: pointer; white-space: nowrap; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.tabs button.on { color: var(--ink); } .tabs button.on::after { transform: scaleX(1); }
.tab-pane { display: none; } .tab-pane.on { display: block; animation: fadeUp var(--t) var(--ease); }

/* ── Макетная плашка и тосты ─────────────────────────────────────── */
.mock-switch { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: #000c; border: 1px solid #ffffff22; font: 600 12px var(--font-body); }
.mock-switch span { padding: 6px 10px; color: #fff8; }
.mock-switch button { padding: 6px 12px; border-radius: 99px; border: 0; background: none; color: #fffc; cursor: pointer; font: inherit; }
.mock-switch button.on { background: var(--accent); color: var(--accent-ink); }
.toasts { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); z-index: 70; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-s); background: var(--panel-2); border: 1px solid var(--line-hi); box-shadow: 0 16px 40px -12px #000; animation: toastIn var(--t) var(--ease); }
.toast.out { animation: toastOut var(--t) var(--ease) forwards; }
.toast svg { width: 18px; height: 18px; color: var(--accent-hi); flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ── Появление при прокрутке ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.page-enter { animation: fadeUp var(--t-slow) var(--ease); }

/* ── Макет страниц ───────────────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); padding: 20px 0 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-hi); }
.layout-side { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.layout-aside { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 88px; }
.filters { display: grid; gap: 18px; }
.filters h4 { margin: 0 0 8px; font: 600 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }
.check:hover { color: var(--ink); }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-3); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.sum-row b { color: var(--ink); font-weight: 600; }
.sum-row.total { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.sum-row.total b { font: 24px var(--font-head); }
.sum-row .plus { color: var(--warm); }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-s); background: var(--accent-soft); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.note svg { width: 18px; height: 18px; flex: none; color: var(--accent-hi); margin-top: 1px; }
.note.warm { background: var(--warm-soft); } .note.warm svg { color: var(--warm); }
.radio-card { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--bg-2); cursor: pointer; transition: all var(--t) var(--ease); }
.radio-card:hover { border-color: var(--line-hi); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.radio-card input { accent-color: var(--accent); width: 18px; height: 18px; }
.radio-card small { display: block; color: var(--ink-3); font-size: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.qty button { width: 36px; height: 38px; border: 0; background: var(--panel-2); color: var(--ink); font-size: 18px; cursor: pointer; }
.qty button:hover { background: var(--panel-hi); }
.qty input { width: 46px; height: 38px; border: 0; background: var(--bg-2); color: var(--ink); text-align: center; font: 600 14px var(--font-body); }
.tree { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.tree ul { list-style: none; margin: 4px 0 4px 18px; padding-left: 14px; border-left: 1px dashed var(--line-hi); }
.tree li { padding: 4px 0; }
.tree code { font: 12px ui-monospace, Consolas, monospace; color: var(--ink-3); margin-left: 6px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 40px; height: 22px; border-radius: 11px; background: var(--panel-hi); border: 1px solid var(--line); position: relative; transition: background var(--t); }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-2); transition: transform var(--t) var(--ease), background var(--t); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); background: var(--accent-ink); }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-3); }

/* ── Адаптив ─────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .nav, .balance .lbl { display: none; }
  .burger { display: grid; }
  .layout-side, .layout-aside { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { max-width: 260px; order: -1; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar .wrap { gap: 10px; height: 60px; }
  .brand small { display: none; }
  .balance { display: none; }
  .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .body { padding: 10px; } .card h3 { font-size: 13px; } .price { font-size: 16px; }
  .footer .wrap { grid-template-columns: 1fr; }
  .table.responsive thead { display: none; }
  .table.responsive tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table.responsive td { border: 0; padding: 3px 4px; }
}
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.on { display: block; }
.drawer .bg { position: absolute; inset: 0; background: #000a; animation: fadeUp var(--t); }
.drawer nav { position: absolute; top: 0; left: 0; bottom: 0; width: min(300px, 85vw); padding: 20px; background: var(--bg-2); border-right: 1px solid var(--line); display: grid; align-content: start; gap: 4px; animation: slideIn var(--t) var(--ease); }
.drawer nav a { padding: 12px; border-radius: var(--radius-s); font-weight: 600; } .drawer nav a:hover { background: var(--panel-2); }
@keyframes slideIn { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; } .reveal { opacity: 1; transform: none; } }
