/*Header*/

#rec1193786721 {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

@media screen and (max-width: 639px) {
    #rec1193786721 .tn-elem[data-elem-id="1714808494905"] {
        display: none !important;
    }
}

@media screen and (max-width: 1199px) {
    #rec1193786721 .tn-elem[data-elem-id="1714808494905"] {
        display: none !important;
    }
}

/* Для остальных разрешений */
#rec1193786721 .tn-elem[data-elem-id="1714808494905"] {
    display: none !important;
}

/* Скрываем пока не появился inline стиль от скрипта */
.wishNolimQuantity065:not([style*="display: table"]) {
    display: none !important;
}

/*Hero Slider*/

.t734__descr {
     margin-top: 0;
}

.t734 {
    margin-top: 60px;
}

.t734 .t-slds__container,
.t734 .t-cover__wrapper,
.t734 .t-cover__carrier {
    height: calc(100svh - 60px) !important;
}

/*Каталог Блок786*/

.t786 .t-store__card__textwrapper {
    padding: 16px 16px 0 !important;
}

.t786 .t-store__card__price-wrapper {
    margin-top: 0 !important;
}

.t786 .t-store__card__descr {
    display: none !important;
}

.t786 .omni-badge {
    display: none !important;
}

.t786 .js-store-prod-sold-out {
    font-size: 0;
}

.t786 .t-store__prod-popup__info .js-store-prod-sold-out {
    display: none;
}

.t786 .js-store-prod-sold-out::before {
    content: "Скоро в продаже";
    font-family: 'Onest', Arial, sans-serif;
    font-size: 10px;
    color: #000000;
}

.t951 .t-store__color-selector {
    display: none !important;
}

@media screen and (max-width: 960px) {
    .t786 .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 20px !important;
    }
}


/*Попап*/
/*Попап скрытие характеристик*/

.t786 .js-product-edition-option .js-product-edition-option-name {
    display: none !important;
}


.js-store-prod-all-charcs {
    display: none !important;
}

.t786 .t-store__relevants__container .t-store__card__descr {
    visibility: hidden;
}

/*Если дублируется ЯндексПей*/
.omni-widget .ya-pay-widget:not(:first-child) {
    display: none !important;
}

/*Скидка*/

.js-product:has(.t-store__card__price_old:not([style*="display: none"])) {
    position: relative;
}

.js-product:has(.t-store__card__price_old:not([style*="display: none"]))::before {
    content: "SALE";
    position: absolute;
    top: 10px;
    right: 20px;
    /*background: #ff4444;*/
    color: black;
    /*padding: 4px 8px;*/
    font-family: 'Onest', Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #ffffff;
    mix-blend-mode: difference;
    /*border-radius: 4px;*/
    z-index: 10;
}


/*Фильтр категорий в каталоге*/
.t786 .js-store-parts-select-container {
    /*position: sticky;*/
    /*top: 59px;*/
    background: #fff;
    z-index: 9999;
}

/* Стили горизонтального скролла только для устройств до 1200px */
@media (max-width: 1199px) {
    .t786 .t-store__parts-switch-wrapper {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        padding-top: 15px !important;
        padding-bottom: 10px !important;
        padding-right: 16px !important; /* Отступ справа для последнего элемента */
        margin-bottom: 0 !important;
        -webkit-overflow-scrolling: touch !important; /* для iOS */
        /* Скрыть скроллбар на всех устройствах */
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }
    
    .t786 .t-store__parts-switch-wrapper::-webkit-scrollbar {
        display: none !important;
    }
    
    .t786 .js-store-parts-switcher {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        margin-right: 20px !important;
    }
    
    .t786 .js-store-parts-switcher:last-child {
        margin-right: 0 !important; /* Убираем отступ у последнего элемента */
    }
    
    .t786 .t-store__parts-switch-btn {
        margin-left: 16px !important;
    }
}

/* Активный элемент - жирный для всех экранов */
.t786 .js-store-parts-switcher.t-active {
    font-weight: bold !important;
}

@media (min-width: 1200px) {
    .t786 .js-store-parts-switcher {
        font-size: 13px !important;
    }
    
    .t786 .t-store__parts-switch-wrapper {
        padding-top: 30px !important;
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
        text-align: left;
    }
    
    .t786 .t-store__parts-switch-btn {
        margin-left: 0 !important;
        margin-right: 25px !important;
    }
    
    .t786 .js-store-parts-select-container {
        padding: 0 30px;
    }
}

