/* Класс-хелпер. Скрывает элемент (наверняка) */
.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;
}

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

/* Убрать отображение полей для онлайн заказа в корзине */
.uc-checkout .t-input-group:has(input[name="city"],input[name="region"],input[name="street"],input[name="building"],input[name="apartments"],input[name="entrance"],input[name="floor"],select[name="delivery"],input[name="deliveryDate"],select[name="deliveryTime"],textarea[name="comment"]):has(.t-input-subtitle) { 
    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'
    
}

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

/* Добавление радиура и тени к блоку с фото товара на главной странице товара ST310N */
.t-store__card__bgimg, .t-store__card__bgimg_second {
    border-radius: 15px;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 50%);
}

/* Увеличенный отступ вариантов товара (размеры, цвет) */
.js-product .t-product__option-variants_radio .t-product__option-item {
    padding-left: 40px;   
}

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


/* Скругление основного блока (не работает) */
.t762__col.t762__col_padding {
    border-radius: 15px;
}


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

/* Стиль плашки "бестселлер" */
.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%);

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

.t762__price_old {
    margin-left: 15px !important;
    font-size: 20px !important;
}

/* Цена товара размер шрифта */
.t-store__card__price{
 font-size: 28px;
}

.t762__price {
  font-size: 28px !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://thumb.tildacdn.com/tild6136-3965-4564-b866-363530383966/-/format/webp/cartmini4.png') !important;
}
/* Попап, контейнер галереи */
.t756 .t-popup__container .t-slds__container {
    background-color: unset !important;
}

/* Стиль для блока 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) {
    /* Блок с информацией о товаре во всю ширину */
    .t762__info.js-store-single-product-info {
        width: 100%;
    }

    /* Попап */
    .t756 .t-popup.t-popup_show {
        padding-top: 25%;
    }
    .t756 .t-popup__container {
        margin: 0 !important;
    }
    /* Попап, кнопка закрыть */
    .t756 .t-popup__block-close {
        width: 50px;
        left: unset;
        position: absolute;
        padding-top: 25%;
        background-color: unset;
    }   
    .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;
    }
    /* Изменение размера шрифта в табах товара 
    /* .t-store .t-store__tabs__content {
    /*     font-size: 16px;    
  /*   } */
     /* Изменение размера цены в стандартном попапе товара */
   /*  .t-name_md {
   /*      font-size: 28px;
    }*/
}
