/* Класс-хелпер. Скрывает элемент (наверняка) */
.hide {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.continue-btn {
    background-color: #f9c100;
    color: #fff;
    font-size: 16px;
    border-radius: 15px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 50%);
    font-family: 'Rubik'
    
}

/* Скрыть неактивные варианты товара */
form.t-product__option-variants .t-product__option-item_disabled {
    display: none !important;
}

/* Скругления вариантов товара (размеры, цвет) */
.t-product__option-item {
    border-radius: 10px;
}

/* Добавление радиура и тени к блоку с фото товара на главной странице товара ST310N */
.t-store__card__bgimg, .t-store__card__bgimg_second {
    border-radius: 15px;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 50%);
}
/* Добавление радиура к блоку с главным фото на странице товара ST205 */
.t-slds__bgimg-contain {
    border-radius: 15px;
}
/* Стиль плашки "бестселлер" */
.t-store__card__mark {
    font-family: Rubik;
    font-weight: 500;
    width: auto;
    height: 25px;
    border-radius: 10px;
   background: linear-gradient(to bottom right , #F83600 , #F9D423 90%);
   box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);

}

/* Скрыть по умолчанию элемент. Например, кнопка Добавить в корзину (скрыта до скролла первого блока) */
.uc-display_on_scroll {
    display: none !important;
}

/* Блок с информацией о товаре во всю ширину */
.t762__info.js-store-single-product-info {
    width: 100%;
}

/* Кнопка в блоке с информацией о товаре во всю ширину */
.t762 a.t762__btn {
    width: 100%;
}

/* Стили старой цены товара */
.t-store__card__price_old {
 margin-left: 5px;
 font-size: 20px;
}

.t762__price_old {
    margin-left: 5px !important;
    font-size: 20px !important;
}
/* Цена товара размер шрифта */
.t-store__card__price{
 font-size: 22px !important;
}
.t762__price {
  font-size: 22px !important;
}

/* Скрываем артикул товара */
.t762__title_small {
    display: none;
}
.t706 .t706__product-title__option:last-child {
    display:none;
}


/* Закругление фото на отзывах */
.t527__bgimg {
    border-radius: 10px;
}

/* Обертка селекта в карточке товара и в попапе */
.t762 .js-product-controls-wrapper, .t756 .js-product-controls-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 15px;
    width: fit-content;
}

/* Стили для селекторов и радио кнопок свойств товара */
.js-product .t-product__option-select {
    border-radius: 10px;
    font-size: 18px;
    background: linear-gradient(to bottom right , #ffffff , #ffffff 60%);
    box-shadow: 0px 0px 1px 0px #005499;
    font-weight: 300;
    color: #005499;
}
.t-product__option[data-view-type="radio"], .t-product__option[data-view-type="buttons"] {
    display: grid;
    grid-column-start: 1;
    grid-column-end: 3; 
}
.t-product__option[data-view-type="radio"] > form.t-product__option-variants {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.t-product__option[data-view-type="radio"] form .t-product__option-title{
    display: none !important;
}
.t-product__option[data-view-type="radio"] form .t-product__option-checkmark.t-bgimg.t-product__option-checkmark_radio.t-product__option-checkmark_image {
    transform: scale(1.2);
}

.t-product__option[data-view-type="buttons"] form {
    gap: 10px
}

.t-product__option[data-view-type="buttons"] form .t-product__option-item_active {
    color: #005499;
    border: 1px solid rgba(0, 84, 153, .5) !important;
}

.t-product__option[data-view-type="buttons"] form .t-product__option-title_buttons {
    font-size: 14px;
}

.t-product__option[data-view-type="buttons"] form .t-product__option-item_active .t-product__option-title_buttons {
    color: #005499;
    font-weight: 500;
}


/* Попап окно */
.t756 .t-popup__container {
    min-height: fit-content !important;
    border-radius: 20px;
} 
/* Убрать артикул в попапе */
.t756 .t-popup__container .t756__title_small.t-descr.t-descr_sm {
    display:none;
} 

/* Название свойств товара */
.t-popup__container .t-product__option-title {
    /*display:none;*/
    font-size: 12px;
} 

/* Название свойств над селектами/радио */
.t756 .js-product-edition-option.t-product__option {
    display: flex;
    flex-direction: column;
}

/* Картинка в попапе */
.t756 .t-popup__container .t-slds__items-wrapper {
    height: auto !important;
}
.t756 .t-popup__container .t-slds__bgimg.t-bgimg.js-product-img {
    padding-bottom: 15% !important;
    border-radius: 20px 20px 0 0;
    background-image: url('https://static.tildacdn.com/tild6666-6661-4666-b765-376263326132/__-11.png') !important;
}
/* Попап, контейнер галереи */
.t756 .t-popup__container .t-slds__container {
    background-color: unset !important;
}

/* Метка скидки оранжевая для блока ST305N */
.t776__mark{
    font-family: Rubik;
    font-weight: 500;
    width: auto;
    height: 25px;
    border-radius: 10px;
    background: linear-gradient(to bottom right , #F83600 , #F9D423 90%);
    box-shadow: 0px 0px 5px 0px / 30%;
}

/* Стиль для блока ST205 страницы товара. Уменьшает картинку и увеличивает шрифты на десктопах */

@media (min-width:980px){
.t762 {
width: 70% !important;
padding-left: 10%;
padding-top: 20px;
}
.t762__title{
    font-size:30px;
}
.t762__price{
    font-size:36px !important; 
}
}

@media screen and (max-width: 640px) {
    /* Картинки в блоке FR102 */
    .t512__bgimg.t512__img_circle {
        max-width: 130px;
        max-height: 130px;
    } 
    
    /* Квадратное видео с ютуба */
    .uc-squareVideo center > div {
        height: unset !important;
        width: fit-content !important;
    }
    .uc-squareVideo iframe {
        height: 390px !important;
        width: 390px !important;
    }
}

@media screen and (max-width: 560px) {
    /* Попап */
    .t702 .t-popup__container, .t756 .t-popup__container {
        margin: 0 !important;
    }
    
    .t702 .t-popup__container {
        padding-top: 0 !important;
        top: 20vh !important;
        min-height: 50vh !important;
    }
    
    .t756 .t-popup.t-popup_show {
        padding-top: 25%;
    }

    
    /* Попап, кнопка закрыть */
    .t702 .t-popup__block-close, .t756 .t-popup__block-close {
        width: 50px;
        left: unset;
        padding-top: 0;
        position: absolute;
        background-color: unset;
    }   
    .t756 .t-popup__block-close {
        padding-top: 25%;
    }  
    .t702 .t-popup__block-close {
        top: 20vh;
    }  
    
    
    .t756 .t-popup__block-close-button {
        margin-right: 50%;
        transform: translateX(50%);
    }
     /* Попап в хедере консультация */
    .uc-t825 .t825__mobile-top-panel {
        width: 50px;
        height: 50px;
        left: unset;
        right: 0px;
        position: absolute;
    }
    
    .uc-t825 .t825__popup-container {
        min-height: unset;
    }
    
    .uc-t825 .t825__popup {
        height: unset;
        top: unset;
        bottom: 0;
    }
    
    .uc-t825 .t825__wrapper {
        padding-top: 20px;
    }
    
    .uc-t825 .t825__mobile-top-panel_wrapper {
        background-color: #6994c6;
    }
}

@media screen and (max-width:960px){
    .t706 .t706__carticon.t706__carticon_sm {
        bottom: 300px !important;
    }
}
