:root {
  --bg:        #060a12;
  --bg-card:   #0d1420;
  --bg-card-2: #111927;
  --bg-hover:  #141d2e;
  --border:    rgba(255,255,255,0.06);
  --border-hi: rgba(0,212,255,0.2);
  --cyan:      #00d4ff;
  --cyan-dim:  #0099cc;
  --cyan-glow: rgba(0,212,255,0.12);
  --green:     #00e5a0;
  --green-dim: rgba(0,229,160,0.08);
  --red:       #ff5e6c;
  --text:      #e8edf5;
  --text-2:    #7a8899;
  --text-3:    #4a5568;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 0;
}
body > * { position: relative; z-index: 1; }
a { color: var(--cyan); }

/* ── ТИКЕР ── */
.ticker {
  background: linear-gradient(90deg,#020c18,#071020 50%,#020c18);
  border-bottom: 1px solid var(--border-hi);
  padding: 9px 0; overflow: hidden; white-space: nowrap;
  font-size: .8rem; font-weight: 500;
}
.ticker-track { display: inline-flex; animation: ticker 45s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; margin-right: 70px; flex-shrink: 0; color: var(--text-2); }
.ticker-item strong { color: var(--cyan); font-weight: 600; }
.ticker-item .badge { background: var(--green-dim); color: var(--green); padding: 2px 8px; border-radius: 20px; font-size: .72rem; font-weight: 600; border: 1px solid rgba(0,229,160,.2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── ШАПКА ── */
.header { position: sticky; top: 0; z-index: 200; background: rgba(6,10,18,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1360px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg,var(--cyan),var(--cyan-dim)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 0 16px rgba(0,212,255,.3); }
.logo-text { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--text); letter-spacing: -.3px; }
.logo-text em { font-style: normal; color: var(--cyan); }
.search-wrap { flex: 1; max-width: 420px; position: relative; }
.search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); pointer-events: none; }
.search-input { width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 14px 9px 38px; color: var(--text); font-size: .88rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.search-input::placeholder { color: var(--text-3); }
.search-input:focus { border-color: var(--border-hi); box-shadow: 0 0 0 3px var(--cyan-glow); }
.header-right { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.btn-tg { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg,var(--cyan),var(--cyan-dim)); color: #060a12; font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: 9px 18px; border-radius: var(--r-sm); text-decoration: none; transition: opacity .2s, transform .15s; box-shadow: 0 4px 20px rgba(0,212,255,.25); }
.btn-tg:hover { opacity: .88; transform: translateY(-1px); }
.btn-tg svg { width: 16px; height: 16px; }

/* ── КНОПКА КОРЗИНЫ В ШАПКЕ ── */
.btn-cart { position: relative; width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-size: 1.05rem; cursor: pointer; transition: border-color .18s, color .18s; flex-shrink: 0; }
.btn-cart:hover { border-color: var(--border-hi); color: var(--cyan); }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: var(--green); color: #060a12; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,229,160,.4); }
.cart-badge.visible { display: inline-flex; }
.cart-badge.bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.4); } }

/* ── HERO ── */
.hero { border-bottom: 1px solid var(--border); background:
  radial-gradient(ellipse 60% 120% at 50% -20%, rgba(0,212,255,.10), transparent 70%); }
.hero-inner { max-width: 1360px; margin: 0 auto; padding: 56px 24px 48px; text-align: center; }
.hero-tag { display: inline-block; background: var(--cyan-glow); border: 1px solid var(--border-hi); color: var(--cyan); font-size: .78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 18px; }
.hero-title { font-family: var(--font-head); font-size: clamp(1.7rem, 4.2vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; }
.hero-title em { font-style: normal; background: linear-gradient(135deg, var(--cyan), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 620px; margin: 0 auto 28px; color: var(--text-2); font-size: 1.02rem; }
.hero-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-badge { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 22px; min-width: 110px; }
.hb-num { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--green); }
.hb-text { font-size: .75rem; color: var(--text-2); }

/* ── СЕТКА ── */
.page { max-width: 1360px; margin: 0 auto; padding: 32px 24px 80px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

/* ── САЙДБАР ── */
.sidebar { position: sticky; top: 88px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-3); padding: 0 8px; margin-bottom: 8px; }
.cat-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--text-2); font-size: .86rem; font-weight: 500; transition: all .18s; border: 1px solid transparent; }
.cat-link:hover { color: var(--cyan); background: var(--cyan-glow); border-color: var(--border-hi); padding-left: 14px; }

