/* TitleWorld — магазин доната */
:root {
  --bg: #0c0c10;
  --panel: #131319;
  --panel-2: #191921;
  --panel-3: #20202a;
  --line: #24242f;
  --line-2: #2e2e3b;
  --text: #f2f2f5;
  --muted: #9a9aad;
  --dim: #686879;
  --accent: #ff7a1a;
  --accent-hover: #ff8f3d;
  --accent-ink: #1c0f04;
  --good: #3ddc84;
  --bad: #ff5468;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 12px;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
.pix { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
code { font-family: inherit; font-weight: 600; background: var(--panel-3); padding: 1px 7px; border-radius: 6px; color: var(--text); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 16px 20px 0; display: flex; flex-direction: column; gap: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: var(--r-sm); padding: 12px 20px; font-weight: 600; white-space: nowrap; transition: background .15s, transform .1s, opacity .15s; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 22px; font-size: 17px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 600; border-bottom: 1px dashed currentColor; }

/* ---------- promo banner ---------- */
.banner { background: var(--accent); color: var(--accent-ink); text-align: center; font-weight: 600; font-size: 14px; padding: 9px 16px; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b { font-size: 18px; font-weight: 700; }
.brand__text small { font-size: 12px; color: var(--dim); font-weight: 500; }
.menu { display: flex; gap: 4px; margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--line); }
.menu a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s, background .15s; }
.menu a:hover { color: var(--text); background: var(--panel-2); }
.icon-btn { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line); color: #5ab5f0; transition: background .15s; flex-shrink: 0; }
.icon-btn:hover { background: var(--panel-3); }
.online { min-width: 190px; padding: 9px 14px; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line); }
.online__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.online__label { display: inline-flex; align-items: center; gap: 7px; color: var(--good); font-weight: 600; }
.online__num { color: var(--muted); font-weight: 500; }
.online__num b { color: var(--text); font-weight: 700; }
.online__bar { margin-top: 7px; height: 4px; border-radius: 4px; background: var(--panel-3); overflow: hidden; }
.online__bar i { display: block; height: 100%; width: 0; background: var(--good); border-radius: 4px; transition: width .6s ease; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px rgba(61, 220, 132, .18); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end;
  background: #2a1830 url(/img/banner.png) center bottom / cover no-repeat; image-rendering: pixelated; border: 1px solid var(--line);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 16, .82) 0%, rgba(12, 12, 16, .45) 55%, rgba(12, 12, 16, 0) 100%), linear-gradient(0deg, rgba(12, 12, 16, .6), rgba(12, 12, 16, 0) 55%); }
.hero__body { position: relative; z-index: 1; padding: 36px; max-width: 640px; image-rendering: auto; }
.hero__tag { display: inline-block; padding: 6px 12px; border-radius: 8px; background: rgba(255, 122, 26, .16); color: #ffb27a; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hero__ip { font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.hero__sub { margin-top: 10px; color: #d6d6e0; font-size: 17px; max-width: 520px; }
.hero__copy {
  position: absolute; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: var(--bg); border: 0; border-top-left-radius: var(--r-lg); font-weight: 600; font-size: 17px; image-rendering: auto; transition: color .15s;
}
.hero__copy:hover { color: var(--accent); }
.hero__copy::before, .hero__copy::after { content: ""; position: absolute; width: var(--r-lg); height: var(--r-lg); background: transparent; }
.hero__copy::before { right: 0; top: calc(-1 * var(--r-lg)); border-bottom-right-radius: var(--r-lg); box-shadow: 8px 8px 0 8px var(--bg); }
.hero__copy::after { left: calc(-1 * var(--r-lg)); bottom: 0; border-bottom-right-radius: var(--r-lg); box-shadow: 8px 8px 0 8px var(--bg); }

/* ---------- live ---------- */
.live { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.live__badge { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--bad); font-weight: 700; font-size: 13px; width: 52px; }
.live__badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 4px rgba(255, 84, 104, .2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.live__track { flex: 1; min-width: 0; overflow: hidden; }
.live__track.is-moving { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.live__empty { color: var(--muted); font-size: 15px; padding: 14px 4px; }
.live__list { display: flex; gap: 10px; width: max-content; animation: scroll 50s linear infinite; }
.live__track:hover .live__list { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.buy { width: 152px; flex-shrink: 0; padding: 12px 10px; border-radius: var(--r); background: var(--panel-2); text-align: center; }
.buy img { width: 48px; height: 48px; margin: 0 auto 8px; }
.buy b { display: block; font-size: 13px; font-weight: 600; }
.buy span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- shop ---------- */
.shop { padding-top: 28px; border-top: 1px solid var(--line); margin-top: 8px; }
.shop__head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.shop__head p { color: var(--muted); margin-top: 6px; font-weight: 500; }
.shop-off { margin-top: 18px; padding: 14px 18px; border-radius: var(--r); background: rgba(255, 84, 104, .1); border: 1px solid rgba(255, 84, 104, .3); color: #ff9aa6; font-weight: 600; }

.rbar { margin-top: 22px; display: grid; grid-template-columns: 220px 1fr 220px; gap: 22px; align-items: center; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.rbar__item { display: flex; align-items: center; gap: 14px; }
.rbar__item img { width: 52px; height: 52px; padding: 6px; border-radius: 14px; background: rgba(255, 176, 0, .12); }
.rbar__item b { display: block; font-size: 17px; }
.rbar__item small { color: var(--dim); font-size: 13px; }
.rbar__range-head { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.rbar__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.rbox { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line); cursor: text; }
.rbox--out { cursor: default; }
.rbox > span:first-child { font-size: 12px; color: var(--dim); font-weight: 500; }
.rbox__val { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; }
.rbox input { width: 90px; border: 0; background: transparent; text-align: right; font-weight: 700; font-size: 18px; padding: 0; -moz-appearance: textfield; }
.rbox input:focus { outline: 0; }
.rbox input::-webkit-outer-spin-button, .rbox input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bonus { font-style: normal; font-size: 12px; font-weight: 700; color: #ffc24d; background: rgba(255, 176, 0, .14); padding: 2px 8px; border-radius: 6px; }
.rbar__btn { height: 100%; min-height: 64px; font-size: 17px; border-radius: var(--r); }
.rbar__btn b { font-weight: 700; }
.rbar__hint { margin: 8px 4px 0; color: var(--dim); font-size: 13px; }
.rbar__hint:empty { display: none; }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--panel-3) var(--p, 0%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--panel-3); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }

.shop__body { margin-top: 18px; display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.cats { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.cats__title { color: var(--dim); font-size: 13px; font-weight: 500; padding: 0 6px; }
.cats__list { display: flex; flex-direction: column; gap: 6px; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cat { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); font-weight: 600; text-align: left; transition: background .15s, color .15s; }
.cat img { width: 24px; height: 24px; }
.cat:hover { background: var(--panel-2); color: var(--text); }
.cat.is-active { background: var(--panel-3); color: var(--text); }
.cat__n { margin-left: auto; font-size: 12px; color: var(--dim); font-weight: 600; }
.cats__note { padding: 14px 16px; border-radius: var(--r); background: var(--panel); border: 1px dashed var(--line-2); }
.cats__note b { font-size: 14px; }
.cats__note p { color: var(--muted); font-size: 13px; margin-top: 4px; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.card { --c: var(--accent); min-width: 0; display: flex; flex-direction: column; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card:focus-visible { outline: 2px solid var(--accent); }
.card__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); display: grid; place-items: center; background: var(--panel-2); overflow: hidden; }
.card__img::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, var(--c), transparent 70%); opacity: .22; }
.card__img img { position: relative; width: 46%; height: auto; }
.card__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.tag { padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: #fff; color: #16161d; }
.tag--hit { background: var(--accent); color: var(--accent-ink); }
.tag--sale { background: var(--bad); color: #fff; }
.card__name { margin: 12px 4px 0; font-size: 18px; font-weight: 700; color: var(--text); }
.card__name span { color: var(--c); }
.card__sub { margin: 2px 4px 0; color: var(--dim); font-size: 13px; font-weight: 500; flex: 1; overflow-wrap: anywhere; }
.card__foot { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: var(--r); background: var(--panel-2); }
.card__price { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 17px; }
.card__price s { color: var(--dim); font-size: 12px; font-weight: 500; }
.card__buy { margin-left: auto; padding: 10px 18px; }
.card--skel { min-height: 300px; cursor: default; background: linear-gradient(90deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.products__empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--muted); background: var(--panel); border-radius: var(--r-lg); border: 1px solid var(--line); }

/* ---------- blocks ---------- */
.block { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 12px; }
.block__title { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--panel-2); }
.steps li > b { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps h3 { font-size: 16px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 14px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--r); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 18px 16px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { margin: 12px 0 24px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.footer__links a { color: var(--muted); font-weight: 500; font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__legal { flex-basis: 100%; color: var(--dim); font-size: 12px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 8, .75); animation: fi .15s; }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); animation: up .2s ease; }
@keyframes fi { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(12px); } }
.modal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--panel-2); color: var(--muted); }
.modal__x:hover { color: var(--text); background: var(--panel-3); }
.modal__head { display: flex; align-items: center; gap: 16px; padding-right: 40px; }
.modal__icon { --c: var(--accent); position: relative; flex-shrink: 0; width: 84px; height: 84px; border-radius: var(--r); display: grid; place-items: center; background: var(--panel-2); overflow: hidden; }
.modal__icon::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, var(--c), transparent 70%); opacity: .25; }
.modal__icon img { position: relative; width: 56px; height: 56px; }
.modal__cat { font-size: 12px; font-weight: 600; color: var(--dim); text-transform: uppercase; letter-spacing: .05em; }
.modal__head h3 { font-size: 24px; font-weight: 800; }
.modal__price { color: var(--accent); font-weight: 700; }
.modal__perks { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--panel-2); }
.modal__label { font-size: 13px; color: var(--dim); font-weight: 600; margin-bottom: 8px; }
.modal__perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.modal__perks li { position: relative; padding-left: 24px; font-size: 14px; color: #d4d4de; }
.modal__perks li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
#buyForm { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 600; font-size: 14px; }
.field em { color: var(--dim); font-style: normal; font-weight: 500; margin-left: 4px; }
.field input { width: 100%; padding: 13px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; transition: border-color .15s; -moz-appearance: textfield; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field input:focus { outline: 0; border-color: var(--accent); }
.field input.is-bad { border-color: var(--bad); }
.field input.is-good { border-color: var(--good); }
.field__hint { font-size: 13px; color: var(--dim); }
.field__hint.is-bad { color: var(--bad); }
.field__hint.is-good { color: var(--good); }
.summary { padding: 14px 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; }
.summary__row { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.summary__row b { color: var(--text); font-weight: 600; }
.summary__row--good b { color: var(--good); }
.summary__note { font-size: 13px; color: #ffc24d; font-weight: 500; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.summary__total b { font-size: 24px; }
.agree { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.agree a { color: var(--accent); text-decoration: underline; }
.modal__msg { min-height: 20px; text-align: center; font-size: 14px; font-weight: 500; color: #ffc24d; }
.modal__msg.is-bad { color: var(--bad); }
body.lock { overflow: hidden; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, 16px); padding: 12px 18px; border-radius: var(--r-sm); background: #fff; color: #15151c; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- legal pages ---------- */
.doc { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.doc h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.doc .muted { color: var(--dim); margin: 6px 0 20px; }
.doc h2 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 8px; }
.doc a { color: var(--accent); text-decoration: underline; }
.doc ul { padding-left: 22px; margin-bottom: 8px; }
.doc i { color: var(--dim); }
.faq a { color: var(--accent); text-decoration: underline; }
.back { margin-left: auto; padding: 10px 16px; border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound h1 { font-size: 96px; font-weight: 800; color: var(--accent); }
.notfound p { color: var(--muted); margin: 8px 0 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .rbar { grid-template-columns: 1fr 200px; }
  .rbar__item { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .shop__body { grid-template-columns: 1fr; }
  .cats { position: static; }
  .cats__title, .cats__note { display: none; }
  .cats__list { flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .cats__list::-webkit-scrollbar { display: none; }
  .cat { flex: 1; justify-content: center; white-space: nowrap; padding: 10px 14px; }
  .cat__n { margin-left: 4px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 10px 12px 0; gap: 12px; }
  .topbar { padding: 10px; gap: 8px; border-radius: 20px; }
  .brand img { width: 34px; height: 34px; }
  .brand__text b { font-size: 16px; }
  .brand__text small { font-size: 11px; }
  .icon-btn { width: 40px; height: 40px; }
  .online { min-width: 0; padding: 7px 10px; }
  .online__label { font-size: 0; gap: 0; }
  .online__label .dot { margin-right: 6px; }
  .online__row { font-size: 13px; gap: 4px; }
  .hero { min-height: 300px; border-radius: 20px; flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero::after { background: linear-gradient(0deg, rgba(12, 12, 16, .92) 30%, rgba(12, 12, 16, .3) 75%, rgba(12, 12, 16, .1)); }
  .hero__body { padding: 22px 18px 10px; }
  .hero__sub { font-size: 15px; }
  .hero__copy { position: relative; justify-content: space-between; margin: 0; padding: 16px 18px; border-radius: 0; background: rgba(12, 12, 16, .92); border-top: 1px solid var(--line); }
  .hero__copy::before, .hero__copy::after { display: none; }
  .live { padding: 10px 12px; gap: 10px; border-radius: 20px; }
  .live__badge { width: 40px; font-size: 12px; }
  .buy { width: 138px; }
  .buy span { font-size: 11px; }
  .shop { padding-top: 20px; }
  .rbar { grid-template-columns: 1fr; padding: 16px; gap: 16px; border-radius: 20px; }
  .rbar__btn { min-height: 54px; }
  .rbox input { width: 70px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { padding: 10px; gap: 8px; }
  .cat__n { display: none; }
  .card { padding: 8px; border-radius: 18px; }
  .card__img { border-radius: 12px; }
  .card__name { font-size: 15px; margin-top: 10px; }
  .card__sub { font-size: 12px; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; background: transparent; }
  .card__price { flex-direction: row; align-items: baseline; gap: 6px; font-size: 16px; padding: 0 4px; }
  .card__buy { margin: 0; width: 100%; padding: 10px; }
  .block { padding: 20px 16px; border-radius: 20px; }
  .block__title { font-size: 20px; }
  .footer { padding: 18px; border-radius: 20px; }
  .footer__links { margin-left: 0; }
  .modal { padding: 0; place-items: end center; }
  .modal__box { max-width: none; border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .modal__icon { width: 68px; height: 68px; }
  .modal__icon img { width: 46px; height: 46px; }
  .modal__head h3 { font-size: 21px; }
}
@media (max-width: 360px) {
  .products { grid-template-columns: 1fr; }
  .card__img { aspect-ratio: 16 / 9; }
  .card__img img { width: 30%; }
  .cat img { display: none; }
  .brand__text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
