.ui-wysiwyg h4 {
    display: block;
    margin: 0 0 1rem;
    font-size: 1.8rem;
    line-height: 1.25;
    font-weight: 500;
}
.ui-wysiwyg p {
    margin: 0 0 1rem;
}
.ui-ol > li, .ui-wysiwyg ol:not([class]) > li {
    position: relative;
    padding: 0 0 0 4rem;
    margin: 0 0 1rem;
}
.ui-wysiwyg h2 {
    display: block;
    margin: 0 0 1rem;
    font-size: 2.4rem;
    line-height: 1.25;
    font-weight: 500;
}
.ui-wysiwyg h3 {
    display: block;
    margin: 0 0 1rem;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 500;
}
.ui-ul, .ui-wysiwyg ul:not([class]) {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}
.ui-ul > li, .ui-wysiwyg ul:not([class]) > li {
    padding: 0 0 0 4rem;
    margin: 0 0 0.4rem;
    position: relative;
}
@media (min-width: 1200px) {
    .main-category .col-xl-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 40%;
        max-width: 40%;
    }

    .main-category .col-xl-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 60%;
        max-width: 60%;
    }
}
.catalog .seo, .blog .seo, .brands .seo {
    border-top: 1px solid #EDEDF3;
    padding: 1rem 0 0;
    margin: 0;
}

.categories__item-link {
    font-size: 1.2rem;
}

