/* Синон */
/* Синон */
:root {
	/* значения совпадают с пресетами theme.json */
	--red: #C82624;
	--red-hover: #A81E1C;
	--red-soft: #FBEDEC;
	--ink: #2F2E2A;
	--ink-2: #5E5C56;
	--ink-3: #6E6B65;
	--line: #E7E4DE;
	--field-line: #8C887F;
	--paper: #FFFFFF;
	--paper-2: #F6F5F2;
	--paper-3: #EEECE7;
	--ok: #1F7A4D;
	--promo: #FFE45C;

	--f-display: "Inter Tight", -apple-system, "Segoe UI", sans-serif;
	--f-text: "Inter Tight", -apple-system, "Segoe UI", sans-serif;

	/* токены (A2-UI-004/005) */
	--fz-xs: 12px; --fz-s: 13px; --fz-m: 14px; --fz-b: 16px; --fz-l: 18px; --fz-xl: 22px;
	--fz-h2: clamp(22px, 1.6vw + 14px, 28px);
	--fz-h1: clamp(28px, 2vw + 16px, 40px);
	--fz-d: clamp(32px, 6.2vw, 64px);
	--lh-t: 1.15; --lh-s: 1.35; --lh: 1.5;
	--h-s: 32px; --h-m: 40px; --h-l: 48px; --h-xl: 56px;
	--r-s: 8px;
	--r-m: 12px;
	--r-l: 16px;
	--wrap: 1280px;
	--gut: 16px;
	--sh-1: 0 1px 2px rgba(47, 46, 42, .06);
	--shadow: 0 1px 2px rgba(47, 46, 42, .06), 0 8px 24px rgba(47, 46, 42, .06);
	--sh-3: 0 16px 48px rgba(20, 20, 18, .18);
}
@media (min-width: 768px) { :root { --gut: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 400 var(--fz-b)/var(--lh) var(--f-text); font-feature-settings: "tnum" 1;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }
/* svg-иконки без viewBox */
svg:not([viewBox]) { width: 1em; height: 1em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Типографика ---------- */
.h-display { font: 800 var(--fz-d)/1.05 var(--f-display); letter-spacing: -.02em; margin: 0; }
.h1 { font: 700 var(--fz-h1)/var(--lh-t) var(--f-display); letter-spacing: -.015em; margin: 0; }
.h2 { font: 700 var(--fz-h2)/var(--lh-t) var(--f-display); letter-spacing: -.01em; margin: 0; }
.eyebrow { font: 500 var(--fz-xs)/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.muted { color: var(--ink-2); }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: var(--fz-b);
	transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--paper-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-3); }
.btn-sm { height: 40px; padding: 0 16px; font-size: var(--fz-m); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Верхняя строка ---------- */
.topbar { background: var(--ink); color: #DAD7D0; font-size: var(--fz-s); }
.topbar .wrap { display: flex; gap: 24px; align-items: center; min-height: 36px; }
.topbar a:hover { color: #fff; }
.topbar .dealer { margin-left: auto; color: #fff; display: flex; gap: 8px; align-items: center; flex: none; white-space: nowrap; }
.topbar .trust-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1099px) { .topbar .trust-line { display: none; } }
.topbar .dealer b { color: var(--promo); font-weight: 600; }
.show-m { display: none; }
@media (max-width: 767px) { .show-m { display: inline; } }
@media (max-width: 767px) { .topbar .hide-m { display: none; } .topbar .wrap { justify-content: space-between; min-height: 32px; gap: 16px; } .topbar .dealer { margin: 0; } }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header > .wrap { display: grid; grid-template-columns: auto auto 1fr auto; gap: 16px; align-items: center; height: 76px; }
.logo img { height: 40px; width: auto; }
.catalog-btn { height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.catalog-btn:hover { background: var(--red-hover); }
.search { position: relative; }
.search input {
	width: 100%; height: 48px; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--paper-2);
	padding: 0 52px 0 48px; font: inherit; font-size: var(--fz-b); color: var(--ink); outline: none; transition: border-color .15s, background .15s;
}
.search input:focus { border-color: var(--ink); background: #fff; }
.search > svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-3); }
.search kbd { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font: 500 var(--fz-xs) var(--f-text); color: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-s); padding: 2px 8px; background: #fff; }
.h-actions { display: flex; gap: 4px; }
.h-act { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: var(--fz-xs); color: var(--ink-2); padding: 8px 12px; border-radius: var(--r-s); position: relative; }
.h-act:hover { background: var(--paper-2); color: var(--ink); }
.h-act svg { width: 24px; height: 24px; color: var(--ink); }
.badge-count { position: absolute; top: 2px; right: 8px; min-width: 18px; height: 18px; border-radius: var(--r-s); background: var(--red); color: #fff; font: 600 var(--fz-xs)/18px var(--f-text); text-align: center; padding: 0 4px; }
@media (max-width: 767px) {
	.header > .wrap { grid-template-columns: 1fr auto; height: auto; padding-top: 4px; padding-bottom: 8px; gap: 4px 8px; }
	.logo img { height: 30px; }
	.catalog-btn, .h-act span, .h-act.hide-m { display: none; }
	.search { grid-column: 1 / -1; order: 3; }
	.search kbd { display: none; }
	.h-act { padding: 8px; }
}

/* ---------- Нижнее меню на телефоне ---------- */
.tabbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: 72px; }
	.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: var(--fz-xs); color: var(--ink-3); position: relative; }
	.tabbar a.on { color: var(--red); }
	.tabbar svg { width: 24px; height: 24px; }
	.tabbar .badge-count { right: calc(50% - 22px); top: -4px; }
}

/* ---------- Хлебные крошки ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: var(--fz-s); color: var(--ink-3); padding: 20px 0 12px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; content: "/" / ""; margin-right: 8px; color: var(--line); }

/* ---------- Плашки ---------- */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-s); font: 600 var(--fz-xs)/1 var(--f-text); letter-spacing: .02em; }
.tag-sale { background: var(--red); color: #fff; }
.tag-gift { background: var(--ink); color: #fff; }
.tag[data-tip] { position: relative; cursor: help; }
.tag[data-tip]:is(:hover, :focus)::after { content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 6px); width: 220px; padding: 8px 12px; border-radius: var(--r-s); background: var(--ink); color: #fff; font: 500 var(--fz-xs)/var(--lh-s) var(--f-text); white-space: normal; z-index: 9; }
.tag-promo { background: var(--promo); color: var(--ink); }

/* ---------- Карточка товара в сетке ---------- */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-l); border: 1px solid var(--line); padding: 12px; transition: box-shadow .2s, border-color .2s, transform .2s; }
@media (hover: hover) { .card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); } .card:hover .ph svg { transform: scale(1.05); } .card:hover .ph img { transform: scale(1.04); } }
.card .ph { position: relative; aspect-ratio: 1; border-radius: var(--r-m); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.card .ph svg { width: 66%; height: 66%; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.card .tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; }
.card .cmp, .card .fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink-3); box-shadow: var(--sh-1); z-index: 2; }
.card .cmp:hover, .card .cmp.on, .card .fav:hover, .card .fav.on { color: var(--red); }
.card .cmp svg, .card .fav svg { width: 18px; height: 18px; }
.card .fav { top: 50px; }
[data-fav].on svg { fill: currentColor; }
[data-fav-link][hidden] { display: none; }
.card .body { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .brand { font-size: var(--fz-xs); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .name { font-size: var(--fz-m); line-height: var(--lh-s); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .specs { font-size: var(--fz-xs); color: var(--ink-2); line-height: var(--lh-s); }
.card .bottom { margin-top: auto; padding-top: 8px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price { font: 700 var(--fz-l)/var(--lh-t) var(--f-text); white-space: nowrap; }
.price small { font-size: .7em; font-weight: 600; }
.price-old { font-size: var(--fz-s); color: var(--ink-3); text-decoration: line-through; white-space: nowrap; }
.price.sale { color: var(--red); }
.stock { font-size: var(--fz-xs); color: var(--ok); display: flex; align-items: center; gap: 4px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.add { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; transition: background .15s; }
.add:hover { background: var(--red); }
.add svg { width: 20px; height: 20px; }
@media (max-width: 480px) { .price { font-size: var(--fz-b); } .add { width: 38px; height: 38px; } .card .specs { display: none; } }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #CFCBC3; margin-top: 80px; padding: 56px 0 32px; font-size: var(--fz-m); }
.footer .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer h4 { color: #fff; font: 600 var(--fz-s)/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.f-dahua { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: var(--fz-s); }
.footer a:hover { color: #fff; }
.footer .phone { font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); color: #fff; }
.footer .legal { border-top: 1px solid #45433E; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #A9A59D; font-size: var(--fz-s); }
/* подвал на телефоне — свёрнут */
.footer summary { list-style: none; } .footer summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .footer summary { pointer-events: none; } .f-subd > summary { display: none; } }
@media (min-width: 768px) { .footer details::details-content { content-visibility: visible; } }
@media (max-width: 767px) { .footer { padding-top: 8px; font-size: var(--fz-b); } .footer .wrap { display: flex; flex-direction: column; } .footer .cols { display: contents; } .footer .cols > :first-child { order: -1; padding: 16px 0; } .footer .cols > :first-child > img, .f-sub-txt b, .footer .legal > :is(:nth-child(2), :nth-child(4)) { display: none; }
	.footer summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-top: 1px solid #45433E; color: #fff; font-weight: 600; cursor: pointer; } .footer summary::after { content: "+"; font: 400 24px/1 var(--f-text); } .footer [open] > summary::after { content: "−"; }
	.footer summary h2 { margin: 0 !important; } .f-sub { padding: 0 0 16px; margin: 0; border: 0; } .footer details > ul { padding-bottom: 8px; } .footer .legal { margin-top: 0; padding-top: 16px; gap: 8px; }
	.footer ul:not(.f-contacts) { gap: 0; } .footer ul:not(.f-contacts) a:not([hidden]) { display: flex; align-items: center; min-height: 44px; line-height: var(--lh-t); } .footer .f-contacts { font-size: var(--fz-m); } .footer .f-contacts a, .footer .legal a { display: inline-block; padding: 12px 0; margin: -12px 0; } }

/* ---------- Анимация появления ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } * { transition: none !important; } }

/* v2 */
.topbar .msg { flex: none; display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: #45433E; margin-left: -16px; }
.topbar .msg:first-of-type { margin-left: -8px; }
.topbar .msg svg { width: 15px; height: 15px; color: #fff; }

/* Подсказки поиска */
.suggest { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 8px; z-index: 50; max-height: 70vh; overflow: auto; }
.suggest.open { display: block; }
.sg-h { font-size: var(--fz-xs); color: var(--ink-3); padding: 8px 12px 4px; text-transform: uppercase; letter-spacing: .08em; }
.sg-note { font-size: var(--fz-s); padding: 8px 12px; background: var(--paper-2); border-radius: var(--r-s); margin-bottom: 4px; }
.sg-q { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-s); font-size: var(--fz-b); }
.sg-q svg { width: 16px; height: 16px; color: var(--ink-3); }
.sg-p { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: var(--r-m); }
.sg-q:hover, .sg-p:hover, .sg-p.exact { background: var(--paper-2); }
.sg-img { width: 48px; height: 48px; border-radius: var(--r-s); background: var(--paper-2); display: grid; place-items: center; }
.sg-p:hover .sg-img, .sg-p.exact .sg-img { background: #fff; }
.sg-img svg { width: 40px; height: 40px; }
.sg-t b { display: block; font-weight: 500; font-size: var(--fz-m); line-height: var(--lh-s); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-t { min-width: 0; }
.sg-t small { font-size: var(--fz-xs); color: var(--ink-3); }
.sg-t kbd { font: 600 var(--fz-xs) var(--f-text); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.sg-pr { font-weight: 700; white-space: nowrap; }
.sg-all { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 12px; font-weight: 600; font-size: var(--fz-m); border-top: 1px solid var(--line); margin-top: 8px; }
.sg-all svg { width: 14px; height: 14px; }
.sg-empty { padding: 16px 12px; font-size: var(--fz-m); }
.sg-empty b { display: block; margin-bottom: 4px; }
.sg-empty span { color: var(--ink-2); }

/* карточка товара */
.inst { display: block; font-size: var(--fz-xs); color: var(--ink-2); margin-top: 4px; white-space: nowrap; }
.inst b { color: var(--ink); font-weight: 600; }
.card .eta { font-size: var(--fz-xs); color: var(--ok); padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 8px; }
.card .specs { font-size: var(--fz-xs); color: var(--ink-2); }
@media (max-width: 480px) { .card .specs { display: block; } .inst { white-space: normal; } }
.variants { display: flex; gap: 4px; }
.variants button { height: 26px; padding: 0 8px; border-radius: var(--r-s); font-size: var(--fz-xs); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.variants button.on { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Быстрые фильтры-ссылки */
.quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 14px; padding: 0 var(--gut); }
.quick a { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fz-m); display: inline-flex; align-items: center; }
.quick a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Кнопки мессенджеров */
.btn-tg { background: #0B76B0; color: #fff; }
.btn-wa { background: #0E7A3E; color: #fff; }

/* ===== Главная ===== */

/* ----- Первый экран */
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hero-grid { grid-template-columns: 1fr 1fr; } .hero-car { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; } .hero-car { grid-column: auto; grid-row: span 2; } }
.hero-main { border-radius: var(--r-l); background: var(--paper-2); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: center; }
@media (min-width: 640px) { .hero-main { grid-template-columns: minmax(0, 1fr) clamp(180px, 28%, 250px); column-gap: clamp(20px, 3vw, 36px); } .hero-main > :not(.hero-art) { grid-column: 1; } }
.hero-main .eyebrow { display: block; line-height: var(--lh-s); max-width: 34ch; }
.hero-main .h-display { margin-top: 12px; font-size: clamp(30px, 2.7vw, 39px); line-height: 1.05; hyphens: manual; }
@media (min-width: 768px) and (max-width: 1099px) { .hero-main .h-display { font-size: clamp(32px, 4vw, 40px); } }
.hero-main .h-display em { font-style: normal; color: var(--red); }
.hero-main p { max-width: 44ch; margin: 16px 0 0; font-size: var(--fz-b); color: var(--ink-2); }
.hero-main .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-main .btn-ghost { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero-main .btn-ghost:hover { background: var(--paper); }
.stat-row { display: flex; gap: 12px clamp(20px, 3vw, 36px); flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.stat b { display: block; font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); }
.stat span { font-size: var(--fz-s); color: var(--ink-2); }
.hero-art { display: none; }
@media (min-width: 640px) { .hero-art { display: grid; grid-column: 2; grid-row: 1 / span 3; place-items: center; position: relative; overflow: hidden; background: #fff; border-radius: var(--r-m); padding: 20px 16px 52px; } }
.hero-art > img:first-child { width: 128%; max-width: none; height: auto; }
.hero-art .art-logo { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 96px; height: auto; }
/* фото (docs/foto-tz.md): фон баннера, карточки, плитки разделов */
.has-ph, .side-dealer, .side-sale { position: relative; overflow: hidden; }
.hero-ph { display: block; border-radius: var(--r-m); overflow: hidden; order: 1; }
.has-ph .stat-row { order: 2; }
.hero-ph img { display: block; width: 100%; height: auto; }
@media (min-width: 640px) { .has-ph > * { position: relative; z-index: 1; } .has-ph > .hero-ph { position: absolute; inset: 0; border-radius: 0; z-index: 0; } .hero-ph img { height: 100%; object-fit: cover; object-position: right center; } .hero-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper-2) 38%, #F6F5F200 72%); } }
.side-ph, .side-ph5 { position: absolute; pointer-events: none; }
.side-ph { inset: 0 0 0 36%; width: 64%; height: 100%; object-fit: cover; object-position: right center; }
.side-dealer:has(.side-ph)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 42%, #2F2E2A00 88%); }
.side-dealer > :not(.side-ph) { position: relative; z-index: 2; }
.side-ph5 { right: -4px; bottom: -4px; width: 36%; max-width: 150px; height: auto; }
.cat-ph { width: 84px; height: 84px; margin: -8px -8px -12px auto; object-fit: contain; }

.hero-side { border-radius: var(--r-l); padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 200px; }
.hero-side :is(h2, h3) { font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); margin: 8px 0 0; max-width: 16ch; text-wrap: balance; }
.hero-side .eyebrow { color: #fff; }
.hero-side .sub { margin: 8px 0 0; opacity: .85; font-size: var(--fz-m); max-width: 32ch; }
.side-dealer { background: var(--ink); color: #fff; }
.side-dealer p { margin: 8px 0 0; font-size: var(--fz-m); color: #CFCBC3; max-width: 32ch; }
.side-sale { background: var(--red); color: #fff; }
.side-sale .gift { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.side-sale .gift :is(h2, h3) { margin: 0; max-width: 13ch; }
.side-sale .big { font: 800 56px/.9 var(--f-display); letter-spacing: -.03em; }
/* карточка дилера: цены, курс, долг, быстрые ссылки */
.side-dl h3 a { color: inherit; }
.dl-facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fz-m); color: #CFCBC3; }
.dl-facts li { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.dl-facts span { min-width: 44px; }
.dl-facts b { color: #fff; font-weight: 600; }
.dl-facts em { font-style: normal; font-weight: 600; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 8px; font-size: var(--fz-xs); }
.dl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-links .btn { flex: 1 1 auto; height: 40px; padding: 0 12px; font-size: var(--fz-s); }
.dl-links .btn:not(.btn-red) { background: #45433E; color: #fff; }
.dl-links .btn:not(.btn-red):hover { background: #57554F; }
/* карусель баннеров (логика — sinon.js) */
.hero-car { position: relative; min-width: 0; }
.hc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-l); }
.hc-track::-webkit-scrollbar { display: none; }
.hc-track > .hero-main { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; border-radius: 0; }
.hero-main .hc-from { margin: 0; font-size: var(--fz-b); }
.hc-from b { font: 700 var(--fz-h1)/1 var(--f-display); color: var(--ink); }
.hc-pics { position: relative; aspect-ratio: 4/3; width: 100%; max-width: 460px; justify-self: center; }
.hc-pics img { position: absolute; aspect-ratio: 1; height: auto; object-fit: contain; background: #fff; border-radius: var(--r-m); padding: 3%; box-shadow: var(--shadow); }
.hc-pics :first-child { right: 0; top: 3%; width: 62%; z-index: 1; }
.hc-pics :nth-child(2) { left: 0; bottom: 0; width: 40%; z-index: 2; }
.hc-pics :nth-child(3) { left: 4%; top: 0; width: 34%; }
.hc-nav, .hc-dots { display: flex; justify-content: center; align-items: center; }
.hc-nav { margin-top: 8px; }
.hc-nav[hidden] { display: none; }
.hc-nav button { width: 32px; height: 32px; border: 0; padding: 0; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.hc-nav svg { width: 18px; height: 18px; }
.hc-prev svg { rotate: 180deg; }
.hc-dots button { width: 22px; }
.hc-pause::before { content: ""; width: 8px; height: 11px; border: solid currentColor; border-width: 0 3px; box-sizing: border-box; }
.hc-pause[aria-pressed=true]::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.hc-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #CFCBC3; transition: width .2s; }
.hc-dots [aria-current]::before { width: 20px; background: var(--red); }
@media (min-width: 640px) { .hc-track { height: 100%; } .hc-prod { grid-template-columns: 1fr 1fr; } .hc-prod .hc-pics { grid-column: 2; grid-row: 1 / span 3; align-self: center; } .hc-nav { position: absolute; right: 14px; bottom: 14px; margin: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow); } }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: var(--fz-m); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ----- Категории ----- */
.sec { padding-top: 56px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cats { grid-template-columns: repeat(6, 1fr); } }
.cat { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 20px; border-radius: var(--r-m); background: var(--paper-2); min-height: 132px; transition: background .2s, color .2s; }
.cat svg { width: 38px; height: 38px; color: var(--ink); transition: color .2s, transform .25s; }
.cat b { font-weight: 600; font-size: var(--fz-b); line-height: var(--lh-s); }
.cat small { display: block; font-size: var(--fz-xs); color: var(--ink-3); margin-top: 4px; font-weight: 400; }
.cat:hover { background: var(--ink); color: #fff; }
.cat:hover svg { color: var(--red); transform: translateY(-2px); }
.cat:hover small { color: #A9A59D; }
.cat.first { background: var(--red-soft); grid-column: span 2; }

/* ----- Лента товаров ----- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--field-line) transparent; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 48px) / 5); } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper-2); font-size: var(--fz-m); font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; }
.chip.on { background: var(--ink); color: #fff; }

/* ----- Dahua ----- */
.brand-band { margin-top: 56px; border-radius: var(--r-l); background: #121211; color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr; position: relative; }
@media (min-width: 900px) { .brand-band { grid-template-columns: 1fr 1fr; } }
.brand-band .txt { padding: clamp(28px, 4vw, 56px); position: relative; z-index: 2; }
.brand-band .eyebrow { line-height: var(--lh); }
.brand-band .wordmark img { display: block; width: clamp(160px, 18vw, 240px); height: auto; margin-top: 16px; }
.brand-band p { color: #BDB9B1; max-width: 40ch; margin: 20px 0 24px; }
.brand-band .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.brand-band .pills a { border: 1px solid #3A3934; border-radius: 999px; padding: 8px 16px; font-size: var(--fz-m); }
.brand-band .pills a:hover { border-color: #fff; }
/* фото Dahua */
.brand-band .art { margin: 0 clamp(16px, 2.5vw, 32px) clamp(16px, 2.5vw, 32px); min-height: 240px; border-radius: var(--r-m); background: #fff; display: grid; place-items: center; overflow: hidden; }
@media (min-width: 900px) { .brand-band .art { margin: clamp(16px, 2.5vw, 32px); } }
.brand-band .art img { width: min(78%, 400px); height: auto; }

/* ----- Услуги: монтаж и подбор ----- */
.svc { margin-top: 56px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .svc { grid-template-columns: 1fr 1.2fr; } }
.svc-card { border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); background: var(--red); color: #fff; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; min-height: 260px; position: relative; overflow: hidden; }
.svc-card h3 { font: 700 var(--fz-h2)/var(--lh-t) var(--f-display); margin: 8px 0 0; max-width: 14ch; }
.svc-card p { margin: 0; max-width: 34ch; color: #FBE3E2; }
.svc-card .eyebrow { color: #fff; }
.svc-card .bg { position: absolute; right: -30px; bottom: -40px; width: 200px; height: 200px; color: rgba(255,255,255,.12); }
.picker { border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); background: var(--paper-2); }
.picker h3 { font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); margin: 8px 0 20px; }
.picker .q { margin-bottom: 16px; }
.picker .q > span { display: block; font-size: var(--fz-s); color: var(--ink-2); margin-bottom: 8px; }
.picker .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.picker .opts button { height: 40px; padding: 0 16px; border-radius: var(--r-m); background: #fff; font-size: var(--fz-m); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.picker .opts button.on { background: var(--ink); color: #fff; box-shadow: none; }
.picker .send { display: flex; gap: 8px; flex-wrap: wrap; }
.picker .phone-in { flex: 1; min-width: 220px; display: flex; align-items: center; background: #fff; border-radius: 999px; height: 48px; box-shadow: inset 0 0 0 1.5px var(--field-line); }
.picker .phone-in b { padding-left: 20px; }
.picker .phone-in input { border: 0; outline: 0; background: none; font: inherit; font-size: var(--fz-b); height: 100%; flex: 1; padding: 0 12px 0 8px; min-width: 0; }

/* ----- Почему мы ----- */
.why { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why div { padding: 24px; border-radius: var(--r-m); border: 1px solid var(--line); }
.why svg { width: 28px; height: 28px; color: var(--red); margin-bottom: 16px; }
.why b { display: block; font-weight: 600; margin-bottom: 4px; }
.why span { font-size: var(--fz-m); color: var(--ink-2); }

/* ===== Каталог ===== */

.cat-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-head .count { color: var(--ink-3); font-size: var(--fz-b); margin-left: 12px; font-family: var(--f-text); font-weight: 400; }
.cat-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; }
.cat-title .count { margin-left: 0; }
.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 20px; padding: 0 var(--gut); }
.subcats a { flex: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--paper-2); font-size: var(--fz-m); font-weight: 500; }
.subcats a.on { background: var(--ink); color: #fff; }
.subcats a svg { width: 28px; height: 28px; }

.layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1000px) {
	.layout { grid-template-columns: 264px minmax(0, 1fr); }
	.layout > .scrim { display: none; }
	.layout > .results { grid-column: 2; grid-row: 1; }
	.layout > .filters { grid-column: 1; grid-row: 1; }
}

/* ---- Фильтры ---- */
.filters { align-self: start; position: sticky; top: 96px; }
.f-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.f-group:first-child { padding-top: 0; }
.f-group h3 { font-size: var(--fz-m); font-weight: 600; margin: 0 0 12px; display: flex; justify-content: space-between; }
.f-group h3 small { color: var(--ink-3); font-weight: 400; }
.opt { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-size: var(--fz-m); cursor: pointer; }
.opt input { appearance: none; width: 20px; height: 20px; border-radius: var(--r-s); border: 1.5px solid var(--field-line); margin: 0; display: grid; place-items: center; transition: .15s; flex: none; }
.opt input:checked { background: var(--ink); border-color: var(--ink); }
.opt input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }
.opt .n { margin-left: auto; color: var(--ink-3); font-size: var(--fz-xs); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { height: 40px; min-width: 52px; padding: 0 12px; border-radius: var(--r-s); background: var(--paper-2); font-size: var(--fz-m); font-weight: 500; }
.seg button.on { background: var(--ink); color: #fff; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range input { width: 100%; min-width: 0; height: 40px; border: 1.5px solid var(--field-line); border-radius: var(--r-s); padding: 0 12px; font: inherit; font-size: var(--fz-m); }
.toggle { display: flex; justify-content: space-between; align-items: center; font-size: var(--fz-m); padding: 4px 0; }
.switch { width: 44px; height: 26px; border-radius: var(--r-m); background: var(--field-line); position: relative; transition: .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: .2s; }
.switch.on { background: var(--ok); }
.switch.on::after { left: 21px; }

@media (max-width: 999px) {
	.filters { position: fixed; inset: auto 0 0; top: auto; z-index: 60; background: #fff; border-radius: var(--r-l) var(--r-l) 0 0; max-height: 86vh; max-height: 86dvh; overflow: auto; padding: 8px 20px 100px; transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 40px rgba(0,0,0,.15); }
	.filters.open { transform: none; }
	.filters .sheet-head { display: flex; }
	.filters .sheet-foot { display: flex; }
	.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(20,20,18,.4); opacity: 0; pointer-events: none; transition: .3s; }
	.scrim.on { opacity: 1; pointer-events: auto; }
}
.sheet-head, .sheet-foot { display: none; }
.sheet-head { justify-content: space-between; align-items: center; position: sticky; top: -8px; background: #fff; padding: 12px 0; z-index: 2; margin-bottom: 8px; }
.sheet-head::before { content: ""; position: absolute; top: 2px; left: 50%; translate: -50%; width: 40px; height: 4px; border-radius: 2px; background: var(--line); }
.sheet-foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); gap: 12px; }

/* ---- Панель над товарами ---- */
.toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .filter-btn { display: none; }
@media (max-width: 999px) { .toolbar .filter-btn { display: inline-flex; } }
.select { height: 40px; border-radius: 999px; border: 0; background: var(--paper-2); padding: 0 32px 0 16px; font: inherit; font-size: var(--fz-m); font-weight: 500; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232F2E2A' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.views { margin-left: auto; display: flex; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.views button { width: 38px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-3); }
.views button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.views svg { width: 18px; height: 18px; }
.active-f { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-f span { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: var(--fz-s); font-weight: 500; }
.active-f svg { width: 14px; height: 14px; }
.active-f a { font-size: var(--fz-s); color: var(--ink-3); align-self: center; margin-left: 8px; text-decoration: underline; }

/* ---- Режим «список» для оптовиков ---- */
.list { display: none; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.row { display: grid; grid-template-columns: 56px 1fr 120px 128px 44px; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: var(--fz-m); }
.row:first-child { border-top: 0; }
.row:hover { background: var(--paper-2); }
.row.head { background: var(--paper-2); font-size: var(--fz-xs); color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.row .thumb { width: 56px; height: 56px; border-radius: var(--r-s); background: var(--paper-2); display: grid; place-items: center; }
.row:hover .thumb { background: #fff; }
.row .thumb svg { width: 44px; height: 44px; }
.row .nm b { font-weight: 500; display: block; }
.row .nm small { color: var(--ink-3); }
.row .pr { text-align: right; font-weight: 700; white-space: nowrap; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--field-line); border-radius: 999px; height: 40px; }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; }
.qty button svg { width: 14px; height: 14px; }
.qty input { width: 40px; text-align: center; border: 0; font: inherit; font-weight: 600; background: none; }
@media (max-width: 700px) {
	.row { grid-template-columns: 48px 1fr auto; grid-template-areas: "t n n" "t p a"; row-gap: 8px; }
	.row .thumb { grid-area: t; width: 48px; height: 48px; align-self: start; } .row .nm { grid-area: n; } .row .pr { grid-area: p; text-align: left; } .row .add { grid-area: a; width: 38px; height: 38px; }
	.row .qty, .row.head { display: none; }
}

.more { display: flex; justify-content: center; margin-top: 28px; }
.seo-text { margin-top: 56px; max-width: 72ch; color: var(--ink-2); font-size: var(--fz-b); }
.seo-text h2 { color: var(--ink); }

/* ===== Карточка товара ===== */

.pdp { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: 48px; } }

/* ---- Галерея ---- */
.gallery { position: relative; }
@media (min-width: 960px) { .gallery { position: sticky; top: 96px; align-self: start; } }
.stage { position: relative; aspect-ratio: 1; border-radius: var(--r-l); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.stage svg { width: 74%; height: 74%; transition: opacity .25s, transform .4s cubic-bezier(.2,.7,.2,1); }
.stage .tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 76px; height: 76px; border-radius: var(--r-m); background: var(--paper-2); display: grid; place-items: center; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s; }
.thumbs button.on { box-shadow: inset 0 0 0 2px var(--ink); }
.thumbs svg { width: 56px; height: 56px; }
.dots { display: none; }
@media (max-width: 959px) { .thumbs { display: none; } .dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; } .dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); } .dots i.on { width: 18px; background: var(--ink); } }

/* ---- Покупка ---- */
.p-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: var(--fz-s); color: var(--ink-3); }
.p-meta .copy { border-bottom: 1px dashed var(--ink-3); cursor: copy; }
.p-title { font: 700 var(--fz-h2)/var(--lh-t) var(--f-display); letter-spacing: -.01em; margin: 12px 0 16px; }
.keyspecs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 24px 0; }
@media (min-width: 560px) { .keyspecs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.keyspecs div { background: var(--paper-2); border-radius: var(--r-m); padding: 12px 16px; }
.keyspecs b { display: block; font: 700 var(--fz-l)/var(--lh-t) var(--f-display); }
.keyspecs span { font-size: var(--fz-xs); color: var(--ink-3); }

.buybox { border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; }
.buybox .row1 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buybox .price { font-size: var(--fz-h1); }
.buybox .save { background: var(--red-soft); color: var(--red); border-radius: var(--r-s); padding: 4px 8px; font-size: var(--fz-s); font-weight: 600; }
.promo-line { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 12px; background: #FFF8D6; border-radius: var(--r-m); font-size: var(--fz-m); }
.promo-line .tag { flex: none; }
.buy-actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 20px; }
.buy-actions .qty { display: flex; align-items: center; border: 1.5px solid var(--field-line); border-radius: 999px; height: 48px; }
.buy-actions .qty button { width: 42px; height: 100%; display: grid; place-items: center; }
.buy-actions .qty svg { width: 16px; height: 16px; }
.buy-actions .qty input { width: 36px; text-align: center; border: 0; font: inherit; font-weight: 600; font-size: var(--fz-b); background: none; }
.buy-actions .btn { height: 48px; font-size: var(--fz-b); }
.one-click { grid-column: 1 / -1; }
.one-click svg { color: var(--red); width: 20px; height: 20px; }
.secondary { display: flex; gap: 20px; margin-top: 16px; font-size: var(--fz-m); color: var(--ink-2); }
.secondary button { display: inline-flex; align-items: center; gap: 8px; }
.secondary svg { width: 18px; height: 18px; }
.secondary .on { color: var(--red); }

.delivery { margin-top: 12px; display: grid; gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.delivery div { background: #fff; display: flex; gap: 12px; align-items: center; padding: 16px 16px; font-size: var(--fz-m); }
.delivery svg { width: 24px; height: 24px; flex: none; }
.delivery b { font-weight: 600; display: block; }
.delivery small { color: var(--ink-3); }
.delivery .ok { margin-left: auto; color: var(--ok); font-weight: 600; white-space: nowrap; }

/* ---- Табы ---- */
.tabs { margin-top: 64px; }
.tab-nav { display: flex; gap: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--hdr-h, 76px); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); z-index: 5; }
@media (max-width: 767px) { .tab-nav { top: var(--hdr-h, 112px); } }
.tab-nav a { padding: 16px 4px; margin-right: 20px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-nav a.on { color: var(--ink); border-color: var(--red); }
.tab-body { display: grid; gap: 40px; grid-template-columns: 1fr; padding-top: 28px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fz-b); }
.spec-table caption { text-align: left; font: 600 var(--fz-s)/1 var(--f-text); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); padding: 20px 0 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec-table th { font-weight: 400; color: var(--ink-2); width: 48%; padding-right: 16px; }
.spec-table td { font-weight: 500; }
.spec-pdf { font-weight: 400; font-size: var(--fz-xs); color: var(--ink-3); }
.desc p { margin: 0 0 16px; color: var(--ink-2); }
.desc ul { padding-left: 20px; color: var(--ink-2); }
.desc li { margin-bottom: 8px; }
.desc li b { color: var(--ink); }

/* ---- Липкая панель покупки: телефон и планшет (до 960 px — одна колонка) ---- */
.sticky-buy { display: none; }
@media (max-width: 959px) {
	.sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 35; gap: 12px; align-items: center; padding: 12px var(--gut); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(150%); transition: transform .25s; }
	.sticky-buy.show { transform: none; }
	.sticky-buy .price { font-size: var(--fz-l); }
	.sticky-buy .btn { margin-left: auto; height: 48px; }
}

/* ---- Модальное окно «Купить в 1 клик» ---- */
dialog { border: 0; border-radius: var(--r-l); padding: 0; width: min(440px, calc(100% - 32px)); box-shadow: var(--sh-3); }
dialog::backdrop { background: rgba(20,20,18,.45); backdrop-filter: blur(3px); }
.dlg { padding: 28px; }
.dlg h2 { font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); margin: 0 0 8px; display: flex; gap: 12px; align-items: center; }
.dlg h2 svg { width: 26px; height: 26px; color: var(--red); }
.dlg p { color: var(--ink-2); margin: 0 0 20px; font-size: var(--fz-m); }
.dlg .mini { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--paper-2); border-radius: var(--r-m); margin-bottom: 20px; font-size: var(--fz-m); }
.dlg .mini svg { width: 52px; height: 52px; flex: none; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: var(--fz-s); color: var(--ink-2); margin-bottom: 8px; }
.field input { width: 100%; height: 48px; border-radius: var(--r-m); border: 1.5px solid var(--field-line); padding: 0 16px; font: inherit; font-size: var(--fz-l); outline: none; }
.field input:focus { border-color: var(--ink); }
.dlg .fine { font-size: var(--fz-xs); color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.dlg .close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; }
.dlg .close svg { width: 18px; height: 18px; }
.done { text-align: center; padding: 12px 0; display: none; }
.done .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: #E6F4EC; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.done .ok-ico svg { width: 32px; height: 32px; }

/* v2 */
.inst-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: var(--fz-m); color: var(--ink-2); }
.inst-line .alif { background: #00A66E; color: #fff; font: 700 var(--fz-xs)/1 var(--f-text); border-radius: 5px; padding: 4px 8px; letter-spacing: .02em; }
.inst-line b { color: var(--ink); }
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ask .btn { height: 42px; font-size: var(--fz-m); }
@media (max-width: 480px) { .ask { grid-template-columns: minmax(0, 1fr) auto; } }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.trust div { display: flex; gap: 8px; align-items: center; font-size: var(--fz-s); color: var(--ink-2); background: var(--paper-2); border-radius: var(--r-m); padding: 12px 12px; }
.trust svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.spec-table tr:nth-child(even) th, .spec-table tr:nth-child(even) td { background: var(--paper-2); }
.spec-table th, .spec-table td { padding-left: 12px; border-bottom: 0; }
.spec-table td { padding-right: 12px; }
.docs { display: grid; gap: 8px; margin-top: 28px; }
.docs a { display: flex; gap: 12px; align-items: center; padding: 16px 16px; border: 1px solid var(--line); border-radius: var(--r-m); font-size: var(--fz-m); }
.docs a:hover { border-color: var(--ink); }
.docs svg { width: 24px; height: 24px; color: var(--red); flex: none; }
.docs small { color: var(--ink-3); margin-left: auto; white-space: nowrap; }
.bundle { border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.b-item { display: grid; grid-template-columns: 24px 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; border-radius: var(--r-m); cursor: pointer; }
.b-item > span { overflow-wrap: anywhere; }
@media (max-width: 400px) { .b-item { grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 8px; } .b-item .th { width: 44px; height: 44px; } }
.b-item:hover { background: var(--paper-2); }
.b-item input { appearance: none; width: 22px; height: 22px; border-radius: var(--r-s); border: 1.5px solid #CBC7BF; margin: 0; display: grid; place-items: center; }
.b-item input:checked { background: var(--ink); border-color: var(--ink); }
.b-item input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }
.b-item .th { width: 56px; height: 56px; border-radius: var(--r-s); background: var(--paper-2); display: grid; place-items: center; }
.b-item .th svg { width: 46px; height: 46px; }
.b-item b { font-weight: 500; font-size: var(--fz-m); display: block; }
.b-item small { font-size: var(--fz-xs); color: var(--ink-3); }
.b-item .pr { font-weight: 700; white-space: nowrap; }
.b-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; flex-wrap: wrap; }
.b-total .btn { max-width: 100%; height: auto; min-height: 48px; white-space: normal; text-align: center; }
.b-total .sum { font: 700 var(--fz-xl)/1 var(--f-text); }
.service { margin-top: 20px; display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-m); background: var(--ink); color: #fff; }
.service svg { width: 28px; height: 28px; color: var(--red); flex: none; }
.service b { display: block; }
.service small { color: #BDB9B1; }
.service .btn { margin-left: auto; }
@media (max-width: 560px) { .service { flex-wrap: wrap; } .service .btn { margin-left: 0; width: 100%; } }

/* ===== Сравнение ===== */

/* Таблица */

/* ================================================== */
body { margin: 0; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 16px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ico { width: 20px; height: 20px; flex: none; }
.small { font-size: var(--fz-s); }
.btn-white { background: #fff; color: var(--ink); align-self: flex-start; }
.btn-white:hover { background: var(--paper-2); }

/* фото товаров — на белом */
.card .ph img, .stage img, .row .thumb img, .sg-img img, .b-item .th img, .prod .ph img, .thumbs img {
	width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block;
}
.card .ph { background: #fff; border: 1px solid var(--line); }
.card .ph img { padding: 8%; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ph-empty { display: grid; place-items: center; width: 100%; height: 100%; color: #D3CFC7; }
.ph-empty .ico { width: 40%; height: 40%; }
.card .name { color: var(--ink); }
.card .name:hover { color: var(--red); }
.card .prices { min-width: 0; }
.price-req { font-size: var(--fz-b); color: var(--ink-2); font-weight: 600; }
.add-req { background: var(--paper-2); color: var(--ink); }
.add.added, .add[data-state="ok"] { background: var(--ok); }
.add[data-state="busy"] { opacity: .6; pointer-events: none; }

/* Шапка: поиск с кнопкой «Найти», мега-меню */
.search .search-ico { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-3); }
.search input[type="search"] { padding-right: 92px; }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: var(--fz-m); }
.search-go:hover { background: var(--red); }
.search.big { max-width: 640px; margin-top: 20px; }
.search.big input { height: 56px; width: 100%; }
.logo img { display: block; }
.catalog-btn[aria-expanded="true"] { background: var(--ink); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh-3); z-index: 40; max-height: calc(100vh - 120px); overflow: auto; }
.mega-in { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding-top: 20px; padding-bottom: 28px; }
.mega-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-top a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: var(--r-m); font-weight: 500; }
.mega-top a .ico { width: 26px; height: 26px; color: var(--ink-2); }
.mega-top a .chev { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); }
.mega-top li.on a, .mega-top a:hover { background: var(--paper-2); color: var(--ink); }
.mega-top li.on a .ico:first-child { color: var(--red); }
.mega-sub ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.mega-sub li { break-inside: avoid; }
.mega-sub li a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 12px; border-radius: var(--r-s); }
.mega-sub li a:hover { background: var(--paper-2); color: var(--red); }
.mega-sub small { color: var(--ink-3); }
.mega-subs { position: relative; } .mega-pic { position: absolute; right: 0; bottom: 0; width: 240px; height: auto; pointer-events: none; } @media (max-width: 1099px) { .mega-pic { display: none; } }
.mega-all { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); margin: 8px 12px 16px; }
.mega-all .ico { width: 18px; height: 18px; }
.mega-head { display: none; }
@media (max-width: 767px) {
	.mega { position: fixed; inset: 0 0 64px; top: 0; max-height: none; z-index: 70; border: 0; }
	.mega-in { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
	.mega-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0; font-size: var(--fz-xl); z-index: 2; }
	.mega-head button .ico { width: 24px; height: 24px; }
	.mega-sub, .mega.sub-open :is(.mega-top, .mega-more) { display: none; }
	.mega.sub-open .mega-sub:not([hidden]) { display: block; }
	.mega-sub ul { columns: 1; }
	.mega-sub li a, .mega-more a, .mega-back { min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
	.mega-all { margin: 8px 4px 12px; }
	.mega-more { display: grid; margin-top: 12px; }
	.mega-more a { display: flex; gap: 12px; font-weight: 500; }
	.mega-more .ico { width: 22px; height: 22px; color: var(--ink-2); }
	.mega-more .n { margin-left: auto; font-size: var(--fz-s); color: var(--ink-3); }
	.mega-back { display: flex; gap: 8px; width: 100%; font-weight: 600; }
	.mega-back .ico { width: 16px; height: 16px; rotate: 180deg; }
	.mega-top a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.mega-top li.on a { background: none; }
}

/* Подсказки поиска (живые данные) */
.sg-img img { border-radius: var(--r-s); }
.sg-cat { display: flex; justify-content: space-between; padding: 12px; border-radius: var(--r-s); font-size: var(--fz-m); }
.sg-cat:hover { background: var(--paper-2); }
.sg-cat small { color: var(--ink-3); }
@media (max-width: 767px) {
	.suggest { position: fixed; left: 8px; right: 8px; top: auto; max-height: 45dvh; }
	.suggest.open { display: flex; flex-direction: column; } .suggest.open > * { flex: none; }
	.suggest .sg-all { order: -1; position: sticky; top: -8px; z-index: 1; background: #fff; border: 0; border-bottom: 1px solid var(--line); margin: -8px -8px 8px; }
	.active-f { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .active-f a { flex: none; }
}
.filter-btn .fb-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: var(--fz-xs); margin-left: 8px; }

/* Каталог */
.subcats a small { color: var(--ink-3); font-weight: 400; }
.subcats a.on small { color: #A9A59D; }
.subcats a { padding: 0 16px; }
.search-note { margin: -8px 0 16px; color: var(--ink-2); }
details.f-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
details.f-group > summary::-webkit-details-marker { display: none; }
details.f-group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; translate: 0 -3px; transition: rotate .2s; }
details.f-group[open] > summary::after { rotate: 225deg; translate: 0 2px; }
details.f-group > summary h3 { margin: 0; }
details.f-group > summary small { margin-left: auto; margin-right: 12px; background: var(--ink); color: #fff; border-radius: var(--r-s); min-width: 18px; height: 18px; display: grid; place-items: center; font-size: var(--fz-xs); }
details.f-group[open] > summary { margin-bottom: 12px; }
.seg button small { margin-left: 4px; font-size: var(--fz-xs); color: var(--ink-3); } .seg button.on small { color: inherit; }
.seg button:disabled { opacity: .35; cursor: default; }
.opts.long:not(.all) .opt:nth-child(n+8) { display: none; }
.more-opts { color: var(--ink-2); font-size: var(--fz-s); text-decoration: underline; padding: 8px 0; }
.f-toggles .toggle { cursor: pointer; }
.f-toggles .toggle input { position: absolute; opacity: 0; pointer-events: none; }
.f-toggles .toggle input:checked + .switch { background: var(--ok); }
.f-toggles .toggle input:checked + .switch::after { left: 21px; }
.active-f a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: var(--fz-s); font-weight: 500; text-decoration: none; }
.active-f a .ico { width: 14px; height: 14px; }
.active-f a.reset { background: none; color: var(--ink-3); text-decoration: underline; }
.views a { width: 38px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-3); }
.views a.on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.views .ico { width: 18px; height: 18px; }
.results.loading { opacity: .5; pointer-events: none; transition: opacity .2s; }
.list { display: block; }
.row .nm a:hover b { color: var(--red); }
.row .pr .price { font-size: var(--fz-b); }
.row .pr .price-old { font-size: var(--fz-xs); }
.row .req { height: 38px; }
@media (min-width: 701px) { .row { grid-template-columns: 56px 1fr 130px 120px 44px; } .row .req { grid-column: span 2; } }
.pager { display: grid; justify-items: center; gap: 16px; margin-top: 28px; }
.pager .pages { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pager .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-s); font-weight: 500; padding: 0 8px; }
.pager .page-numbers.current { background: var(--ink); color: #fff; }
.pager a.page-numbers:hover { background: var(--paper-2); }
.empty { padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--r-l); text-align: center; }
.empty b { display: block; font-size: var(--fz-l); margin-bottom: 8px; }
.empty p { color: var(--ink-2); margin: 0 0 16px; }
.empty-act { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.empty-ph { display: block; width: 180px; height: auto; margin: -16px auto 4px; }
.kit-top { display: block; width: 100%; height: clamp(150px, 22vw, 300px); object-fit: cover; border-radius: var(--r-l); margin: 8px 0 16px; }
.nf-ph { float: right; width: min(40%, 300px); height: auto; margin: 0 0 12px 16px; }
.layout.no-f { grid-template-columns: 1fr; } .layout.no-f > .results { grid-column: 1; }
.e-help { max-width: 640px; margin: 0 auto 8px; text-align: left; } .e-q b { width: 100%; font-size: var(--fz-b); } .e-h { margin: 32px 0 16px; }
.seo-text p { margin: 0 0 12px; }

/* Карточка товара: галерея со свайпом */
.stage .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; width: 100%; height: 100%; }
.stage .slides::-webkit-scrollbar { display: none; }
.stage .slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; place-items: center; padding: 6%; cursor: zoom-in; }
.stage { background: #fff; border: 1px solid var(--line); }
.thumbs button { background: #fff; border: 1px solid var(--line); padding: 8px; }
.dots i { transition: width .2s; }
.p-meta a { color: var(--ink-2); font-weight: 600; }
.p-meta .copy { border: 0; border-bottom: 1px dashed var(--ink-3); padding: 0; font: inherit; color: var(--ink-2); cursor: copy; }
.p-meta .copy.done { color: var(--ok); border-color: var(--ok); }
.buybox .muted { margin: 8px 0 0; }
.buy-actions { margin-top: 20px; }
.buy-actions .one-click .ico, .buy-actions .one-click svg { color: var(--red); width: 20px; height: 20px; }
.delivery .ok.ink { color: var(--ink); }
.tab-nav { margin-top: 56px; }
@media (min-width: 960px) { .tab-body { grid-template-columns: 1fr 1.2fr; } .p-docs { grid-column: 1 / -1; } }
.p-docs .docs { margin-top: 0; }
.points { padding-left: 20px; margin: 0 0 16px; }
.points li { margin-bottom: 8px; color: var(--ink-2); }
.desc h3 { font-size: var(--fz-l); margin: 28px 0 12px; }
.docs a .ico { color: var(--red); width: 24px; height: 24px; }
.bundle .b-item a { color: var(--ink); }
.bundle .b-item a:hover b { color: var(--red); }
.sec .h2 { margin-bottom: 20px; }
.pdp-page .sec > .muted { margin: -12px 0 16px; }
body.has-sticky-buy .tabbar { box-shadow: none; }

/* Окно «Купить в 1 клик» */
.oc .dlg { padding: 28px; position: relative; }
.oc h2 { font: 700 var(--fz-xl)/var(--lh-t) var(--f-display); margin: 0 0 8px; display: flex; gap: 12px; align-items: center; }
.oc h2 svg { width: 26px; height: 26px; color: var(--red); }
.oc p { color: var(--ink-2); margin: 0 0 20px; font-size: var(--fz-m); }
.oc .mini { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--paper-2); border-radius: var(--r-m); margin-bottom: 20px; font-size: var(--fz-m); }
.oc .mini img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.oc .field > span { display: block; font-size: var(--fz-s); color: var(--ink-2); margin-bottom: 8px; }
.oc .field input { width: 100%; height: 48px; border-radius: var(--r-m); border: 1.5px solid var(--field-line); padding: 0 16px; font: inherit; font-size: var(--fz-l); outline: none; }
.phone-in { display: flex; align-items: center; border: 1.5px solid var(--field-line); border-radius: var(--r-m); height: 48px; background: #fff; }
.phone-in:focus-within { border-color: var(--ink); }
.phone-in b { padding: 0 2px 0 16px; font-weight: 600; font-size: var(--fz-l); }
.phone-in input { border: 0 !important; height: 100% !important; flex: 1; font: inherit; font-size: var(--fz-l); outline: none; padding: 0 12px 0 8px !important; background: none; min-width: 0; letter-spacing: .02em; }
.oc .close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; }
.oc .close svg { width: 18px; height: 18px; }
.oc .fine { font-size: var(--fz-xs); color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.oc .err { color: var(--red); font-size: var(--fz-m); margin: 0 0 12px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { margin: 12px 0 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--red); }

/* Тост «Добавлено в корзину» */
.toast { position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; opacity: 0; z-index: 90; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-m); display: flex; gap: 12px; align-items: center; box-shadow: var(--sh-3); transition: .25s; font-size: var(--fz-m); max-width: calc(100% - 32px); }
.toast.show { translate: -50% 0; opacity: 1; }
.toast a { color: var(--promo); font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) { .toast { bottom: 84px; } }

/* Сравнение (живые данные) */

/* Страницы, корзина и оформление WooCommerce */
.sinon-page { padding-top: 24px; padding-bottom: 24px; }
.sinon-page-title { font-size: var(--wp--preset--font-size--xx-large); margin: 12px 0 24px; }

.woocommerce form .form-row input.input-text { border-radius: var(--r-m); border: 1.5px solid var(--field-line); padding: 12px 16px; }
.woocommerce button.button, .woocommerce a.button { border-radius: 999px; background: var(--red); color: #fff; padding: 16px 24px; font-weight: 600; }

/* 404 */
.not-found { padding-top: 48px; }
.not-found .h1 { margin: 8px 0; }

/* Заголовки на тёмных и красных блоках */
.side-dealer :is(h1, h2, h3), .side-sale :is(h1, h2, h3), .svc-card :is(h2, h3), .brand-band :is(h2, h3), .footer h4, .hello h1 { color: inherit; }
.qty input, .buy-actions .qty input { padding: 0 !important; border: 0 !important; width: 40px; min-width: 0; text-align: center; font: 600 var(--fz-b) var(--f-text); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.secondary { flex-wrap: wrap; gap: 8px 20px; }
.secondary > * { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink-2); }
.secondary > a { white-space: normal; min-width: 0; }
.secondary .ico { width: 18px; height: 18px; }

/* Этап A: доставка, НДС */
@media (max-width: 767px) { .topbar .wrap { gap: 16px; } }
/* A2-MOB-001 */
@media (max-width: 420px) { .topbar .msg { display: none; } }
.vat-note { font-size: var(--fz-xs); color: var(--ink-3); margin: 12px 0 0; }
.catalog > .vat-note { margin-top: 20px; }

/* Кнопка «Спросить» */
.ask-fab { position: fixed; right: 16px; bottom: 20px; z-index: 45; display: grid; justify-items: end; gap: 12px; }
.ask-fab { transform: translateY(var(--fab-y, 0)); transition: transform .25s, opacity .25s; }
.ask-fab.away { transform: translateY(150%); opacity: 0; pointer-events: none; }
.f-fab { display: none; }
@media (max-width: 999px) { .f-fab.on { display: inline-flex; min-height: 44px; position: fixed; left: 12px; bottom: 80px; z-index: 44; box-shadow: var(--sh-3); } html.sheet-open .f-fab { display: none; } }
.ask-btn { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--sh-3); }
.ask-btn svg { width: 24px; height: 24px; color: var(--promo); }
.ask-btn:hover { background: var(--red); }
.ask-menu { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-3); padding: 16px; display: grid; gap: 8px; width: 270px; }
.ask-menu > b { font-size: var(--fz-m); margin: 2px 4px 8px; }
.ask-menu a, .ask-menu button { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: var(--r-m); font-weight: 600; font-size: var(--fz-b); text-align: left; }
.ask-menu svg, .ask-menu .ico { width: 20px; height: 20px; flex: none; }
.ask-wa { background: #0E7A3E; color: #fff !important; }
.ask-tg { background: #0B76B0; color: #fff !important; }
.ask-call, .ask-cb { background: var(--paper-2); color: var(--ink); }
.ask-call:hover, .ask-cb:hover { background: var(--paper-3); }
@media (max-width: 767px) {
	.ask-fab { bottom: 80px; right: 12px; }
	.ask-btn { height: 48px; padding: 0 16px; }
	.ask-btn span { display: none; }
	body.has-sticky-buy .ask-fab { bottom: 148px; }
}

.ask-menu[hidden], .mega[hidden] { display: none !important; }

/* ===== Этап B: калькулятор и комплекты ===== */
.kit-head { margin: 8px 0 20px; max-width: 760px; }
.kit-head .muted { margin: 8px 0 0; }

.kits { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .kits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kits { grid-template-columns: repeat(4, 1fr); } .kits-page .kits { grid-template-columns: repeat(3, 1fr); } }
.kit-card { border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; transition: box-shadow .2s; }
.kit-card:hover { box-shadow: var(--shadow); }
.kit-pics { position: relative; display: flex; gap: 4px; background: var(--paper-2); border-radius: var(--r-m); padding: 12px; height: 120px; align-items: center; justify-content: center; }
.kit-pics img { width: 30%; height: 100px; object-fit: contain; mix-blend-mode: multiply; }
.kit-obj { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-size: var(--fz-xs); font-weight: 700; padding: 4px 8px; border-radius: var(--r-s); }
.kit-card h3 { font-size: var(--fz-l); margin: 4px 0 0; }
.kit-card .muted { font-size: var(--fz-s); margin: 0; }
.kit-list { list-style: none; margin: 4px 0 0; padding: 0; font-size: var(--fz-xs); display: grid; gap: 4px; }
.kit-list li { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: var(--ink-2); }
.kit-list li span { display: none; }
.kit-list li b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kit-list li em { font-style: normal; color: var(--ink-3); }
.kit-bottom { margin-top: auto; padding-top: 12px; display: grid; gap: 8px; }
.kit-bottom .price { font-size: var(--fz-xl); }
.kit-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-cta { margin-top: 12px; display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r-l); background: var(--ink); color: #fff; }
.calc-cta .ico { width: 28px; height: 28px; color: var(--promo); }
.calc-cta b { display: block; }
.calc-cta small { color: #CFCBC3; }
.calc-cta .ico:last-child { margin-left: auto; color: #fff; width: 20px; height: 20px; }
.calc-cta:hover { background: var(--red); color: #fff; }
.mega-promo { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 12px 12px; }
.mega-promo a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: var(--r-s); background: var(--red-soft); color: var(--red); font-weight: 600; font-size: var(--fz-m); }
.mega-promo .ico { width: 18px; height: 18px; }
.service.light { background: var(--paper-2); color: var(--ink); margin-top: 8px; }
.service.light small { color: var(--ink-2); }
.cart-kp { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; }
.cart-kp .muted { font-size: var(--fz-s); }
.footer .f-contacts { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; font-size: var(--fz-s); }
.f-contacts li { display: flex; gap: 8px; align-items: flex-start; }
.f-contacts .ico { width: 16px; height: 16px; color: var(--red); margin-top: 2px; }
.f-contacts a { color: #fff; text-decoration: underline; text-decoration-color: #6B6862; }
.footer .slogan { font-style: italic; color: #fff; }

/* ---------- Этап C */
.crumbs a + a::before { content: "/"; content: "/" / ""; margin-right: 8px; color: var(--line); }
.sec-sub { margin: -12px 0 20px; max-width: 70ch; font-size: var(--fz-m); }

.sol-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .sol-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sol-tile:first-child:nth-last-child(odd) { grid-column: span 2; }
.sol-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; min-height: 172px; border-radius: var(--r-m); background: var(--paper-2); overflow: hidden; transition: background .2s, color .2s; }
.sol-tile .sol-ico { width: 46px; height: 46px; border-radius: var(--r-m); background: #fff; display: grid; place-items: center; margin-bottom: 8px; transition: background .2s; }
.sol-tile .sol-ico svg { width: 28px; height: 28px; color: var(--red); }
.sol-tile b { font-weight: 700; font-size: var(--fz-b); line-height: var(--lh-t); }
.sol-tile small { font-size: var(--fz-xs); color: var(--ink-2); line-height: var(--lh-s); }
.sol-tile .sol-from { margin-top: auto; padding-top: 8px; font-size: var(--fz-s); color: var(--ink-3); }
.sol-tile .sol-from b { font-size: var(--fz-m); color: var(--ink); }
.sol-tile:hover { background: var(--ink); color: #fff; }
.sol-tile:hover small, .sol-tile:hover .sol-from { color: #BDB9B1; }
.sol-tile:hover .sol-from b { color: #fff; }
.sol-tile:hover .sol-ico { background: #3A3934; }

.sol-hero { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 960px) { .sol-hero { grid-template-columns: 1.35fr 1fr; align-items: stretch; } }
.sol-hero-txt { border-radius: var(--r-l); padding: clamp(24px, 4vw, 48px); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.sol-hero-txt::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle at 90% 10%, #000, transparent 65%); pointer-events: none; }
.sol-hero-txt .eyebrow { color: #BDB9B1; display: inline-flex; align-items: center; gap: 8px; }
.sol-hero-txt .eyebrow svg { width: 22px; height: 22px; color: var(--red); }
.sol-hero-txt .h1 { margin: 16px 0 12px; max-width: 20ch; color: #fff; position: relative; z-index: 1; }
.sol-lead { color: #D6D2CA; max-width: 52ch; margin: 0 0 24px; font-size: var(--fz-b); }
.sol-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.sol-hero .btn-ghost { background: #3A3934; color: #fff; }
.sol-hero .btn-ghost:hover { background: #4A4943; }
.sol-tasks { list-style: none; margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: var(--paper-2); display: flex; flex-direction: column; gap: 16px; }
.sol-tasks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: var(--lh-s); }
.sol-tasks li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E6F4EC; color: var(--ok); }
.sol-tasks .sol-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: block; font-weight: 400; }
.sol-tasks .sol-price b { display: block; font: 700 var(--fz-h2)/var(--lh-t) var(--f-display); color: var(--red); margin-top: 2px; }
.sol-tasks .sol-price small { color: var(--ink-3); font-size: var(--fz-xs); }
.sol-tph { display: block; width: calc(100% + 36px); max-width: none; height: 128px; margin: -20px -20px 8px; object-fit: cover; }
.sol-hero-txt > .sol-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.4); }
.sol-hero-txt:has(.sol-ph) > :not(.sol-ph) { position: relative; z-index: 1; }
.sol-det img { width: 100%; height: auto; border-radius: var(--r-m); }

.sol-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .sol-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sol-steps { grid-template-columns: repeat(4, 1fr); } }
.sol-steps li { border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; }
.sol-steps .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; margin-bottom: 12px; }
.sol-steps b { display: block; font-size: var(--fz-b); margin-bottom: 4px; }
.sol-steps p { margin: 0; font-size: var(--fz-m); color: var(--ink-2); }
.sol-steps-wrap { padding-top: 56px; }

.sol-cta { margin-top: 56px; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .sol-cta { grid-template-columns: 1fr 1.2fr; } }
.sol-cta-txt { border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); background: var(--red); color: #fff; }
.sol-cta-txt .eyebrow { color: #fff; }
.sol-cta-txt .h2 { margin: 12px 0 12px; }
.sol-cta-txt p { color: #FBE3E2; margin: 0; }
.sol-cta-txt a { color: #fff; font-weight: 700; white-space: nowrap; }

.sol-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 860px; }
.sol-faq .h2 { margin-bottom: 12px; }
.sol-faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; font-size: var(--fz-b); position: relative; }
.sol-faq summary::-webkit-details-marker { display: none; }
.sol-faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: var(--fz-xl); color: var(--ink-3); }
.sol-faq details[open] summary::after { content: "−"; }
.sol-faq details p { margin: 0 0 16px; color: var(--ink-2); max-width: 70ch; }

.tech-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .tech-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; } .tech-tile.big { grid-row: span 2; } .tech-tile:last-child:nth-child(3n+2) { grid-column: 1 / -1; } .tech-tile:last-child:nth-child(3n+2) img { width: 24%; }
	/* 8, 12… плиток — ровная сетка 4 × N без растянутой пустой плитки внизу */
	.tech-tiles:has(> :last-child:nth-child(4n)) > .tech-tile { grid-row: auto; grid-column: auto; } .tech-tiles:has(> :last-child:nth-child(4n)) > .tech-tile img { width: 52%; } }
.tech-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; min-height: 170px; border-radius: var(--r-m); background: var(--paper-2); overflow: hidden; transition: box-shadow .2s; }
.tech-tile:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tech-tile .tt-txt { position: relative; z-index: 1; }
.tech-tile b { display: block; font-size: var(--fz-b); line-height: var(--lh-t); }
.tech-tile small { display: block; font-size: var(--fz-xs); color: var(--ink-3); margin-top: 4px; }
.tech-tile img { flex: 1 1 0; min-height: 64px; align-self: flex-end; width: 52%; height: auto; margin: 8px -8px -8px 0; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; transition: transform .25s; }
.tech-tile.big img { width: 78%; }
.tech-tile:hover img { transform: scale(1.04); }
.tech-picks { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px calc(-1 * var(--gut)) 0; padding: 0 var(--gut); align-items: center; }
.tech-picks .muted { flex: none; font-size: var(--fz-m); }
.tech-picks a { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fz-m); display: inline-flex; align-items: center; }
.tech-picks a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- Этап E: подписка в подвале ---------- */
.f-sub { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 0 0 36px; margin-bottom: 40px; border-bottom: 1px solid #45433E; }
@media (min-width: 900px) { .f-sub { grid-template-columns: 1fr 1.1fr; } }
.f-sub-txt b { display: block; color: #fff; font: 700 var(--fz-xl)/var(--lh-s) var(--f-display); margin-bottom: 4px; }
.f-sub-txt span { color: #A9A59D; }
.f-sub-row { display: flex; gap: 8px; }
.f-sub-row input[type=email] { flex: 1; min-width: 0; height: 48px; border-radius: var(--r-m); border: 1px solid #45433E; background: #3A3934; color: #fff; padding: 0 16px; font: inherit; font-size: var(--fz-b); }
.f-sub-row input[type=email]::placeholder { color: #A9A59D; }
.f-sub-row input[type=email]:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.f-sub .btn { height: 48px; flex: none; }
.f-sub .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-sub-tg { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; color: #fff; font-weight: 600; }
.f-sub-tg svg { width: 18px; height: 18px; fill: currentColor; }
.f-sub-msg { grid-column: 1 / -1; margin: 0; font-size: var(--fz-m); }
.f-sub-msg.ok { color: #8FD3AE; }
.f-sub-msg.err { color: #F2A19F; }

/* ---------- Этап F: цены дилера и кабинет ---------- */
.price-dealer { font-size: var(--fz-xs); font-weight: 600; color: var(--ok); letter-spacing: .02em; }
.price-retail { font-size: var(--fz-xs); color: var(--ink-3); }
.price-dealer.is-retail { color: var(--ink-2); }
.price-dir { font-size: var(--fz-xs); line-height: var(--lh-s); color: var(--ink-2); }
.price-dir a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.row-dealer { flex-direction: column; align-items: flex-start; gap: 2px; }
.row-dealer .price { font-size: var(--fz-h1); }

/* Кабинет: кто вошёл + меню */

/* ---------- Этап H: кнопка Роботҷона в меню «Спросить» ---------- */
.ask-robot { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px; border: 0; border-radius: var(--r-m); background: linear-gradient(135deg, #EEF4FF, #FBEDEC); cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.ask-robot img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.ask-robot b { display: block; font-size: var(--fz-b); }
.ask-robot small { display: block; font-size: var(--fz-xs); color: var(--ink-2); }
.ask-robot:hover { filter: brightness(.97); }

/* ---------- Этап I: переключатель языка ---------- */
.lang-sw { display: inline-flex; gap: 2px; background: #3A3934; border-radius: 999px; padding: 2px; }
.lang-sw a { padding: 2px 8px; border-radius: 999px; font-size: var(--fz-xs); line-height: 18px; color: #CFCBC3; }
.lang-sw a[aria-current] { background: #fff; color: var(--ink); font-weight: 600; }

/* Turnstile */
.ts-box { margin-top: 12px; }
.ts-box:empty { display: none; }
/* подсказки по смыслу запроса */
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.search-hints a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-m); background: var(--red-soft); color: var(--red); font-weight: 600; font-size: var(--fz-m); }
.search-hints a:hover { background: #F6D9D7; }
.search-hints svg { width: 16px; height: 16px; }
/* быстрый заказ: проверка перед корзиной */

/* приложение */
.app-bar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 12px; background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-3); font-size: var(--fz-m); max-width: 520px; margin: 0 auto; }
.app-bar img { border-radius: var(--r-s); flex: none; }
.app-bar span { flex: 1; line-height: var(--lh-s); }
.app-bar .btn { flex: none; }
.app-bar-x { border: 0; background: none; font-size: var(--fz-xl); line-height: 1; padding: 4px 8px; color: var(--ink-3); cursor: pointer; }
@media (min-width: 768px) { .app-bar { bottom: 20px; } }
.is-app [data-install] { display: none !important; }
[data-install][hidden] { display: none; }

:root { color-scheme: light; }

/* ---------- Телефон, касания, доступность */
html { -webkit-tap-highlight-color: transparent; }
button, a, .btn, label, input[type=checkbox], input[type=radio] { touch-action: manipulation; }
.btn:active, .add:active, .h-act:active, .tabbar a:active, .opt:active { transform: scale(.97); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.search input:focus-visible, .range input:focus-visible, .field input:focus-visible, .phone-in input:focus-visible { outline: 2px solid var(--red); outline-offset: 0; }
.wrap { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.card h3, .card .name, .card a, .h1, .p-title, .row .nm, .sg-t, .dl-table a { overflow-wrap: anywhere; }
dialog, .mega, #filters, .rb-list, .suggest { overscroll-behavior: contain; }
.footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
	html, .gallery, .stage { scroll-behavior: auto !important; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	@view-transition { navigation: none; }
}
/* касание: без «залипания» наведения */
@media (hover: none) {
	.cat:hover { background: var(--paper-2); color: inherit; }
	.cat:hover svg { color: var(--ink); transform: none; }
	.cat:hover small { color: var(--ink-3); }
	.cat.first:hover { background: var(--red-soft); }
	.sol-tile:hover { background: var(--paper-2); color: inherit; }
	.sol-tile:hover small, .sol-tile:hover .sol-from { color: var(--ink-2); }
	.sol-tile:hover .sol-from b { color: var(--ink); }
	.sol-tile:hover .sol-ico { background: #fff; }
	.tech-tile:hover { box-shadow: none; }
	.tech-tile:hover img { transform: none; }
}
@media (max-width: 767px) {
	/* 16px — iPhone не увеличивает страницу при вводе */
	.search input, .range input, .select, .qty input, .field input, .field textarea, .phone-in input, .dl-quick textarea, input[type=email], input[type=tel], input[type=text], input[type=number], input[type=search], select, textarea { font-size: var(--fz-b); }
	/* зоны нажатия не меньше 44px */
	.h-act { min-width: 44px; min-height: 44px; padding: 8px; justify-content: center; }
	.tabbar a { min-height: 52px; justify-content: center; font-size: var(--fz-xs); }
	.opt { min-height: 44px; }
	.qty button, .buy-actions .qty button { width: 44px; min-height: 44px; }
	.card .add, .cmp-btn { min-width: 44px; min-height: 44px; }
	.card .cmp, .card .fav { width: 44px; height: 44px; top: 4px; right: 4px; }
	.card .fav { top: 52px; }
	.qty button, .buy-actions .qty button { min-width: 44px; }
	.topbar .msg { width: 28px; height: 28px; }
	/* страница товара */
	body.has-sticky-buy .ask-btn { width: 48px; padding: 0; justify-content: center; }
	body.has-sticky-buy .ask-btn span { display: none; }
	.crumbs { gap: 12px; }
	/* «домашняя полоска» iPhone */
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.tabbar { padding-bottom: env(safe-area-inset-bottom); }
	.sticky-buy { bottom: calc(64px + env(safe-area-inset-bottom)); }
	/* без размытия — дёшево */
	.header, .tabbar, .sticky-buy, .tab-nav, .cmp thead th { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	/* мелкий текст крупнее */
	.card .brand, .card .specs, .card .eta, .stock, .inst, .cat small, .p-meta, .trust div, .field span, .picker .q > span { font-size: var(--fz-s); }
	.variants button { height: 40px; padding: 0 12px; font-size: var(--fz-m); }
}
@media (max-width: 360px) { :root { --gut: 12px; } .h-act { padding: 8px; } }
.net-off { position: fixed; z-index: 95; left: 12px; right: 12px; top: calc(8px + env(safe-area-inset-top)); background: var(--ink); color: #fff; border-radius: var(--r-m); padding: 12px 16px; font-size: var(--fz-m); text-align: center; box-shadow: var(--shadow); }
[data-share][hidden] { display: none; }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; font-size: var(--fz-xs); color: var(--ink-3); background: none; border: 0; padding: 0; position: relative; justify-content: center; cursor: pointer; }
.tabbar button.on { color: var(--red); }
@media (max-width: 767px) { .tabbar button { min-height: 52px; font-size: var(--fz-xs); } }

/* запасной шрифт с похожими размерами */
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"), local("Roboto"), local("Helvetica"); size-adjust: 95%; ascent-override: 96%; descent-override: 24%; line-gap-override: 0%; }
body { font-family: "Inter Tight", "Inter Tight Fallback", -apple-system, "Segoe UI", sans-serif; }
/* печать */
@media print {
	.topbar, .header, .mega, .tabbar, .footer, .ask-fab, .rb, .sticky-buy, .app-bar, .buy-actions, .secondary, .ask, .crumbs, .tab-nav, .f-sub, .net-off { display: none !important; }
	body { padding: 0 !important; color: #000; }
	a { color: #000; text-decoration: none; }
	.wrap { max-width: none; padding: 0; }
}

/* текст только для программ чтения экрана */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* телефон: «Показать ещё» */
@media (max-width: 767px) { .pager .pages { display: none; } }
.nf-help { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* корзина и оформление — checkout.css; здесь общее с кабинетом */
.co-box { min-width: 0; } /* Задание-1: телефон без прокрутки вбок */
.cp-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-m); background: #EAF6EE; margin: 0 0 16px; } .cp-note svg { width: 20px; height: 20px; flex: none; color: var(--ok); }
.co-box { border: 0; margin: 0 0 16px; padding: 20px; background: #fff; border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--line); }
.co-box legend { font-weight: 700; font-size: var(--fz-l); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.co-box legend::before { counter-increment: co; content: counter(co) ". "; }
.co [aria-invalid=true], .phone-in:has([aria-invalid=true]) { border-color: var(--red) !important; }
.co-box .field select, .co-box .field textarea { width: 100%; min-height: 48px; border-radius: var(--r-m); border: 1.5px solid var(--field-line); padding: 12px 16px; font: inherit; font-size: var(--fz-b); background: #fff; }
.co-check, .co-pay { clear: both; display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; cursor: pointer; }

/* скидка */
.price-was { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; font-size: var(--fz-s); }
@media (max-width: 480px) { .card .price { font-size: var(--fz-l); } }
.price-was .price-old { color: var(--ink-3); }
.price-was .save, .row1 .save { color: var(--red); font-weight: 700; }
.g-count { display: block; text-align: center; font-size: var(--fz-s); color: var(--ink-3); margin-top: 8px; }
@media (min-width: 768px) { .g-count { display: none; } }
.price .per, .price small.per { font-size: .6em; font-weight: 600; color: var(--ink-2); margin-left: 4px; }
.unit-note { font-size: var(--fz-m); color: var(--ink-2); margin: 0 0 8px; width: 100%; }

/* ---------- Кабинет дилера: «Мой бизнес» ---------- */

 

  

/* водяной знак дилера */
.dealer-wm { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; opacity: .05; background-repeat: repeat; }
@media print { .dealer-wm { display: block !important; position: fixed; opacity: .12; } }

/* разделы и быстрые подборки */
.subcats { flex-wrap: wrap; overflow: visible; margin: 0 0 20px; padding: 0; gap: 8px; }
.subcats a { flex: 0 1 auto; height: 40px; padding: 0 16px; font-size: var(--fz-m); }
.quick { flex-wrap: wrap; overflow: visible; margin: 0 0 16px; padding: 0; }
@media (max-width: 767px) {
	.subcats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.subcats a { justify-content: space-between; height: auto; min-height: 44px; line-height: var(--lh-t); padding: 8px 12px; }
}

/* шапка «прилипает» к верху */
.wp-block-template-part:has(> .header) { display: contents; }
/* панель WP */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 0; } }
/* переход по вкладкам «Характеристики / Главное / До */
#specs, #about, #docs, #bundle, #similar, #cheaper, #tg { scroll-margin-top: calc(var(--hdr-h, 100px) + 50px); }

/* меню «Каталог» */
.mega-in { height: auto; }
.order-next { background: var(--paper-2); border-radius: var(--r-m); padding: 12px 16px; }
.mat-links { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.mat-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.mat-group summary { cursor: pointer; font-weight: 600; }
.mat-group ul { columns: 2; column-gap: 24px; font-size: var(--fz-m); }
@media (max-width: 600px) { .mat-group ul { columns: 1; } }
.ty-next { background: #fff; border-radius: var(--r-l); padding: 20px; margin: 16px 0; box-shadow: 0 1px 0 var(--line); }
.ty-next h2 { margin: 0 0 8px; font-size: var(--fz-xl); }
.watch { margin: 12px 0; }
.watch label { display: flex; flex-wrap: wrap; gap: 8px 8px; align-items: center; font-size: var(--fz-m); }
.watch label span { width: 100%; color: var(--ink-2); }
.watch input[type=email] { flex: 1; min-width: 160px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 0 12px; font: inherit; font-size: var(--fz-b); }
.status-form { max-width: 420px; }
.mega-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 12px 12px; }
.mega-quick a { padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fz-s); }
.mega-quick a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.qo-hints { display: grid; gap: 4px; margin: -4px 0 12px; }
.qo-hints button { text-align: left; padding: 12px 12px; border-radius: var(--r-m); background: var(--paper-2); min-height: 44px; }
.qo-hints small { display: block; color: var(--ink-2); }
.list-save { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.list-save input { flex: 1; min-width: 200px; height: 40px; border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 0 12px; font: inherit; font-size: var(--fz-b); }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review .stars { color: #B7791F; letter-spacing: 1px; } /* ≥ 3:1 на белом (A2-A11Y-036) */
.review .ok { color: var(--ok); }
.rv-ph { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0; } .rv-ph img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-s); flex: none; }
.rv-empty { color: var(--ink-2); } .qa-ask { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; } .qa-ask .btn { white-space: normal; height: auto; min-height: 44px; padding-block: 8px; max-width: 100%; } .card .rt { font-size: var(--fz-xs); color: var(--ink-2); } .card .rt b { color: #E8A317; }
.review-form { max-width: 560px; margin-top: 12px; }
.review-form select, .review-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 12px 12px; font: inherit; font-size: var(--fz-b); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; font-size: var(--fz-m); }
.picks a { padding: 8px 12px; border-radius: 999px; background: var(--paper-2); }
.dist-badge { display: flex; gap: 12px; align-items: center; background: #FFF6E5; border-radius: var(--r-m); padding: 12px 16px; font-size: var(--fz-m); margin: 12px 0; }
.dist-badge img { flex: none; }
.topbar .trust-line b { color: var(--promo); font-weight: 600; }
.topbar .tb-fresh { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #DAD7D0; }
.topbar .tb-fresh::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3DBE7A; }
@media (max-width: 419px) { .topbar .tb-fresh { display: none; } }
.news-list .wp-block-post { padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-list h2 { font-size: var(--fz-xl); margin: 4px 0 8px; }
.news-date { color: var(--ink-3); font-size: var(--fz-s); }
.news-single .news-back { margin-top: 32px; }
/* верхняя строка в одну линию */
.topbar .wrap { white-space: nowrap; overflow: hidden; }
/* полоса обещаний под шапкой */
.promise { background: var(--paper); border-bottom: 1px solid var(--line); font-size: var(--fz-xs); color: var(--ink-3); }
.promise .wrap { display: flex; gap: 32px; align-items: center; justify-content: center; min-height: 32px; white-space: nowrap; overflow: hidden; }
.promise .wrap > span { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 768px) and (max-width: 1099px) { .promise .wrap { gap: 24px; } .promise .wrap > span:last-child { display: none; } }
.promise svg { width: 14px; height: 14px; flex: none; color: var(--ok); }
.promise b { font-weight: 600; color: var(--ink); }
@media (max-width: 767px) { .promise .wrap { gap: 16px; min-height: 28px; font-size: var(--fz-xs); } .hide-s { display: none !important; } }
/* акция месяца — одна строка над шапкой */
.month-line { background: var(--promo); color: var(--ink); font-size: var(--fz-s); }
.month-line .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; white-space: nowrap; overflow: hidden; }
.month-line a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.month-line .until { font-weight: 600; }
.month-line button { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.month-line button svg { width: 14px; height: 14px; }
/* метки «Хит продаж», «Новинка», «Осталось N шт */
.tag-hit { background: #B34700; color: #fff; }
.tag-new { background: var(--ok); color: #fff; }
.tag-order { background: var(--paper-2); color: var(--ink); }
.low30 { font-size: var(--fz-xs); color: var(--ink-3); margin: 4px 0 0; }

/* Карточка */
.where-line, .disk-days, .app-help, .cat-tip { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fz-m); margin: 12px 0; }
.where-line svg, .disk-days svg, .app-help svg, .cat-tip svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.disk-days, .app-help, .cat-tip { background: var(--paper-2); border-radius: var(--r-m); padding: 12px 16px; }
.disk-days b, .app-help b { display: block; font-weight: 600; }
.disk-days small, .app-help small { color: var(--ink-2); }

/* Словарь */
.gl { display: inline-block; position: relative; vertical-align: middle; margin-left: 4px; }
.gl summary { list-style: none; cursor: pointer; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); font: 600 var(--fz-xs)/16px var(--f-text); text-align: center; color: var(--ink-3); background: #fff; }
.gl summary::-webkit-details-marker { display: none; }
.gl[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.gl-pop { position: absolute; left: -8px; top: 24px; z-index: 5; width: min(300px, 70vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 12px; box-shadow: var(--shadow); font-size: var(--fz-m); color: var(--ink); }
.gl-pop a { display: inline-block; margin-top: 4px; }
@media (max-width: 560px) { .gl { display: inline; } .gl-pop { position: static; display: block; width: auto; margin-top: 8px; box-shadow: none; } }
.glossary dt { font-weight: 600; margin-top: 20px; scroll-margin-top: 90px; }
.glossary dd { margin: 4px 0 0; color: var(--ink-2); max-width: 70ch; }

/* EU 14–19 */
.brand-cats small { color: var(--ink-3); }
.brand-lead { max-width: 80ch; margin: -4px 0 16px; color: var(--ink-2); font-size: var(--fz-b); }
.brand-facts, .brand-go { display: grid; gap: 0 12px; margin-bottom: 16px; }
@media (min-width: 700px) { .brand-facts, .brand-go { grid-template-columns: 1fr 1fr; } }
.find-f { max-width: 480px; margin: 0 auto 16px; text-align: left; }
.find-f .phone-in b { display: inline; font-size: inherit; }

/* «Рассчитать с монтажом» в карточке */
.mnt-ask { margin-top: 12px; }
.mnt-ask > summary { list-style: none; width: 100%; height: 48px; font-size: var(--fz-b); cursor: pointer; }
.mnt-ask > summary::-webkit-details-marker { display: none; }
.mnt-ask[open] > summary { background: var(--ink-2); }
.mnt-ask-f { margin-top: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); }
.mnt-ask-f .send { display: flex; gap: 8px; flex-wrap: wrap; }
.mnt-ask-f .phone-in { flex: 1; min-width: 200px; }
.mnt-ask-f .send .btn { height: 48px; }

/* ===== P1-2: карточка и корзина ===== */
/* A2-CRO-001: вторичные действия — значки и «Ещё» */
.secondary .cmp-btn span { font-size: var(--fz-s); }
.more-act { margin-top: 12px; border-top: 1px solid var(--line); }
.more-act > summary { list-style: none; cursor: pointer; padding: 12px 0 0; font-size: var(--fz-m); color: var(--ink-2); }
.more-act > summary::-webkit-details-marker { display: none; }
.more-act > summary::after { content: " ▾"; }
.more-act[open] > summary::after { content: " ▴"; }
.more-in { display: grid; gap: 12px; padding-top: 12px; font-size: var(--fz-m); }
.more-in > a, .more-in > .cmp-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.more-in .ico { width: 18px; height: 18px; flex: none; }
.more-in .ask { margin: 0; }
.delivery .eta-reg { display: block; }
.delivery .eta-reg span { white-space: nowrap; }
.delivery .eta-reg span:not(:last-child)::after { content: ","; }
/* A2-MOB-011 */
@media (max-width: 767px) { .pdp-page .stage { aspect-ratio: 4 / 3; } .pdp { gap: 16px; } .keyspecs { margin: 16px 0; } }
/* A2-CRO-003 */
.kit-n { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 4px 8px; font-size: var(--fz-m); }
.kit-n label { cursor: pointer; }
.kit-n input { position: absolute; opacity: 0; pointer-events: none; }
.kit-n label span { display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--paper-2); font-weight: 600; }
.kit-n input:checked + span { background: var(--ink); color: #fff; }
.kit-n input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.b-item .pr { text-align: right; }
.b-item .pr small { display: block; white-space: nowrap; }
/* A2-UI-003: просмотр фото на весь экран */
dialog.zoom { width: 100vw; max-width: none; height: 100dvh; max-height: none; border-radius: 0; background: #fff; place-items: center; overflow: hidden; }
dialog.zoom[open] { display: grid; }
dialog.zoom::backdrop { background: rgba(20,20,18,.8); }
dialog.zoom img { max-width: 100%; max-height: 100dvh; object-fit: contain; touch-action: pinch-zoom; }
dialog.zoom .close, dialog.zoom .z-nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--shadow); display: grid; place-items: center; }
dialog.zoom .close { top: 12px; right: 12px; }
dialog.zoom .z-nav { top: calc(50% - 22px); }
dialog.zoom .z-prev { left: 12px; } dialog.zoom .z-prev svg { rotate: 180deg; }
dialog.zoom .z-next { right: 12px; }
dialog.zoom .ico { width: 22px; height: 22px; }
dialog.zoom .z-count { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; background: rgba(20,20,18,.7); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: var(--fz-s); }
dialog.zoom .z-count:empty { display: none; }

/* ===== P1-3 */
/* планшет 768–1023 */
@media (min-width: 768px) and (max-width: 1023px) {
	.header > .wrap { grid-template-columns: auto auto 1fr; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px 16px; }
	.h-actions { grid-column: 3; justify-self: end; }
	.search { grid-column: 1 / -1; order: 3; }
	.tab-nav { top: var(--hdr-h, 136px); }
}
/* телефон */
@media (max-width: 767px) { .h-act.cmp-l:has(.badge-count[hidden]) { display: none; } }
@media (max-width: 374px) { .logo img { height: 26px; width: auto; } }
/* ссылки в тексте отличимы от текста: подчёркнуты (A2-A11Y-002) */
.wp-block-post-content :is(p, li, td, dd) > a:not([class]), :is(.desc, .seo-text, .brand-lead, .kit-head, .hint, .fine, .vat-note, .sol-faq, .sg-empty, .muted, .cat-tip) a:not([class]) { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
/* фокус клавиатуры на переключателях (A2-A11Y-008) */
.toggle input:focus-visible + .switch, .diff-toggle input:focus-visible + .switch { outline: 2px solid var(--ink); outline-offset: 2px; }
/* закрытая шторка фильтров */
@media (max-width: 999px) {
	.filters { visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
	.filters.open { visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
}
/* A2-A11Y-011 */
.suggest [aria-selected="true"] { background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--ink); }
/* A2-UX-018 */
.rail-box { position: relative; }
.rail-nav { display: none; position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); place-items: center; }
.rail-nav .ico { width: 18px; height: 18px; }
.rail-nav.prev { left: -8px; } .rail-nav.prev .ico { rotate: 180deg; }
.rail-nav.next { right: -8px; }
@media (hover: hover) and (pointer: fine) { .rail-nav:not([disabled]) { display: grid; } }
/* главная на телефоне */
@media (max-width: 639px) {
	.home .cats, .home .sol-tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); scroll-padding: 0 var(--gut); }
	.home .cats { grid-template-rows: repeat(2, auto); }
	.home .cats > *, .home .sol-tiles > * { scroll-snap-align: start; grid-column: auto; }
	.home .sol-tile:first-child { grid-column: auto; }
	.home .cat { min-height: 88px; padding: 12px; gap: 8px; }
	.home .cat svg { width: 28px; height: 28px; }
	.home .cat-ph { width: 56px; height: 56px; margin: -4px -4px -8px auto; }
	.home .cat b { font-size: var(--fz-m); }
	.home .sol-tiles { grid-auto-columns: 62%; }
	.home .sol-tile { min-height: 0; padding: 16px; }
	.home .sol-tile small { display: none; }
}
/* зоны касания ≥ 44 px на телефоне (A2-MOB-017) */
.gl summary, .topbar .msg, .month-line button, .lang-sw a { position: relative; }
.gl summary::after { content: ""; position: absolute; inset: -13px; }
@media (max-width: 767px) {
	.lang-sw a { min-width: 40px; text-align: center; }
	.lang-sw a::after, .topbar .msg::after, .month-line button::after { content: ""; position: absolute; inset: -9px -2px; }
	.topbar .msg::after { inset: -8px; }
	.month-line button::after { inset: -8px; }
	.views a { width: 44px; height: 44px; }
	.select, .btn-sm, .seg button, .quick a, .chip, .tech-picks a, .active-f a, .pager .page-numbers, .variants button, .picker .opts button, .sheet-head button, .mega-head button { min-height: 44px; min-width: 44px; }
	.dlg .close, .oc .close { width: 44px; height: 44px; top: 10px; right: 10px; }
}
/* Похожие модели Dahua/IMOU в поиске по модели друго */
.analogs { margin: 8px 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-l); }
.analogs .muted { font-size: var(--fz-m); margin: 8px 0 12px; }
.an-wrap { overflow-x: auto; margin-bottom: 16px; }
.an-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fz-m); }
.an-table th, .an-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.an-table thead th small { display: block; font-weight: 400; color: var(--ink-3); }
.an-table td.diff { background: var(--paper-2); }
/* «Синон в цифрах» (A2-CONT-037) */
.facts ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; } @media (min-width: 768px) { .facts ul { grid-template-columns: 1fr 1fr; } }
.facts li { display: flex; gap: 12px; } .facts svg { width: 20px; height: 20px; flex: none; color: var(--red); }
/* P2-8: A2-MOB-007 — страница не прокручивается под меню и шторкой; A2-A11Y-020 — h2 подвала и подписи фильтров */
html.mega-open, html.sheet-open { overflow: hidden; }
.footer .cols h2 { color: #fff; font: 600 var(--fz-s)/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.f-group .f-h { font-size: var(--fz-m); font-weight: 600; }
/* P3-4: стрелки галереи (A2-UI-019), код — значок копирования (A2-UI-015), «Как считаем скидки» (A2-COMP-059), диапазоны цены (A2-UX-022), язык 44 px (A2-A11Y-027) */
.g-nav { display: none; }
@media (min-width: 960px) { .g-nav { display: grid; place-items: center; position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .15s; } .g-prev { left: 12px; } .g-prev svg { transform: scaleX(-1); } .g-next { right: 12px; } .stage:is(:hover, :focus-within) .g-nav { opacity: 1; } }
.p-meta .copy::after { content: "⧉"; content: "⧉" / ""; margin-left: 4px; font-size: var(--fz-xs); } .p-meta .copy.done::after { content: "✓"; content: "✓" / ""; }
.low30-how { font-size: var(--fz-xs); color: var(--ink-3); margin-top: 4px; } .low30-how summary { cursor: pointer; text-decoration: underline dotted; } .low30-how p { margin: 4px 0 0; max-width: 46ch; }
.range .btn { grid-column: 1 / -1; height: 40px; } .pr-q { margin-top: 8px; flex-wrap: wrap; } .pr-q a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 767px) { .lang-sw a::after { inset: -13px -2px; } }
/* P3-5: A2-A11Y-031/034, A2-UI-010 */
.seg button small::before { content: "" / ", товаров: "; } html[lang=tg] .seg button small::before { content: "" / ", мол: "; }
:where(a[target="_blank"])::after { content: "" / " (в новой вкладке)"; position: absolute; } html[lang=tg] :where(a[target="_blank"])::after { content: "" / " (дар варақаи нав)"; }
.footer [data-install]::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v4h16v-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 16v4h16v-4'/%3E%3C/svg%3E") center / contain no-repeat; }
/* витрина 11.10 */
a[href^="tel:"],.tel-n{white-space:nowrap}.ask-call span{display:grid;line-height:1.2}.ask-call small{font-weight:500;font-size:13px;color:var(--ink-2)}@media (max-width:767px){.tabbar>*{min-width:0}.ask-fab .ask-btn{display:none}.ask-fab{bottom:calc(72px + env(safe-area-inset-bottom));right:8px}.ask-menu{width:min(300px,calc(100vw - 16px));max-height:calc(100dvh - 160px);overflow-y:auto}body.has-sticky-buy .ask-fab{bottom:calc(136px + env(safe-area-inset-bottom))}}.stud-note a{color:inherit}.stud-note b{color:var(--red)}.gp-line .tag{margin-right:8px}
/* mobile-qa 11.10: панель покупки до 960 px, касание ≥ 40, поля 16 px */
@media (max-width:959px){body.has-sticky-buy{padding-bottom:calc(148px + env(safe-area-inset-bottom))}}@media (min-width:768px) and (max-width:959px){.sticky-buy{bottom:0;padding-bottom:calc(12px + env(safe-area-inset-bottom))}body.has-sticky-buy{padding-bottom:calc(84px + env(safe-area-inset-bottom))}body.has-sticky-buy .ask-fab{bottom:96px}}:is(.low30-how,.why-pr) summary{position:relative}:is(.low30-how,.why-pr) summary::after{content:"";position:absolute;inset:-11px 0}@media (pointer:coarse){.hc-nav button{height:40px;min-width:40px}.select,select,input[type=password]{font-size:var(--fz-b)}.lang-sw a{position:relative;min-width:40px;text-align:center}.lang-sw a::after{content:"";position:absolute;inset:-11px -2px}}

/* баннер «камеры» на главной: на телефоне — нижняя часть кадра (было стилем в странице; бюджет /tj/, 12.10.2026) */
@media (max-width:639px){.bn-hero img{object-position:50% 85%}}
