/* InnovTech — новый дизайн (2026-12-05). Структура Dell/Lenovo, цвета InnovTech: синий #375BEB → фиолетовый #7678ED (как знак «iT»),
   золото #F2B33D, акцент #F0386B. Действует только при body.nd (просмотр ?design=new). Тёмная тема — в конце файла. */
/* Армянский шрифт (12-05): Noto Sans Armenian с Google Fonts, лежит у нас (/fonts). Подключён как армянская часть
   семейства Inter — любой текст, набранный Inter, получает армянские буквы той же толщины, что русские и английские. */
/* по отдельной грани на каждую толщину: Chrome выбирает грани семейства по точному весу, диапазон 100–900 в группу Inter не попадает */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
@font-face { font-family: 'Noto Sans Armenian'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/noto-sans-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+FB13-FB17; }
body.nd {
  --n-ink: #0F1440; --n-ink2: #3B4170; --n-mut: #6B7196; --n-b: #375BEB; --n-b2: #2B47C9; --n-v: #7678ED; --n-g: #F2B33D; --n-p: #F0386B;
  --n-bg: #F5F6FC; --n-card: #FFFFFF; --n-line: #E3E6F4; --n-soft: #EEF1FE; --n-ok: #0E9F6E;
  --n-grad: linear-gradient(135deg, #375BEB 0%, #5A61EC 55%, #7678ED 100%);
  --n-dark: linear-gradient(120deg, #0F1440 0%, #1B2366 55%, #2B3592 100%);
  --n-r: 16px; --n-sh: 0 22px 44px -28px rgba(15, 20, 64, .45);
  background: var(--n-bg) !important; color: var(--n-ink); font-family: Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
}
body.nd * { letter-spacing: normal; }
body.nd input, body.nd button, body.nd select, body.nd textarea { font-family: inherit; }
body.nd .wrap { max-width: 1320px; }

/* ---------- верх: бегущая строка как утилитарная полоса ---------- */
body.nd .tk { background: var(--n-dark); font-size: 12.5px; font-weight: 500; }
body.nd .tk::before { background: linear-gradient(90deg, #0F1440, transparent); }
body.nd .tk::after { background: linear-gradient(270deg, #2B3592, transparent); }
body.nd .tk a, body.nd .tk span.tk-i { padding: 8px 24px; color: #D7DAF7; }
body.nd .tk svg { color: var(--n-g); }
body.nd .tk b { color: #fff; }
body.nd .topbar { background: #fff !important; color: var(--n-mut) !important; border-bottom: 1px solid var(--n-line); font-size: 12.5px; }
body.nd .topbar a { color: var(--n-ink2) !important; font-weight: 500 !important; }
body.nd .topbar a:hover { color: var(--n-b) !important; }

/* ---------- шапка ---------- */
body.nd .header { background: #fff !important; border-bottom: 1px solid var(--n-line); box-shadow: none !important; backdrop-filter: none !important; }
body.nd .header .wrap { min-height: 76px; gap: 26px; }
body.nd .logo-mark { background: var(--n-grad) !important; border-radius: 11px !important; box-shadow: 0 8px 20px -10px rgba(55, 91, 235, .8); }
body.nd .logo-text { color: var(--n-ink) !important; font-weight: 800; letter-spacing: -.03em !important; }
body.nd .logo-text span { color: var(--n-b) !important; -webkit-text-fill-color: var(--n-b); background: none !important; }
body.nd .searchbox { flex: 1; max-width: none; height: 48px; border: 1.5px solid #D5D9EC !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; overflow: hidden; }
body.nd .searchbox:focus-within { border-color: var(--n-b) !important; box-shadow: 0 0 0 4px rgba(55, 91, 235, .12) !important; }
body.nd .searchbox input { font-size: 15px; color: var(--n-ink); background: transparent !important; }
body.nd .searchbox button { margin: 5px; height: 38px; min-width: 52px; border-radius: 9px !important; background: var(--n-grad) !important; color: #fff !important; }
body.nd .header-actions { gap: 6px; }
body.nd .icon-btn { border: 0 !important; background: transparent !important; color: var(--n-ink2) !important; box-shadow: none !important; border-radius: 10px !important; }
body.nd .icon-btn:hover { background: var(--n-soft) !important; color: var(--n-b) !important; }
body.nd .icon-lbl { color: var(--n-ink2); font-weight: 600; font-size: 11.5px; }
body.nd .cart-count, body.nd .mini-count { background: var(--n-p) !important; color: #fff !important; }
body.nd .curr-sel, body.nd .langsw { border-color: var(--n-line) !important; background: #fff !important; }
body.nd .langsw a.active { background: var(--n-grad) !important; color: #fff !important; }

/* меню разделов */
body.nd .catnav { background: #fff !important; border-bottom: 1px solid var(--n-line); box-shadow: none !important; }
body.nd .catnav .wrap { min-height: 52px; gap: 2px; }
body.nd .catnav a { color: var(--n-ink2) !important; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; background: none !important; }
body.nd .catnav a:hover { background: var(--n-soft) !important; color: var(--n-b) !important; }
body.nd .mega-btn { background: var(--n-grad) !important; color: #fff !important; border-radius: 10px !important; height: 38px; padding: 0 16px !important; font-weight: 700; margin-right: 10px; box-shadow: 0 8px 18px -10px rgba(55, 91, 235, .9) !important; }
body.nd .mega { border-top: 1px solid var(--n-line); box-shadow: 0 30px 60px -30px rgba(15, 20, 64, .35) !important; }

/* ---------- новая главная ---------- */
body.nd .nd-home { padding: 22px 0 10px; }
.nd-hero { display: grid; grid-template-columns: 1.75fr 1fr; gap: 20px; }
.nd-hb { position: relative; overflow: hidden; border-radius: 22px; min-height: 450px; background: #0F1440; color: #fff; display: flex; align-items: center; text-decoration: none; isolation: isolate; }
.nd-hb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.nd-hb:hover img { transform: scale(1.035); }
.nd-hb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 58, .96) 0%, rgba(12, 16, 58, .84) 36%, rgba(12, 16, 58, .08) 72%); }
.nd-hb-in { padding: 48px 54px; max-width: 580px; }
.nd-eye { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n-g); }
.nd-hb h1 { margin: 14px 0; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em !important; }
.nd-hb p { margin: 0 0 26px; color: #CDD1F5; font-size: 17px; line-height: 1.55; }
.nd-btn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 26px; border-radius: 12px; background: var(--n-grad); color: #fff; font-weight: 700; font-size: 15.5px; box-shadow: 0 14px 30px -12px rgba(55, 91, 235, .9); transition: transform .2s, box-shadow .2s; }
.nd-hb:hover .nd-btn { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(118, 120, 237, .95); }
.nd-hs { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.nd-hc { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: 24px 26px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 215px; color: #fff; text-decoration: none; background: #1B2366; }
.nd-hc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s; }
.nd-hc:hover img { transform: scale(1.05); }
.nd-hc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 16, 58, .9), rgba(12, 16, 58, .05) 72%); }
.nd-hc small { color: var(--n-g); font-weight: 700; letter-spacing: .12em; font-size: 11.5px; text-transform: uppercase; }
.nd-hc b { font-size: 24px; letter-spacing: -.02em; margin: 4px 0 2px; }
.nd-hc span { color: #CDD1F5; font-size: 14px; }

.nd-ben { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--n-line); border-radius: var(--n-r); }
.nd-ben > div { display: flex; gap: 14px; align-items: center; padding: 18px 22px; }
.nd-ben > div + div { border-left: 1px solid var(--n-line); }
.nd-ben i { width: 46px; height: 46px; border-radius: 13px; background: var(--n-soft); color: var(--n-b); display: grid; place-items: center; flex: none; }
.nd-ben p { margin: 0; }
.nd-ben b { display: block; font-size: 15px; color: var(--n-ink); }
.nd-ben span { font-size: 13px; color: var(--n-mut); }

.nd-sec { margin-top: 54px; }
.nd-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.nd-sh h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em !important; color: var(--n-ink); }
.nd-sh p { margin: 6px 0 0; color: var(--n-mut); font-size: 15px; }
.nd-sh > a { color: var(--n-b); font-weight: 700; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; white-space: nowrap; }
.nd-sh > a:hover { color: var(--n-v); }

.nd-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.nd-cat { background: #fff; border: 1px solid var(--n-line); border-radius: var(--n-r); padding: 16px 12px 14px; text-align: center; text-decoration: none; color: var(--n-ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.nd-cat:hover { transform: translateY(-4px); border-color: var(--n-b); box-shadow: 0 18px 34px -22px rgba(55, 91, 235, .7); }
.nd-ci { height: 104px; display: grid; place-items: center; margin-bottom: 10px; }
.nd-ci img { max-height: 100px; max-width: 100%; object-fit: contain; transition: transform .4s; }
.nd-cat:hover .nd-ci img { transform: scale(1.06); }
.nd-cat b { font-size: 14px; font-weight: 700; }

.nd-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.nd-tabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--n-line); background: #fff; font-weight: 600; font-size: 14px; color: var(--n-ink2); text-decoration: none; }
.nd-tabs a.on { background: var(--n-grad); color: #fff; border-color: transparent; }
.nd-tabs a:not(.on):hover { border-color: var(--n-b); color: var(--n-b); }

.nd-pr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nd-pb { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; min-height: 240px; display: flex; align-items: center; color: #fff; text-decoration: none; background: #1B2366; }
.nd-pb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; transition: transform 1s; }
.nd-pb:hover img { transform: scale(1.04); }
.nd-pb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 58, .92), rgba(12, 16, 58, .15) 72%); }
.nd-pb > div { padding: 34px; }
.nd-pb b { display: block; font-size: 30px; letter-spacing: -.03em; margin: 6px 0; }
.nd-pb > div > span:last-child { color: #CDD1F5; }

.nd-brs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.nd-brs a { height: 78px; border-radius: 14px; background: #fff; border: 1px solid var(--n-line); display: grid; place-items: center; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--n-ink2); text-decoration: none; transition: .25s; }
.nd-brs a:hover { color: var(--n-b); border-color: var(--n-b); transform: translateY(-3px); }

/* ---------- карточка товара (везде на сайте в новом дизайне) ---------- */
.nd-grid, body.nd .prod-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; }
body.nd .prod { background: var(--n-card) !important; border: 1px solid var(--n-line) !important; border-radius: var(--n-r) !important; box-shadow: none !important; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s, transform .25s !important; transform: none !important; }
body.nd .prod:hover { box-shadow: var(--n-sh) !important; border-color: #CDD2EC !important; }
body.nd .prod::before, body.nd .prod::after { display: none !important; }
body.nd .prod-img { background: #fff !important; border-radius: 0 !important; border-bottom: 1px solid var(--n-line); aspect-ratio: 4 / 3; padding: 18px !important; margin: 0 !important; }
body.nd .prod-img img { object-fit: contain; transition: transform .45s; }
body.nd .prod:hover .prod-img img { transform: scale(1.04); }
body.nd .prod-img::before, body.nd .prod-img::after { display: none !important; }
body.nd .prod .badge { left: 12px !important; top: 12px !important; border-radius: 7px !important; font-size: 11.5px !important; font-weight: 800 !important; padding: 4px 10px !important; box-shadow: none !important; }
body.nd .prod .badge-hit { background: var(--n-ink) !important; color: #fff !important; }
body.nd .prod .badge-new { background: var(--n-grad) !important; color: #fff !important; }
body.nd .prod .badge-sale { background: var(--n-p) !important; color: #fff !important; }
body.nd .card-tools { top: 10px !important; right: 10px !important; }
body.nd .card-tool { width: 36px !important; height: 36px !important; border-radius: 50% !important; background: #fff !important; border: 1px solid var(--n-line) !important; color: var(--n-ink2) !important; box-shadow: none !important; }
body.nd .card-tool:hover { color: var(--n-b) !important; border-color: var(--n-b) !important; }
body.nd .prod-body { padding: 16px 18px 18px !important; display: flex; flex-direction: column; flex: 1; gap: 0 !important; }
body.nd .prod-brand { font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--n-mut) !important; }
body.nd .prod-name { font-size: 15.5px !important; line-height: 1.35 !important; font-weight: 700 !important; color: var(--n-ink) !important; margin: 5px 0 12px !important; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.nd .prod-name:hover { color: var(--n-b) !important; }
body.nd .prod .pc-sp { display: grid; gap: 7px; list-style: none; margin: 0 0 14px; padding: 12px 0 0; border-top: 1px solid var(--n-line); }
body.nd .pc-sp li { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--n-ink2); min-width: 0; }
body.nd .pc-sp li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.nd .pc-sp svg { color: var(--n-b); flex: none; }
body.nd .prod-price-row { margin-top: auto !important; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
body.nd .prod-price { font-size: 23px !important; font-weight: 800 !important; letter-spacing: -.02em !important; color: var(--n-ink) !important; background: none !important; -webkit-text-fill-color: var(--n-ink) !important; }
body.nd .prod-old { font-size: 14px !important; color: var(--n-mut) !important; }
body.nd .prod-monthly { font-size: 12.5px !important; color: var(--n-mut) !important; margin-top: 2px !important; }
body.nd .prod-monthly b { color: var(--n-ink) !important; }
body.nd .prod .pc-st { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--n-ok); font-weight: 600; margin: 10px 0 14px; }
body.nd .pc-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--n-ok); box-shadow: 0 0 0 3px rgba(14, 159, 110, .15); }
body.nd .prod-actions { margin-top: 0 !important; }
body.nd .prod-actions .btn { width: 100%; height: 44px !important; border-radius: 11px !important; font-weight: 700 !important; font-size: 14.5px !important; }
body.nd .prod-actions .btn-primary { background: var(--n-grad) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
body.nd .prod-actions .btn-primary:hover { box-shadow: 0 12px 24px -12px rgba(55, 91, 235, .9) !important; transform: translateY(-1px); }
body.nd .prod-save { margin: 12px -18px -18px; border-radius: 0; }

/* ленты и заголовки секций старых страниц — в том же стиле */
body.nd .section-head h2 { color: var(--n-ink) !important; -webkit-text-fill-color: var(--n-ink) !important; background: none !important; font-weight: 800 !important; letter-spacing: -.03em !important; }
body.nd .section-head h2::after, body.nd .section-head::after { display: none !important; }
body.nd .shelf-row .prod { flex: 0 0 286px !important; }
body.nd .page-h1, body.nd .catalog-head h1 { color: var(--n-ink) !important; -webkit-text-fill-color: var(--n-ink) !important; background: none !important; letter-spacing: -.03em !important; }

/* подвал */
body.nd .footer { background: var(--n-dark) !important; color: #B5B9E3 !important; border-top: 0 !important; }
body.nd .footer a { color: #D7DAF7 !important; }
body.nd .footer a:hover { color: #fff !important; }
body.nd .footer .logo-text { color: #fff !important; }

/* снег и гирлянды в новом дизайне — сдержаннее */
body.nd .ny-garland { opacity: .8; }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1100px) {
  .nd-cats { grid-template-columns: repeat(4, 1fr); }
  .nd-grid, body.nd .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .nd-brs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  body.nd .header .wrap { min-height: 64px; gap: 12px; }
  .nd-hero { grid-template-columns: 1fr; gap: 12px; }
  .nd-hb { min-height: 430px; align-items: flex-end; border-radius: 18px; }
  .nd-hb::before { background: linear-gradient(0deg, rgba(12, 16, 58, .96) 12%, rgba(12, 16, 58, .55) 58%, rgba(12, 16, 58, .05)); }
  .nd-hb-in { padding: 24px 20px 26px; }
  .nd-hb p { font-size: 15px; margin-bottom: 18px; }
  .nd-hs { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
  .nd-hc { min-height: 170px; padding: 14px; border-radius: 16px; }
  .nd-hc b { font-size: 17px; }
  .nd-hc span { font-size: 12.5px; }
  .nd-ben { grid-template-columns: 1fr 1fr; }
  .nd-ben > div { padding: 14px 12px; gap: 10px; }
  .nd-ben i { width: 38px; height: 38px; }
  .nd-ben b { font-size: 13.5px; }
  .nd-ben > div:nth-child(3) { border-left: 0; }
  .nd-ben > div:nth-child(n+3) { border-top: 1px solid var(--n-line); }
  .nd-sec { margin-top: 38px; }
  .nd-sh h2 { font-size: 23px; }
  .nd-sh p { font-size: 13.5px; }
  .nd-cats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .nd-cat { padding: 10px 6px; border-radius: 12px; }
  .nd-ci { height: 62px; margin-bottom: 6px; }
  .nd-ci img { max-height: 58px; }
  .nd-cat b { font-size: 11.5px; line-height: 1.25; display: block; }
  .nd-grid, body.nd .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  body.nd .prod-body { padding: 12px !important; }
  body.nd .prod-name { font-size: 13.5px !important; min-height: 36px; }
  body.nd .prod-price { font-size: 18px !important; }
  body.nd .pc-sp li:nth-child(n+3) { display: none; }
  body.nd .prod .pc-st { font-size: 11.5px; margin: 8px 0 10px; }
  body.nd .shelf-row .prod { flex: 0 0 72% !important; }
  .nd-pr2 { grid-template-columns: 1fr; gap: 12px; }
  .nd-pb { min-height: 200px; }
  .nd-pb b { font-size: 23px; }
  .nd-brs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .nd-brs a { height: 60px; font-size: 15px; }
}

/* ---------- тёмная тема ---------- */
:root[data-theme="dark"] body.nd { --n-ink: #EEF0FF; --n-ink2: #C3C7EC; --n-mut: #9CA1CC; --n-bg: #0C1030; --n-card: #141A44; --n-line: #262E66; --n-soft: #1C2357; }
:root[data-theme="dark"] body.nd .header, :root[data-theme="dark"] body.nd .catnav, :root[data-theme="dark"] body.nd .topbar,
:root[data-theme="dark"] body.nd .searchbox, :root[data-theme="dark"] .nd-ben, :root[data-theme="dark"] .nd-cat, :root[data-theme="dark"] .nd-tabs a, :root[data-theme="dark"] .nd-brs a { background: var(--n-card) !important; border-color: var(--n-line) !important; }
:root[data-theme="dark"] body.nd .prod-img { background: #fff !important; }

/* единый шрифт в новом дизайне: цены, кнопки, заголовки — Inter (старая тема ставила акцидентный шрифт) */
body.nd h1, body.nd h2, body.nd h3, body.nd .btn, body.nd button, body.nd .prod-price, body.nd .prod-old, body.nd .pdp-price,
body.nd .catalog-head h1, body.nd .section-head h2, body.nd .logo-text, body.nd .nd-sh h2 { font-family: Inter, system-ui, -apple-system, sans-serif !important; }

/* фото в карточке целиком (старая тема поднимала его при наведении и обрезала сверху) */
body.nd .prod-img { overflow: hidden; display: grid; place-items: center; }
body.nd .prod-img img { width: 100% !important; height: 100% !important; padding: 0 !important; object-fit: contain; mix-blend-mode: normal !important; filter: none !important; }
body.nd .prod:hover .prod-img img { transform: scale(1.04) !important; filter: none !important; }
/* подвал: светлый текст на тёмном */
body.nd .footer, body.nd .footer p, body.nd .footer li, body.nd .footer span, body.nd .footer small { color: #B5B9E3 !important; }
body.nd .footer h4, body.nd .footer .logo-text, body.nd .footer b { color: #fff !important; }
body.nd .footer a { color: #D7DAF7 !important; }
body.nd .prod-img img { padding: 6px !important; }
body.nd .prod-monthly { display: block !important; white-space: normal; }
@media (max-width: 760px) { body.nd .prod-monthly { font-size: 11.5px !important; } body.nd .prod .pc-st { line-height: 1.3; } }

/* ---------- категории как AO.com: крупные плитки с картинкой ---------- */
.nd-cats2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nd-cat2 { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--n-ink); }
.nd-ci2 { display: block; overflow: hidden; border-radius: 20px; aspect-ratio: 1 / 1; background: #ECEFFE; box-shadow: 0 1px 0 var(--n-line); }
.nd-ci2 img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.nd-cat2:hover .nd-ci2 img { transform: scale(1.06); }
.nd-cat2:hover .nd-ci2 { box-shadow: 0 22px 40px -26px rgba(55, 91, 235, .7); }
.nd-cat2 b { font-size: 17px; font-weight: 700; padding-left: 4px; display: flex; align-items: center; gap: 6px; }
.nd-cat2 b::after { content: "→"; color: var(--n-b); opacity: 0; transform: translateX(-6px); transition: .25s; }
.nd-cat2:hover b::after { opacity: 1; transform: none; }

/* ---------- зоны: баннер + подразделы + товары ---------- */
.nd-zone { margin-top: 64px; }
.nd-zb { position: relative; display: flex; align-items: center; min-height: 360px; overflow: hidden; isolation: isolate; border-radius: 24px; text-decoration: none; color: #fff; background: #0F1440; }
.nd-zb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.nd-zb:hover img { transform: scale(1.03); }
.nd-zb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 58, .92) 0%, rgba(12, 16, 58, .7) 34%, rgba(12, 16, 58, 0) 62%); }
.nd-zone.light .nd-zb { color: var(--n-ink); background: #F3F1EC; }
.nd-zone.light .nd-zb::before { background: linear-gradient(90deg, rgba(250, 250, 255, .94) 0%, rgba(250, 250, 255, .72) 34%, rgba(250, 250, 255, 0) 62%); }
.nd-zb-in { padding: 44px 52px; max-width: 560px; }
.nd-zb h2 { margin: 10px 0 10px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em !important; color: inherit !important; -webkit-text-fill-color: currentColor; background: none !important; }
.nd-zb p { margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: #CDD1F5; }
.nd-zone.light .nd-zb p { color: var(--n-ink2); }
.nd-zone.light .nd-eye { color: var(--n-b); }
.nd-zb:hover .nd-btn { transform: translateY(-2px); }
.nd-zsubs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 18px; }
.nd-zsubs a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--n-line); color: var(--n-ink2); font-weight: 600; font-size: 14px; text-decoration: none; transition: .2s; }
.nd-zsubs a:first-child { background: var(--n-soft); border-color: transparent; color: var(--n-b); }
.nd-zsubs a:hover { border-color: var(--n-b); color: var(--n-b); }

@media (max-width: 1100px) { .nd-cats2 { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (max-width: 760px) {
  .nd-cats2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nd-ci2 { border-radius: 16px; }
  .nd-cat2 b { font-size: 14px; }
  .nd-zone { margin-top: 44px; }
  .nd-zb { min-height: 380px; align-items: flex-end; border-radius: 18px; }
  .nd-zb img { object-position: 70% center; }
  .nd-zb::before { background: linear-gradient(0deg, rgba(12, 16, 58, .95) 18%, rgba(12, 16, 58, .5) 60%, rgba(12, 16, 58, 0)); }
  .nd-zone.light .nd-zb::before { background: linear-gradient(0deg, rgba(250, 250, 255, .97) 22%, rgba(250, 250, 255, .6) 60%, rgba(250, 250, 255, 0)); }
  .nd-zb-in { padding: 22px 20px 24px; }
  .nd-zb p { font-size: 14.5px; margin-bottom: 16px; }
  .nd-zsubs { flex-wrap: nowrap; overflow-x: auto; margin: 14px -16px; padding: 0 16px; scrollbar-width: none; }
  .nd-zsubs::-webkit-scrollbar { display: none; }
  .nd-zsubs a { white-space: nowrap; }
}
:root[data-theme="dark"] .nd-zsubs a { background: var(--n-card); border-color: var(--n-line); }

/* две плитки из прежней версии (рассрочка / доставка) — под героем, в ряд */
.nd-promo { margin-top: 20px; }
.nd-promo .promo-tiles { display: grid !important; grid-template-rows: none !important; grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
.nd-promo .promo-tile { min-height: 190px !important; border-radius: 22px !important; }
.nd-promo .promo-tile img { object-position: 75% center; }
.nd-promo .promo-copy b { font-family: Inter, system-ui, sans-serif !important; letter-spacing: -.03em; }
@media (max-width: 760px) { .nd-promo .promo-tiles { gap: 12px !important; } .nd-promo .promo-tile { min-height: 140px !important; border-radius: 16px !important; } }

/* пункт меню «Гейминг-зона» */
body.nd .catnav a.nav-gz { color: #fff !important; background: linear-gradient(135deg, #0F1440, #2B3592) !important; border-radius: 9px; margin-right: 6px; position: relative; padding-left: 26px !important; }
body.nd .catnav a.nav-gz::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #F0386B; box-shadow: 0 0 8px #F0386B; animation: gzPulse 1.8s ease-in-out infinite; }
@keyframes gzPulse { 50% { opacity: .35; } }

/* ---------- блок как на AO: картинки «по поводу» + промо-карточки ---------- */
.ao-occ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ao-o { text-decoration: none; color: var(--n-ink); display: flex; flex-direction: column; gap: 12px; }
.ao-oi { display: block; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 22px 22px 22px 22px; position: relative; }
.ao-oi::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--n-bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.ao-oi img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ao-o:hover .ao-oi img { transform: scale(1.05); }
.ao-o b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; padding-left: 6px; margin-top: -10px; }
.ao-cards { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ao-c { position: relative; overflow: hidden; isolation: isolate; min-height: 250px; border-radius: 22px; background: #fff; border: 1px solid var(--n-line); text-decoration: none; color: var(--n-ink); display: block; transition: box-shadow .3s, transform .3s; }
.ao-c:hover { box-shadow: var(--n-sh); transform: translateY(-3px); }
.ao-tx { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 22px 0 0 24px; max-width: 62%; }
.ao-tx small { font-size: 15px; font-weight: 600; color: var(--n-ink2); }
.ao-tx b { font-size: 38px; line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 6px 0 4px; color: var(--n-ink); }
.ao-tx em { font-style: normal; font-size: 14.5px; color: var(--n-mut); }
.ao-blob { position: absolute; z-index: 0; right: -40px; bottom: -60px; width: 260px; height: 220px; border-radius: 58% 42% 0 60% / 60% 55% 0 45%; background: var(--n-grad); opacity: .95; transition: transform .6s; }
.ao-c1 .ao-blob { background: linear-gradient(135deg, #7678ED, #B37BEE); border-radius: 50% 50% 0 50% / 60% 60% 0 40%; }
.ao-c2 .ao-blob { background: linear-gradient(135deg, #F2B33D, #F28C3D); border-radius: 62% 38% 0 55% / 55% 60% 0 45%; }
.ao-c:hover .ao-blob { transform: scale(1.06) rotate(-3deg); }
.ao-pi { position: absolute; z-index: 1; right: 18px; bottom: 18px; width: 150px; height: 150px; background: #fff; border-radius: 20px; padding: 12px; box-shadow: 0 18px 30px -16px rgba(15, 20, 64, .5); display: grid; place-items: center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ao-pi img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ao-pi.tile { padding: 0; overflow: hidden; } .ao-pi.tile img { width: 100%; height: 100%; object-fit: cover; }
.ao-c:hover .ao-pi { transform: translateY(-4px) rotate(-2deg); }
.ao-br { position: absolute; z-index: 2; left: 24px; bottom: 18px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--n-mut); }
@media (max-width: 1100px) { .ao-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .ao-occ { grid-template-columns: 1fr; gap: 14px; } .ao-oi { aspect-ratio: 16 / 9; border-radius: 18px; } .ao-o b { font-size: 18px; }
  .ao-cards { grid-template-columns: 1fr; gap: 12px; } .ao-c { min-height: 190px; border-radius: 18px; }
  .ao-tx b { font-size: 30px; } .ao-pi { width: 116px; height: 116px; right: 14px; bottom: 14px; } .ao-blob { width: 200px; height: 170px; }
}

/* ---------- Гейминг-зона ---------- */
.gz-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; min-height: 470px; display: flex; align-items: center; color: #fff; background: #0B0F33; }
.gz-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.gz-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 40, .95) 0%, rgba(8, 10, 40, .78) 36%, rgba(8, 10, 40, 0) 66%); }
.gz-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #375BEB, #7678ED, #F0386B, #F2B33D); }
.gz-hero-in { padding: 54px 58px; max-width: 620px; }
.gz-hero h1 { margin: 12px 0 14px; font-size: clamp(40px, 6vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.045em !important; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; text-shadow: 0 0 40px rgba(118, 120, 237, .55); }
.gz-hero p { margin: 0 0 26px; font-size: 17px; line-height: 1.55; color: #CDD1F5; }
.gz-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.gz-btn2 { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 700; text-decoration: none; transition: .2s; }
.gz-btn2:hover { background: rgba(255, 255, 255, .12); }
.gz-jump { position: sticky; top: 0; z-index: 4; display: flex; gap: 8px; margin: 18px 0 0; padding: 10px 0; background: var(--n-bg); overflow-x: auto; scrollbar-width: none; }
.gz-jump a { white-space: nowrap; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--n-line); color: var(--n-ink2); font-weight: 600; font-size: 14px; text-decoration: none; }
.gz-jump a:hover { border-color: var(--n-b); color: var(--n-b); }
.gz-eye { color: var(--n-v) !important; }
.gz-bb { position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; min-height: 380px; border-radius: 24px; text-decoration: none; color: #fff; background: #0F1440; }
.gz-bb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; transition: transform 1.2s; }
.gz-bb:hover > img { transform: scale(1.03); }
.gz-bb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 58, .95) 0%, rgba(12, 16, 58, .75) 38%, rgba(12, 16, 58, 0) 66%); }
.gz-bb-in { padding: 44px 52px; max-width: 580px; }
.gz-bb h2 { margin: 10px 0 18px; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em !important; }
.gz-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.gz-steps li { display: flex; align-items: center; gap: 12px; color: #DADDF8; font-size: 15.5px; }
.gz-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--n-grad); color: #fff; font-size: 14px; flex: none; }
@media (max-width: 760px) {
  .gz-hero { min-height: 520px; align-items: flex-end; border-radius: 18px; } .gz-hero > img { object-position: 68% center; }
  .gz-hero::before { background: linear-gradient(0deg, rgba(8, 10, 40, .96) 22%, rgba(8, 10, 40, .55) 62%, rgba(8, 10, 40, 0)); }
  .gz-hero-in { padding: 24px 20px 28px; } .gz-hero p { font-size: 15px; }
  .gz-bb { min-height: 440px; align-items: flex-end; border-radius: 18px; }
  .gz-bb::before { background: linear-gradient(0deg, rgba(12, 16, 58, .96) 30%, rgba(12, 16, 58, .5) 66%, rgba(12, 16, 58, 0)); }
  .gz-bb-in { padding: 22px 20px 24px; }
}
.ao-tx { max-width: 66%; } .ao-tx b { font-size: clamp(28px, 2.6vw, 36px); white-space: nowrap; }
.gz-jump { background: rgba(245, 246, 252, .92); backdrop-filter: blur(8px); }
@media (max-width: 760px) { .gz-cta { flex-direction: column; } .gz-cta a { justify-content: center; width: 100%; } .gz-hero h1 { font-size: 44px; } .ao-tx { max-width: 60%; } }

/* ===================== 12-05 ночь: «душа» ===================== */
/* фон: не белый лист, а мягкое сине-фиолетовое сияние в наших цветах */
body.nd { --n-bg: #EEF0FB; }
body.nd {
  background:
    radial-gradient(900px 620px at 6% -4%, rgba(55, 91, 235, .17), transparent 62%),
    radial-gradient(820px 640px at 102% 6%, rgba(118, 120, 237, .2), transparent 60%),
    radial-gradient(1100px 700px at 50% 108%, rgba(118, 120, 237, .14), transparent 62%),
    linear-gradient(180deg, #EDEFFC 0%, #F2F1FD 45%, #EEF0FB 100%) !important;
  background-attachment: fixed !important;
}
:root[data-theme="dark"] body.nd { background: radial-gradient(900px 620px at 6% -4%, rgba(55, 91, 235, .28), transparent 62%), radial-gradient(820px 640px at 102% 6%, rgba(118, 120, 237, .25), transparent 60%), #0C1030 !important; background-attachment: fixed !important; }
/* AO-картинки «по поводу»: изгиб снизу маской, а не заплаткой цвета фона (фон теперь градиент) */
.ao-oi::after { display: none; }
.ao-oi { border-radius: 22px 22px 50% 50% / 22px 22px 16% 16%; }
/* заголовки секций: короткая градиентная черта — фирменный штрих */
.nd-sh h2::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; margin-top: 10px; background: linear-gradient(90deg, #375BEB, #7678ED, #F2B33D); }
/* секции мягко поднимаются при прокрутке */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
/* карточки товара: тёплое свечение при наведении */
body.nd .product-card:hover { box-shadow: 0 26px 50px -28px rgba(55, 91, 235, .55), 0 0 0 1px rgba(118, 120, 237, .35) !important; }

/* ---------- герой: слайдер + плитки рассрочки/доставки ---------- */
.nd-hero2 { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.nd-sl { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; min-height: 470px; background: #0B0F33; box-shadow: 0 30px 60px -36px rgba(15, 20, 64, .8); outline: none; }
.nd-s { position: absolute; inset: 0; display: flex; align-items: center; color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.nd-s.on { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }
.nd-s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; transform: scale(1.06); transition: transform 4.6s linear; }
.nd-s.on img { transform: scale(1); }
.nd-s::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 13, 48, .95) 0%, rgba(10, 13, 48, .8) 34%, rgba(10, 13, 48, .05) 70%); }
.nd-s-in { padding: 40px 54px 96px; max-width: 600px; }
.nd-s-in > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.nd-s.on .nd-s-in > * { opacity: 1; transform: none; }
.nd-s.on .nd-s-in > :nth-child(2) { transition-delay: .08s; } .nd-s.on .nd-s-in > :nth-child(3) { transition-delay: .16s; } .nd-s.on .nd-s-in > :nth-child(4) { transition-delay: .24s; }
.nd-s-h { margin: 12px 0 12px; color: #fff !important; -webkit-text-fill-color: #fff; background: none !important; font-size: clamp(32px, 4vw, 54px); line-height: 1.03; font-weight: 800; letter-spacing: -.04em !important; text-shadow: 0 2px 30px rgba(55, 91, 235, .45); }
.nd-s-in p { margin: 0 0 24px; color: #D3D6F7; font-size: 17px; line-height: 1.55; max-width: 470px; }
.nd-s-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nd-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 700; font-size: 15px; backdrop-filter: blur(6px); }
.nd-s:hover .nd-btn { transform: translateY(-2px); }
/* вкладки = прогресс */
.nd-sl-tabs { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.nd-st { position: relative; overflow: hidden; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75); font: 600 13.5px Inter, system-ui, sans-serif; cursor: pointer; text-align: left; backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.nd-st span { position: relative; z-index: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.nd-st:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.nd-st.on { background: rgba(255, 255, 255, .16); color: #fff; }
.nd-st i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #7678ED, #F2B33D); }
.nd-st.on i { animation: ndProg 4s linear forwards; } /* 12-05: 4 с на слайд (было 6,5); scaleX вместо width — без пересчёта раскладки */
.nd-sl:hover .nd-st.on i, .nd-sl:focus-within .nd-st.on i, .nd-sl.off .nd-st.on i { animation-play-state: paused; }
.nd-sl.still .nd-st.on i { animation: none; transform: none; }
@keyframes ndProg { to { transform: scaleX(1); } }
.nd-sl-ar { position: absolute; z-index: 3; top: 50%; margin-top: -40px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(10, 13, 48, .35); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .25s, background .2s; backdrop-filter: blur(6px); }
.nd-sl-ar.prev { left: 14px; } .nd-sl-ar.next { right: 14px; }
.nd-sl:hover .nd-sl-ar { opacity: 1; } .nd-sl-ar:hover { background: rgba(55, 91, 235, .7); }
/* правая колонка: старые плитки рассрочки и доставки одна над другой */
.nd-hs2 .promo-tiles { display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: 1fr 1fr !important; gap: 20px !important; height: 100%; }
.nd-hs2 .promo-tile { min-height: 0 !important; height: 100%; border-radius: 24px !important; box-shadow: 0 24px 44px -30px rgba(55, 91, 235, .8); }
.nd-hs2 .promo-tile img { object-position: 70% center; }
.nd-hs2 .promo-copy b { font-family: Inter, system-ui, sans-serif !important; letter-spacing: -.03em; }
@media (max-width: 1100px) { .nd-hero2 { grid-template-columns: 1fr; } .nd-hs2 .promo-tiles { grid-template-columns: 1fr 1fr !important; grid-template-rows: none !important; } .nd-hs2 .promo-tile { min-height: 170px !important; } }
@media (max-width: 760px) {
  .nd-hero2 { gap: 12px; }
  .nd-sl { min-height: 500px; border-radius: 20px; }
  .nd-s { align-items: flex-end; }
  .nd-s img { object-position: 66% center; }
  .nd-s::before { background: linear-gradient(0deg, rgba(10, 13, 48, .97) 30%, rgba(10, 13, 48, .55) 62%, rgba(10, 13, 48, .05)); }
  .nd-s-in { padding: 22px 20px 82px; }
  .nd-s-h { font-size: 32px; }
  .nd-s-in p { font-size: 15px; margin-bottom: 16px; }
  .nd-chip { height: 36px; font-size: 13.5px; }
  .nd-sl-tabs { left: 14px; right: 14px; bottom: 14px; gap: 6px; }
  .nd-st { height: 8px; padding: 0; border-radius: 6px; }
  .nd-st span { display: none; }
  .nd-st i { height: 100%; }
  .nd-sl-ar { display: none; }
  .nd-hs2 .promo-tiles { gap: 12px !important; } .nd-hs2 .promo-tile { min-height: 140px !important; border-radius: 16px !important; }
}

/* ---------- карусель брендов ---------- */
.nd-brands { margin-top: 56px; }
.nd-mq { position: relative; overflow: hidden; padding: 6px 0 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.nd-mq-t { display: flex; gap: 16px; width: max-content; animation: ndMq 48s linear infinite; }
.nd-mq-dup { display: contents; }
.nd-mq:hover .nd-mq-t { animation-play-state: paused; }
@keyframes ndMq { to { transform: translateX(calc(-50% - 8px)); } }
.nd-bl { flex: none; width: 190px; height: 104px; border-radius: 20px; background: rgba(255, 255, 255, .86); border: 1px solid var(--n-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: var(--n-ink); transition: transform .3s, box-shadow .3s, border-color .3s; backdrop-filter: blur(6px); }
.nd-bl-i { display: block; width: 112px; height: 36px; background: var(--n-ink2); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: background .3s; }
.nd-bl-t { font: 800 22px/1 Inter, system-ui, sans-serif; letter-spacing: .02em; color: var(--n-ink2); transition: color .3s; height: 36px; display: flex; align-items: center; }
.nd-bl small { font-size: 12px; color: var(--n-mut); font-weight: 600; }
.nd-bl:hover { transform: translateY(-4px); border-color: var(--bc); box-shadow: 0 20px 36px -24px var(--bc); }
.nd-bl:hover .nd-bl-i { background: var(--bc); } .nd-bl:hover .nd-bl-t { color: var(--bc); }
@media (prefers-reduced-motion: reduce) { .nd-mq-t { animation: none; flex-wrap: wrap; width: auto; } .nd-mq-dup { display: none; } .nd-mq { -webkit-mask: none; mask: none; } }
@media (max-width: 760px) { .nd-brands { margin-top: 40px; } .nd-bl { width: 140px; height: 84px; border-radius: 16px; } .nd-bl-i { width: 88px; height: 28px; } .nd-bl-t { font-size: 17px; height: 28px; } .nd-mq-t { gap: 10px; animation-duration: 36s; } }
:root[data-theme="dark"] .nd-bl { background: var(--n-card); }

/* ---------- окно подписки ---------- */
html.nd-lock { overflow: hidden; }
.nd-pop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.nd-pop-bg { position: absolute; inset: 0; background: rgba(10, 13, 48, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.nd-pop.on .nd-pop-bg { opacity: 1; }
.nd-pop-card { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; width: min(900px, 100%); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -30px rgba(10, 13, 48, .7); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.nd-pop.on .nd-pop-card { opacity: 1; transform: none; }
.nd-pop-img { position: relative; min-height: 520px; }
.nd-pop-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-pop-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 48, .55), transparent 40%); }
.nd-pop-badge { position: absolute; z-index: 1; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: 13px; backdrop-filter: blur(8px); }
.nd-pop-body { position: relative; padding: 46px 44px 34px; display: flex; flex-direction: column; justify-content: center; color: var(--n-ink); }
.nd-pop-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #375BEB, #7678ED, #F2B33D); }
.nd-pop-body h2 { margin: 10px 0 10px; font-size: 32px; line-height: 1.08; font-weight: 800; letter-spacing: -.035em !important; color: var(--n-ink) !important; -webkit-text-fill-color: currentColor; background: none !important; }
.nd-pop-body h2::after { display: none; }
.nd-pop-body > div > p { margin: 0 0 22px; color: var(--n-ink2); font-size: 15.5px; line-height: 1.55; }
.nd-pop-x { position: absolute; z-index: 2; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(15, 20, 64, .06); color: var(--n-ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s; }
.nd-pop-x:hover { background: rgba(15, 20, 64, .12); }
.nd-pop-f { display: grid; gap: 10px; }
.nd-sw { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; color: var(--n-ink2); margin-bottom: 6px; }
.nd-sw input { position: absolute; opacity: 0; pointer-events: none; }
.nd-sw-k { flex: none; width: 44px; height: 26px; border-radius: 999px; background: #D9DCF2; position: relative; transition: background .2s; }
.nd-sw-k::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 20, 64, .25); transition: transform .2s; }
.nd-sw input:checked + .nd-sw-k { background: var(--n-b); } .nd-sw input:checked + .nd-sw-k::after { transform: translateX(18px); }
.nd-sw input:focus-visible + .nd-sw-k { outline: 2px solid var(--n-b); outline-offset: 2px; }
.nd-pop-l { font-size: 13px; font-weight: 700; color: var(--n-ink2); }
.nd-pop-f input[type=email] { height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--n-line); background: #F7F8FE; font: 500 16px Inter, system-ui, sans-serif; color: var(--n-ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.nd-pop-f input[type=email]:focus { border-color: var(--n-b); box-shadow: 0 0 0 4px rgba(55, 91, 235, .14); background: #fff; }
.nd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nd-pop-go { height: 54px; justify-content: center; border: 0; cursor: pointer; font-size: 16px; margin-top: 4px; }
.nd-pop-go:disabled { opacity: .6; }
.nd-pop-err { margin: 0; color: #D92D50; font-size: 14px; font-weight: 600; }
.nd-pop-legal { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: var(--n-mut); }
.nd-pop-legal a { color: var(--n-b); }
.nd-pop-ok { text-align: center; padding: 30px 0; }
.nd-pop-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--n-grad); color: #fff; font-size: 30px; box-shadow: 0 18px 36px -16px rgba(55, 91, 235, .9); }
@media (max-width: 760px) {
  .nd-pop { padding: 0; align-items: end; }
  .nd-pop-card { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; max-height: 92vh; overflow-y: auto; transform: translateY(40px); }
  .nd-pop-img { min-height: 170px; height: 170px; }
  .nd-pop-img img { object-position: center 62%; }
  .nd-pop-body { padding: 26px 20px 26px; }
  .nd-pop-body h2 { font-size: 25px; }
  .nd-pop-x { background: rgba(255, 255, 255, .85); }
}
:root[data-theme="dark"] .nd-pop-card { background: var(--n-card); }
:root[data-theme="dark"] .nd-pop-f input[type=email] { background: #0F1440; color: #fff; }
.nd-pop-body p.nd-pop-legal { font-size: 12px; line-height: 1.5; margin: 14px 0 0; color: var(--n-mut); }
.nd-pop-body p.nd-pop-err { font-size: 14px; margin: 0; color: #D92D50; }
.nd-pop[hidden] { display: none !important; }
.nd-sl-ar { top: 20px; margin-top: 0; } .nd-sl-ar.prev { left: auto; right: 70px; } .nd-sl-ar.next { right: 20px; }

/* ---------- брендовые слайды «Лучшее от …» (12-05) ---------- */
.nd-sb::before { background: linear-gradient(90deg, rgba(8, 10, 40, .92) 0%, rgba(8, 10, 40, .7) 42%, rgba(8, 10, 40, .1) 74%); }
.nd-sb .nd-s-in { padding-top: 34px; }
.nd-sb-logo { display: block; width: 130px; height: 34px; margin-bottom: 10px; background: #fff; -webkit-mask: var(--m) left center / contain no-repeat; mask: var(--m) left center / contain no-repeat; }
.nd-sb-name { display: block; font: 800 28px/34px Inter, system-ui, sans-serif; letter-spacing: .02em; margin-bottom: 10px; }
.nd-sb .nd-s-h { font-size: clamp(30px, 3.4vw, 46px); margin: 8px 0 8px; }
.nd-sb .nd-s-in p { margin-bottom: 18px; }
.nd-mcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; max-width: 540px; }
.nd-mc { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px 11px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; text-align: center; backdrop-filter: blur(8px); transition: background .25s, border-color .25s, transform .25s; }
.nd-mc:hover { background: rgba(255, 255, 255, .2); border-color: var(--bc); transform: translateY(-3px); }
.nd-mc-i { width: 70px; height: 50px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 4px; margin-bottom: 2px; }
.nd-mc-i img { max-width: 100%; max-height: 100%; object-fit: contain; position: static; transform: none !important; z-index: auto; }
.nd-mc b { font-size: 13px; line-height: 1.2; font-weight: 700; }
.nd-mc small { font-size: 11.5px; color: #C9CDF5; white-space: nowrap; }
.nd-sb > .nd-s-in .nd-btn:hover { transform: translateY(-2px); }
.nd-sb-hero { position: absolute; z-index: 1; right: 6%; top: 44%; width: 290px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; text-decoration: none; transform: translateY(-50%) translateX(30px); opacity: 0; transition: opacity .8s ease .2s, transform 1s cubic-bezier(.2, .7, .2, 1) .2s; }
.nd-s.on .nd-sb-hero { opacity: 1; transform: translateY(-50%); }
.nd-sb-pi { width: 270px; height: 210px; border-radius: 24px; background: #fff; padding: 16px; display: grid; place-items: center; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .7), 0 0 70px -12px var(--bc); animation: ndFloat 5s ease-in-out infinite; }
.nd-sb-pi img { position: static; max-width: 100%; max-height: 100%; object-fit: contain; transform: none !important; z-index: auto; }
@keyframes ndFloat { 50% { transform: translateY(-8px); } }
.nd-sb-cap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.nd-sb-cap b { font-size: 14px; font-weight: 700; } .nd-sb-cap em { font-style: normal; font-weight: 800; font-size: 18px; color: #FFD27A; }
.nd-sb-hero:hover .nd-sb-pi { box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .7), 0 0 90px -6px var(--bc); }
@media (max-width: 1240px) { .nd-sb-hero { width: 230px; right: 3%; } .nd-sb-pi { width: 220px; height: 170px; } }
@media (max-width: 1100px) and (min-width: 761px) { .nd-mcs { max-width: 480px; } }
@media (max-width: 960px) { .nd-sb-hero { display: none; } }
@media (max-width: 760px) {
  .nd-sb::before { background: linear-gradient(0deg, rgba(8, 10, 40, .97) 40%, rgba(8, 10, 40, .55) 70%, rgba(8, 10, 40, .15)); }
  .nd-sb-logo { width: 100px; height: 26px; }
  .nd-sb .nd-s-in p { display: none; }
  .nd-sb .nd-s-h { font-size: 28px; }
  .nd-mcs { gap: 6px; margin-bottom: 14px; }
  .nd-mc { padding: 7px 3px 8px; border-radius: 12px; }
  .nd-mc-i { width: 54px; height: 38px; }
  .nd-mc b { font-size: 11px; } .nd-mc small { font-size: 10px; }
}
.nd-sb > img { transform-origin: 0 75%; transform: scale(calc(var(--z, 1) * 1.06)); }
.nd-s.on.nd-sb > img { transform: scale(var(--z, 1)); }
.nd-sb-hero { right: auto; left: calc(var(--cx, .8) * 100% - 145px); top: 46%; }
@media (max-width: 1240px) { .nd-sb-hero { left: calc(var(--cx, .8) * 100% - 115px); } }
.nd-mc-i, .nd-sb-pi { display: block; box-sizing: border-box; }
.nd-mc-i img, .nd-sb-pi img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
@media (max-width: 760px) {
  .nd-sb-hero { display: flex; left: 50%; top: 22px; width: auto; transform: translateX(-50%) translateY(-10px); }
  .nd-s.on .nd-sb-hero { transform: translateX(-50%); }
  .nd-sb-pi { width: 168px; height: 118px; padding: 10px; border-radius: 18px; }
  .nd-sb-cap { display: none; }
}

/* ---------- Слайдер v3 (12-05): сцены во весь слайд, текст прямо на картинке, светлые сцены — тёмный текст ---------- */
.nd-s-mod { display: block; margin: -10px 0 24px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .82); letter-spacing: -.005em; }
.nd-btn-ar { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: -12px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-style: normal; transition: transform .25s; }
.nd-s .nd-btn { height: 54px; border-radius: 999px; padding: 0 22px 0 26px; }
.nd-s:hover .nd-btn-ar { transform: translateX(3px); }
.nd-s.lt { color: var(--n-ink); }
.nd-s.lt::before { background: linear-gradient(90deg, rgba(246, 247, 255, .97) 0%, rgba(246, 247, 255, .86) 30%, rgba(246, 247, 255, .35) 48%, rgba(246, 247, 255, 0) 62%); }
.nd-s.lt .nd-s-h { color: var(--n-ink) !important; -webkit-text-fill-color: var(--n-ink); text-shadow: none; }
.nd-s.lt .nd-s-in p { color: var(--n-ink2); }
.nd-s.lt .nd-s-mod { color: var(--n-mut); }
.nd-s.lt .nd-eye { color: var(--n-b); }
.nd-s.lt .nd-chip { background: rgba(255, 255, 255, .78); border-color: rgba(55, 91, 235, .18); color: var(--n-ink); }
/* вкладки: без плашек — подпись и тонкая полоса прогресса под ней */
.nd-sl-tabs { left: 54px; right: 54px; bottom: 22px; gap: 12px; }
.nd-st { height: auto; padding: 0 0 12px; border-radius: 0; background: none !important; backdrop-filter: none; color: rgba(255, 255, 255, .62); font-weight: 600; font-size: 12.5px; }
.nd-st::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.nd-st i { z-index: 1; border-radius: 3px; background: linear-gradient(90deg, #7678ED, #F2B33D); }
.nd-st:hover, .nd-st.on { color: #fff; }
.nd-sl.lt .nd-st { color: rgba(15, 20, 64, .5); }
.nd-sl.lt .nd-st::after { background: rgba(15, 20, 64, .12); }
.nd-sl.lt .nd-st:hover, .nd-sl.lt .nd-st.on { color: var(--n-ink); }
.nd-sl.lt .nd-st i { background: var(--n-grad); }
.nd-sl.lt .nd-sl-ar { border-color: rgba(15, 20, 64, .12); background: rgba(255, 255, 255, .7); color: var(--n-ink); }
.nd-sl { background: #E9EBFA; }
/* плитки рассрочки и доставки — те же скругления, что у слайдера; новогодняя шапка не вылезает за угол */
body.nd .nd-hs2 .promo-tile, body.nd .nd-hs2 .promo-tile.ny-deco { overflow: hidden !important; border-radius: 26px !important; isolation: isolate; }
body.nd .nd-hs2 .promo-tile img { border-radius: inherit; }
@media (max-width: 760px) {
  .nd-s.lt::before { background: linear-gradient(0deg, rgba(246, 247, 255, .98) 34%, rgba(246, 247, 255, .7) 58%, rgba(246, 247, 255, 0) 80%); }
  .nd-s img { object-position: 80% center; }
  .nd-s-mod { margin: -6px 0 16px; font-size: 13px; }
  .nd-s .nd-btn { height: 48px; }
  .nd-sl-tabs { left: 20px; right: 20px; bottom: 16px; gap: 6px; }
  .nd-st { height: 4px; padding: 0; }
  .nd-st::after { height: 4px; }
  body.nd .nd-hs2 .promo-tile, body.nd .nd-hs2 .promo-tile.ny-deco { border-radius: 20px !important; }
}
/* телефон: картинка с товаром сверху, текст снизу — чтобы товар было видно */
@media (max-width: 760px) {
  .nd-sl { min-height: 560px; }
  .nd-s { background: #0B0F33; } .nd-s.lt { background: #F4F5FD; }
  .nd-s img { inset: 0 0 auto 0; height: 60%; object-position: 84% center; }
  .nd-s::before { background: linear-gradient(0deg, #0B0F33 42%, rgba(11, 15, 51, .75) 52%, rgba(11, 15, 51, 0) 64%); }
  .nd-s.lt::before { background: linear-gradient(0deg, #F4F5FD 42%, rgba(244, 245, 253, .8) 52%, rgba(244, 245, 253, 0) 64%); }
  .nd-s-in { padding: 0 20px 44px; }
  .nd-s-h { font-size: 28px; margin: 8px 0 8px; }
  .nd-s-in p { font-size: 14.5px; margin-bottom: 16px; }
  .nd-s-mod { display: none; }
  .nd-s-row { flex-wrap: nowrap; gap: 10px; }
  .nd-s .nd-btn { height: 46px; padding: 0 16px 0 20px; font-size: 14.5px; white-space: nowrap; }
  .nd-s .nd-chip { height: 40px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 760px) {
  .nd-s-in { width: 100%; max-width: none; box-sizing: border-box; min-width: 0; }
  .nd-s-row { flex-wrap: wrap; row-gap: 10px; }
}

/* ---------- Шапка 12-05 (по скриншоту владельца с телефона) ---------- */
/* строка разделов: гейминг-зона, собери ПК, идеи подарков — заметными кнопками */
body.nd .catnav a.nav-pc, body.nd .catnav a.nav-gift { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; white-space: nowrap; }
body.nd .catnav a.nav-pc { color: var(--n-b) !important; background: var(--n-soft) !important; border: 1px solid rgba(55, 91, 235, .18); }
body.nd .catnav a.nav-gift { color: #fff !important; background: linear-gradient(135deg, #F0386B, #F2B33D) !important; box-shadow: 0 8px 18px -10px rgba(240, 56, 107, .9); }
body.nd .catnav a.nav-gift:hover { filter: brightness(1.05); color: #fff !important; }
body.nd .tb-mob { display: none; }
@media (max-width: 860px) {
  /* верхняя строка: телефон слева, справа языки + сравнение + избранное */
  body.nd .topbar .wrap { display: flex; align-items: center; gap: 8px; min-height: 42px; padding-top: 0; padding-bottom: 0; }
  body.nd .topbar .wrap > span, body.nd .topbar .topbar-links { display: none !important; }
  body.nd .topbar .wrap > a[href^="tel:"] { white-space: nowrap; font-size: 13px; }
  body.nd .tb-mob { display: flex !important; align-items: center; gap: 6px; margin-left: auto; }
  body.nd .tb-lang { display: flex !important; gap: 2px; padding: 2px; border-radius: 999px; background: var(--n-soft); }
  body.nd .tb-lang a { padding: 4px 8px !important; border-radius: 999px; font-size: 11.5px; font-weight: 700 !important; color: var(--n-mut) !important; line-height: 1.2; }
  body.nd .tb-lang a.active { background: var(--n-grad) !important; color: #fff !important; }
  body.nd .tb-ic { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--n-ink) !important; }
  body.nd .tb-ic svg { width: 19px; height: 19px; }
  body.nd .tb-ic .mini-count { position: absolute; top: -3px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--n-p); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
  body.nd .tb-ic .mini-count[hidden] { display: none; }
  /* шапка: логотип — длинный поиск — корзина — меню; тема переехала в меню */
  body.nd .header .wrap { display: flex !important; align-items: center; gap: 8px !important; min-height: 62px; flex-wrap: nowrap; }
  body.nd .header .logo { flex: none; }
  body.nd .header .logo-text { display: none; }
  body.nd .header .searchbox { display: flex !important; flex: 1 1 auto; min-width: 0; height: 44px; order: 0; margin: 0; position: relative; width: auto; }
  body.nd .header .searchbox input { min-width: 0; width: 100%; height: 100%; font-size: 14.5px; padding: 0 48px 0 12px; display: block !important; }
  body.nd .header .searchbox button { position: absolute; top: 4px; right: 4px; margin: 0; height: 34px; min-width: 40px; width: 40px; }
  body.nd .header-actions { flex: none; gap: 6px !important; margin: 0; }
  body.nd .header-actions .theme-btn:not(.mob-theme) { display: none !important; }
  body.nd .header-actions .icon-btn { width: 42px; height: 42px; }
  body.nd .header-actions .icon-btn .icon-lbl { display: none !important; }
  /* строка разделов листается пальцем */
  body.nd .catnav .wrap { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  body.nd .catnav .wrap::-webkit-scrollbar { display: none; }
  body.nd .catnav .wrap > a { flex: none; font-size: 13.5px; padding: 8px 12px; }
  body.nd .mob-theme { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--n-line); background: #fff; color: var(--n-ink); font-weight: 600; }
  body.nd .mob-theme svg { width: 18px; height: 18px; }
}

/* Новогодний знак на карточках (12-05) */
body.nd .prod .prod-img { position: relative; }
body.nd .ny-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; background: linear-gradient(135deg, #375BEB, #7678ED); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: -.005em; box-shadow: 0 8px 16px -8px rgba(55, 91, 235, .9); white-space: nowrap; }
body.nd .ny-tag.sale { background: linear-gradient(135deg, #F0386B, #F2B33D); box-shadow: 0 8px 16px -8px rgba(240, 56, 107, .9); }
body.nd .ny-tag svg { flex: none; }
body.nd .ny-sprig { position: absolute; right: 6px; bottom: 4px; z-index: 1; width: 58px; height: 36px; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(15, 20, 64, .18)); }
@media (max-width: 760px) { body.nd .ny-tag { left: 6px; bottom: 6px; height: 22px; font-size: 10px; padding: 0 8px 0 6px; gap: 4px; } body.nd .ny-tag svg { width: 11px; height: 11px; } body.nd .ny-sprig { width: 42px; height: 26px; right: 2px; bottom: 2px; } }
/* отсчёт до Нового года на слайде */
.nd-cd { display: flex; gap: 10px; margin: -4px 0 26px; }
.nd-cd span { display: grid; place-items: center; align-content: center; gap: 4px; width: 76px; height: 80px; border-radius: 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.nd-cd b { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.nd-cd i { font-style: normal; font-size: 11px; font-weight: 600; color: #C9CCF5; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) { .nd-cd { gap: 8px; margin: 0 0 16px; } .nd-cd span { width: 62px; height: 64px; border-radius: 14px; } .nd-cd b { font-size: 25px; } .nd-cd i { font-size: 10px; } }

/* Карусель товаров (12-05): та же ширина карточки, что в сетке из 4 */
.nd-rail { position: relative; }
.nd-rail-t { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 16px; margin: -6px -2px -16px; overscroll-behavior-x: contain; }
.nd-rail-t::-webkit-scrollbar { display: none; }
.nd-rail-t > .prod { scroll-snap-align: start; min-width: 0; }
.nd-rail-ar { position: absolute; z-index: 4; top: 38%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--n-line); background: rgba(255, 255, 255, .95); color: var(--n-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(15, 20, 64, .55); transition: transform .2s, background .2s, color .2s; }
.nd-rail-ar:hover { background: var(--n-b); color: #fff; transform: scale(1.06); }
.nd-rail-ar.prev { left: -22px; } .nd-rail-ar.next { right: -22px; }
.nd-rail-ar[hidden] { display: none; }
@media (max-width: 1100px) { .nd-rail-t { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) {
  .nd-rail-t { grid-auto-columns: 46%; gap: 10px; padding: 4px 16px 12px; margin: -4px -16px -12px; scroll-padding-left: 16px; }
  .nd-rail-ar { display: none; }
}
/* мобильное меню: кнопка темы и логотип в шапке меню */
body.nd .mob-menu .mob-theme { width: auto !important; min-width: 0; height: 40px !important; display: inline-flex !important; align-items: center; gap: 8px; padding: 0 14px !important; border-radius: 12px !important; border: 1px solid var(--n-line) !important; background: #fff !important; color: var(--n-ink) !important; font: 600 13.5px Inter, system-ui, sans-serif; white-space: nowrap; }
body.nd .mob-menu .mob-theme svg { width: 18px; height: 18px; flex: none; }
body.nd .mob-menu-head .logo-text { color: #fff !important; }
body.nd .mob-menu-head .logo-text span { color: #A9B4FF !important; }
:root[data-theme="dark"] body.nd .mob-menu .mob-theme { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .22) !important; }
/* телефон: ничего не вылезает вбок (длинные армянские слова в плитках подразделов) */
body.nd { overflow-x: clip; }
@media (max-width: 760px) {
  body.nd .subcats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.nd .subcat .sc-name { overflow-wrap: anywhere; hyphens: auto; font-size: 13px; }
}

/* ---------- Плавность (12-05): вечные анимации только на transform/opacity ---------- */
body.nd .topbar { animation: none !important; }
body.nd .logo-mark { animation: none !important; }
body.nd .wa-float { animation: none !important; }
body.nd .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(37, 211, 102, .55); animation: ndRing 2.8s ease-out infinite; pointer-events: none; }
@keyframes ndRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
/* без размытия фона на всём, что движется или лежит на движущемся (лента брендов, слайдер, плашки) — это было главное торможение */
body.nd .nd-bl, body.nd .nd-sl *, body.nd .toast { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.nd .nd-bl { background: rgba(255, 255, 255, .92) !important; }
body.nd .nd-s:not(.lt) .nd-chip { background: rgba(12, 16, 52, .55) !important; }
body.nd .nd-cd span { background: rgba(12, 16, 52, .5) !important; }
body.nd .nd-sl-ar { background: rgba(10, 13, 48, .55) !important; }
body.nd .nd-sl.lt .nd-sl-ar { background: rgba(255, 255, 255, .85) !important; }
.nd-s img { will-change: transform; backface-visibility: hidden; }
.nd-mq-t, .tk-track { will-change: transform; }
.ny .ny-tree .st { animation: none !important; }
:root[data-theme="dark"] body.nd .nd-bl { background: rgba(22, 27, 70, .92) !important; }
/* отсчёт 12-05: «26 дней» + часы */
.nd-cd > span.cd-d, .nd-cd > span.cd-t { width: auto; padding: 0 20px; }
.nd-cd .cd-d b { font-size: 40px; }
.nd-cd .cd-t { min-width: 172px; }
.nd-cd .cd-t b { font-size: 32px; letter-spacing: .01em; }
.nd-cd i[data-u="dw"] { font-size: 12.5px; letter-spacing: .04em; color: #fff; }
@media (max-width: 760px) { .nd-cd > span.cd-d, .nd-cd > span.cd-t { padding: 0 14px; } .nd-cd .cd-d b { font-size: 30px; } .nd-cd .cd-t { min-width: 132px; } .nd-cd .cd-t b { font-size: 24px; } }

/* «Идеи подарков» (12-05) */
.gi-hero { position: relative; overflow: hidden; border-radius: 26px; min-height: 360px; display: flex; align-items: center; margin: 6px 0 10px; background: #F4F5FD; }
.gi-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.gi-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(246, 247, 255, .97) 0%, rgba(246, 247, 255, .85) 38%, rgba(246, 247, 255, 0) 64%); }
.gi-hero-in { position: relative; z-index: 2; padding: 40px 48px; max-width: 640px; }
.gi-hero h1 { margin: 10px 0 10px; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: var(--n-ink); }
.gi-hero p { margin: 0 0 18px; color: var(--n-ink2); font-size: 17px; }
.gi-hero .nd-eye { color: var(--n-b); }
.gi-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gi-chips a { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--n-line); color: var(--n-ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.gi-chips a:hover { border-color: var(--n-b); color: var(--n-b); transform: translateY(-1px); }
.gi-sec { scroll-margin-top: 90px; }
.gi-all { text-align: center; margin: 34px 0 10px; }
@media (max-width: 760px) {
  .gi-hero { min-height: 0; align-items: flex-end; border-radius: 20px; }
  .gi-hero img { height: 55%; object-position: 85% center; }
  .gi-hero::before { background: linear-gradient(0deg, #F4F5FD 52%, rgba(244, 245, 253, 0) 72%); }
  .gi-hero-in { padding: 170px 18px 20px; }
  .gi-hero p { font-size: 15px; }
  .gi-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .gi-chips a { flex: none; font-size: 13px; }
}
@media (max-width: 760px) { .gi-hero-in { width: 100%; max-width: none; box-sizing: border-box; min-width: 0; } .gi-hero h1 { font-size: 32px; overflow-wrap: anywhere; } }

/* 12-05: больше категорий (техника для дома) — сетка 7 в ряд */
.nd-cats2.many { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.nd-cats2.many .nd-ci2 { border-radius: 16px; }
.nd-cats2.many .nd-cat2 b { font-size: 14.5px; line-height: 1.2; }
@media (max-width: 1100px) { .nd-cats2.many { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .nd-cats2.many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nd-cats2.many .nd-cat2 b { font-size: 14px; } }

/* баннер «Для дома»: левая половина плавно растворяется в фон — без шва посередине картинки */
.nd-zone.zh .nd-zb { background: linear-gradient(120deg, #F1F2FC, #E8EAFA); }
.nd-zone.zh .nd-zb img { -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 50%); mask-image: linear-gradient(90deg, transparent 22%, #000 50%); }
@media (max-width: 760px) { .nd-zone.zh .nd-zb img { -webkit-mask-image: linear-gradient(0deg, transparent 5%, #000 55%); mask-image: linear-gradient(0deg, transparent 5%, #000 55%); } }
