 /*-------ТАБЫ НА ВСЮ ШИРИНУ------*/
.uc-custom_tab{
    padding: 0 34px;
}
@media screen and (max-width: 1200px) {
    .uc-custom_tab {
        padding: 0 10px;
    }
    .uc-custom_tab .t397__separator_mobile {
        display: none;
    }
    .uc-custom_tab .t397__wrapper_mobile-flex {
        padding-left: 0px !important;;
    }
}
.uc-custom_tab .t-container, .uc-custom_tab .t-width_12{
    max-width: 100%;
}
/*----------------------------------------*/
    
/*----КОНТЕЙНЕР ДЛЯ ФОТО НА 100% И ОТСТУПЫ 34px----*/
.cl_container {
    padding: 0 34px;
    width:100% !important;
}
.cl_container-right{
    padding-right:34px;
}
.cl_container-left{
    padding-left:34px;
}
@media screen and (max-width: 1200px) {
    .cl_container {
        padding: 0 10px;
    }
    .cl_container-right{
        padding-right:10px;
    }
    .cl_container-left{
        padding-left:10px;
    }
}
/*----------------------------------------*/

/*ПОКАЗАТЬ ЕЩЕ - КАТАЛОГ*/
.js-store-load-more-btn.t-store__load-more-btn.t-btn.t-btn_sm {
        background: none !important;
        width: 206px;
        height: 56px;
        color: #4F4F39 !important;
        border: 1px solid #4F4F39;
        border-radius: 0px !important;
        font-size: 16px !important;
        font-weight: 400;
        letter-spacing: 1px;
}
@media screen and (max-width: 480px) {
    .js-store-load-more-btn.t-store__load-more-btn.t-btn.t-btn_sm {
        background: none !important;
            width: 100%;
    }
    .t-store__load-more-btn-wrap {
        padding: 0 10px;
    }
}
/*----------Кастом стили для БЕСЦЕЛЛЕРЫ---------*/
.uc-bestseller .t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="20"]{
    padding: 0 18px;
}

/*Отступы КАТАЛОГА*/
.uc-bestseller.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="0"] {
    padding: 0 34px;
}

.t-store__card__img {
        max-height: 100%;
        width: 100%;
        object-fit: cover; 
    }
    /*отступы у всех каталогов по гриду*/
.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="0"] {
        padding: 0 34px;
    }
    /*отступы у всех каталогов по гриду до 1200*/
@media screen and (max-width: 1200px){
    .t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="0"] {
        padding: 0 10px;
    }
}
    
@media screen and (max-width: 960px){
    .uc-bestseller .t-store__card__img {
        margin: auto;
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="40"], .t-store__grid-cont_col-width_stretch[data-col-gap="40"] {
        padding: 0;
    }
}

/*ставим название и стоимость в одну строку и растягиваем по ширине */
.t-store__card__textwrapper {
    margin-top: 12px; /*расстояние строки с текстом от фото*/
    padding: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.t-store__card__price-wrapper {
    margin-top: 0; //убираем отступ у цены
}

@media screen and (min-width: 1400px) {
    /*убираем все отступы*/
    .uc-bestseller .t-store__card__img {
        margin: 0px;
        object-fit: cover; 
        width: 100%;
        height: 100%;
    }
    .uc-bestseller .t-store__grid-cont_col-width_stretch .t-store__card__imgwrapper_1-1, .uc-bestseller .t-store__grid-cont_col-width_stretch .t-store__card__imgwrapper_original-ratio.t-store__card__imgwrapper_1-1 {
        padding-bottom: 110%;
    }
    
    .uc-bestseller .js-store-grid-cont.t-store__grid-cont.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent.t-store__grid-cont_mobile-grid {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }
    .uc-bestseller .t-store__stretch-col_33 {
        padding: 0px;
        width: 100%;
    }
    /*удаляем разделитель*/
    .uc-bestseller .t-store__grid-separator{
        display: none;
    }
    
    .uc-bestseller .t-store__card__price-wrapper {
        margin-top: 0; 
    }
    
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(1) {
        grid-column: 1 / 2;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(2) {
        grid-column: 2 / 3;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(3) {
        grid-column: 3 / 4;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(4) {
        grid-column: 1 / 3;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(5) {
        grid-column: 1 / 3;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(6) {
        grid-column: 3 / 4;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:nth-of-type(7) {
        grid-column: 1 / 2;
        align-items: start;
    }
    .uc-bestseller .js-product.t-store__card.t-store__stretch-col.t-store__stretch-col_33.t-align_left.t-item:last-child {
        grid-column: 2 / 4;
    }
    
    /*размеры больших карточек на главном экране*/
    .uc-bestseller [data-product-uid="253102792902"] .t-store__card__imgwrapper.t-store__card__imgwrapper_1-1.t1002__picture-wrapper, .uc-bestseller [data-product-uid="759156975962"] .t-store__card__imgwrapper.t-store__card__imgwrapper_1-1.t1002__picture-wrapper {
        padding-bottom: 52.8%;
    }
    
    .uc-bestseller  .t-store__card__imgwrapper.t-store__card__imgwrapper_original-ratio.t-store__card__imgwrapper_1-1 {
        padding-bottom: 520px;
    }
}



@media screen and (max-width: 1400px) and (min-width: 1201px) {

    .js-store-grid-cont.t-store__grid-cont.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent.t-store__grid-cont_mobile-grid {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }
    .t-store__grid-cont_mobile-grid .t-store__stretch-col:not(.t-store__stretch-col_100) {
        width: 100%;
    }
    .t-store__grid-cont_col-width_stretch[data-col-gap="40"] .t-store__stretch-col {
        padding: 0;
    }
    .t-clear.t-store__grid-separator {
        display: none;
    }
}
    
@media screen and (max-width: 1200px) and (min-width: 480px) {

    .js-store-grid-cont.t-store__grid-cont.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent.t-store__grid-cont_mobile-grid {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }
    .t-store__grid-cont_mobile-grid .t-store__stretch-col:not(.t-store__stretch-col_100) {
        width: 100%;
    }
    .t-store__grid-cont_col-width_stretch[data-col-gap="40"] .t-store__stretch-col {
        padding: 0;
    }
    .t-clear.t-store__grid-separator {
        display: none;
    }
}

@media screen and (max-width: 960px) {
    .t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 40px;
    }
}
@media screen and (min-width: 1200px) {

    .uc-bestseller .js-store-grid-cont.t-store__grid-cont.t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent.t-store__grid-cont_mobile-grid {
        grid-column-gap: 40px;
        grid-row-gap: 40px;
    }
}
/*---------------------------------*/

