/* VandalStore — премиум-минимализм. Тёмная тема, один акцентный цвет, много воздуха. */
:root {
  --bg: #0a0b0e;
  --bg-2: #111318;
  --surface: #16181f;
  --surface-2: #1e212b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f5f7;
  --muted: #8e93a3;
  --soft: #c9ccd6;
  --accent: #2d6cff;
  --accent-2: #5b8cff;
  --accent-soft: rgba(45, 108, 255, .14);
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h3 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
main { flex: 1; padding: 32px 0 80px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(10, 11, 14, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo:hover { color: var(--text); }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 1rem; color: #fff; box-shadow: 0 6px 18px rgba(45, 108, 255, .45); }
.logo-text { font-size: 1.12rem; letter-spacing: .06em; }
.logo-text b { font-weight: 800; }
.logo-text span { font-weight: 300; color: var(--soft); }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--soft); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255, 255, 255, .06); }
.search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input[type=search] { width: 100%; border-radius: 999px; padding: 10px 16px 10px 42px; background: rgba(255, 255, 255, .06); border-color: transparent; }
.search input[type=search]:focus { background: rgba(255, 255, 255, .09); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; white-space: nowrap; color: var(--soft); }
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.icon-btn.login { background: var(--text); color: #0a0b0e; padding: 9px 18px; font-weight: 600; }
.icon-btn.login:hover { background: #fff; color: #0a0b0e; }
.badge { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 999px; font-size: .7rem; padding: 0 5px; font-weight: 700; }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], select, textarea {
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 11px 14px; font: inherit; width: 100%; transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
label { display: block; font-weight: 500; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field .help { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: var(--bad); font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; accent-color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--text); transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, .14); color: var(--text); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(45, 108, 255, .35); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-light { background: #fff; color: #0a0b0e; }
.btn-light:hover { background: #e9ebf0; color: #0a0b0e; }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 6px; border-radius: 8px; }
.link-btn:hover { color: var(--bad); background: rgba(239, 68, 68, .1); }

/* ---------- messages ---------- */
.messages { list-style: none; padding: 0; margin: 0 0 24px; }
.messages li { padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; }
.messages .success { border-color: rgba(34, 197, 94, .45); }
.messages .error { border-color: rgba(239, 68, 68, .5); }
.demo-banner { background: #2a2006; color: #fde68a; text-align: center; padding: 7px 16px; font-size: .85rem; }

/* ---------- hero slider ---------- */
.hero-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 21 / 9; min-height: 420px; max-height: 560px; width: 100%; margin-bottom: 18px; box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.slide.active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slide.active .slide-bg { transform: scale(1); }
.slide-bg.blur { filter: blur(40px) saturate(1.3) brightness(.7); transform: scale(1.3); }
.slide::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 11, 14, .92) 0%, rgba(10, 11, 14, .7) 35%, rgba(10, 11, 14, .1) 70%),
  linear-gradient(0deg, rgba(10, 11, 14, .7) 0%, transparent 40%); }
.slide-art { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); height: 78%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); z-index: 1; }
.slide-art img { width: 100%; height: 100%; object-fit: cover; }
.slide-content { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 48px 56px; max-width: 620px; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.slide.active .slide-content { opacity: 1; transform: none; transition: opacity .6s .35s, transform .6s .35s var(--ease); }
.slide-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.slide-eyebrow .dot { width: 4px; height: 4px; background: var(--soft); border-radius: 50%; }
.slide h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -.03em; }
.slide p { color: var(--soft); font-size: 1.05rem; margin: 0 0 24px; max-width: 480px; }
.slide-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.slide-price { font-size: 1.25rem; font-weight: 700; }
.slide-price s { color: var(--muted); font-weight: 400; font-size: 1rem; margin-left: 8px; }
.slider-dots { position: absolute; right: 32px; bottom: 32px; z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 28px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; overflow: hidden; position: relative; }
.slider-dots button.active { width: 48px; background: rgba(255, 255, 255, .3); }
.slider-dots button.active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progress var(--slide-time, 7s) linear forwards; }
.hero-slider.paused .slider-dots button.active::after { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.thumbs { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 12px; margin-bottom: 48px; }
.thumb { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); background: transparent; border: 1px solid transparent; color: var(--muted); cursor: pointer; text-align: left; font: inherit; transition: background .2s, border-color .2s, color .2s; }
.thumb img, .thumb .cover-placeholder { width: 44px; height: 58px; border-radius: 8px; object-fit: cover; flex-shrink: 0; font-size: .5rem; padding: 4px; }
.thumb span { font-size: .9rem; font-weight: 500; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thumb:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.thumb.active { color: var(--text); background: var(--surface); border-color: var(--line-2); }

/* ---------- sections ---------- */
.section { margin-bottom: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.section-head a:hover { color: var(--text); }

.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 56px; }
.platform-tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); transition: transform .2s var(--ease), border-color .2s; }
.platform-tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 100% 0%, var(--c) 0%, transparent 55%); opacity: .55; transition: opacity .25s; }
.platform-tile:hover { transform: translateY(-3px); border-color: var(--line-2); color: var(--text); }
.platform-tile:hover::before { opacity: .85; }
.platform-tile b, .platform-tile span { position: relative; }
.platform-tile b { font-size: 1.1rem; font-weight: 700; }
.platform-tile span { color: var(--soft); font-size: .88rem; }
.pt-pc { --c: #4b5b78; } .pt-playstation { --c: #0070d1; } .pt-xbox { --c: #107c10; } .pt-switch { --c: #e60012; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.perk-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.perk b { display: block; margin-bottom: 2px; }

/* ---------- product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.grid.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.card:hover { color: var(--text); }
.cover { aspect-ratio: 3 / 4; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card .cover { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--ease), box-shadow .3s; }
.card .cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: box-shadow .3s; pointer-events: none; }
.card:hover .cover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 0, 0, .55); }
.card:hover .cover::after { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .cover img { transform: scale(1.03); }
.cover-placeholder { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 16px; font-weight: 800; font-size: 1.3rem; line-height: 1.1;
  background: linear-gradient(160deg, hsl(var(--h) 55% 40%), hsl(calc(var(--h) + 50) 60% 14%)); }
.sale { position: absolute; top: 10px; left: 10px; background: var(--bad); color: #fff; font-weight: 700; font-size: .78rem; padding: 3px 8px; border-radius: 6px; z-index: 1; }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.card-platform { font-size: .78rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.card-title { font-weight: 600; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 700; font-size: 1rem; margin-top: 4px; }
.price .from { color: var(--muted); font-weight: 400; font-size: .85rem; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 6px; }
.chip { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--soft); }
.chip.sub { background: var(--accent-soft); color: var(--accent-2); }

/* ---------- catalog ---------- */
.search-mobile { display: none; margin-bottom: 20px; max-width: none; }
.page-head { margin-bottom: 24px; }
.page-head h1 { margin-bottom: 4px; }
.catalog { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 92px; }
.filters h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; padding: 0 12px; }
.filters .group { margin-bottom: 26px; }
.filters a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--soft); font-size: .95rem; }
.filters a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.filters a.active { background: var(--surface-2); color: var(--text); font-weight: 600; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar select { width: auto; border-radius: 999px; padding: 8px 16px; background: var(--surface); }
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 9px 16px; border-radius: 999px; background: var(--surface); }
.pagination a:hover { background: var(--surface-2); color: var(--text); }
.empty { text-align: center; padding: 72px 20px; background: var(--surface); border-radius: var(--radius-lg); }
.empty h3 { font-size: 1.3rem; }

