.collection__slide-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.collection__slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.collection__slide-img a {
    display: block;
    width: 100%;
    height: 100%;
}
.catalog-promo__wrapper.catalog-promo__b1--item h2,
.catalog-promo__b3.catalog-promo__wrapper h2,
.catalog-promo__b2--wrapper.catalog-promo__wrapper h2{
        font-size: 1.4375rem;
}

.widget.c-widget.c-widget-products-4 .widget-item-summary {
    max-height: 33px;
    white-space: normal;
}

.block-mobil {
    display: none;
}
body.overflow-hidden {
    overflow: hidden;
}
.widget.c-widget.c-widget-products-4[data-columns-mobile="2"] .widget-item-quantity-wrap.widget-item-quantity-wrap_show {
    display: flex !important;
}
.footer__top-button{
    margin-bottom: 15px;
}
/* ГЛАВНЫЙ КОНТЕЙНЕР С FLEX */
.delivery-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding-top: 10px;
}

/* ПРАВЫЙ БЛОК С КОНТЕНТОМ */
.delivery-right-block {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}

/* ===== АДАПТИВ СТРАНИЦЫ ===== */

/* Планшет (до 1200px) */
@media (max-width: 1200px) {
    .delivery-flex {
        gap: 40px;
    }
}

/* Планшет маленький (до 900px) */
@media (max-width: 900px) {
    .delivery-flex {
        gap: 30px;
    }
}

/* Мобильные устройства (до 768px) - меню сверху, контент снизу */
@media (max-width: 768px) {
    .delivery-flex {
        flex-direction: column;
        gap: 0px;
        padding-top: 0px;
    }

    .delivery-right-block {
        width: 100%;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .delivery-flex {
        gap: 0px;
    }
}

@media (max-width: 499px) {
    .block-mobil {
        display: inline-block;
    }

    .widget-item-quantity-value {
        display: flex;
        flex-wrap: wrap;
    }

    .intec-grid.intec-grid-nowrap {
        width: 100%;
    }

    .widget.c-widget.c-widget-products-4 .widget-item-summary {
        text-align: left;
    }

    .widget.c-widget.c-widget-products-4 .widget-item[data-recalculation="true"][data-available="true"] .widget-item-summary {
        display: block !important;
        font-size: 9px;
        line-height: 1.1;
    }

    .ns-bitrix.c-catalog-section.c-catalog-section-catalog-tile-4 .catalog-section-item[data-recalculation=true][data-available=true] .catalog-section-item-summary {
        font-size: 9px;
        line-height: 1.1;
    }
}

.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

/* Спиннер */
.global-loader__spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.card-img_container img {
    object-fit: contain !important;
}

.remains__cards .catalog__card.type-collection {
    width: 20%;
}

@media (max-width: 1440px) {
    .remains__cards .catalog__card.type-collection {
        width: 25%;
    }
}

@media (max-width: 740px) {
    .remains__cards .catalog__card.type-collection {
        width: 50%;
    }
}

.card,
.view__card-img img,
.item-card .item-image,
.ns-bitrix.c-basket.c-basket-template-2 .basket-item-image,
.item-card,
.view__card {
    border-radius: 0 !important;
}

.basket-item .item-image {
    background: transparent !important;
}

.product__payments {
    padding: 0 10px;
}
.menu-section {
    z-index: 99;
    padding-top: 40px;
}
/*@media (max-width: 1150px) {*/
/*    .menu-section {*/
/*        padding-top: 190px;*/
/*    }*/
/*}*/

/*@media (max-width: 1024px) {*/
/*    .menu-section {*/
/*        padding-top: 210px;*/
/*    }*/
/*}*/

/*@media (max-width: 750px) {*/
/*    .menu-section {*/
/*        padding-top: 265px;*/
/*    }*/
/*}*/

/*@media (max-width: 730px) {*/
/*    .menu-section {*/
/*        padding-top: 230px;*/
/*    }*/
/*}*/
.burger__mobile{
    z-index: 99999;
}
.active.header__burger .burger__mobile-mid {
    display: none;
}

.active.header__burger .burger__mobile-top {
    top: 8px;
    transform: rotate(45deg);
}
.catalog .product-card .product-card__color{
    border-radius: 0;
}
.active.header__burger .burger__mobile-bot {
    top: 8px;
    transform: rotate(-45deg);
}

.view__card {
    border-radius: 0 !important;
}
    .menu-section .header__burger {
        display: none;
    }
@media (max-width: 740px) {
    .menu-section .header__burger {
        display: block;
    }
}
.page-about .about-section {
    padding-top: 0;
}

.page-about .about__card {
    padding: 19px;
}

.page-about.product__content h3 {
    font-size: 16px;
    line-height: 1.2;
}

.page-about .about__card-text p {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 0;
}

.page-about .brands__card{
    width: calc(100% / 3 - 30px)
}
.about__subtitle{
    margin-top: 32px;
}
.page-about ul{
    font-size: 18px;
    color: #627490;
}

.page-about {

}
.tab-select-container{
    margin-left: auto;
}
/* Переопределяем выравнивание */
.header__top {
    justify-content: flex-start !important;
    gap: 20px !important;
}
/* Запрещаем сжатие логотипа и кнопки каталога */
.header__logo,
.header__catalog {
    flex-shrink: 0 !important;
}
/* Поиск растягивается */
.header__search {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
/* Внутренние контейнеры поиска растягиваются */
.header__search .input-wrapper,
.header__search .input-container {
    width: 100% !important;
    max-width: 100% !important;
}
.header__search input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
/* Прижимаем правую группу */
.header__phone,
.header__controls {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}