/* InnovTech «next» — слой редизайна (2026-12-05). Цвета — наши: #375BEB, #7678ED, золото #F2B33D, акцент #F0386B.
   Идеи: бегущая строка (Emax, но плавно), полоска выгоды на карточке (Emax), «Выбор по…» (B&H). Всё — поверх старых стилей. */
:root { --nx-b: #375BEB; --nx-v: #7678ED; --nx-g: #F2B33D; --nx-p: #F0386B; --nx-ink: #101640; --nx-card: #fff; --nx-line: #E6E8F5; --nx-soft: #F4F5FD; --nx-mut: #5D6384; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --nx-ink: #EEF0FF; --nx-card: #161A33; --nx-line: #2A2F55; --nx-soft: #1B2042; --nx-mut: #A6AACB; } }
:root[data-theme="dark"] { --nx-ink: #EEF0FF; --nx-card: #161A33; --nx-line: #2A2F55; --nx-soft: #1B2042; --nx-mut: #A6AACB; }

/* ---------- бегущая строка ---------- */
.tk { position: relative; overflow: hidden; background: linear-gradient(90deg, #2F49D8, #5B5FE6 50%, #7E5BE8); color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.tk::before, .tk::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none; }
.tk::before { left: 0; background: linear-gradient(90deg, #2F49D8, transparent); }
.tk::after { right: 0; background: linear-gradient(270deg, #7E5BE8, transparent); }
.tk-track { display: flex; width: max-content; animation: tkMove 48s linear infinite; }
.tk:hover .tk-track, .tk:focus-within .tk-track { animation-play-state: paused; }
.tk-set { display: flex; align-items: center; }
.tk a, .tk span.tk-i { display: inline-flex; align-items: center; gap: 8px; padding: 9px 26px; color: #fff; text-decoration: none; white-space: nowrap; }
.tk a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tk svg { width: 16px; height: 16px; flex: none; opacity: .95; }
.tk-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--nx-g); box-shadow: 0 0 8px var(--nx-g); flex: none; }
.tk b { color: #FFE08A; font-weight: 800; }
@keyframes tkMove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-set + .tk-set { display: none; } .tk-track { overflow-x: auto; } }
@media (max-width: 760px) { .tk { font-size: 12.5px; } .tk a, .tk span.tk-i { padding: 8px 18px; } .tk-track { animation-duration: 38s; } }

/* ---------- полоска выгоды на карточке (только настоящая скидка) ---------- */
.prod { position: relative; }
.prod-save { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px -1px -1px; padding: 7px 10px; border-radius: 0 0 var(--radius, 16px) var(--radius, 16px);
  background: linear-gradient(90deg, var(--nx-p), #C84BE0 55%, var(--nx-v)); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.prod-save i { font-style: normal; background: rgba(255,255,255,.2); border-radius: 999px; padding: 1px 8px; }
.prod-save span { font-weight: 600; opacity: .95; }

/* ---------- «Выбор по…» ---------- */
.sb { margin: 6px 0 22px; }
.sb-h { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.01em; }
.sb-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.sb-t { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 12px; border-radius: 16px; background: var(--nx-card); border: 1px solid var(--nx-line);
  color: var(--nx-ink); text-decoration: none; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sb-t:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--nx-b) 45%, var(--nx-line)); box-shadow: 0 14px 30px -18px rgba(55, 91, 235, .55); }
.sb-ic { width: 64px; height: 48px; color: var(--nx-b); display: grid; place-items: center; }
.sb-ic svg { width: 64px; height: 48px; }
.sb-t:hover .sb-ic { color: var(--nx-v); }
.sb-t b { font-size: 15.5px; font-weight: 800; }
.sb-t small { font-size: 12px; color: var(--nx-mut); line-height: 1.3; }
@media (max-width: 760px) {
  .sb-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .sb-row::-webkit-scrollbar { display: none; }
  .sb-t { flex: 0 0 128px; scroll-snap-align: start; }
}

/* ---------- бренды: лента, витрины «Новое от …», страница бренда ---------- */
.br-marq { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.br-track { display: flex; width: max-content; animation: tkMove 60s linear infinite; }
.br-marq:hover .br-track { animation-play-state: paused; }
.br-set { display: flex; gap: 12px; padding-right: 12px; }
.br-chip { display: flex; flex-direction: column; justify-content: center; min-width: 160px; height: 86px; padding: 0 22px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--b1), var(--b2)); box-shadow: 0 12px 26px -16px var(--b2); transition: transform .25s; }
.br-chip:hover { transform: translateY(-3px) scale(1.02); }
.br-chip b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.br-chip small { font-size: 12px; opacity: .85; margin-top: 3px; }
@media (prefers-reduced-motion: reduce) { .br-track { animation: none; } .br-set + .br-set { display: none; } .br-marq { overflow-x: auto; } }

.br-show { border-radius: 24px; padding: 0 0 6px; }
.br-head { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 22px 26px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, var(--b1), var(--b2)); }
.br-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); animation: brGlow 7s ease-in-out infinite; }
@keyframes brGlow { 50% { transform: translate(-40px, 30px) scale(1.15); } }
.br-head-in { position: relative; z-index: 1; }
.br-name { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.br-head h2 { margin: 4px 0 2px; color: #fff; font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.br-head p { margin: 0; opacity: .88; font-size: 14.5px; }
.br-all { position: relative; z-index: 1; color: #fff; font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); white-space: nowrap; }
.br-all:hover { background: rgba(255,255,255,.28); }
@media (prefers-reduced-motion: reduce) { .br-head::after { animation: none; } }

.br-hero { position: relative; overflow: hidden; margin: 6px 0 18px; padding: 30px clamp(20px, 4vw, 44px); border-radius: 26px; color: #fff; background: linear-gradient(120deg, var(--b1), var(--b2)); }
.br-hero::after { content: ""; position: absolute; right: -80px; top: -100px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
.br-hero h1 { margin: 6px 0 6px; color: #fff; -webkit-text-fill-color: #fff; background: none; font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.br-hero p { margin: 0 0 8px; opacity: .9; font-size: 16px; }
.br-hero small { opacity: .8; font-weight: 600; }
.br-colls { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.br-colls .chip small { opacity: .6; margin-left: 4px; }

.sb-t em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--nx-b); white-space: nowrap; }

/* характеристики и наличие в карточке — видны только в новом дизайне (body.nd) */
.prod .pc-sp, .prod .pc-st { display: none; }