/* ---------- product page ---------- */
.backdrop { position: absolute; left: 0; right: 0; top: 0; height: 620px; overflow: hidden; z-index: -1; }
.backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.backdrop img.blur { filter: blur(60px) saturate(1.4); transform: scale(1.2); opacity: .55; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 14, .2) 0%, rgba(10, 11, 14, .75) 55%, var(--bg) 100%); }
.has-backdrop { position: relative; isolation: isolate; }
.breadcrumbs { display: flex; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--text); }
.product { display: grid; grid-template-columns: 340px 1fr 360px; gap: 40px; margin-bottom: 64px; align-items: start; }
.product .cover { border-radius: 18px; box-shadow: var(--shadow); }
.product .cover-placeholder { font-size: 2rem; padding: 24px; }
.product h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.lead { color: var(--soft); font-size: 1.1rem; margin: 0 0 24px; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.buy-box { position: sticky; top: 92px; background: rgba(22, 24, 31, .85); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 20px; padding: 24px; }
.buy-box h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.platform-switch { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.platform-switch a { flex: 1 1 auto; text-align: center; padding: 9px 12px; border-radius: 12px; font-weight: 600; font-size: .9rem; color: var(--soft); white-space: nowrap; transition: background .15s, color .15s; }
.platform-switch a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.platform-switch a.active { background: #fff; color: #0a0b0e; }
.variants { display: grid; gap: 10px; margin-bottom: 18px; }
.variant { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; font-weight: 500; margin: 0; transition: border-color .15s, background .15s; }
.variant:hover { border-color: rgba(255, 255, 255, .3); }
.variant:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.variant input { accent-color: var(--accent); margin-right: 10px; }
.variant .p { font-weight: 700; white-space: nowrap; }
.buy-actions { display: grid; gap: 10px; }
.buy-note { display: flex; gap: 10px; color: var(--muted); font-size: .85rem; margin: 16px 0 0; }
.buy-note svg { color: var(--ok); margin-top: 2px; }
.description { white-space: pre-line; color: var(--soft); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* ---------- cart & checkout ---------- */
.layout-2 { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.panel + .panel { margin-top: 16px; }
aside.panel { position: sticky; top: 92px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { padding-top: 0; }
.cart-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-row .cover { width: 64px; border-radius: 10px; }
.cart-row .cover-placeholder { font-size: .6rem; padding: 6px; }
.cart-row form { display: flex; gap: 6px; align-items: center; margin: 0; }
.cart-row input[type=number] { width: 72px; padding: 8px 10px; text-align: center; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 10px; }
.summary-total { font-size: 1.4rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.hint { background: var(--accent-soft); border: 1px solid rgba(45, 108, 255, .35); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.hint ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- orders ---------- */
.status { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.status-new { background: rgba(255, 255, 255, .1); }
.status-paid { background: rgba(245, 158, 11, .2); color: #fcd34d; }
.status-in_progress { background: var(--accent-soft); color: var(--accent-2); }
.status-completed { background: rgba(34, 197, 94, .18); color: #86efac; }
.status-cancelled, .status-refunded { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 500; font-size: .85rem; }
.table tr:last-child td { border-bottom: 0; }
.delivery { background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .4); border-radius: 14px; padding: 18px; white-space: pre-wrap; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; word-break: break-word; }
.steps { display: flex; gap: 8px; margin: 18px 0 24px; flex-wrap: wrap; }
.step { flex: 1; min-width: 120px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.step.done { border-color: rgba(34, 197, 94, .5); color: var(--text); }
.step.now { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }

/* ---------- auth & pages ---------- */
.auth { max-width: 440px; margin: 24px auto; }
.auth .panel { padding: 32px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--soft); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .9rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { color: var(--text); font-size: .85rem; margin: 0 0 12px; font-weight: 600; }
.footer nav { display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-methods span { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-2); font-size: .78rem; font-weight: 600; color: var(--soft); }

/* ---------- adaptive ---------- */
@media (max-width: 1100px) {
  .grid.grid-5 { grid-template-columns: repeat(4, 1fr); }
  .product { grid-template-columns: 280px 1fr; }
  .product .buy-col { grid-column: 1 / -1; }
  .buy-box { position: static; }
  .slide-art { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .catalog, .layout-2 { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .filters .group { display: flex; gap: 6px; margin: 0; flex-shrink: 0; align-items: center; }
  .filters h3 { display: none; }
  .filters a { white-space: nowrap; background: var(--surface); }
  .grid.grid-5 { grid-template-columns: repeat(3, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .thumbs { display: none; }
  .hero-slider { aspect-ratio: auto; height: 460px; margin-bottom: 40px; }
  .slide-content { padding: 32px 28px; }
  .product { grid-template-columns: 1fr; }
  .product .cover { max-width: 260px; }
  aside.panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  main { padding-top: 20px; }
  .header .container { gap: 10px; height: 60px; }
  .search { display: none; }
  .logo-text { font-size: 1rem; }
  .header-actions .label { display: none; }
  .grid, .grid.grid-5 { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .hero-slider { height: 440px; border-radius: 18px; }
  .slide::after { background: linear-gradient(0deg, rgba(10, 11, 14, .96) 0%, rgba(10, 11, 14, .75) 45%, rgba(10, 11, 14, .1) 80%); }
  .search-mobile { display: block; }
  .slide-content { padding: 24px 20px; }
  .slide h2 { font-size: 1.9rem; }
  .slide p { font-size: .95rem; margin-bottom: 18px; }
  .slider-dots { right: 20px; bottom: auto; top: 20px; }
  .platform-tile { min-height: 92px; padding: 16px; }
  .cart-row { grid-template-columns: 48px 1fr auto; }
  .cart-row .cover { width: 48px; }
  .cart-row .qty-cell, .cart-row .sub-cell { grid-column: 2 / -1; }
  .table .hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
