/* Фильтры каталога + витрина разделов — 2026-11-21. Светлая тема, фирменные --p1/--p2 из prism.css. */
:root { --fx-a: var(--p1, #375BEB); --fx-b: var(--p2, #7678ED); --fx-ink: var(--ink, #0F1550); --fx-mut: var(--mut, #5E6593);
  --fx-line: rgba(55, 91, 235, .14); --fx-soft: rgba(55, 91, 235, .06); --fx-r: 16px; }

/* ---------- раскладка ---------- */
.fx-cat { grid-template-columns: 276px minmax(0, 1fr); gap: 26px; align-items: start; }
.fx-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding: 0 !important; background: #fff;
  border: 1px solid var(--fx-line); border-radius: 20px; box-shadow: 0 10px 34px rgba(15, 21, 80, .06); scrollbar-width: thin; }
.fx-head { display: none; }
.fx-form { padding: 14px 16px 0; }
.fx-in input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--fx-line); background: var(--fx-soft); padding: 0 14px; font: inherit; font-size: 14px; color: var(--fx-ink); }
.fx-in input:focus { outline: none; border-color: var(--fx-a); background: #fff; box-shadow: 0 0 0 4px rgba(55, 91, 235, .12); }

/* ---------- группа ---------- */
.fx-g { border-bottom: 1px solid var(--fx-line); padding: 4px 0; }
.fx-g:last-of-type { border-bottom: 0; }
.fx-g > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 2px; font-weight: 700; font-size: 14px; color: var(--fx-ink); user-select: none; }
.fx-g > summary::-webkit-details-marker { display: none; }
.fx-g > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--fx-mut); border-bottom: 2px solid var(--fx-mut); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.fx-g[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.fx-g > summary em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--fx-a), var(--fx-b)); border-radius: 999px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
.fx-body { padding: 0 0 12px; }

/* ---------- варианты ---------- */
.fx-list { display: grid; gap: 2px; }
.fx-cut .fx-more { display: none; }
.fx-o { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-size: 13.8px; color: var(--fx-ink); transition: background .15s; }
.fx-o:hover { background: var(--fx-soft); }
.fx-o input, .fx-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fx-box { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 6px; border: 1.6px solid rgba(15, 21, 80, .25); background: #fff; display: grid; place-items: center; transition: all .15s; }
.fx-o input:checked + .fx-box { background: linear-gradient(120deg, var(--fx-a), var(--fx-b)); border-color: transparent; }
.fx-o input:checked + .fx-box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.fx-o input:focus-visible + .fx-box { box-shadow: 0 0 0 4px rgba(55, 91, 235, .2); }
.fx-l { flex: 1; line-height: 1.3; }
.fx-o small { color: var(--fx-mut); font-size: 12px; font-variant-numeric: tabular-nums; }
.fx-o.fx-zero { opacity: .45; }
.fx-o input:checked ~ .fx-l { font-weight: 600; }
.fx-toggle { margin-top: 4px; background: none; border: 0; color: var(--fx-a); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 8px; }
.fx-find { width: 100%; height: 36px; margin-bottom: 6px; border-radius: 10px; border: 1px solid var(--fx-line); padding: 0 12px; font: inherit; font-size: 13px; }

/* ---------- переключатели ---------- */
.fx-sw { display: flex; align-items: center; gap: 10px; padding: 7px 4px; cursor: pointer; font-size: 13.8px; color: var(--fx-ink); position: relative; }
.fx-track { flex: 0 0 36px; width: 36px; height: 20px; border-radius: 999px; background: rgba(15, 21, 80, .14); position: relative; transition: background .2s; }
.fx-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.fx-sw input:checked + .fx-track { background: linear-gradient(120deg, var(--fx-a), var(--fx-b)); }
.fx-sw input:checked + .fx-track::after { transform: translateX(16px); }

/* ---------- цена ---------- */
.fx-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fx-price label { position: relative; }
.fx-price span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--fx-mut); pointer-events: none; }
.fx-price input { width: 100%; height: 40px; border-radius: 11px; border: 1px solid var(--fx-line); padding: 0 8px 0 40px; font: inherit; font-size: 13.5px; color: var(--fx-ink); -moz-appearance: textfield; }
.fx-price input::-webkit-outer-spin-button, .fx-price input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fx-price input:focus { outline: none; border-color: var(--fx-a); box-shadow: 0 0 0 4px rgba(55, 91, 235, .12); }
.fx-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fx-step { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; background: var(--fx-soft); color: var(--fx-ink); text-decoration: none; border: 1px solid transparent; transition: all .15s; }
.fx-step:hover { border-color: var(--fx-line); background: #fff; }
.fx-step.on { background: linear-gradient(120deg, var(--fx-a), var(--fx-b)); color: #fff; }

/* ---------- низ формы ---------- */
.fx-foot { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 30%); padding: 14px 0 16px; display: grid; gap: 8px; }
.fx-apply { height: 44px; border: 0; border-radius: 13px; background: linear-gradient(120deg, var(--fx-a), var(--fx-b)); color: #fff; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; box-shadow: 0 8px 22px rgba(55, 91, 235, .28); }
.fx-apply b { font-weight: 800; background: rgba(255, 255, 255, .22); border-radius: 8px; padding: 2px 8px; margin-left: 4px; }
.js .fx-side:not(.open) .fx-apply { display: none; }
.fx-reset { text-align: center; font-size: 13px; color: var(--fx-mut); font-weight: 600; text-decoration: none; padding: 4px; }
.fx-reset:hover { color: var(--fx-a); }

/* ---------- верх выдачи ---------- */
.fx-top { margin-bottom: 6px; }
.smart { display: flex; align-items: center; gap: 12px; margin: 14px 0 12px; padding: 10px 10px 10px 16px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(55, 91, 235, .08), rgba(192, 137, 246, .1)); border: 1px solid rgba(118, 120, 237, .25); position: relative; overflow: hidden; }
.smart::before { content: ""; position: absolute; inset: -40% auto auto -10%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(118, 120, 237, .18), transparent 70%); pointer-events: none; }
.smart-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--fx-a), var(--fx-b) 60%, #C089F6); box-shadow: 0 6px 18px rgba(55, 91, 235, .3); }
.smart-in { flex: 1; min-width: 0; display: grid; gap: 2px; position: relative; }
.smart-in label { font-size: 12.5px; font-weight: 700; color: var(--fx-a); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.smart-in label small { font-weight: 500; color: var(--fx-mut); font-size: 11.5px; }
.smart-in input { border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fx-ink); padding: 2px 0; width: 100%; }
.smart-in input:focus { outline: none; }
.smart-in input::placeholder { color: rgba(15, 21, 80, .45); }
.smart button { flex: 0 0 auto; height: 44px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--fx-ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; position: relative; transition: transform .15s; }
.smart button:hover { transform: translateY(-1px); }