/* ── МОБИЛЬНЫЕ ЧИПЫ ── */
.mobile-cats { display: none; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; padding-bottom: 4px; scrollbar-width: none; margin-bottom: 20px; }
.mobile-cats::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 7px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; color: var(--text-2); font-size: .82rem; font-weight: 500; text-decoration: none; transition: all .18s; white-space: nowrap; }
.chip:hover { border-color: var(--border-hi); color: var(--cyan); background: var(--cyan-glow); }

/* ── СТАТУС ── */
.status-bar { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--cyan-glow); border: 1px solid var(--border-hi); border-radius: var(--r-md); padding: 14px 20px; margin-bottom: 28px; font-size: .9rem; font-weight: 500; color: var(--cyan); transition: all .3s; text-align: center; }
.status-bar .dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px var(--cyan); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

/* ── КАТЕГОРИИ ── */
.cat-block { margin-bottom: 44px; scroll-margin-top: 100px; }
.cat-block.hidden { display: none; }
.cat-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cat-count { margin-left: auto; font-size: .75rem; font-family: var(--font-mono); color: var(--text-3); background: var(--bg-card-2); padding: 3px 10px; border-radius: 20px; border: 1px solid var(--border); }
.product-list { display: flex; flex-direction: column; gap: 10px; }

/* ── КАРТОЧКА ТОВАРА ── */
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; transition: border-color .2s, background .2s, transform .15s; position: relative; overflow: hidden; }
.product-card::before { content:''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--cyan), var(--cyan-dim)); opacity: 0; transition: opacity .2s; }
.product-card:hover { border-color: var(--border-hi); background: var(--bg-hover); transform: translateX(2px); }
.product-card:hover::before { opacity: 1; }
.product-card.hidden { display: none; }
.p-name { font-family: var(--font-head); font-size: .97rem; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; }
.badge-pop { display: inline-block; margin-left: 6px; background: linear-gradient(135deg,var(--cyan),var(--cyan-dim)); color: #060a12; font-size: .62rem; font-weight: 700; letter-spacing: .8px; padding: 2px 8px; border-radius: 20px; vertical-align: middle; }
.p-desc { font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.details-box { display: none; margin-top: 14px; padding: 14px 16px; background: rgba(0,212,255,.04); border: 1px dashed rgba(0,212,255,.15); border-radius: var(--r-sm); font-size: .82rem; color: var(--text-2); line-height: 1.6; }
.details-box strong { color: var(--cyan); }
.p-stock-col { text-align: center; min-width: 100px; }
.stock-label { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 3px; }
.stock-count { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; color: var(--green); }
.p-action-col { text-align: right; min-width: 160px; }
.price-rub { font-size: .72rem; color: var(--text-3); margin-bottom: 1px; }
.price-main { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600; color: var(--green); letter-spacing: -.5px; line-height: 1; margin-bottom: 12px; }
.btn-row { display: flex; gap: 8px; justify-content: flex-end; }
.btn { padding: 8px 14px; border-radius: var(--r-sm); font-size: .8rem; font-weight: 600; font-family: var(--font-head); cursor: pointer; border: none; transition: all .18s; white-space: nowrap; }
.btn-info { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-info:hover { border-color: var(--border-hi); color: var(--text); background: var(--bg-card-2); }
.btn-pay, .btn-add { background: linear-gradient(135deg,var(--cyan),var(--cyan-dim)); color: #060a12; box-shadow: 0 4px 14px rgba(0,212,255,.2); }
.btn-pay:hover, .btn-add:hover { box-shadow: 0 6px 20px rgba(0,212,255,.35); transform: translateY(-1px); }
.btn-pay:active, .btn-add:active { transform: scale(.97); }
.btn-pay:disabled, .btn-add:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── ПУСТОЙ ПОИСК ── */
.empty { display: none; text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty.visible { display: block; }
.empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-sub { margin-top: 8px; font-size: .85rem; }

/* ── ГАРАНТИИ ── */
.section-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 28px; letter-spacing: -.5px; }
.guarantees { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(0,212,255,.03), transparent); padding: 56px 24px; }
.guarantees-inner { max-width: 1360px; margin: 0 auto; }
.guarantee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.guarantee-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: border-color .2s, transform .15s; }
.guarantee-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.g-icon { font-size: 1.8rem; margin-bottom: 12px; }
.g-title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.g-text { font-size: .84rem; color: var(--text-2); line-height: 1.6; }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--border); padding: 56px 24px; }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color .18s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-3); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--cyan); }
.faq-item summary:hover { color: var(--cyan); }
.faq-item p { padding: 0 20px 18px; font-size: .86rem; color: var(--text-2); line-height: 1.7; }

