/* Калькулятор на страницах моделей: строка «Стоимость: 12000руб.» не переносится на мобильных */
@media screen and (max-width: 639px) {
  .t396 .t-calc__wrapper { font-size: 20px !important; white-space: nowrap; }
}

/* Калькулятор: Stage1 и доп. опции (Евро2, Прошивка КПП) — два поля-галочки; убираем зазор между ними, чтобы шли одним списком */
.t396 .t-input-group_rd + .t-input-group_rd { margin-top: -30px !important; }

/* Блок «Что дает чип-тюнинг»: заголовки 1-й и 3-й карточек на мобильных не шире карточки */
@media screen and (max-width: 479px) {
  .t396 .tn-elem[data-elem-id="1791882553738"],
  .t396 .tn-elem[data-elem-id="1791882676375000009"] { width: 288px !important; }
  .t396 .tn-elem[data-elem-id="1791882553738"] .tn-atom,
  .t396 .tn-elem[data-elem-id="1791882676375000009"] .tn-atom { font-size: 18px !important; }
}

/* Zero-блоки с минимальной сеткой 390px: на экранах уже 390px масштабируем сетку под ширину экрана,
   иначе Тильда центрирует 390px-сетку и обрезает края (на 360px — по 15px с каждой стороны) */
@media screen and (max-width: 389px) {
  .t396:has(> .t396__artboard[data-artboard-screens^="390,"]) { overflow-x: clip; }
  .t396__artboard[data-artboard-screens^="390,"] { overflow: visible !important; }
}
@media screen and (min-width: 375px) and (max-width: 389px) {
  .t396__artboard[data-artboard-screens^="390,"] { zoom: 0.9615; left: calc(100vw * 0.02002); width: calc(100vw * 1.02002) !important; }
}
@media screen and (min-width: 360px) and (max-width: 374px) {
  .t396__artboard[data-artboard-screens^="390,"] { zoom: 0.923; left: calc(100vw * 0.04171); width: calc(100vw * 1.04171) !important; }
}
@media screen and (min-width: 340px) and (max-width: 359px) {
  .t396__artboard[data-artboard-screens^="390,"] { zoom: 0.8718; left: calc(100vw * 0.07353); width: calc(100vw * 1.07353) !important; }
}
@media screen and (max-width: 339px) {
  .t396__artboard[data-artboard-screens^="390,"] { zoom: 0.8205; left: calc(100vw * 0.10938); width: calc(100vw * 1.10938) !important; }
}

/* Шапка: мега-меню «Модели» (T794, #submenu:models) — все марки и модели в 6 колонок; марки жирным капсом */
@media screen and (min-width: 981px) {
  :is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) { width: 1100px !important; max-width: 1100px !important; }
  :is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) .t794__content { padding: 24px 28px !important; max-height: calc(100vh - 130px); overflow-y: auto; }
  :is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) .t794__list { column-count: 6; column-gap: 28px; }
  :is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) .t794__list_item { margin-bottom: 7px !important; break-inside: avoid; }
  :is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) .t794__typo { font-size: 14px !important; color: #cfcfcf !important; }
  :is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) .t794__typo:hover { color: #e31e24 !important; }
}
:is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) .t794__list_item:has(> a:is([href="/chip-tyuning-baw"],[href="/chip-tyuning-belgee"],[href="/chip-tyuning-changan"],[href="/chip-tyuning-chery-vse-modeli"],[href="/chip-tyuning-exeed"],[href="/chip-tyuning-faw"],[href="/chip-tyuning-gac"],[href="/chip-tyuning-geely"],[href="/chip-tyuning-great-wall"],[href="/chip-tyuning-haval-vse-modeli"],[href="/chip-tyuning-jac"],[href="/chip-tyuning-jaecoo"],[href="/chip-tyuning-jetour"],[href="/chip-tyuning-kaiyi"],[href="/chip-tyuning-knewstar"],[href="/chip-tyuning-livan"],[href="/chip-tyuning-omoda"],[href="/chip-tyuning-sollers"],[href="/chip-tyuning-soueast"],[href="/chip-tyuning-tank"],[href="/chip-tyuning-tenet"],[href="/chip-tyuning-wey"],[href="/chip-tyuning-xcite"])):not(:first-child) { margin-top: 14px; }
:is([data-tooltip-menu-id="5704983201"] + .t794__tooltip-menu, #rec5704983201 .t794__tooltip-menu) a:is([href="/chip-tyuning-baw"],[href="/chip-tyuning-belgee"],[href="/chip-tyuning-changan"],[href="/chip-tyuning-chery-vse-modeli"],[href="/chip-tyuning-exeed"],[href="/chip-tyuning-faw"],[href="/chip-tyuning-gac"],[href="/chip-tyuning-geely"],[href="/chip-tyuning-great-wall"],[href="/chip-tyuning-haval-vse-modeli"],[href="/chip-tyuning-jac"],[href="/chip-tyuning-jaecoo"],[href="/chip-tyuning-jetour"],[href="/chip-tyuning-kaiyi"],[href="/chip-tyuning-knewstar"],[href="/chip-tyuning-livan"],[href="/chip-tyuning-omoda"],[href="/chip-tyuning-sollers"],[href="/chip-tyuning-soueast"],[href="/chip-tyuning-tank"],[href="/chip-tyuning-tenet"],[href="/chip-tyuning-wey"],[href="/chip-tyuning-xcite"]) { font-weight: 700 !important; color: #ffffff !important; text-transform: uppercase; }

/* Мобильное меню (T450): раздел «Марки и модели» — марки жирным капсом с отступом */
#rec1791456591 .t-menusub__link-item:is([href="/chip-tyuning-baw"],[href="/chip-tyuning-belgee"],[href="/chip-tyuning-changan"],[href="/chip-tyuning-chery-vse-modeli"],[href="/chip-tyuning-exeed"],[href="/chip-tyuning-faw"],[href="/chip-tyuning-gac"],[href="/chip-tyuning-geely"],[href="/chip-tyuning-great-wall"],[href="/chip-tyuning-haval-vse-modeli"],[href="/chip-tyuning-jac"],[href="/chip-tyuning-jaecoo"],[href="/chip-tyuning-jetour"],[href="/chip-tyuning-kaiyi"],[href="/chip-tyuning-knewstar"],[href="/chip-tyuning-livan"],[href="/chip-tyuning-omoda"],[href="/chip-tyuning-sollers"],[href="/chip-tyuning-soueast"],[href="/chip-tyuning-tank"],[href="/chip-tyuning-tenet"],[href="/chip-tyuning-wey"],[href="/chip-tyuning-xcite"]) { font-weight: 700 !important; text-transform: uppercase; display: inline-block; margin-top: 10px; }