.fx-bar { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.fx-open { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--fx-line); background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--fx-ink); cursor: pointer; }
.fx-open em { font-style: normal; font-size: 11px; color: #fff; background: linear-gradient(120deg, var(--fx-a), var(--fx-b)); border-radius: 999px; padding: 1px 7px; }
.fx-sort { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-sort a { font-size: 13px; padding: 8px 13px; border-radius: 999px; color: var(--fx-mut); text-decoration: none; font-weight: 600; transition: all .15s; }
.fx-sort a:hover { color: var(--fx-ink); background: var(--fx-soft); }
.fx-sort a.on { color: var(--fx-ink); background: #fff; box-shadow: 0 2px 10px rgba(15, 21, 80, .08), inset 0 0 0 1px var(--fx-line); }
.fx-sortsel { display: none; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fx-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 8px 7px 13px; border-radius: 999px; background: #fff; color: var(--fx-ink); text-decoration: none; border: 1px solid var(--fx-line); transition: all .15s; }
.fx-chip i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--fx-soft); color: var(--fx-mut); font-size: 13px; line-height: 1; }
.fx-chip:hover { border-color: var(--fx-a); }
.fx-chip:hover i { background: var(--fx-a); color: #fff; }
.fx-chip.fx-clear { background: none; border-style: dashed; color: var(--fx-mut); padding-right: 13px; }
.fx-empty { text-align: center; padding: 56px 20px; background: #fff; border-radius: 20px; border: 1px dashed var(--fx-line); }
.fx-empty b { display: block; font-size: 17px; color: var(--fx-ink); margin-bottom: 6px; }
.fx-empty p { color: var(--fx-mut); margin: 0 0 18px; }

/* ---------- телефон: панель снизу ---------- */
@media (max-width: 860px) {
  .fx-cat { grid-template-columns: 1fr; }
  .fx-side { position: fixed; inset: auto 0 0 0; top: 8vh; max-height: none; z-index: 1000; border-radius: 24px 24px 0 0; transform: translateY(105%);
    transition: transform .32s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: 0 -20px 60px rgba(15, 21, 80, .25); }
  .fx-side.open { transform: none; }
  .fx-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; border-bottom: 1px solid var(--fx-line); }
  .fx-head b { font-size: 17px; color: var(--fx-ink); }
  .fx-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fx-soft); font-size: 22px; color: var(--fx-ink); cursor: pointer; }
  .fx-form { flex: 1; overflow: auto; }
  .fx-shade { position: fixed; inset: 0; background: rgba(15, 21, 80, .35); z-index: 999; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .fx-shade.on { opacity: 1; pointer-events: auto; }
  .fx-open { display: inline-flex; }
  .fx-bar { position: sticky; top: 64px; z-index: 20; background: var(--bg, #F4F6FB); padding: 8px 0; margin: 0 0 8px; }
  .fx-sort { display: none; }
  .fx-sortsel { display: block; flex: 1; height: 40px; border-radius: 12px; border: 1px solid var(--fx-line); background: #fff; font: inherit; font-size: 14px; padding: 0 10px; color: var(--fx-ink); }
  .smart { flex-wrap: wrap; padding: 12px; }
  .smart-ico { display: none; }
  .smart button { width: 100%; }
  .filters-m { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fx-side, .fx-track::after, .fx-chip { transition: none; } }

/* ================= витрина разделов ================= */
.shw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shw-c { --h: 230; position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 20px 20px 16px; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--fx-ink);
  background: linear-gradient(150deg, hsl(var(--h) 90% 97%), hsl(calc(var(--h) + 30) 80% 93%)); border: 1px solid hsl(var(--h) 60% 88%); isolation: isolate; transition: transform .25s, box-shadow .25s; }
/* вся карточка кликабельна, ссылки подразделов лежат поверх */
.shw-cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.shw-c:hover { transform: translateY(-3px); box-shadow: 0 18px 40px hsl(var(--h) 50% 50% / .18); }
.shw-c.big { grid-column: span 2; min-height: 300px; }
.shw-c .shw-n { font-family: var(--font-display, inherit); font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; max-width: calc(100% - 112px); position: relative; z-index: 2; pointer-events: none; }
.shw-c .shw-k, .shw-ico { pointer-events: none; }
.shw-c.big .shw-n { font-size: 26px; max-width: 52%; }
.shw-c .shw-k { margin-top: 4px; font-size: 13px; color: hsl(var(--h) 30% 40%); font-weight: 600; position: relative; z-index: 2; }
.shw-img { position: absolute; top: 16px; right: 16px; width: 104px; height: 104px; display: grid; place-items: center; pointer-events: none; }
.shw-c.big .shw-img { top: auto; width: 44%; height: auto; aspect-ratio: 4 / 3; bottom: 22px; right: 22px; }
/* фото товаров на белом фоне: multiply убирает белое, оставляет товар (без z-index у обёртки — иначе смешивать не с чем) */
.shw-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s; }
.shw-c:hover .shw-img img { transform: scale(1.05) rotate(-2deg); }
.shw-subs { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 2; max-width: 100%; }
.shw-subs span { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); color: var(--fx-ink); border: 1px solid rgba(255, 255, 255, .9); }
.shw-subs a { color: inherit; text-decoration: none; }
.shw-subs a:hover span { background: #fff; color: var(--fx-a); }
.shw-c.big .shw-subs { max-width: 54%; }
.shw-subs a { max-width: 100%; }
.shw-c:not(.big) .shw-go { display: none; }
.shw-go { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: grid; place-items: center; z-index: 2; transition: transform .25s, background .25s; }
.shw-c:hover .shw-go { transform: rotate(-45deg); background: #fff; }
.shw-ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .8); display: grid; place-items: center; margin-bottom: 12px; color: hsl(var(--h) 60% 45%); position: relative; z-index: 2; }
@media (max-width: 1100px) { .shw { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shw-c.big { grid-column: span 3; } }
@media (max-width: 720px) {
  .shw { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shw-c { min-height: 180px; padding: 14px 14px 12px; border-radius: 20px; }
  .shw-c.big { grid-column: span 2; min-height: 210px; }
  .shw-c .shw-n { font-size: 15px; max-width: 100%; }
  .shw-c.big .shw-n { font-size: 20px; max-width: 60%; }
  .shw-img { width: 64px; height: 64px; top: 12px; right: 12px; }
  .shw-c .shw-n { max-width: 100%; margin-top: 6px; }
  .shw-c.big .shw-img { width: 44%; bottom: 14px; right: 12px; }
  .shw-c:not(.big) .shw-subs { display: none; }
  .shw-ico { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 8px; }
  .shw-go { display: none; }
}

/* подразделы на странице раздела — плитки с фото */
.subcats.subcats-img { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.subcats-img .subcat { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--fx-line); text-decoration: none; color: var(--fx-ink); transition: all .2s; min-height: 72px; }
.subcats-img .subcat:hover { border-color: var(--fx-b); box-shadow: 0 10px 24px rgba(55, 91, 235, .12); transform: translateY(-2px); }
.subcats-img .sc-pic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: var(--fx-soft); display: grid; place-items: center; overflow: hidden; }
.subcats-img .sc-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.subcats-img .sc-name { font-weight: 700; font-size: 14px; line-height: 1.25; display: block; }
.subcats-img .sc-cnt { font-size: 12px; color: var(--fx-mut); }

/* верхнее меню разделов: видно, что листается */
.catnav .wrap { scroll-behavior: smooth; }
.shw-c:not(.big) .shw-img { top: 14px; bottom: auto; right: 14px; width: 92px; height: 92px; }
.shw-c:not(.big) .shw-ico { margin-bottom: 14px; }
@media (max-width: 720px) { .shw-c:not(.big) .shw-img { width: 60px; height: 60px; top: 10px; right: 10px; } }

/* ================= меню «Каталог» в две панели (2026-11-21) ================= */
.mega .mega-in { padding-block: 16px 18px; }
.mx { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 0; min-height: 420px; max-height: calc(100vh - 230px); border: 1px solid var(--fx-line); border-radius: 22px; overflow: hidden; background: #fff; }
.mx-l { overflow-y: auto; padding: 10px; background: linear-gradient(180deg, rgba(55, 91, 235, .045), rgba(118, 120, 237, .03)); border-right: 1px solid var(--fx-line); scrollbar-width: thin; }
html .catnav .mega a.mx-i { display: flex !important; align-items: center; gap: 10px; padding: 8px 10px !important; border-radius: 12px; font-size: 14px; font-weight: 600 !important; color: var(--fx-ink) !important; background: none; white-space: normal; transition: background .15s, color .15s; }
html .catnav .mega a.mx-i .mx-n { flex: 1; line-height: 1.25; }
html .catnav .mega a.mx-i .mx-ch { opacity: 0; transform: translateX(-4px); transition: all .15s; color: var(--fx-a); }
html .catnav .mega a.mx-i.on, html .catnav .mega a.mx-i:hover { background: #fff !important; color: var(--fx-a) !important; box-shadow: 0 4px 14px rgba(15, 21, 80, .08); }
html .catnav .mega a.mx-i.on .mx-ch { opacity: 1; transform: none; }
html .catnav .mega a.mx-i .mega-ic { background: #fff; }
.mx-r { overflow-y: auto; padding: 18px 22px 20px; scrollbar-width: thin; }
.mx-p[hidden] { display: none; }
html .catnav .mega a.mx-head { display: inline-flex !important; align-items: baseline; gap: 10px; padding: 0 !important; margin: 0 0 14px; font-size: 21px; font-weight: 800 !important; color: var(--fx-ink) !important; background: none !important; letter-spacing: -.01em; }
html .catnav .mega a.mx-head small { font-size: 13px; font-weight: 600; color: var(--fx-mut); }
html .catnav .mega a.mx-head span { color: var(--fx-a); transition: transform .2s; }
html .catnav .mega a.mx-head:hover span { transform: translateX(4px); }
.mx-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
html .catnav .mega a.mx-t { display: flex !important; align-items: center; gap: 12px; padding: 10px 12px !important; border-radius: 14px; border: 1px solid var(--fx-line); background: #fff; color: var(--fx-ink) !important; white-space: normal; font-weight: 600 !important; font-size: 13.8px; line-height: 1.25; transition: all .18s; }
html .catnav .mega a.mx-t:hover { border-color: var(--fx-b); box-shadow: 0 10px 22px rgba(55, 91, 235, .12); transform: translateY(-1px); background: #fff !important; color: var(--fx-a) !important; }
.mx-pic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: var(--fx-soft); display: grid; place-items: center; overflow: hidden; color: var(--fx-a); }
.mx-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mx-tn small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--fx-mut); }
.mx-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--fx-line); }
.mx-brands span { font-size: 12.5px; font-weight: 700; color: var(--fx-mut); margin-right: 4px; }
html .catnav .mega .mx-brands a { padding: 6px 12px !important; border-radius: 999px; background: var(--fx-soft) !important; color: var(--fx-ink) !important; font-size: 12.5px; font-weight: 600 !important; }
html .catnav .mega .mx-brands a:hover { background: var(--fx-a) !important; color: #fff !important; }
html .catnav .mega a.mega-all { margin-top: 14px; }
html .catnav .mega a.mx-t { border-bottom: 1px solid var(--fx-line) !important; }
html .catnav .mega a.mx-t:hover { border-bottom-color: var(--fx-b) !important; }

/* ---------- тёмная тема сайта (переключатель в шапке) ---------- */
:root[data-theme="dark"] { --fx-ink: #E8EAFF; --fx-mut: #A3A8D6; --fx-line: rgba(140, 150, 255, .18); --fx-soft: rgba(140, 150, 255, .10); }
:root[data-theme="dark"] .fx-side, :root[data-theme="dark"] .fx-empty, :root[data-theme="dark"] .mx, :root[data-theme="dark"] .fx-open, :root[data-theme="dark"] .fx-sortsel,
:root[data-theme="dark"] .fx-chip, :root[data-theme="dark"] .subcats-img .subcat { background: #141A3A; color: var(--fx-ink); }
:root[data-theme="dark"] .fx-foot { background: linear-gradient(180deg, rgba(20, 26, 58, 0), #141A3A 30%); }
:root[data-theme="dark"] .fx-box { background: transparent; border-color: rgba(232, 234, 255, .35); }
:root[data-theme="dark"] .fx-price input, :root[data-theme="dark"] .fx-find, :root[data-theme="dark"] .fx-in input { background: rgba(255, 255, 255, .04); color: var(--fx-ink); }
:root[data-theme="dark"] .fx-sort a.on { background: #141A3A; color: var(--fx-ink); }
:root[data-theme="dark"] .smart-in input { color: var(--fx-ink); }
:root[data-theme="dark"] .smart-in input::placeholder { color: rgba(232, 234, 255, .5); }
:root[data-theme="dark"] .smart button { background: #fff; color: #0F1550; }
:root[data-theme="dark"] .mx-l { background: rgba(255, 255, 255, .03); }
:root[data-theme="dark"] html .catnav .mega a.mx-i.on, :root[data-theme="dark"] .catnav .mega a.mx-t { background: rgba(255, 255, 255, .05) !important; }
:root[data-theme="dark"] .mx-pic img, :root[data-theme="dark"] .subcats-img .sc-pic img { mix-blend-mode: normal; border-radius: 8px; background: #fff; }
:root[data-theme="dark"] .shw-c { filter: saturate(.9) brightness(.92); }
:root[data-theme="dark"] .fx-track { background: rgba(232, 234, 255, .2); }

/* скидка за сборку ПК в корзине (2026-11-23) */
.build-disc{display:flex;justify-content:space-between;gap:10px;color:#18864b;font-weight:600;padding:6px 0;font-size:14.5px}

/* ===== Производительность прокрутки (2026-11-24) =====
   Замер в Chrome (CPU ×4): кадр 63–128 мс при прокрутке. Причины и что сделано, вид прежний:
   • призма-рамка .prod::before крутилась у ВСЕХ карточек всегда (opacity 0, но перерисовка каждый кадр) → только при наведении;
   • 95 карточек были отдельными слоями (will-change/preserve-3d) → обычные;
   • два огромных размытых пятна на фоне (filter: blur 90px, fixed, анимация) → неподвижные, без фильтра;
   • бегущая полоска шапки и размытие шапки/кнопок карточек → статичный градиент и плотный фон;
   • блоки ниже экрана не рисуются, пока до них не долистали (content-visibility). */
html:not([data-theme="dark"]) .prod::before { animation: none !important; }
html:not([data-theme="dark"]) .prod:hover::before { animation: pr-spin 5s linear infinite !important; }
.prod, article.prod.ax-reveal { will-change: auto !important; transform-style: flat !important; }
body::before, body::after { animation: none !important; will-change: auto !important; filter: none !important; }
.header::after, .catnav::after, [class*="flow"]::after { animation: none !important; }
html:not([data-theme="dark"]) .header, html:not([data-theme="dark"]) .catnav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(255,255,255,.97) !important; }
.card-tool, .prod *, .faq-item, .usp, .slide-kicker, .bfx-k, .bfx-f { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html:not([data-theme="dark"]) .card-tool { background: rgba(255,255,255,.96) !important; }
html:not([data-theme="dark"]) .slider { animation: none !important; }
html:not([data-theme="dark"]) .slider:hover { animation: pr-spin 10s linear infinite !important; }
html:not([data-theme="dark"]) .slider::before { filter: blur(18px) !important; }
html:not([data-theme="dark"]) .pdp-price-card { animation: none !important; }
.section, .footer, .seo-text { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.bfx { contain: paint; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; } }
span:has(> b[data-u]), .bf-timer span, .bfx-t span { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ax-grid-bg { contain: strict; }
/* перебить bf.css (он подключается после этого файла) */
html body::before, html body::after, html body.bf::before, html body.bf::after { animation: none !important; will-change: auto !important; filter: none !important; }
html body .bfx span, html body span:has(> b[data-u]) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
/* главная причина рывков на компьютере (замер: 47 → 15 мс на кадр):
   размытые (filter: blur) и при этом движущиеся пятна баннера Black Friday и размытая копия рамки слайдера.
   Те же пятна — мягким радиальным градиентом без фильтра; свечение слайдера — тень. */
html body .bfx-bg i { filter: none !important; will-change: auto !important; opacity: .9 !important; background-color: transparent !important; }
html body .bfx-bg i:nth-child(1) { background-image: radial-gradient(closest-side, rgba(55,91,235,.95), rgba(55,91,235,0)) !important; }
html body .bfx-bg i:nth-child(2) { background-image: radial-gradient(closest-side, rgba(192,137,246,.95), rgba(192,137,246,0)) !important; }
html body .bfx-bg i:nth-child(3) { background-image: radial-gradient(closest-side, rgba(240,56,107,.8), rgba(240,56,107,0)) !important; }
html body .bfx-bg i:nth-child(n+4) { background-image: radial-gradient(closest-side, rgba(118,120,237,.8), rgba(118,120,237,0)) !important; }
html:not([data-theme="dark"]) .slider::before { display: none !important; }

/* ===== Витрина разделов 2.0 (2026-11-24): иллюстрации вместо фото, компактно, сетка без дыр ===== */
.shw { gap: 14px; }
.shw-c { min-height: 196px !important; padding: 18px 18px 16px !important; }
.shw-c.big { min-height: 236px !important; }
.shw-c.wide { grid-column: span 2; }
.shw-c.wide .shw-n { max-width: 55%; }
.shw-c.wide .shw-subs { max-width: 58%; }
.shw-c .shw-n { font-size: 17px; }
.shw-c.big .shw-n { font-size: 24px; }
.shw-ill { top: 14px !important; right: 14px !important; width: 92px !important; height: 92px !important; background: none !important; box-shadow: none !important; border: 0 !important; }
.shw-c.big .shw-ill, .shw-c.wide .shw-ill { top: 50% !important; bottom: auto !important; right: 24px !important; width: 40% !important; max-width: 190px; height: auto !important; aspect-ratio: 1; transform: translateY(-50%); }
.shw-c:not(.big) .shw-go { display: none; }
.ill { width: 100%; height: 100%; display: block; overflow: visible; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.shw-c:hover .ill { transform: translateY(-4px) scale(1.04); }
.ill .i1 { fill: hsl(var(--h) 72% 60%); }
.ill .i2 { fill: hsl(var(--h) 85% 90%); }
.ill .i3 { fill: hsl(var(--h) 42% 24%); }
.ill .iw { fill: #fff; }
.ill .i1s, .ill .i1s path { fill: none !important; stroke: hsl(var(--h) 72% 60%); color: hsl(var(--h) 72% 60%); }
.ill .i3s { fill: none !important; stroke: hsl(var(--h) 42% 24%); }
.ill [class*="ia-"] { animation-play-state: paused; transform-box: fill-box; transform-origin: center; }
.shw-c.vis .ill [class*="ia-"] { animation-play-state: running; }
.ia-code { animation: il-code 3.2s ease-in-out infinite; }
@keyframes il-code { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: .75; } }
.ia-pulse { animation: il-pulse 2.6s ease-in-out infinite; } .ia-pulse2 { animation: il-pulse 2.6s ease-in-out -1.3s infinite; }
@keyframes il-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .6; } }
.ia-spin { animation: il-spin 3s linear infinite; transform-box: view-box !important; }
@keyframes il-spin { to { transform: rotate(360deg); } }
.ia-run { animation: il-blink 1.6s ease-in-out infinite; } .ia-run2 { animation: il-blink 1.6s ease-in-out -.8s infinite; }
.ia-blink { animation: il-blink 1.4s steps(2, jump-none) infinite; }
@keyframes il-blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.ia-key { animation: il-key 2.4s ease-in-out infinite; } .ia-key2 { animation: il-key 2.4s ease-in-out -.8s infinite; } .ia-key3 { animation: il-key 2.4s ease-in-out -1.6s infinite; }
@keyframes il-key { 0%,70%,100% { transform: translateY(0); } 80% { transform: translateY(2px); opacity: .7; } }
.ia-eq { animation: il-eq 1.1s ease-in-out infinite; } .ia-eq2 { animation: il-eq 1.1s ease-in-out -.35s infinite; } .ia-eq3 { animation: il-eq 1.1s ease-in-out -.7s infinite; }
@keyframes il-eq { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.ia-w1 { animation: il-wave 2.4s ease-in-out infinite; } .ia-w2 { animation: il-wave 2.4s ease-in-out -.4s infinite; } .ia-w3 { animation: il-wave 2.4s ease-in-out -.8s infinite; }
@keyframes il-wave { 0%,100% { opacity: .25; } 40% { opacity: 1; } }
.ia-flow { animation: il-flow 2.6s cubic-bezier(.45,0,.55,1) infinite; offset-path: path("M18 34 C60 34 60 86 102 86"); offset-rotate: 0deg; transform-box: view-box !important; }
@keyframes il-flow { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.ia-glow { animation: il-pulse 3.4s ease-in-out infinite; } .ia-glow2 { animation: il-blink 3.4s ease-in-out infinite; }
.ia-paper { animation: il-paper 3s ease-in-out infinite; }
@keyframes il-paper { 0% { transform: translateY(18px); } 55%,100% { transform: translateY(0); } }
.ia-spark { animation: il-spark 2.4s ease-in-out infinite; }
@keyframes il-spark { 0%,100% { transform: scale(.7) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(30deg); opacity: 1; } }
@media (max-width: 1100px) {
  .shw-c.wide, .shw-c.big { grid-column: auto !important; }
  .shw-c.big .shw-ill, .shw-c.wide .shw-ill { top: 14px !important; right: 14px !important; width: 92px !important; transform: none; }
  .shw-c.big .shw-n, .shw-c.wide .shw-n { font-size: 17px; max-width: 100%; }
  .shw-c.big .shw-subs, .shw-c.wide .shw-subs { max-width: 100%; }
}
@media (max-width: 640px) {
  .shw { gap: 10px; }
  .shw-c, .shw-c.big { min-height: 150px !important; padding: 14px !important; border-radius: 20px !important; }
  .shw-c.big { grid-column: span 2 !important; min-height: 160px !important; }
  .shw-c.big .shw-ill { top: 50% !important; transform: translateY(-50%); width: 34% !important; right: 16px !important; }
  .shw-c.big .shw-n { font-size: 19px; max-width: 60%; }
  .shw-ill { width: 64px !important; height: 64px !important; top: 10px !important; right: 10px !important; }
  .shw-c .shw-n { font-size: 15px; padding-right: 54px; }
  .shw-c:not(.big) .shw-subs { display: none; }
  .shw-c .shw-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ill [class*="ia-"] { animation: none !important; } }
/* поправка 2: заголовок не залезает под иллюстрацию */
.shw-c:not(.big):not(.wide) .shw-n { max-width: calc(100% - 84px); }
.shw-c:not(.big):not(.wide) .shw-ill { width: 80px !important; height: 80px !important; }
@media (max-width: 640px) {
  .shw-c:not(.big) .shw-ill { top: auto !important; bottom: 10px !important; right: 10px !important; width: 56px !important; height: 56px !important; }
  .shw-c:not(.big):not(.wide) .shw-n, .shw-c:not(.big) .shw-n { max-width: 100%; padding-right: 0; }
  .shw-c:not(.big) { min-height: 132px !important; }
  .shw-c.big .shw-subs { max-width: 62%; }
}
@media (max-width: 640px) { .shw-c .shw-n { font-size: 14.5px !important; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; } }
/* шапка: подписи под значками, как на CompShop (2026-11-24) */
.icon-btn.lbl { width: auto !important; min-width: 52px; height: auto !important; min-height: 44px; padding: 5px 8px !important; flex-direction: column; gap: 2px; position: relative; }
.icon-btn.lbl svg { width: 20px; height: 20px; }
.icon-lbl { font-size: 11px; font-weight: 600; line-height: 1.1; color: inherit; white-space: nowrap; opacity: .85; }
.icon-btn.lbl .mini-count, .icon-btn.lbl .cart-count { position: absolute; top: -4px; right: 2px; }
@media (max-width: 1180px) { .icon-btn.lbl .icon-lbl { display: none; } .icon-btn.lbl { min-width: 0; padding: 0 !important; width: 44px !important; height: 44px !important; } }

.ia-rgb { animation: il-rgb 2.4s linear infinite; }
@keyframes il-rgb { 0% { opacity: .5; } 50% { opacity: 1; } 100% { opacity: .5; } }
.ia-shine { animation: il-shine 3.6s ease-in-out infinite; transform-box: view-box !important; }
@keyframes il-shine { 0%,20% { transform: translateX(0) skewX(-18deg); opacity: 0; } 50% { opacity: .45; } 80%,100% { transform: translateX(62px) skewX(-18deg); opacity: 0; } }
/* описание товара по разделам (2026-11-24) */
.pdp-desc h3 { font-size: 16.5px; margin: 18px 0 8px; font-weight: 700; }
.pdp-desc ul { margin: 0 0 6px; padding-left: 20px; }
.pdp-desc li { margin: 4px 0; line-height: 1.55; }
.pdp-desc p:first-child { font-size: 15.5px; font-weight: 500; }

/* ===== Слайд-шоу вверху главной v2 (2026-11-24): BF → собери ПК (космос) → сравни → Новый год =====
   Фоны — снимки NASA/ESA. Анимации только transform/opacity, неактивный слайд и слайд-шоу вне экрана — на паузе. */
.hdk { position: relative; margin: 18px 0; }
.hdk-track { display: grid; }
.hdk-s { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: scale(1.035); transition: opacity .8s ease, transform 1.1s cubic-bezier(.2,.8,.2,1), visibility 0s linear .8s; }
.hdk-s.on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); z-index: 1; }
.hdk-s > .bfx { margin: 0 !important; height: 100%; }
.hdk-s:not(.on) *, .hdk.off * { animation-play-state: paused !important; }
.hdk-a { position: absolute; bottom: 14px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(11,15,58,.55); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: .2s; }
.hdk-a:hover { background: rgba(118,120,237,.9); }
.hdk-a.prev { right: 62px; } .hdk-a.next { right: 16px; }
.hdk-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.hdk-dots button { position: relative; overflow: hidden; width: 9px; height: 9px; border-radius: 99px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width .4s; }
.hdk-dots button.on { width: 42px; background: rgba(255,255,255,.3); }
.hdk-dots button.on::after { content: ""; position: absolute; inset: 0; background: #fff; border-radius: inherit; transform-origin: left; animation: hdk-prog var(--hdk-t, 4.5s) linear forwards; }
@keyframes hdk-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* общее для новых слайдов */
.hsx { min-height: 100%; background: #050816 !important; }
.hsx .bfx-in { position: relative; z-index: 3; padding-bottom: 72px; }
.hs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.06); animation: hs-kb 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes hs-kb { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.2) translate3d(-3%, -2%, 0); } }
.hs-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,8,30,.94) 0%, rgba(5,8,30,.78) 34%, rgba(5,8,30,.2) 62%, rgba(5,8,30,.1) 100%), linear-gradient(0deg, rgba(5,8,30,.75), transparent 35%); }
.hs-cr { position: absolute; left: 22px; bottom: 10px; z-index: 4; font: 600 9.5px/1 Inter, sans-serif; letter-spacing: .08em; color: rgba(255,255,255,.38); }
.hs-h { font-family: 'Unbounded','Inter',sans-serif; font-size: clamp(30px, 4.3vw, 58px); line-height: 1.04; margin: 14px 0 12px; letter-spacing: -.02em; color: #fff;
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #a9f0ff 46%, #fff 54%, #c9d2ff 70%, #8fe3ff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: hs-shine 6s linear infinite; text-shadow: none; }
@keyframes hs-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hs-feat { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-feat li { padding: 7px 13px; border-radius: 99px; background: rgba(91,224,255,.1); border: 1px solid rgba(91,224,255,.38); font-size: 13px; font-weight: 600; color: #dff7ff; box-shadow: 0 0 18px -6px rgba(91,224,255,.6) inset; }
/* появление текста при показе слайда */
.hdk-s.on .hsx .bfx-l > * { animation: hs-in .8s cubic-bezier(.2,.8,.2,1) both; }
.hdk-s.on .hsx .bfx-l > :nth-child(2) { animation-delay: .1s; } .hdk-s.on .hsx .bfx-l > :nth-child(3) { animation-delay: .2s; }
.hdk-s.on .hsx .bfx-l > :nth-child(4) { animation-delay: .3s; } .hdk-s.on .hsx .bfx-l > :nth-child(5) { animation-delay: .4s; }
.hdk-s.on .hsx .bfx-r { animation: hs-zoom 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hs-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes hs-zoom { from { opacity: 0; transform: scale(.82) rotate(-4deg); } to { opacity: 1; transform: none; } }
.hdk-s.on .hsx .hs-h { animation: hs-in .8s cubic-bezier(.2,.8,.2,1) .1s both, hs-shine 6s linear 1s infinite; }

/* звёздная пыль — два слоя параллакса */
.hs-dust { position: absolute; top: 0; left: 0; width: 200%; height: 100%; z-index: -1; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1.6px 1.6px at 30px 40px, #fff, transparent), radial-gradient(1.2px 1.2px at 130px 160px, #cfe9ff, transparent), radial-gradient(1px 1px at 220px 80px, #fff, transparent), radial-gradient(1.4px 1.4px at 300px 220px, #ffe9b0, transparent), radial-gradient(1px 1px at 380px 30px, #fff, transparent);
  background-size: 420px 260px; animation: hs-drift 70s linear infinite; }
.hs-dust.d2 { background-size: 260px 180px; opacity: .5; animation-duration: 40s; }
@keyframes hs-drift { to { transform: translate3d(-50%, 0, 0); } }
/* кометы */
.hs-met { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hs-met b { position: absolute; top: var(--y); left: 100%; width: var(--l); height: 2px; border-radius: 2px; background: linear-gradient(90deg, #fff, rgba(160,220,255,.7) 20%, transparent); box-shadow: 0 0 10px 1px rgba(160,220,255,.6); opacity: 0; transform: rotate(-24deg); animation: hs-meteor 7s linear var(--d) infinite; }
@keyframes hs-meteor { 0% { opacity: 0; transform: rotate(-24deg) translate3d(0,0,0); } 3% { opacity: 1; } 14% { opacity: 1; } 18%,100% { opacity: 0; transform: rotate(-24deg) translate3d(-1100px, 0, 0); } }

/* ===== Собери ПК: 3D-орбиты вокруг светящегося процессора ===== */
.hs-sys { position: relative; width: min(440px, 40vw); aspect-ratio: 1; margin: -10px auto; perspective: 1000px; transform-style: preserve-3d; }
.hs-planet { position: absolute; right: -6%; top: -4%; width: 26%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 32% 30%, #ffd9a8, #f08a5b 30%, #8a2d6b 62%, #1b0a2a 85%); box-shadow: 0 0 40px -6px rgba(240,138,91,.7), inset -14px -12px 26px rgba(0,0,0,.65); animation: hs-float 9s ease-in-out infinite; }
.hs-planet i { position: absolute; inset: 0 -100% 0 0; background: repeating-linear-gradient(170deg, transparent 0 9px, rgba(255,255,255,.12) 9px 13px, transparent 13px 22px); animation: hs-surf 18s linear infinite; }
@keyframes hs-surf { to { transform: translate3d(-50%, 0, 0); } }
.hs-planet::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset -12px -10px 22px rgba(0,0,0,.6); }
.hs-halo { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle, rgba(91,224,255,.55), rgba(118,120,237,.25) 45%, transparent 70%); animation: hs-breathe 3.2s ease-in-out infinite; }
.hs-halo::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(91,224,255,.55), transparent 30%, rgba(192,137,246,.5), transparent 60%, rgba(91,224,255,.45), transparent 85%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%, #000 66%, transparent 70%); mask: radial-gradient(circle, transparent 54%, #000 56%, #000 66%, transparent 70%); animation: hs-spin 7s linear infinite; }
@keyframes hs-breathe { 0%,100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
.hs-wave { position: absolute; inset: 30%; }
.hs-wave i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(91,224,255,.7); opacity: 0; animation: hs-ripple 3.6s ease-out infinite; }
.hs-wave i:nth-child(2) { animation-delay: 1.2s; } .hs-wave i:nth-child(3) { animation-delay: 2.4s; }
@keyframes hs-ripple { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.hs-core { position: absolute; inset: 35%; z-index: 2; animation: hs-float 5s ease-in-out infinite; }
.hs-core svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px rgba(91,224,255,.75)); }
.hs-trace { stroke-dasharray: 6 10; animation: hs-flow 1.2s linear infinite; }
@keyframes hs-flow { to { stroke-dashoffset: -32; } }
.hs-orb { position: absolute; inset: var(--in); transform-style: preserve-3d; transform: rotateX(68deg) rotateY(var(--ty)); }
.hs-orb.o1 { --in: 17%; --ty: -10deg; --t: 12s; } .hs-orb.o2 { --in: 3%; --ty: 14deg; --t: 20s; } .hs-orb.o3 { --in: -8%; --ty: -4deg; --t: 30s; }
.hs-rg { position: absolute; inset: 0; border-radius: 50%; transform-style: preserve-3d; border: 2px solid rgba(140,200,255,.7); box-shadow: 0 0 26px rgba(91,224,255,.55), inset 0 0 26px rgba(91,224,255,.35); animation: hs-spin var(--t) linear infinite; }
.hs-orb.o2 .hs-rg { animation-direction: reverse; border-color: rgba(192,137,246,.5); box-shadow: 0 0 22px rgba(192,137,246,.35), inset 0 0 22px rgba(192,137,246,.2); }
.hs-orb.o3 .hs-rg { border-style: dashed; border-color: rgba(255,210,63,.35); box-shadow: none; }
.hs-slot { position: absolute; inset: 0; transform: rotate(var(--a)); transform-style: preserve-3d; }
.hs-chip { position: absolute; left: 50%; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 8px; border-radius: 12px; white-space: nowrap; font: 800 12px/1 Inter, sans-serif; color: #071030; background: linear-gradient(135deg, #5be0ff, #a9b8ff); box-shadow: 0 0 24px -2px rgba(91,224,255,.8), 0 8px 20px -8px rgba(0,0,0,.6); animation: hs-cspin var(--t) linear infinite; }
.hs-orb.o2 .hs-chip { animation-direction: reverse; }
.hs-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-chip em { font-style: normal; }
.hs-chip.c3 { background: linear-gradient(135deg, #ffd23f, #ff8a5b); box-shadow: 0 0 26px -2px rgba(255,170,70,.85); }
.hs-chip.c4 { background: linear-gradient(135deg, #c089f6, #7678ED); color: #fff; box-shadow: 0 0 26px -2px rgba(192,137,246,.85); }
.hs-chip.c5 { background: linear-gradient(135deg, #3cc47c, #5be0ff); box-shadow: 0 0 26px -2px rgba(60,196,124,.85); }
.hs-chip.c6 { background: linear-gradient(135deg, #fff, #ffe08a); box-shadow: 0 0 26px -2px rgba(255,224,138,.85); }
@keyframes hs-spin { to { transform: rotate(360deg); } }
@keyframes hs-cspin { from { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)) rotateY(calc(var(--ty) * -1)) rotateX(-68deg); } to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)) rotateY(calc(var(--ty) * -1)) rotateX(-68deg); } }
@keyframes hs-float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }

/* ===== Сравни: голографические карточки ===== */
.hs-vs { display: flex; align-items: center; gap: 4px; perspective: 900px; }
.hs-card { position: relative; overflow: hidden; width: 190px; padding: 16px 16px 18px; border-radius: 20px; display: flex; flex-direction: column; gap: 9px; color: #e9ecff; background: linear-gradient(160deg, rgba(30,40,110,.78), rgba(8,12,45,.82)); border: 1px solid rgba(169,184,255,.35); box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.15); transform: rotateY(18deg); animation: hs-tiltA 6s ease-in-out infinite; }
.hs-card.win { transform: rotateY(-18deg); animation-name: hs-tiltB; animation-delay: -3s; border-color: rgba(91,224,255,.7); box-shadow: 0 0 0 1px rgba(91,224,255,.35), 0 0 46px -6px rgba(91,224,255,.65), 0 30px 60px -24px rgba(0,0,0,.8); }
@keyframes hs-tiltA { 0%,100% { transform: rotateY(18deg) translate3d(0,0,0); } 50% { transform: rotateY(10deg) translate3d(0,-10px,0); } }
@keyframes hs-tiltB { 0%,100% { transform: rotateY(-18deg) translate3d(0,0,0); } 50% { transform: rotateY(-10deg) translate3d(0,-12px,0); } }
.hs-card > b { font: 900 30px/1 'Unbounded','Inter',sans-serif; color: #fff; }
.hs-card.win > b { color: #8ff0ff; text-shadow: 0 0 18px rgba(91,224,255,.8); }
.hs-row span { font-family: Inter, sans-serif; display: flex; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 800; }
.hs-row em { font-style: normal; font-weight: 500; opacity: .72; }
.hs-row s { display: block; height: 6px; margin-top: 5px; border-radius: 9px; background: rgba(255,255,255,.1); overflow: hidden; text-decoration: none; }
.hs-row s i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7678ED, #a9b8ff); transform-origin: left; transform: scaleX(var(--v)); }
.hs-card.win .hs-row s i { background: linear-gradient(90deg, #3cc47c, #5be0ff); box-shadow: 0 0 12px rgba(91,224,255,.8); }
.hdk-s.on .hs-row s i { animation: hs-fill 1.1s cubic-bezier(.2,.8,.2,1) var(--d) both; }
@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(var(--v)); } }
.hs-card > u { position: absolute; left: 0; right: 0; top: 0; height: 40%; text-decoration: none; background: linear-gradient(180deg, transparent, rgba(91,224,255,.18) 70%, rgba(170,240,255,.55) 98%, transparent); pointer-events: none; animation: hs-scan 3.4s ease-in-out infinite; }
.hs-card:not(.win) > u { animation-delay: -1.7s; opacity: .5; }
@keyframes hs-scan { 0% { transform: translate3d(0,-110%,0); } 60%,100% { transform: translate3d(0,280%,0); } }
.hs-best { position: absolute; top: 12px; right: 12px; padding: 5px 9px; border-radius: 99px; font: 800 10.5px/1 Inter, sans-serif; color: #0b2a1a; background: linear-gradient(135deg, #ffe08a, #ffd23f); box-shadow: 0 0 20px rgba(255,210,63,.7); }
.hdk-s.on .hs-best { animation: hs-pop .6s cubic-bezier(.3,1.6,.5,1) 1.3s both; }
@keyframes hs-pop { from { transform: scale(0) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hs-x { position: relative; z-index: 2; flex: none; width: 64px; height: 64px; display: grid; place-items: center; margin: 0 -10px; }
.hs-x b { position: relative; font: 900 18px 'Unbounded','Inter',sans-serif; color: #fff; text-shadow: 0 0 12px rgba(255,210,63,.9); }
.hs-x::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #2a1d6b, #0b0f3a); box-shadow: 0 0 30px rgba(255,210,63,.45); }
.hs-x::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: conic-gradient(#ffd23f, transparent 25%, #f0386b 50%, transparent 75%, #ffd23f); -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%); mask: radial-gradient(circle, transparent 62%, #000 64%); animation: hs-spin 2.4s linear infinite; }
.hs-x i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,210,63,.7); opacity: 0; animation: hs-ripple 2.4s ease-out infinite; }
.hs-x i + i { animation-delay: 1.2s; }
.hs-x svg { position: absolute; width: 30px; height: 30px; top: -22px; fill: #ffd23f; opacity: 0; animation: hs-zap 2.4s ease-in-out infinite; }
@keyframes hs-zap { 0%,70%,100% { opacity: 0; transform: scale(.6); } 75% { opacity: 1; transform: scale(1.2); } 85% { opacity: .2; } 90% { opacity: 1; } }

/* ===== Новый год: сияние, гирлянда, светящийся подарок ===== */
.hs-ny .hs-shade { background: linear-gradient(90deg, rgba(6,10,36,.92) 0%, rgba(6,10,36,.7) 36%, rgba(6,10,36,.1) 70%), linear-gradient(0deg, rgba(6,10,36,.6), transparent 40%); }
.hs-ny-h { background: linear-gradient(100deg, #fff 0%, #fff 36%, #ffe08a 46%, #fff 56%, #ffd9f0 72%, #ffe08a 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; }
.hs-aur { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hs-aur i { position: absolute; left: -20%; width: 140%; height: 46%; top: 6%; background: linear-gradient(90deg, transparent, rgba(60,255,170,.28) 25%, rgba(91,224,255,.18) 45%, rgba(192,90,255,.26) 65%, transparent); transform: skewY(-6deg); animation: hs-aurA 9s ease-in-out infinite alternate; opacity: .8; -webkit-mask: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); mask: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); }
.hs-aur i + i { top: 26%; height: 34%; animation-duration: 12s; animation-direction: alternate-reverse; opacity: .6; }
@keyframes hs-aurA { from { transform: skewY(-6deg) translate3d(-8%,0,0); opacity: .45; } to { transform: skewY(-3deg) translate3d(8%,6%,0); opacity: .95; } }
.hs-snow { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.hs-snow i { position: absolute; top: -24px; left: var(--x); font-style: normal; color: #fff; opacity: .85; font-size: calc(15px * var(--s)); text-shadow: 0 0 8px rgba(255,255,255,.8); animation: hs-fall var(--t) linear var(--d) infinite; }
@keyframes hs-fall { 0% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(var(--w), 300px, 0) rotate(120deg); } 100% { transform: translate3d(0, 620px, 0) rotate(240deg); } }
.hs-lights { position: absolute; left: 0; right: 0; top: 0; height: 34px; z-index: 4; pointer-events: none; }
.hs-lights::before { content: ""; position: absolute; left: -2%; right: -2%; top: -26px; height: 46px; border-bottom: 2px solid rgba(20,40,30,.9); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.hs-lights i { position: absolute; left: var(--x); top: var(--yy); width: 9px; height: 13px; margin-left: -4px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--c); box-shadow: 0 0 14px 3px var(--c); animation: hs-blink 1.6s ease-in-out var(--d) infinite; }
@keyframes hs-blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.hs-cd { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 14px; border-radius: 12px; font: 800 14px/1 Inter, sans-serif; color: #ffe08a; background: rgba(255,210,63,.1); border: 1px solid rgba(255,210,63,.4); box-shadow: 0 0 22px -6px rgba(255,210,63,.6); }
.hs-cd::before { content: "⏳"; }
.hs-ny .bfx-l > .hs-cd + .bfx-b { display: inline-flex; }
.hs-giftw { position: relative; width: min(300px, 30vw); aspect-ratio: 1; margin: auto; display: grid; place-items: center; }
.hs-rays { position: absolute; inset: -18%; border-radius: 50%; background: repeating-conic-gradient(rgba(255,224,138,.28) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%); animation: hs-spin 26s linear infinite; }
.hs-giftw::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255,120,170,.55), rgba(192,137,246,.25) 45%, transparent 70%); animation: hs-breathe 3s ease-in-out infinite; }
.hs-sparks { position: absolute; inset: 0; }
.hs-sparks i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px #ffe08a; opacity: 0; animation: hs-spark 2.8s ease-out var(--d) infinite; }
@keyframes hs-spark { 0% { opacity: 0; transform: rotate(var(--r)) translate3d(0,0,0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--r)) translate3d(0,-150px,0) scale(1.2); } }
.hs-gift { position: relative; width: 58%; aspect-ratio: 1; animation: hs-bounce 3.2s ease-in-out infinite; }
@keyframes hs-bounce { 0%,100% { transform: translate3d(0,0,0) rotate(-3deg); } 50% { transform: translate3d(0,-14px,0) rotate(3deg); } }
.hs-box { position: absolute; left: 6%; right: 6%; bottom: 0; height: 68%; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #f0386b, #b2297a 60%, #7a1d6b); box-shadow: 0 30px 50px -18px rgba(240,56,107,.8), inset 0 -10px 20px rgba(0,0,0,.25); }
.hs-box::before { content: ""; position: absolute; left: 42%; width: 16%; top: 0; bottom: 0; background: linear-gradient(90deg, #e8b52a, #ffe08a, #e8b52a); }
.hs-box::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: hs-gleam 3.5s ease-in-out infinite; }
@keyframes hs-gleam { 0%,55% { transform: translate3d(0,0,0) skewX(-20deg); } 100% { transform: translate3d(420%,0,0) skewX(-20deg); } }
.hs-box span { position: relative; z-index: 1; font: 900 clamp(24px, 3vw, 40px) 'Unbounded','Inter',sans-serif; color: #fff; letter-spacing: -.02em; text-shadow: 0 0 18px rgba(255,224,138,.95), 0 3px 0 rgba(0,0,0,.25); }
.hs-lid { position: absolute; left: 0; right: 0; top: 24%; height: 15%; border-radius: 8px; background: linear-gradient(135deg, #ff5a86, #c22d7f); box-shadow: 0 8px 16px -6px rgba(0,0,0,.5); z-index: 2; animation: hs-lid 3.2s ease-in-out infinite; }
.hs-lid::before { content: ""; position: absolute; left: 42%; width: 16%; top: 0; bottom: 0; background: linear-gradient(90deg, #e8b52a, #ffe08a, #e8b52a); }
@keyframes hs-lid { 0%,70%,100% { transform: translate3d(0,0,0) rotate(0); } 80% { transform: translate3d(0,-14px,0) rotate(-5deg); } 90% { transform: translate3d(0,-4px,0) rotate(2deg); } }
.hs-bow { position: absolute; left: 50%; top: 6%; width: 50%; height: 22%; transform: translateX(-50%); z-index: 3; animation: hs-lid 3.2s ease-in-out infinite; }
.hs-bow i { position: absolute; bottom: 0; width: 50%; height: 100%; border: 6px solid #ffd23f; border-radius: 50% 50% 10% 50%; box-shadow: 0 0 14px rgba(255,210,63,.6); }
.hs-bow i:first-child { left: 0; transform: rotate(-18deg); transform-origin: right bottom; } .hs-bow i + i { right: 0; transform: rotate(18deg) scaleX(-1); transform-origin: left bottom; }

/* ===== Собери ПК v3 (2026-11-24, владелец: «космос, кейсы, комплектующие, RGB, ярко как Black Friday») ===== */
.hs-build .hs-shade { background: linear-gradient(90deg, rgba(8,6,34,.9) 0%, rgba(8,6,34,.62) 36%, rgba(8,6,34,.05) 64%), linear-gradient(0deg, rgba(8,6,34,.6), transparent 35%); }
.hs-tint { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hs-tint i { position: absolute; border-radius: 50%; opacity: .55; }
.hs-tint i:nth-child(1) { width: 60%; height: 120%; right: -12%; top: -40%; background: radial-gradient(closest-side, rgba(240,56,107,.75), transparent); animation: bfxB 14s ease-in-out infinite alternate; }
.hs-tint i:nth-child(2) { width: 55%; height: 110%; right: 10%; bottom: -55%; background: radial-gradient(closest-side, rgba(192,137,246,.8), transparent); animation: bfxA 17s ease-in-out infinite alternate; }
.hs-tint i:nth-child(3) { width: 50%; height: 100%; left: -15%; top: -35%; background: radial-gradient(closest-side, rgba(55,91,235,.8), transparent); animation: bfxA 12s ease-in-out -4s infinite alternate-reverse; }
.hs-hb { display: grid; background: none !important; color: #fff; font-size: clamp(34px, 4.7vw, 64px); line-height: .98; }
.hs-hb span:first-child { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.95); }
.hs-hb span:last-child { background: linear-gradient(100deg, #FFD43B, #fff, #5ED3F3, #C089F6, #F0386B, #FFD43B); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bfxG 6s linear infinite; }
.hs-build .hs-feat li { background: rgba(240,56,107,.12); border-color: rgba(255,120,170,.45); color: #ffe3ee; box-shadow: 0 0 18px -6px rgba(240,56,107,.7) inset; }
.hs-build .hs-feat li:nth-child(2) { background: rgba(192,137,246,.14); border-color: rgba(192,137,246,.55); color: #f1e6ff; }
.hs-build .hs-feat li:nth-child(3) { background: rgba(255,212,59,.12); border-color: rgba(255,212,59,.55); color: #fff3c4; }

.pc-scene { position: relative; width: min(520px, 43vw); aspect-ratio: 1.08; margin: -16px auto -8px; }
.pc-floor { position: absolute; left: 6%; right: 6%; bottom: 0; height: 22%; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(240,56,107,.7), rgba(192,137,246,.35) 55%, transparent); animation: hs-breathe 2.6s ease-in-out infinite; }
.pc-beam { position: absolute; inset: 0 8% 6%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(240,56,107,.5) 0 5deg, transparent 5deg 15deg, rgba(91,224,255,.45) 15deg 20deg, transparent 20deg 30deg, rgba(255,212,59,.42) 30deg 35deg, transparent 35deg 45deg); -webkit-mask: radial-gradient(circle, #000 14%, transparent 66%); mask: radial-gradient(circle, #000 14%, transparent 66%); animation: hs-spin 30s linear infinite; }
.pc-case { position: absolute; left: 29%; top: 9%; width: 42%; height: 76%; z-index: 2; animation: hs-float 6s ease-in-out infinite; }
.pc-edge { position: absolute; inset: -3px; border-radius: 22px; overflow: hidden; box-shadow: 0 0 50px -4px rgba(240,56,107,.6), 0 0 90px -10px rgba(91,224,255,.45), 0 50px 60px -26px #000; }
.pc-edge::before { content: ""; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; margin: -110% 0 0 -110%; background: conic-gradient(#F0386B, #FFD43B, #3cc47c, #5be0ff, #7678ED, #C089F6, #F0386B); animation: hs-spin 3.5s linear infinite; }
.pc-in { position: absolute; inset: 0; border-radius: 19px; overflow: hidden; display: grid; grid-template-columns: 1fr 27%; gap: 7px; padding: 9px; background: linear-gradient(160deg, #1a1d4a, #0a0b24 70%); }
.pc-front { display: flex; flex-direction: column; justify-content: space-around; gap: 6px; }
.pc-fan { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #0b0d26; box-shadow: 0 0 16px -2px rgba(192,137,246,.75); }
.pc-fan > .rgbf, .pc-aio > .rgbf { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#F0386B, #FFD43B, #5be0ff, #7678ED, #C089F6, #F0386B); -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%, #000 78%, transparent 80%); mask: radial-gradient(circle, transparent 62%, #000 64%, #000 78%, transparent 80%); animation: hs-spin 2.2s linear infinite; }
.pc-fan svg { position: absolute; inset: 12%; width: 76%; height: 76%; }
.pc-fan .bl { fill: rgba(210,220,255,.42); transform-origin: 20px 20px; animation: hs-spin .7s linear infinite; }
.pc-fan circle { fill: #2a2f66; }
.pc-front .pc-fan:nth-child(2) > .rgbf { animation-delay: -.7s; } .pc-front .pc-fan:nth-child(3) > .rgbf { animation-delay: -1.4s; }
.pc-mb { position: relative; border-radius: 10px; padding: 9px; display: grid; grid-template-rows: auto auto 1fr; gap: 9px; background: linear-gradient(180deg, #161b44, #0e1232); border: 1px solid rgba(169,184,255,.12); }
.pc-aio { position: relative; width: 54%; aspect-ratio: 1; border-radius: 50%; background: #0b0d26; box-shadow: 0 0 22px -2px rgba(91,224,255,.8); }
.pc-aio b { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #a9b8ff 40%, #7678ED); box-shadow: 0 0 14px rgba(169,184,255,.9); }
.pc-ram { position: absolute; right: 9px; top: 9px; display: flex; gap: 4px; height: 30%; }
.pc-ram .st { position: relative; width: 7px; height: 100%; overflow: hidden; border-radius: 2px; background: #10152f; box-shadow: 0 0 10px rgba(255,120,200,.5); }
.pc-ram .st .rgbf { position: absolute; left: 0; right: 0; top: -200%; height: 300%; background: linear-gradient(180deg, #F0386B, #FFD43B, #5be0ff, #7678ED, #C089F6, #F0386B); animation: rgbV 2.2s linear infinite; }
.pc-ram .st::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: #10152f; }
.pc-ram .st:nth-child(2) .rgbf { animation-delay: -.3s; } .pc-ram .st:nth-child(3) .rgbf { animation-delay: -.6s; } .pc-ram .st:nth-child(4) .rgbf { animation-delay: -.9s; }
@keyframes rgbV { to { transform: translate3d(0, 66.66%, 0); } }
.pc-gpu { position: relative; display: flex; gap: 6px; padding: 6px 8px 10px; border-radius: 7px; overflow: hidden; background: linear-gradient(180deg, #232864, #151a44); box-shadow: 0 10px 20px -8px #000, 0 0 20px -6px rgba(192,137,246,.8); }
.pc-gpu .pc-fan.s { width: 34%; }
.pc-gpu .sw { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; overflow: hidden; }
.pc-gpu .sw .rgbf { position: absolute; top: 0; bottom: 0; left: -200%; width: 300%; background: linear-gradient(90deg, #F0386B, #FFD43B, #5be0ff, #7678ED, #C089F6, #F0386B); animation: rgbH 2s linear infinite; }
@keyframes rgbH { to { transform: translate3d(66.66%, 0, 0); } }
.pc-shroud { align-self: end; display: grid; place-items: center; height: 100%; min-height: 34px; border-radius: 7px; background: linear-gradient(180deg, #0c0f2c, #070818); border-top: 1px solid rgba(255,255,255,.08); }
.pc-shroud b { font: 900 clamp(9px, 1vw, 13px) 'Unbounded','Inter',sans-serif; letter-spacing: .04em; background: linear-gradient(90deg, #FFD43B, #F0386B, #C089F6, #5be0ff, #FFD43B); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bfxG 5s linear infinite; }
.pc-gleam { position: absolute; inset: 0; border-radius: 19px; overflow: hidden; pointer-events: none; }
.pc-gleam::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 36%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-18deg); animation: hs-gleam 4.5s ease-in-out infinite; }
/* летающие комплектующие */
.fp { position: absolute; z-index: 3; transform: rotate(var(--r)); }
.fp-in { position: relative; animation: fpF var(--t, 6s) ease-in-out infinite; }
.fp svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 12px var(--g)) drop-shadow(0 14px 14px rgba(0,0,0,.55)); }
.fp em { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); padding: 4px 9px; border-radius: 99px; font: 900 10.5px/1 Inter, sans-serif; letter-spacing: .06em; font-style: normal; color: #0b0f3a; background: var(--g); box-shadow: 0 0 14px var(--g); }
.fp.f1 { --r: -12deg; --g: #C089F6; --t: 6.5s; --fx: 120px; --fy: 90px; left: -4%; top: 6%; width: 38%; }
.fp.f2 { --r: 14deg; --g: #F0386B; --t: 5.5s; --fx: -110px; --fy: 90px; right: -3%; top: 8%; width: 30%; }
.fp.f3 { --r: -8deg; --g: #FFD43B; --t: 7s; --fx: 110px; --fy: -60px; left: 2%; bottom: 16%; width: 16%; }
.fp.f4 { --r: -10deg; --g: #5be0ff; --t: 6s; --fx: -110px; --fy: -30px; right: -4%; bottom: 34%; width: 30%; }
.fp.f5 { --r: 8deg; --g: #F0386B; --t: 7.5s; --fx: -80px; --fy: -80px; right: 6%; bottom: 4%; width: 18%; }
@keyframes fpF { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(0,-12px,0) rotate(4deg); } }
.fp svg .spin { animation: hs-spin .8s linear infinite; }
.pc-spark { position: absolute; inset: 0; pointer-events: none; }
.pc-spark i { position: absolute; left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px 3px var(--c); opacity: 0; animation: pcTw 2.4s ease-in-out var(--d) infinite; }
@keyframes pcTw { 0%,100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1.2); } }
@media (max-width: 760px) { .pc-scene { display: none; } }
@media (max-width: 980px) { .hsx .bfx-l { display: block; } .hsx .bfx-b { width: auto; } }
@media (max-width: 760px) {
  .hdk-a { display: none; }
  .hsx .bfx-b { width: 100%; justify-content: center; }
  .hs-sys, .hs-vs, .hs-giftw { display: none; }
  .hs-h { font-size: 30px; }
  .hs-shade { background: linear-gradient(180deg, rgba(5,8,30,.55), rgba(5,8,30,.88) 55%) !important; }
  .hsx .bfx-in { padding-bottom: 64px; }
  .hs-cr { left: auto; right: 14px; top: 12px; bottom: auto; }
  .hs-lights { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .hdk-s { transition: none; } .hsx *, .hsx *::before, .hsx *::after { animation: none !important; } }

/* ===== Слайд-шоу v4 (2026-11-24, владелец: «фоны красивые, но не в наших цветах — как Black Friday и плитка „Рассрочка 48 мес.“») ===== */
.hsx { background: #0b0f3a !important; }
.hs-photo { opacity: .9; }
.hsx .hs-shade, .hs-build .hs-shade, .hs-ny .hs-shade { background: linear-gradient(90deg, rgba(11,15,58,.92) 0%, rgba(11,15,58,.66) 36%, rgba(11,15,58,.08) 66%), linear-gradient(0deg, rgba(11,15,58,.6), transparent 38%); }
.hsx .hs-tint i { opacity: .6; }
.hsx .hs-tint i:nth-child(1) { background: radial-gradient(closest-side, rgba(192,137,246,.85), transparent); }
.hsx .hs-tint i:nth-child(2) { background: radial-gradient(closest-side, rgba(118,120,237,.85), transparent); }
.hsx .hs-tint i:nth-child(3) { background: radial-gradient(closest-side, rgba(55,91,235,.9), transparent); }
.hs-ny .hs-tint i:nth-child(1) { background: radial-gradient(closest-side, rgba(240,56,107,.6), transparent); }
/* глянцевые шары, как на плитке рассрочки */
.hs-bub { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hs-bub i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #dcd2ff 18%, #C089F6 45%, #7678ED 75%, #4a3fc4); box-shadow: 0 10px 24px -8px rgba(55,91,235,.8), inset -4px -6px 10px rgba(40,30,140,.45); animation: hs-float var(--t) ease-in-out infinite; }
.hs-bub i:nth-child(1) { --t: 7s; width: 26px; height: 26px; left: 47%; top: 14%; }
.hs-bub i:nth-child(2) { --t: 9s; width: 14px; height: 14px; left: 56%; top: 72%; animation-delay: -2s; }
.hs-bub i:nth-child(3) { --t: 6s; width: 40px; height: 40px; right: 5%; top: 62%; animation-delay: -1s; background: radial-gradient(circle at 32% 28%, #fff, #c9d6ff 18%, #5be0ff 45%, #375BEB 80%); }
.hs-bub i:nth-child(4) { --t: 8s; width: 18px; height: 18px; right: 18%; top: 8%; animation-delay: -3s; }
.hs-bub i:nth-child(5) { --t: 10s; width: 10px; height: 10px; left: 40%; top: 84%; animation-delay: -5s; }
/* «Собери ПК» в цветах рассрочки: синий → фиолетовый, белый */
.hs-hb span:last-child { background: linear-gradient(100deg, #fff, #c9d0ff, #8fa2ff, #C089F6, #ffd0f4, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; }
.hs-build .hs-feat li { background: rgba(55,91,235,.22); border-color: rgba(143,162,255,.55); color: #e6eaff; box-shadow: 0 0 18px -6px rgba(55,91,235,.8) inset; }
.hs-build .hs-feat li:nth-child(2) { background: rgba(118,120,237,.22); border-color: rgba(169,170,255,.55); color: #ecebff; }
.hs-build .hs-feat li:nth-child(3) { background: rgba(192,137,246,.22); border-color: rgba(214,176,255,.6); color: #f6ecff; }
.pc-floor { background: radial-gradient(closest-side, rgba(192,137,246,.75), rgba(55,91,235,.4) 55%, transparent); }
.pc-beam { background: repeating-conic-gradient(from 0deg, rgba(192,137,246,.45) 0 5deg, transparent 5deg 15deg, rgba(118,120,237,.42) 15deg 20deg, transparent 20deg 30deg, rgba(255,255,255,.22) 30deg 35deg, transparent 35deg 45deg); }
.pc-edge { box-shadow: 0 0 50px -4px rgba(192,137,246,.7), 0 0 90px -10px rgba(55,91,235,.6), 0 50px 60px -26px #000; }
.pc-in { background: linear-gradient(160deg, #1c2366, #0b0f3a 70%); }
.hs-aur i { background: linear-gradient(90deg, transparent, rgba(118,120,237,.35) 25%, rgba(192,137,246,.3) 50%, rgba(240,56,107,.22) 70%, transparent); }
@media (max-width: 760px) { .hs-bub i:nth-child(n+3) { display: none; } }
