/* Оформление разделов после аудита (01.12.2026). Цвета и шрифты — как в шапке, письмах и «Где мой заказ». */
:root {
    --tsx-navy: #0b2548; --tsx-blue: #246bca; --tsx-blue-d: #1c5aad; --tsx-text: #172b49; --tsx-muted: #526986;
    --tsx-line: #dbe4ef; --tsx-soft: #f5f8fc; --tsx-tint: #edf4fd; --tsx-orange: #f97310;
    --tsx-grad: linear-gradient(120deg, #0b2548 0%, #123a73 55%, #1d5bb0 100%);
    --tsx-r: 18px;
}
.tsx-eyebrow { display: block; margin-bottom: 10px; font: 700 12px/1.3 robotoBold, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9fc6ff; }
.tsx-hidden { display: none !important; }

/* ---------- Кнопки ---------- */
.tsx-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 12px;
    font: 700 15px/1.2 robotoBold, Arial, sans-serif; text-decoration: none !important; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.tsx-btn:hover { transform: translateY(-1px); }
.tsx-btn--light { background: #fff; color: var(--tsx-navy) !important; box-shadow: 0 8px 24px rgba(3, 15, 40, .25); }
.tsx-btn--light:hover { background: #eef5ff; }
.tsx-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; }
.tsx-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.tsx-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--tsx-tint);
    color: var(--tsx-blue) !important; font: 700 14px/1.2 robotoBold, Arial, sans-serif; text-decoration: none !important; transition: background .15s, color .15s; }