/* ── ФУТЕР ── */
footer { border-top: 1px solid var(--border); padding: 36px 24px; text-align: center; font-size: .82rem; color: var(--text-3); background: var(--bg-card); }
footer a { color: var(--text-2); text-decoration: none; transition: color .18s; }
footer a:hover { color: var(--cyan); }
.footer-inner { max-width: 1360px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.footer-logo { font-family: var(--font-head); font-weight: 700; color: var(--text); letter-spacing: 1px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-note { margin-top: 8px; font-size: .75rem; }

/* ════════════════════════════════
   МОДАЛЬНОЕ ОКНО — ФОРМА ЗАКАЗА
════════════════════════════════ */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(6,10,18,.85); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border-hi); border-radius: 20px; padding: 32px; width: 100%; max-width: 460px; box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 40px rgba(0,212,255,.08); animation: modal-in .2s ease; position: relative; max-height: 90vh; overflow-y: auto; }
@keyframes modal-in { from { opacity:0; transform: scale(.95) translateY(8px); } to { opacity:1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: transparent; border: none; cursor: pointer; color: var(--text-3); font-size: 1.3rem; line-height: 1; transition: color .18s; }
.modal-close:hover { color: var(--text); }
.modal-icon { font-size: 2rem; margin-bottom: 12px; }
.modal-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.modal-product { font-size: .82rem; color: var(--cyan); font-weight: 600; margin-bottom: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .78rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 7px; }
.field input { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 11px 14px; color: var(--text); font-size: .9rem; font-family: var(--font-body); outline: none; transition: border-color .18s, box-shadow .18s; }
.field input::placeholder { color: var(--text-3); }
.field input:focus { border-color: var(--border-hi); box-shadow: 0 0 0 3px var(--cyan-glow); }
.field input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,94,108,.12); }
.field-hint { font-size: .75rem; color: var(--text-3); margin-top: 5px; }
.field-error { font-size: .75rem; color: var(--red); margin-top: 5px; display: none; }
.field-error.visible { display: block; }
.delivery-info { background: rgba(0,229,160,.06); border: 1px solid rgba(0,229,160,.18); border-radius: var(--r-sm); padding: 12px 14px; font-size: .82rem; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }
.delivery-info strong { color: var(--green); }
.modal-total { display: flex; align-items: center; justify-content: space-between; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 20px; }
.modal-total-label { font-size: .82rem; color: var(--text-2); }
.modal-total-price { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 600; color: var(--green); }
.btn-submit { display: block; width: 100%; background: linear-gradient(135deg, var(--cyan), var(--cyan-dim)); color: #060a12; border: none; border-radius: var(--r-sm); padding: 13px; font-family: var(--font-head); font-size: .95rem; font-weight: 700; cursor: pointer; transition: opacity .2s, transform .15s, box-shadow .2s; box-shadow: 0 4px 20px rgba(0,212,255,.25); text-align: center; }
.btn-submit:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,212,255,.35); }
.btn-submit:active { transform: scale(.98); }
.btn-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { display: block; margin-top: 12px; text-align: center; background: transparent; border: 1px solid var(--border); color: var(--text-2); border-radius: var(--r-sm); padding: 12px; font-family: var(--font-head); font-size: .88rem; font-weight: 600; text-decoration: none; transition: all .18s; }
.btn-ghost:hover { border-color: var(--border-hi); color: var(--text); }