@media (max-width: 1199px) {
    .categories__item-front {
        padding: 3rem 2rem 2rem 2rem;
    }

    .categories__item-link {
        font-size: 14px;
        background: rgba(0, 0, 0, 0.55);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .categories__item-link {
        font-size: 1.05rem;
    }
}

@media (min-width: 1200px) {
    .inform-wrapper .col-xl-9 {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
}

@media (min-width: 1200px) {
    .inform-wrapper .col-xl-3 {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
}

.product-crm {
    border-collapse: collapse;
    border: none;
}

.product-crm tr:nth-of-type(odd) {
    background: #e8e8e8;
}

.product-crm thead tr {
    background: transparent!important;
}

.product-crm tr td:nth-of-type(2) {
    padding-right: 50px;
}

.product-crm tr td:nth-of-type(1) {
    padding-right: 20px;
}


@media (max-width: 1197px) {
    .header__sticky_repair {
        bottom: 50px;
        height: 50px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .header__sticky_repair a {
        width: 100%;
        height: 50px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        color: #ffffff;
    }
}

.header__sticky_repair {
    display: flex;
}


.product-crm {
    width: 100%;
}

@media (min-width: 1199px) {
    .header__sticky_repair {
        display: none!important;
    }

    .header__nav-offcanvas {
        width: 140rem;
    }
}

@media (max-width: 1199px) {
    .cookieagry-alert {
        margin: 2.5rem 2.5rem 120px;
        padding: 2.5rem;
    }
}

.app {
    overflow: visible;
}

.main-category .col-xl-3 {
    position: relative;
}

#column-right > div {
    position: sticky;
    top: 110px;
}

/* 0) Базовая страховка */
*,
*::before,
*::after { box-sizing: border-box; }
img, svg { max-width: 100%; height: auto; }
html, body { overflow-x: hidden; } /* оставить, пока правим верстку */

/* 1) Хедер не шире вьюпорта: 100% вместо 100vw */
.header,
.header__inner,
.topbar,
.site-header,
.header-sticky,            /* подстрахуем название фикса/стикера */
.header .container,
.header__bar {
    width: 100% !important;
    max-width: 100% !important;
}

/* 2) Если хедер фиксированный — фиксируем краями, а не vw */
.header-sticky,
.site-header.is-fixed,
.header[style*="position:fixed"] {
    left: 0; right: 0;       /* вместо width:100vw */
}

/* 3) Уменьшаем «распирание» из-за внутренних отступов на мобилке */
@media (max-width: 480px) {
    .header,
    .header__inner,
    .header .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* 4) Лого и кнопки в строке не должны тянуть ширину */
.header__logo,
.header__actions,
.header .burger,
.header .phone {
    min-width: 0;
    max-width: 100%;
}

/* 5) Слайдер/герой под хедером тоже не на 100vw */
.hero,
.section--full,
.swiper-outer,
.banner-full {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
html{
    overflow-y: auto;
    overflow-x: visible; /* важно: не hidden */
}

body{
    overflow-x: hidden;  /* прячем горизонталь */
    overflow-y: visible;
}
@media (max-width: 1199px) {
    .swiper-shops > .swiper-wrapper::-webkit-scrollbar, .swiper-blog > .swiper-wrapper::-webkit-scrollbar, .swiper-news > .swiper-wrapper::-webkit-scrollbar, .swiper-benefits > .swiper-wrapper::-webkit-scrollbar, .swiper-reviews > .swiper-wrapper::-webkit-scrollbar, .swiper-brands-featured > .swiper-wrapper::-webkit-scrollbar, .swiper-partners > .swiper-wrapper::-webkit-scrollbar, .swiper-categories > .swiper-wrapper::-webkit-scrollbar, .swiper-stories-features > .swiper-wrapper::-webkit-scrollbar {
        width: 0.3rem;
        height: 0.8rem;
    }
}

.breadcrumbs__link, .breadcrumb > li > a {
    color: #686b77;
}

.breadcrumbs__menu, .breadcrumb {
    color: #686b77;
}

/* Контейнер формы: готовим fade-in */
.js-b24-lazy {
    position: relative;
    min-height: 220px; /* чтобы не прыгала верстка — подгони под реальную высоту */
}

/* Плейсхолдер (скелетон) */
.js-b24-lazy .b24-skeleton {
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    padding: 18px;
    overflow: hidden;
}

.js-b24-lazy .b24-skeleton__line {
    height: 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    margin: 10px 0;
    position: relative;
}

.js-b24-lazy .b24-skeleton__line.w60 { width: 60%; }
.js-b24-lazy .b24-skeleton__line.w85 { width: 85%; }
.js-b24-lazy .b24-skeleton__line.w95 { width: 95%; }

/* Мерцание */
.js-b24-lazy .b24-skeleton__line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    animation: b24shine 1.2s infinite;
}
@keyframes b24shine { to { transform: translateX(100%); } }

/* Сама форма: сначала скрыта, потом проявится */
.js-b24-lazy .b24-form-host {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
}
.js-b24-lazy.is-b24-ready .b24-form-host {
    opacity: 1;
    transform: translateY(0);
}

.js-b24-lazy.is-b24-ready .b24-skeleton {
    display: none;
}
@media (max-width: 767px) {
    .universal-section {
        content-visibility: auto;
        contain-intrinsic-size: 1000px;
    }
}

.intro__item-info {
    font-size: 16px!important;
}

.categories__item-link {
    font-size: 14px!important;
}

@media (min-width: 1199px) {
    .categories__item-front {
        padding: 3rem 0 3rem 3rem;
        max-width: calc(100% - 12rem);
    }
}

/* 1) Заголовок карточки: если не влез — обрезаем троеточием */
.categories__item-title{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* (дополнительно) Чтобы “пилюли” с подкатегориями не вылезали по ширине */
.categories__item-menu > li { max-width: 100%; }
.categories__item-link{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 2) На мобильных ширинах НЕ раскрываем список по hover и не зумим фон */
@media (max-width: 1199px){
    .categories__item:hover .categories__item-menu{ max-height: 10.5rem !important; }
    .categories__item:hover .categories__item-back{ transform: none !important; }
}

/* 3) “Правильные” состояния:
   - hover-эффекты только там, где реально есть hover
   - на тач-устройствах подсветка по :active (тап), без залипания hover */
@media (hover: hover){
    .categories__item-link:hover{
        background: #fff;
        color: #343434;
    }
}

@media (hover: none){
    .categories__item-link:hover{
        /* держим внешний вид как “обычный”, чтобы не было залипания белого hover */
        background: rgba(0,0,0,0.55) !important;
        color: #fff !important;
    }

    .categories__item-link:active{
        background: #fff;
        color: #343434;
    }
}

/* (не обязательно, но полезно) видимый фокус для клавиатуры */
.categories__item-title:focus-visible,
.categories__item-link:focus-visible{
    outline: 2px solid rgba(255,255,255,.85);
    outline-offset: 2px;
    border-radius: 6px;
}

.categories__item-menu {
    width: 100%;
}

.categories__item-menu li {
    min-width: 0;
    max-width: 100%;
}

.categories__item-link {
    display: block;          /* ключевое */
    width: 100%;
    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    min-width: 0;            /* важно для flex */
}