.tsx-pill::after { content: "→"; }
.tsx-pill:hover { background: var(--tsx-blue); color: #fff !important; }

/* ---------- Наборы для тёплого пола: фильтр слева, как у радиаторных коллекторов ---------- */
/* Обе страницы — одна раскладка: колонка фильтра 300 px, справа все товары. */
html.tsx-kits-layout #catalogColumn.ts-floor-kits { display: table !important; width: 100%; table-layout: fixed; }
html.tsx-kits-layout #catalogColumn.ts-floor-kits > .leftColumn { display: table-cell !important; vertical-align: top; }
html.tsx-kits-layout #catalogColumn.ts-floor-kits > .rightColumn { display: table-cell !important; vertical-align: top; width: auto !important; }
#catalogColumn.ts-floor-kits > .leftColumn, #catalogColumn.ts-radiator-catalog > .leftColumn { width: 300px; box-sizing: border-box; padding-right: 24px; }
html.tsx-kits-layout #catalogColumn.ts-floor-kits > .leftColumn > #nextSection,
html.tsx-kits-layout #catalogColumn.ts-floor-kits > .leftColumn > #smartFilter,
html.tsx-kits-layout .catalog-section-list-pictures,
html.tsx-kits-layout section.ts-kit-picker > .ts-kit-filters,
html.tsx-kits-layout section.ts-kit-picker > .ts-kit-help { display: none !important; }
section.ts-kit-picker { margin: 0 0 22px; }

.tsx-filter { display: grid; gap: 14px; margin-bottom: 18px; }
.tsx-filter *, .tsx-filter *::before, .tsx-filter *::after { box-sizing: border-box; }
.tsx-filter__toggle { display: none; }
.tsx-filter__body { display: grid; gap: 14px; }
.tsx-filter__intro { padding: 18px; border-radius: 16px; background: var(--tsx-grad); color: #fff; }
.tsx-filter__intro b { display: block; margin-bottom: 6px; font: 700 18px/1.2 robotoBold, Arial, sans-serif; }
.tsx-filter__intro span { display: block; font-size: 13.5px; line-height: 1.5; color: #cfe0f7; }
.tsx-fbox { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--tsx-line); border-radius: 16px; background: #fff; }
.tsx-fbox__title { font: 700 16px/1.2 robotoBold, Arial, sans-serif; color: var(--tsx-navy); }
.tsx-opts { display: grid; gap: 6px; }
.tsx-opts button { position: relative; display: block; width: 100%; padding: 11px 12px 11px 38px; border: 0; border-radius: 10px; background: transparent;
    text-align: left; color: var(--tsx-text); font: 400 14px/1.3 robotoRegular, Arial, sans-serif; cursor: pointer; transition: background .15s; }
.tsx-opts button::before { content: ""; position: absolute; left: 12px; top: 12px; width: 16px; height: 16px; border: 2px solid #b7c6d8; border-radius: 50%; background: #fff; box-sizing: border-box; }
.tsx-opts button small { display: block; margin-top: 2px; font-size: 12px; color: var(--tsx-muted); }
.tsx-opts button:hover { background: var(--tsx-soft); }
.tsx-opts button.is-on { background: var(--tsx-tint); color: var(--tsx-navy); font-family: robotoBold, Arial, sans-serif; font-weight: 700; }
.tsx-opts button.is-on::before { border-color: var(--tsx-blue); background: var(--tsx-blue); box-shadow: inset 0 0 0 3px #fff; }
.tsx-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tsx-counts button { height: 40px; border: 1px solid var(--tsx-line); border-radius: 10px; background: #fff; color: var(--tsx-text);
    font: 700 14px robotoBold, Arial, sans-serif; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.tsx-counts button:first-child { grid-column: 1 / -1; }
.tsx-counts button:hover { border-color: var(--tsx-blue); color: var(--tsx-blue); }
.tsx-counts button.is-on { background: var(--tsx-blue); border-color: var(--tsx-blue); color: #fff; }
.tsx-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tsx-price input, .tsx-sort select { box-sizing: border-box; width: 100%; height: 42px; padding: 0 12px; border: 1px solid #c6d3e3; border-radius: 10px; background: #fff;
    font: 400 15px robotoRegular, Arial, sans-serif; color: var(--tsx-text); }
.tsx-price input:focus, .tsx-sort select:focus { outline: none; border-color: var(--tsx-blue); box-shadow: 0 0 0 3px rgba(36, 107, 202, .15); }
.tsx-check { position: relative; display: flex !important; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 14px; color: var(--tsx-text); }
.tsx-check input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; }
.tsx-check__box { flex: none; width: 20px; height: 20px; border: 2px solid #9fb2c9; border-radius: 6px; box-sizing: border-box; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.tsx-check__box::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.tsx-check input:checked + .tsx-check__box { background: var(--tsx-blue); border-color: var(--tsx-blue); }
.tsx-check input:checked + .tsx-check__box::after { opacity: 1; }
.tsx-check input:focus-visible + .tsx-check__box { outline: 3px solid rgba(36, 107, 202, .35); outline-offset: 2px; }
.tsx-sort { display: grid !important; gap: 6px; margin: 0; font-size: 13px; color: var(--tsx-muted); }
.tsx-sort select { -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23246bca' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat; }
.tsx-filter__actions { position: sticky; bottom: 76px; z-index: 2; display: grid; gap: 6px; padding: 10px; border-radius: 16px;
    background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(11, 37, 72, .14); backdrop-filter: blur(6px); }
.tsx-filter__go { height: 50px; border: 0; border-radius: 12px; background: var(--tsx-blue); color: #fff; font: 700 15px robotoBold, Arial, sans-serif; cursor: pointer; transition: background .15s, box-shadow .15s; }
.tsx-filter__go:hover { background: var(--tsx-blue-d); }
.tsx-filter.is-dirty .tsx-filter__go { box-shadow: 0 0 0 4px rgba(36, 107, 202, .25); }
.tsx-filter__reset { text-align: center; padding: 4px; font-size: 13px; color: var(--tsx-muted) !important; }
a.tsx-filter__help { display: block; padding: 16px 18px; border-radius: 16px; background: var(--tsx-tint); text-decoration: none !important; }
a.tsx-filter__help b { display: block; font: 700 14px/1.3 robotoBold, Arial, sans-serif; color: var(--tsx-navy); }
a.tsx-filter__help span { display: block; margin-top: 2px; font-size: 13px; color: var(--tsx-blue); }

@media (max-width: 1024px) {
    html.tsx-kits-layout #catalogColumn.ts-floor-kits { display: block !important; }
    html.tsx-kits-layout #catalogColumn.ts-floor-kits > .leftColumn, html.tsx-kits-layout #catalogColumn.ts-floor-kits > .rightColumn { display: block !important; width: auto !important; padding-right: 0; }
    .tsx-filter__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; padding: 0 18px; border: 0; border-radius: 14px;
        background: var(--tsx-grad); color: #fff; font: 700 16px robotoBold, Arial, sans-serif; cursor: pointer; }
    .tsx-filter__toggle::after { content: "＋"; font-size: 18px; }
    .tsx-filter.is-open .tsx-filter__toggle::after { content: "－"; }
    .tsx-filter__toggle em { margin-left: auto; margin-right: 12px; padding: 2px 9px; border-radius: 99px; background: #fff; color: var(--tsx-navy); font-style: normal; font-size: 13px; }
    .tsx-filter__body { display: none; }
    .tsx-filter.is-open .tsx-filter__body { display: grid; }
    .tsx-filter__intro { display: none; }
    .tsx-filter__actions { bottom: 70px; }
}

/* Стрелки темы у свёрнутых блоков заменяем своими подписями. */
details.tsx-more > summary::after, details.tsx-compare > summary::after { position: static !important; transform: none !important; width: auto !important; height: auto !important;
    border: 0 !important; background: none !important; margin: 0 !important; top: auto !important; right: auto !important; }
details.tsx-more > summary::before, details.tsx-compare > summary::before { display: none !important; }

/* Сравнение */
details.tsx-compare { border-radius: 16px; background: var(--tsx-soft); border: 1px solid var(--tsx-line); }
details.tsx-compare > summary { padding: 16px 20px; cursor: pointer; list-style: none; font: 400 15px/1.3 robotoRegular, Arial, sans-serif; color: var(--tsx-text); }
details.tsx-compare > summary::-webkit-details-marker { display: none; }
details.tsx-compare > summary b { color: var(--tsx-navy); margin-right: 6px; }
details.tsx-compare > summary::after { content: "Сравнить ↓"; float: right; color: var(--tsx-blue); font-weight: 700; }
details.tsx-compare[open] > summary::after { content: "Свернуть ↑"; }
details.tsx-compare .ts-kit-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 20px 20px; }
.tsx-compare__card { display: flex; flex-direction: column; gap: 6px; text-align: left !important; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--tsx-line); }
.tsx-compare__card h3 { margin: 4px 0 0; font: 700 19px/1.2 robotoBold, Arial, sans-serif; color: var(--tsx-navy); }
.tsx-compare__card .ts-kit-sub { margin: 0; font-size: 13px; color: var(--tsx-muted); }
.tsx-compare__card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 8px 0; font-size: 14px; }
.tsx-compare__card dt { color: var(--tsx-muted); }
.tsx-compare__card dd { margin: 0; color: var(--tsx-text); }
.tsx-compare__card strong { font: 700 26px/1.1 robotoBold, Arial, sans-serif; color: var(--tsx-navy); }
.tsx-compare__card a { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px;
    background: var(--tsx-blue); color: #fff !important; font: 700 14px robotoBold, Arial, sans-serif; text-decoration: none !important; }
.tsx-compare__card a:hover { background: var(--tsx-blue-d); }
.tsx-badge { align-self: flex-start; padding: 4px 10px; border-radius: 99px; background: var(--tsx-navy); color: #fff; font: 700 11px/1.3 robotoBold, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.tsx-badge--soft { background: #e3f4ea; color: #1f8a4c; }

/* ---------- Коллекторные группы ---------- */
nav.ts-collector-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 32px; }
nav.ts-collector-hub > div.tsx-hub-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 280px; padding: 30px; border-radius: var(--tsx-r);
    background: var(--tsx-grad) !important; color: #fff; border: 0 !important; }
.tsx-hub-card::before { content: ""; position: absolute; inset: 0; background: var(--tsx-bg) right center / cover no-repeat; opacity: .3; mix-blend-mode: screen; pointer-events: none;
    -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 85%); mask-image: linear-gradient(100deg, transparent 25%, #000 85%); }
.tsx-hub-card > * { position: relative; }
.tsx-hub-card h2 { margin: 0; font: 700 clamp(24px, 2.2vw, 30px)/1.15 robotoBold, Arial, sans-serif; }
.tsx-hub-card h2 a { color: #fff !important; text-decoration: none !important; }
nav.ts-collector-hub h2 a { color: #fff !important; padding-inline-end: 0 !important; font-family: robotoBold, Arial, sans-serif !important; }
nav.ts-collector-hub h2 a::before, nav.ts-collector-hub h2 a::after { display: none !important; }
.tsx-hub-card p { margin: 0; max-width: 480px; color: #cfe0f7; font: 400 15px/1.6 robotoRegular, Arial, sans-serif; }
.tsx-hub-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.tsx-hub-card .tsx-pill { background: rgba(255, 255, 255, .14); color: #fff !important; }
.tsx-hub-card .tsx-pill:hover { background: #fff; color: var(--tsx-navy) !important; }

/* ---------- Радиаторные коллекторы: выбор слева ---------- */
nav.ts-rad-picker { display: grid; gap: 14px; margin-bottom: 18px; background: none !important; border: 0 !important; padding: 0 !important; }
nav.ts-rad-picker details { padding: 18px; border: 1px solid var(--tsx-line); border-radius: 16px; background: #fff; }
nav.ts-rad-picker summary { display: block; margin-bottom: 12px; list-style: none; pointer-events: none; }
nav.ts-rad-picker summary::-webkit-details-marker { display: none; }
nav.ts-rad-picker summary::after { display: none !important; }
nav.ts-rad-picker summary span { display: block; font: 700 16px/1.2 robotoBold, Arial, sans-serif; color: var(--tsx-navy); }
nav.ts-rad-picker summary small { display: none; }
.ts-rad-types { display: grid; gap: 6px; }
.ts-rad-types a { position: relative; display: block; padding: 11px 12px 11px 38px; border-radius: 10px; color: var(--tsx-text) !important; font-size: 14px; line-height: 1.3; text-decoration: none !important; transition: background .15s; }
.ts-rad-types a::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -9px; border: 2px solid #b7c6d8; border-radius: 50%; background: #fff; }
.ts-rad-types a:hover { background: var(--tsx-soft); }
.ts-rad-types a[aria-current] { background: var(--tsx-tint); color: var(--tsx-navy) !important; font-weight: 700; }
.ts-rad-types a[aria-current]::before { border-color: var(--tsx-blue); box-shadow: inset 0 0 0 3px #fff; background: var(--tsx-blue); }
.ts-rad-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ts-rad-counts a { display: flex; align-items: center; justify-content: center; height: 40px; border: 1px solid var(--tsx-line); border-radius: 10px;
    color: var(--tsx-text) !important; font: 700 14px robotoBold, Arial, sans-serif; text-decoration: none !important; transition: border-color .15s, background .15s, color .15s; }
.ts-rad-counts a:first-child { grid-column: 1 / -1; }
.ts-rad-counts a:hover { border-color: var(--tsx-blue); color: var(--tsx-blue) !important; }
.ts-rad-counts a[aria-current], .ts-rad-counts a.is-active { background: var(--tsx-blue); border-color: var(--tsx-blue); color: #fff !important; }

/* ---------- Главная: направления ---------- */
#ts-home-paths .ts-paths__option { border-radius: 16px !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
#ts-home-paths .ts-paths__option:hover { border-color: var(--tsx-blue) !important; box-shadow: 0 12px 30px rgba(11, 37, 72, .1); transform: translateY(-2px); }
#ts-home-paths .ts-paths__help { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 18px; border-radius: 99px; background: var(--tsx-tint);
    color: var(--tsx-blue) !important; font: 700 14px robotoBold, Arial, sans-serif; text-decoration: none !important; }
#ts-home-paths .ts-paths__help::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tsx-blue); color: #fff; font-size: 13px; }
#ts-home-paths .ts-paths__help:hover { background: #dbe9fb; }

/* ---------- Главная: монтажникам и компаниям ---------- */
nav.ts-professional-entry { margin-top: 28px; margin-bottom: 36px; }
.tsx-pro { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 32px 36px;
    border-radius: var(--tsx-r); background: var(--tsx-grad); color: #fff; }
.tsx-pro::after { content: ""; position: absolute; right: -60px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 180, 255, .3), transparent 65%); pointer-events: none; }
.tsx-pro__text { position: relative; max-width: 620px; }
.tsx-pro__text h2 { margin: 0 0 10px; color: #fff; font: 700 clamp(22px, 2vw, 28px)/1.2 robotoBold, Arial, sans-serif; letter-spacing: -.01em; }
.tsx-pro__text p { margin: 0; color: #cfe0f7; font: 400 15px/1.6 robotoRegular, Arial, sans-serif; }
.tsx-pro__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Главная: хиты ---------- */
.tsx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tsx-section-head .tsx-eyebrow { color: var(--tsx-blue); }
.tsx-section-head h2 { margin: 0; font: 700 clamp(28px, 3vw, 40px)/1.1 robotoBold, Arial, sans-serif; color: var(--tsx-navy); letter-spacing: -.02em; }
.tsx-section-head a { color: var(--tsx-blue) !important; font: 700 15px robotoBold, Arial, sans-serif; text-decoration: none !important; white-space: nowrap; }
#homeCatalog.tsx-hits .captionList { display: none !important; }

/* ---------- Формы подбора и прайса ---------- */
.tsx-form-wide { width: auto !important; max-width: 1180px !important; }
.tsx-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.tsx-form-layout form.ws-box { margin: 0 !important; max-width: none !important; }
form.ws-box select { -webkit-appearance: none; appearance: none; padding-right: 42px !important; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23246bca' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center / 14px 9px no-repeat !important; }
form.ws-box input:focus, form.ws-box select:focus, form.ws-box textarea:focus { outline: none; border-color: var(--tsx-blue) !important; box-shadow: 0 0 0 3px rgba(36, 107, 202, .15); }
form.ws-box .ws-consent { display: flex !important; align-items: flex-start; gap: 12px; margin-top: 14px; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--tsx-muted); }
form.ws-box .ws-consent input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 22px !important; height: 22px !important; margin: 0 !important;
    border: 2px solid #9fb2c9; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
form.ws-box .ws-consent input[type=checkbox]::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0; }
form.ws-box .ws-consent input[type=checkbox]:checked { background: var(--tsx-blue); border-color: var(--tsx-blue); }
form.ws-box .ws-consent input[type=checkbox]:checked::after { opacity: 1; }
form.ws-box .ws-consent input[type=checkbox]:focus-visible { outline: 3px solid rgba(36, 107, 202, .35); outline-offset: 2px; }
form.ws-box .ws-button { min-height: 54px; padding: 0 30px; border-radius: 12px !important; font: 700 16px robotoBold, Arial, sans-serif !important; transition: background .15s, transform .15s; }
form.ws-box .ws-button:hover { transform: translateY(-1px); }
.tsx-form-aside { position: sticky; top: 120px; padding: 26px; border-radius: var(--tsx-r); background: var(--tsx-grad); color: #fff; }
.tsx-form-aside h3 { margin: 0 0 16px; color: #fff; font: 700 20px/1.2 robotoBold, Arial, sans-serif; }
.tsx-form-aside ol { list-style: none; counter-reset: tsx; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.tsx-form-aside li { counter-increment: tsx; position: relative; margin: 0; padding-left: 42px; }
.tsx-form-aside li::before { content: counter(tsx); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .16);
    display: grid; place-items: center; font: 700 14px robotoBold, Arial, sans-serif; }
.tsx-form-aside li b { display: block; font: 700 15px/1.3 robotoBold, Arial, sans-serif; }
.tsx-form-aside li span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: #cfe0f7; }
.tsx-form-aside__call { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 2px; }
.tsx-form-aside__call span, .tsx-form-aside__call small { font-size: 13px; color: #a9c3e6; }
.tsx-form-aside__call a { color: #fff !important; font: 700 22px/1.3 robotoBold, Arial, sans-serif; text-decoration: none !important; }

/* ---------- Телефон ---------- */
@media (max-width: 1100px) {
    .tsx-form-layout { grid-template-columns: 1fr; }
    .tsx-form-aside { position: static; }
}
@media (max-width: 760px) {
    .tsx-pro, nav.ts-collector-hub > div.tsx-hub-card { padding: 22px 18px; border-radius: 16px; }
    details.tsx-compare .ts-kit-pair { grid-template-columns: 1fr; padding: 0 14px 14px; }
    details.tsx-compare > summary::after { float: none; display: block; margin-top: 4px; }
    nav.ts-collector-hub { grid-template-columns: 1fr; }
    nav.ts-collector-hub > div.tsx-hub-card { min-height: 0; }
    .tsx-pro { flex-direction: column; align-items: stretch; }
    .tsx-pro__actions { flex-direction: column; }
    .tsx-btn { width: 100%; white-space: normal; text-align: center; }
    .tsx-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .tsx-btn, #ts-home-paths .ts-paths__option { transition: none; transform: none !important; }
}

/* ---------- Главная: первый экран и полоса доверия (02.12.2026) ---------- */
.tsx-flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); vertical-align: -1px; }
.tsx-flag--ru { background: linear-gradient(#fff 0 33.3%, #1c57c6 33.3% 66.6%, #d52b1e 66.6%); }
.tsx-flag--it { background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6%); }
/* Первый экран: фирменные картинки на всю ширину, плавная смена, минимум текста. Первая картинка задана здесь,
   чтобы грузилась вместе со стилями, без мигания; остальные подгружает скрипт. */
section.ts-home-choice { position: relative; overflow: hidden; background: #061a38 url('/local/assets/images/hero-manifold-v2.jpg') right center / cover no-repeat !important; }
section.ts-home-choice .ts-home-choice__photo { display: none !important; }
section.ts-home-choice .ts-home-choice__inner { position: relative; z-index: 1; display: flex !important; align-items: center; min-height: 580px; }
section.ts-home-choice::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 16, 38, .94) 0%, rgba(4, 16, 38, .74) 30%, rgba(4, 16, 38, .2) 56%, rgba(4, 16, 38, 0) 72%); }
.tsx-hero__bg { position: absolute; inset: 0; z-index: 0; }
.tsx-hero__slide { position: absolute; inset: 0; background-position: right center; background-size: cover; background-repeat: no-repeat;
    opacity: 0; transform: scale(1.05); transition: opacity 1.4s ease, transform 7s ease; }
.tsx-hero__slide.is-on { opacity: 1; transform: scale(1); }
section.ts-home-choice .ts-home-choice__copy { max-width: 620px; }
section.ts-home-choice h1 { margin: 0 0 14px !important; color: #fff !important; font: 800 clamp(40px, 4.6vw, 68px)/1.02 robotoBold, Arial, sans-serif !important; letter-spacing: -.035em; }
section.ts-home-choice h1 span { color: transparent; background: linear-gradient(90deg, #9fd0ff, #ffffff); -webkit-background-clip: text; background-clip: text; }
section.ts-home-choice .ts-home-choice__copy > p { margin: 0 0 30px !important; color: #b9cfee !important; font: 400 20px/1.4 robotoRegular, Arial, sans-serif !important; }
.tsx-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; color: #b9cfee; font: 700 12px/1.2 robotoBold, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.tsx-hero__eyebrow .tsx-flag:nth-of-type(2) { margin-right: 8px; }
.tsx-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tsx-hero__chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); color: #d7e6fb !important; font: 400 14px/1.2 robotoRegular, Arial, sans-serif; text-decoration: none !important; transition: background .15s; }
.tsx-hero__chips a:hover { background: rgba(255, 255, 255, .18); }
.tsx-hero__chips b { color: #fff; font: 700 16px/1 robotoBold, Arial, sans-serif; }
.tsx-hero__nav { position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%); width: min(calc(100% - 48px), 1480px);
    display: flex; justify-content: flex-end; gap: 26px; }
.tsx-hero__nav a { display: grid; gap: 10px; width: 190px; color: rgba(255, 255, 255, .55) !important; font: 700 13px/1.2 robotoBold, Arial, sans-serif; text-decoration: none !important; transition: color .2s; }
.tsx-hero__nav a.is-on, .tsx-hero__nav a:hover { color: #fff !important; }
.tsx-hero__nav i { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .22); }
.tsx-hero__nav a.is-on i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: tsx-bar 6s linear forwards; }
@keyframes tsx-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) {
    /* Телефон: картинка сверху во всю ширину, под ней текст на тёмном фоне. */
    section.ts-home-choice { background: #061a38 url('/local/assets/images/hero-manifold-v2.jpg') 80% 0 / auto 290px no-repeat !important; }
    .tsx-hero__bg { bottom: auto; height: 290px; }
    .tsx-hero__slide { background-position: 80% center; }
    section.ts-home-choice::after { background: linear-gradient(180deg, rgba(6, 26, 56, 0) 0, rgba(6, 26, 56, 0) 170px, #061a38 290px); }
    section.ts-home-choice .ts-home-choice__inner { align-items: flex-start; min-height: 0; padding-top: 250px !important; padding-bottom: 72px !important; }
    .tsx-hero__eyebrow { font-size: 11px; letter-spacing: .06em; margin-bottom: 12px; }
    section.ts-home-choice h1 { font-size: 38px !important; }
    section.ts-home-choice .ts-home-choice__copy > p { font-size: 17px !important; margin-bottom: 22px !important; }
    .tsx-hero__chips { margin-top: 18px; gap: 8px; }
    .tsx-hero__chips a { padding: 9px 12px; font-size: 13px; }
    .tsx-hero__nav { bottom: 26px; justify-content: center; gap: 8px; }
    .tsx-hero__nav a { width: 44px; }
    .tsx-hero__nav span { display: none; }
}
}
@media (prefers-reduced-motion: reduce) {
    .tsx-hero__slide { transition: opacity .3s; transform: none !important; }
    .tsx-hero__nav a.is-on i::after { animation: none; }
}

/* Полоса доверия */
section.ts-home-promise.tsx-trust { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; margin-bottom: 36px; }
.tsx-trust > * { min-width: 0; }
a.tsx-trust__card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--tsx-r);
    background: #fff; border: 1px solid var(--tsx-line); color: var(--tsx-text) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.tsx-trust__card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11, 37, 72, .1); border-color: var(--tsx-blue); }
a.tsx-trust__card--delivery { background: var(--tsx-grad); border: 0; color: #fff !important; }
.tsx-trust__big { font: 700 52px/1 robotoBold, Arial, sans-serif; color: var(--tsx-navy); letter-spacing: -.02em; }
.tsx-trust__big i { font-style: normal; margin-left: 6px; color: #f5b301; font-size: 40px; vertical-align: 6px; }
.tsx-trust__card--delivery .tsx-trust__big { color: #fff; }
a.tsx-trust__card b { font: 700 19px/1.25 robotoBold, Arial, sans-serif; color: var(--tsx-navy); }
.tsx-trust__card--delivery b { color: #fff !important; }
a.tsx-trust__card > span:not(.tsx-trust__big):not(.tsx-trust__marks) { font-size: 14.5px; line-height: 1.5; color: var(--tsx-muted); }
.tsx-trust__card--delivery > span:not(.tsx-trust__big) { color: #cfe0f7 !important; }
a.tsx-trust__card em { margin-top: auto; padding-top: 6px; font-style: normal; font: 700 14px robotoBold, Arial, sans-serif; color: var(--tsx-blue); }
.tsx-trust__card--delivery em { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.tsx-trust__card small { font-size: 12px; color: #8a9bb3; }
.tsx-trust__marks { display: flex; flex-wrap: wrap; gap: 6px; }
.tsx-trust__marks > span { padding: 6px 10px; border-radius: 10px; background: var(--tsx-soft); font-size: 13px; color: var(--tsx-text); }
.tsx-trust__marks b { margin-left: 4px; font: 700 14px robotoBold, Arial, sans-serif !important; color: var(--tsx-navy) !important; }
.tsx-trust__flags { display: flex; gap: 8px; height: 52px; align-items: center; }
.tsx-trust__flags .tsx-flag { width: 54px; height: 36px; border-radius: 6px; box-shadow: 0 0 0 1px var(--tsx-line); }

@media (max-width: 1100px) {
    section.ts-home-promise.tsx-trust { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .tsx-trust__big { font-size: 42px; }
    a.tsx-trust__card { padding: 22px 18px; }
}


/* Switch between the two types of equipment on the campaign landing page. */
.tsx-collector-choice {
    display: inline-flex;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 3px;
    box-sizing: border-box;
    border: 1px solid var(--tsx-line);
    border-radius: 12px;
    background: var(--tsx-soft);
}
.tsx-collector-choice a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 6px 14px;
    border-radius: 9px;
    color: var(--tsx-blue-d);
    font: 600 15px/1.25 robotoMedium, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
}
.tsx-collector-choice a[aria-current] {
    background: var(--tsx-navy);
    color: white;
}
.tsx-collector-choice a:hover { text-decoration: underline; }
.tsx-collector-choice a:focus-visible {
    outline: 2px solid var(--tsx-blue-d);
    outline-offset: 1px;
}
@media (max-width: 480px) {
    .tsx-collector-choice { display: flex; width: fit-content; }
    .tsx-collector-choice a { padding-inline: 10px; }
    .tsx-collector-choice ~ #catalogColumn #catalogSection { scroll-margin-top: 70px; }
}

/* Consent choices share the same emphasis on the notice and in the settings. */
#ts-consent .ts-consent__actions button,
#ts-consent-modal .ts-consent__actions button[data-ts-consent="accept"],
#ts-consent-modal .ts-consent__actions button[data-ts-consent="reject"] {
    color: var(--tsx-navy);
    background: var(--tsx-soft);
    border: 1px solid #758aa4;
}
#ts-consent :focus-visible, #ts-consent-modal :focus-visible {
    outline: 2px solid var(--tsx-blue-d);
    outline-offset: 2px;
}
#ts-consent-modal .ts-consent-modal__panel {
    box-sizing: border-box;
    max-height: 100%;
    overflow: auto;
}
#ts-consent-modal .ts-consent-modal__close {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    top: 3px;
    right: 4px;
}
@media (min-width: 761px) {
    #ts-consent .ts-consent__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
        max-width: 560px;
    }
    #ts-consent .ts-consent__actions button {
        box-sizing: border-box;
        height: auto;
        min-height: 44px;
        padding: 6px 12px;
    }
}
@media (max-width: 760px) {
    /* The homepage also has a page-specific inline style for this notice. */
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent {
        box-sizing: border-box;
        --notice-left: max(6px, env(safe-area-inset-left));
        --notice-right: max(6px, env(safe-area-inset-right));
        --notice-bottom: max(6px, env(safe-area-inset-bottom));
        left: var(--notice-left);
        right: var(--notice-right);
        bottom: var(--notice-bottom);
        width: auto;
        margin-inline: 0;
        /* Keep every choice inside the screen even when an old template overflows. */
        max-width: calc(100vw - var(--notice-left) - var(--notice-right));
        bottom: max(var(--notice-bottom), calc(100% - 100dvh + var(--notice-bottom)));
        max-height: calc(100% - 16px);
        max-height: calc(100dvh - var(--notice-bottom) - max(6px, env(safe-area-inset-top)));
        overflow: auto;
        padding: 7px 10px;
        border: 1px solid var(--tsx-line);
        border-radius: 12px;
        color: var(--tsx-text);
        background: #fff;
        box-shadow: 0 3px 16px rgb(11 37 72 / 15%);
        font: 14px/1.3 Arial, sans-serif;
    }
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent p { margin: 0; }
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent p + p {
        margin-top: 2px;
        font-size: 13px;
        line-height: 1.3;
    }
    #ts-consent p a { color: var(--tsx-blue-d); text-underline-offset: 2px; }
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent .ts-consent__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 4px;
        margin-top: 5px;
    }
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent button[data-ts-consent] {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 44px;
        margin: 0;
        padding: 3px;
        border: 1px solid #758aa4;
        border-radius: 7px;
        background: var(--tsx-soft);
        color: var(--tsx-navy);
        font: 600 13px/1.15 Arial, sans-serif;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent button[data-ts-consent="settings"] {
        background: transparent;
        border-color: transparent;
        color: var(--tsx-blue-d);
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}
@media (max-width: 349px) {
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent .ts-consent__actions {
        margin-inline: -4px;
    }
    :is(html.ts-home-modern body.index, body) #ts-consent.ts-consent button[data-ts-consent] {
        padding-inline: 0;
    }
}