/* ── СВОДКА ЗАКАЗА В МОДАЛКЕ ОФОРМЛЕНИЯ ── */
.order-summary { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 16px; max-height: 140px; overflow-y: auto; }
.os-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .82rem; color: var(--text-2); }
.os-row span:last-child { font-family: var(--font-mono); color: var(--text); flex-shrink: 0; }
.os-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; font-weight: 600; color: var(--green); font-size: .88rem; }
.os-total span:last-child { color: var(--green); }

/* ── МОДАЛКА КОРЗИНЫ ── */
.modal-cart { max-width: 560px; }
.cart-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-height: 45vh; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 10px 12px; }
.ci-name { font-family: var(--font-head); font-size: .84rem; font-weight: 600; line-height: 1.3; }
.ci-price { font-size: .71rem; color: var(--text-3); }
.ci-qty { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 26px; height: 26px; border-radius: 6px; background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text); font-size: .95rem; line-height: 1; cursor: pointer; transition: all .15s; }
.qty-btn:hover { border-color: var(--border-hi); color: var(--cyan); }
.qty-num { font-family: var(--font-mono); font-size: .9rem; min-width: 22px; text-align: center; }
.ci-total { font-family: var(--font-mono); font-size: .85rem; color: var(--green); min-width: 72px; text-align: right; }
.ci-remove { background: transparent; border: none; color: var(--text-3); cursor: pointer; font-size: .9rem; padding: 4px; transition: color .15s; }
.ci-remove:hover { color: var(--red); }
.cart-empty { text-align: center; color: var(--text-3); font-size: .88rem; padding: 26px 0; }
.cart-empty.hidden { display: none; }
.cart-footer.hidden { display: none; }

/* ── СТРАНИЦА УСПЕХА ── */
.success-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.success-wrap { width: 100%; max-width: 520px; padding: 24px; }
.success-card { background: var(--bg-card); border: 1px solid rgba(0,229,160,.25); border-radius: 20px; padding: 40px 32px; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.success-check { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-dim); border: 2px solid rgba(0,229,160,.4); color: var(--green); font-size: 2.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(0,229,160,.2); }
.success-card h1 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 12px; }
.success-text { color: var(--text-2); font-size: .92rem; margin-bottom: 24px; }
.success-steps { text-align: left; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.success-step { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; font-size: .85rem; color: var(--text-2); }
.success-step span { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--cyan-glow); color: var(--cyan); font-family: var(--font-mono); font-size: .8rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.success-actions .as-link { text-decoration: none; }

/* ── АДАПТИВ ── */
@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; padding: 20px 16px 60px; gap: 0; }
  .sidebar { display: none; }
  .mobile-cats { display: flex; }
  .hero-inner { padding: 40px 16px 36px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0 16px; gap: 12px; }
  .search-wrap { max-width: none; }
  .btn-tg span { display: none; }
  .product-card { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .p-stock-col { text-align: left; display: flex; align-items: center; gap: 12px; }
  .stock-label { margin-bottom: 0; }
  .p-action-col { text-align: left; }
  .price-main { font-size: 1.2rem; }
  .btn-row { justify-content: flex-start; }
  .modal { padding: 24px 20px; }
  .hero-badges { gap: 8px; }
  .hero-badge { min-width: calc(50% - 8px); padding: 10px 14px; }
  .cart-item { grid-template-columns: 1fr auto; grid-template-rows: auto auto; position: relative; }
  .ci-total { text-align: left; }
  .ci-remove { position: absolute; top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .dot { animation: none; }
  * { transition-duration: .01ms !important; }
}
