/* Взаимодействие с элементами и их внешний вид */

    /* Уменьшение (или увеличение) стандартной карточки потока при наведении. Блок FD301 */
    @media screen and (min-width: 960px) {
        .uc-window-2 .t897 .js-feed-post,
        .uc-window-3 .t897 .js-feed-post,
        .uc-window-4 .t897 .js-feed-post {     /*Нужный класс блока из таблицы*/
            transition: 0.2s ease-in-out;    /*Длительность и плавность анимации*/    
        }
        .uc-window-2 .t897 .js-feed-post:hover,
        .uc-window-3 .t897 .js-feed-post:hover,
        .uc-window-4 .t897 .js-feed-post:hover {
            transform: scale(0.98);  /*Размер увеличения карточки*/ 
        }
    }
    
    /* Подписи дат и разделов без межбуквенного расстояния и без заглавных */
    .t-feed__post-date,
    .t-feed__post-tag {
        letter-spacing: 0px;
        text-transform: none;
    }
    
    /* Прозрачность фоток при наведении (1-й экран, 1-я колонка) */
    .uc-childblock-1 .t-feed__col-grid__post-wrapper .t-feed__post-bgimg {
        transition: 0.2s ease-in-out;
    }
        
    .uc-childblock-1 .t-feed__col-grid__post-wrapper:hover .t-feed__post-bgimg {
        opacity: 85%;
    }
    
    /* Отступы (1-й экран, 1-я колонка) */
    @media screen and (max-width: 960px) {
        .t-feed__container_inrow2 .t-feed__post:nth-child(-n+2),
        .t-feed__container_inrow3 .t-feed__post:nth-child(-n+3),
        .t-feed__container_inrow4 .t-feed__post:nth-child(-n+4) {
            margin-top: 30px!important;
        }
    }
    
    /* Отступы (1-й экран, 2-я колонка) */

    @media screen and (max-width: 960px) {
        .t896 .t-feed__row-grid__post-wrapper {
            padding-bottom: 15px;
            padding-top: 15px;
        }
    }
    
    @media screen and (min-width: 960px) {
    /* Между датой и заголовком (1-й экран, 2-я колонка) */
        .t-feed__post-parts-date-row.t-feed__post-parts-date-row_afterdescr {
            margin-top: 10px;
        }
        
        .t896 .t-feed__row-grid__post-wrapper {
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }
    
    /* Изменение фона при наведении (1-й экран, 2-я колонка) */
    .uc-childblock-2 .js-feed-post,
    .uc-window-1 .js-feed-post {
        transition: 0.2s ease-in-out;
    }
        
    .uc-childblock-2 .js-feed-post:hover,
    .uc-window-1 .js-feed-post:hover {
        background-color: #F5F3FE;
    }
    
    /* Изменение фона при наведении (1-й экран, 2-я колонка) */
    /* #rec778922548 {
        .js-feed-post {
            transition: 0.2s ease-in-out;
        }
        
        .js-feed-post:hover {
            background-color: #f7f7f7;
        }
    } */
    
    /* Внешний вид лейбла с разделом, который на фотке */
    .t-feed__post-label {
        background-color: #fff !important;
        border-radius: 100px !important;
        padding: 5px 12px !important;
    }
    
    /* Цвет текста лейбла с разделом (кроме первого блока) */
    /*.t-feed__post-tag:not(.uc-childblock-1 .t-feed__post-tag) { */
      .t-feed__post-tag {
        color: #373737 !important;
    }
    
    /* Отступ справа для текстового блока в новостях */
    .t-feed__textwrapper {
        padding: 0px 20px 0px 0px !important;
    }
    
    /* Изображения потоков */
    .t-feed__post-imgwrapper.t-feed__post-imgwrapper_beforetitle {
        /* border-radius: 8px !important; */
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Фоновая фотка блока подписки (на главной) */
    .subscribe-bg .tn-atom {
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Изображение в статье IM01 */
    img.t-img.t-width.t107__widthauto.loaded {
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Иконка скролла в моб.версии потоков */
    .t897__scroll-icon-wrapper {
        display: none !important;
    }
    
    /* Слайдер статей */
    @media screen and (min-width: 960px) {
        .t734__textwrapper.t-align_left {
            width: 60%;
        }
    }
    
    @media screen and (max-width: 480px) {
        .t734__title.t-title.t-title_sm {
            font-size: 20px;
        }
        .t734__descr.t-descr.t-descr_md {
            font-size: 14px !important;
            margin-top: 15px;
        }
        a.t-btn.t-btn_md {
            width: 200px !important;
            height: 34px !important;
            font-family: 'Inter' !important;
            font-size: 12px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .t734__button {
            padding-top: 30px;
            padding-bottom: 10px;
        }
    }
    
    
    /* Потоки H1, H2 и текст */
    @media screen and (max-width: 480px) {
        .js-feed-post-title .t-title_xxs {
            font-size: 26px !important;
        }
        h2.t-redactor__h2 {
            font-size: 22px !important;
        }
        .js-feed-post-descr.t-feed__post-descr {
        font-size: 14px !important;
        }
        .t734__textwrapper.t-align_left {
            width: 70% !important;
        }
        
    /* Заголовок поста потока в ленте */    
        a.t-feed__link.js-feed-post-link {
            font-size: 18px;
        }
        
        .js-feed-post-title.t-feed__post-title.t-name.t-name_md {
            font-size: 18px !important;
            line-height: 1.35;
        }
    }

    /* Разделитель перед заголовком раздела (DV01) */
    .uc-window-1 .t118 {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
    
    /* Кнопка «Показать ещё» в потоках */
    button.js-feed-btn-show-more.t-feed__showmore-btn.t-btn.t-btn_md {
        width: 220px !important;
        height: 40px !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5 !important;
    }
    
    @media screen and (max-width: 480px) {
        button.js-feed-btn-show-more.t-feed__showmore-btn.t-btn.t-btn_md {
            width: 200px !important;
            height: 34px !important;
            font-size: 12px !important;
            text-transform: uppercase;
            letter-spacing: 0.5;
        }
    }
    
    /* Скос текста в заголовке раздела */
    .text-skew9 {
          transform:skew(-9deg) !important;
        }
    
    /* Плавность при наведении на лого партнеров */    
    img.t594__img.t-img.t594__greyonhovercolor.t594__alphaonhover.loaded {
        transition: 300ms;
    }
    
    /* Разделы потока FD301 */
    .t-feed__container.t897__container {
        margin-left: 0px !important;
    }
    
    ul.t-feed__parts-switch-wrapper.t-align_left {
        margin-bottom: 20px !important;
    }
    
    /* Разделы потока FD301 */
    @media screen and (max-width: 480px) {
        .t-feed__container .t-feed__parts-switch-wrapper {
            margin-bottom: 0px !important;
        }
        li.js-feed-parts-switcher.t-feed__parts-switch-btn.t-feed__parts-switch-btn_bg.t-name.t-name_xs.t-menu__link-item {
            font-size: 14px !important;
            margin-bottom: 5px !important;
        }
        /* li.js-feed-post.t-feed__post.t-item.t-width.t-feed__grid-col.t-col.t-col_3.t-align_left {
            margin-top: 20px !important;
        } */
        .t-feed__parts-switch-btn a {
            padding: 6px 12px  !important;
        }
        .t-feed__container.t897__container {
            margin: 0px !important;
        }
        ul.t-feed__parts-switch-wrapper.t-align_left {
            margin-bottom: 0px !important;
        }
    }
    
    /* Скрыть рекомендательные кнопки у постов потоков вверху справа */
    /*.t-feed__share-container {
        display: none;
    }*/
    
    /* Название потока вверху попапа */
    .js-feed-popup-title.t-feed__post-popup__close-text.t-descr.t-descr_xxs {
        font-size: 20px !important;
        transform: skew(-9deg) !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
    }
    
    /* Расстояние от заголовка до шапки (пост потока попап) */
    .t-feed__post-popup__content-wrapper {
        padding-top: 40px;
    }
    
    /* Дата и раздел внизу поста в попапе */
    .t-feed__post-popup__date.t-uptitle {
        letter-spacing: 0px !important;
    }
    .t-uptitle {
        letter-spacing: 0px !important;
    }
    
    /* Похожие посты — раздел */
    .t-feed__post-popup__relevants-item-tag {
        letter-spacing: 0px !important;
    }
    
    @media screen and (min-width: 960px) {
        /* Похожие посты — заголовок */
        .t-name_xs {
            font-size: 20px;
        }
        
        /* Похожие посты — текст */
        .t-descr_xxs {
            font-size: 14px;
        }
        
        /* Похожие посты — картинка и текст */
        .t-feed__post-popup__relevants-content {
            align-items: center;
        }
        .t-feed__post-popup__relevants-imgwrapper {
            width: 150px !important;
            height: 100px !important;
            border-radius: 0px 30px 0px 30px !important;
        }
    }
    
    @media screen and (max-width: 480px) {
        /* Похожие посты — заголовок */
        .t-name_xs {
            font-size: 16px !important;
        }
        
    }
    
    /* Картинка похожих постов потоков (попап) */
    .t-feed__post-popup__relevants-bgimg.t-bgimg.loaded {
        border-radius: 0px 15px 0px 15px !important;
    }
    
    /* Главная картинка поста потоков (попап) */
    .t-feed__post-popup__content img {
        border-radius: 0px 30px 0px 30px !important;
    }
    
    /* Кнопка "Поделиться" в посте потока (попап) */
    @media screen and (min-width: 960px) {
        .t-feed__share-container:before {
            content: "Поделиться";
            display: inline-block;
            font-size: 12px;
            color: #f7f7f7;
            padding: 7px 12px;
            background-color: #373737;
            border-radius: 100px;
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            margin-top: 15px;
            margin-bottom: 15px;
            position: absolute;
            left: -70px;
            top: -18px;
        }
        
        /* Рамзер иконок поделиться (попап) */
        .t-feed__share .ya-share2__container_size_m .ya-share2__icon {
            width: 40px;
            height: 40px;
        }
        
        ul.ya-share2__list.ya-share2__list_direction_horizontal {
            padding-left: 0px !important;
        }
    }
    
    /* Расстояние от заголовка до описания (TL01) */
    @media screen and (max-width: 480px) {
        .t050__descr.t-descr.t-descr_xxl {
            padding-top: 20px;
        }
        /* Имя автора (CR31) */
        .t337__title.t-title.t-title_xxs {
            font-size: 18px !important;
        }
    }
    
    @media screen and (min-width: 960px) {
        .t-records ul {
            margin-bottom: 0px !important;
        }
    }
    
    /* Посты потока (отдельная страница) */
    
    @media screen and (min-width: 960px) {
        /* Заголовок */
        .t-title_xxs {
            font-size: 42px;
        }
        
        /* Введение */
        blockquote.t-redactor__preface {
            font-size: 24px !important;
        }
        
        /* Текст */
        .t-redactor__text {
            font-size: 18px !important;
        }
        
        /* Фото автора */
        .t-feed__post-popup__author-bgimg {
            width: 50px !important;
            height: 50px !important;
            margin-right: 20px !important;
        }
        
        /* Имя автора */
        span.js-feed-post-author-name.t-feed__post-popup__author-name.t-descr.t-descr_xxs {
            max-width: 50%;
        }
        
        /* Тег раздела */
        .t-feed__post-popup__date-parts-wrapper.t-feed__post-popup__date-parts-wrapper_aftertext span.t-uptitle.t-uptitle_xs {
            font-size: 12px;
            color: #f7f7f7;
            padding: 7px 12px;
            background-color: #373737;
            border-radius: 100px;
            font-weight: 400;
            text-transform: none;
        }
        
        /* Похожие посты — заголовок блока */
        .t-feed__post-popup__relevants-title.t-align_left.t-uptitle.t-uptitle_xxl {
            font-size: 30px !important;
            font-weight: 700;
        }
        
        /* Похожие посты — расстояние от картинки до текста */
        .t-feed__post-popup__relevants-imgwrapper {
            margin-right: 30px !important;
        }
        
        /* Расстояние сверху до заголовка поста */
        .t-feed__post-popup__container.t-container.t-popup__container.t-popup__container-static {
            padding-top: 60px;
        }
    }
    
    @media screen and (max-width: 480px) {
        /* Заголовок */
        .t-title_xxs {
            font-size: 28px;
        }
        
        /* Введение */
        blockquote.t-redactor__preface {
            font-size: 18px !important;
        }
        
        /* Текст */
        .t-redactor__text {
            font-size: 14px !important;
        }
        
        /* Фото автора */
        .t-feed__post-popup__author-bgimg {
            width: 50px !important;
            height: 50px !important;
        }
        
        /* Имя автора */
        span.js-feed-post-author-name.t-feed__post-popup__author-name.t-descr.t-descr_xxs {
            max-width: 80%;
        }
        
        /* Тег раздела */
        .t-feed__post-popup__date-parts-wrapper.t-feed__post-popup__date-parts-wrapper_aftertext span.t-uptitle.t-uptitle_xs {
            font-size: 12px;
            color: white !important;
            padding: 6px 10px;
            background: #373737;
            border-radius: 100px;
        }
        
        /* Похожие посты — заголовок блока */
        .t-feed__post-popup__relevants-title.t-align_left.t-uptitle.t-uptitle_xxl {
            font-size: 20px !important;
            font-weight: 700;
        }
        
        /* Похожие посты — расстояние от картинки до текста */
        .t-feed__post-popup__relevants-imgwrapper {
            margin-right: 10px !important;
        }
        
        /* Расстояние сверху до заголовка поста */
        .t-feed__post-popup__container.t-container.t-popup__container.t-popup__container-static {
            padding-top: 30px;
        }
    }
    
    /* Статья — имя автора выровнять по высоте (FR102N) */
    li.t-col.t-col_8.t-prefix_2.t-item.t-list__item {
        display: flex !important;
        align-items: center !important;
    }
    
    /* Изображения в две колонки (GL02) */
    .t667__container.t-container {
        max-width: 960px;
    }
    
    /* Подзаголовок TL01 */
    .t050__descr.t-descr.t-descr_xxl {
        padding-top: 20px !important;
        padding-bottom: 0px !important;
    }
    
    @media screen and (max-width: 480px) {
        /* TL01 от даты до заголовка */
        .t050__uptitle.t-uptitle.t-uptitle_sm {
            padding-bottom: 20px !important;
        }
        /* TL01 от даты до заголовка */
        .t050__descr.t-descr.t-descr_xxl {
            padding-top: 10px !important;
        }
        /* FR102N описание */
        .t-descr.t-descr_sm {
            font-size: 12px !important;
        }
        /* FR102N имя */
        .t-name.t-name_md.t1095__bottommargin {
            padding-bottom: 5px !important;
        }
        /* FR102N фотка */
        .t1095__bgimg.t1095__img_circle.t-bgimg.loaded {
            width: 40px !important;
            height: 40px !important;
        }
        /* FR102N текстовый блок */
        .t1095__textwrapper.t1095__textwr_leftpadding.t-cell.t-valign_top {
            padding-left: 15px !important;
        }
        /* Подзаголовок TL01 */
        .t050__descr.t-descr.t-descr_xxl {
            font-size: 18px !important;
        }
        /* Заголовок H2 TL02A */
        h2.t225__title.t-title.t-title_md {
            font-size: 26px !important;
        }
        /* Заголовок H3 TL02A */
        h3.t225__title.t-title.t-title_md {
            font-size: 20px !important;
        }
        /* Галерея GL01 */
        .t-slds__bgimg.t-bgimg.t-zoomable.loaded {
            border-radius: 0px !important;
        }
        /* Галерея GL01 точки */
        ul.t-slds__bullet_wrapper {
            padding-top: 5px !important;
        }
        /* Хлебные крошки ME605 */
        ul.t758__list {
            line-height: 1;
        }
        
    }
    
    @media screen and (max-width: 960px) {
        /* Главная картинка статьи IM02 */
        .t-cover__carrier.loaded {
            height: 250px !important;
        }
        .t-cover {
            height: 250px !important;
        }
    }
    
    /* Логотипы партнёров PR101 */
    .t-col.t-card__col.t-card__col_withoutbtn.t594__item.t594__item_3-in-row {
        margin-bottom: 40px !important;
    }
    
    /* Высота формы в попапе BF501N */
    @media screen and (max-width: 480px) {
        .t-popup__container.t-width.t-width_6.t-popup__container-animated {
            height: 600px !important;
        }
    }

/* ME103 */
.t229__maincontainer.t229__c12collumns {
        max-width: 95% !important;
    }


/* Стандартные блоки по Window-контейнеру (1, 2, 3 и 4 колонки) ------------------------------------------------------------------------------------------------------ */

@media screen and (min-width: 960px){
    /*-----Стили только для блоков без стандартных заголовков-----*/
    .uc-window-1 > div,
    .uc-window-2 > div,
    .uc-window-3 > div,
    .uc-window-4 > div {
        padding: 0 40px;    /*Отступы по бокам экрана*/
    }
    
    .uc-window-1 > div > .t-container,
    .uc-window-1 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-1 .js-feed-container,
    .uc-window-1 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr;
        gap: 0px 10px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    .uc-window-2 > div > .t-container,
    .uc-window-2 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-2 .js-feed-container,
    .uc-window-2 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr;
        gap: 30px 30px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    .uc-window-3 > div > .t-container,
    .uc-window-3 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-3 .js-feed-container,
    .uc-window-3 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px 20px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        /* grid-auto-flow: dense; */
        padding: 0 !important;
    }
    
    .uc-shop > div > .t-container,
    .uc-shop > div > [class*="container"]:not(.t-popup__container),
    .uc-shop .js-feed-container,
    .uc-shop .t-store__card-list {
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px 20px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    .uc-window-4 > div > .t-container,
    .uc-window-4 > div > [class*="container"]:not(.t-popup__container),
    .uc-window-4 .js-feed-container,
    .uc-window-4 .js-store-grid-cont{
        display: grid;
        /* grid-template-columns: repeat(4,1fr); */
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px 20px;  /*Отступ между колонками, первое значение – по оси Y, второй – по оси X*/
        width: 100% !important;
        max-width: 100% !important;
        grid-auto-flow: dense;
        padding: 0 !important;
    }
    
    /*
    #rec778922551 .js-feed-post:nth-child(7n+1) {
        grid-column: auto/span 2;
    }
    
    #rec778922551 .js-feed-post:nth-child(7n+1) .t-feed__post-imgwrapper_beforetitle {
        aspect-ratio: 3.05 !important;
    }
    */
    
    .t-feed__col-grid__content {
        padding: 0px 30px 20px 0px;
    }
    
    .uc-window-1 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-1 .t-item:not(.t-popup__container .t-col),
    .uc-window-2 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-2 .t-item:not(.t-popup__container .t-col),
    .uc-window-3 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-3 .t-item:not(.t-popup__container .t-col),
    .uc-window-4 .t-col:not(.t-popup__container .t-col):not(.t-feed__post-popup__content),
    .uc-window-4 .t-item:not(.t-popup__container .t-col) {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /*Скрываем разделители*/
    .uc-window-1 .t-container:before,
    .uc-window-1 .t-container:after,
    .uc-window-1 [class*="container"]:before,
    .uc-window-1 [class*="container"]:after,
    /*.uc-window-1 [class*="separator"],*/
    .uc-window-2 .t-container:before,
    .uc-window-2 .t-container:after,
    .uc-window-2 [class*="container"]:before,
    .uc-window-2 [class*="container"]:after,
    .uc-window-2 [class*="separator"]:not(.uc-window-2 .t404__imgbox [class*="separator"]),
    .uc-window-3 .t-container:before,
    .uc-window-3 .t-container:after,
    .uc-window-3 [class*="container"]:before,
    .uc-window-3 [class*="container"]:after,
    .uc-window-3 [class*="separator"],
    .uc-window-4 .t-container:before,
    .uc-window-4 .t-container:after,
    .uc-window-4 [class*="container"]:before,
    .uc-window-4 [class*="container"]:after,
    .uc-window-4 [class*="separator"]{
        display: none;
    }
}

/* Скругление у поля поиска */

.t985__blockinput.t-search-widget__blockinput {
    border-radius: 0 30px 0 30px !important;
}


/* Карточки товаров в виде тарифов на лэндингах ------------------------------------------------------------------------------------------------------ */

    .shop1 .t-store__card__imgwrapper,
    .shop2 .t-store__card__imgwrapper,
    .shop3 .t-store__card__imgwrapper {
        display: none !important;
    }
    
    .shop1 .t-store__load-more-btn-wrap.t-align_center {
        display: none !important;
    }
    
    
    .shop1 .t-store__card-list.t-store__card-list__vertical-align-buttons {
        display: grid !important;
        gap: 20px;
        grid-template-columns: 1fr;
    }
    
    .shop2 .t-store__card-list.t-store__card-list__vertical-align-buttons {
        display: grid !important;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }
    
    .shop3 .t-store__card-list.t-store__card-list__vertical-align-buttons {
        display: grid !important;
        gap: 20px;
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    @media screen and (max-width: 960px) {
        .shop3 .t-store__card-list.t-store__card-list__vertical-align-buttons {
            grid-template-columns: 1fr;
        }
        
        .shop3 .t-store__grid-cont .t-store__card-list {
            row-gap: 20px !important;
        }
    }
    
    .shop1 .js-product.t-store__card.t-col.t-col_8.t-prefix_2.t-align_center.t-item,
    .shop2 .js-product.t-store__card.t-col.t-col_6.t-align_center.t-item,
    .shop3 .js-product.t-store__card.t-col.t-col_4.t-align_center.t-item {
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        max-width: 100% !important;
    }
    
    .shop1 .js-product.t-store__card.t-col.t-col_8.t-prefix_2.t-align_center.t-item {
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
    }
    
    .t-store__mobile-two-columns.t-store__grid-cont .t-store__card.t-item {
        width: 100% !important;
    }
    
    .shop1 .t-store__card__wrap_txt-and-btns,
    .shop2 .t-store__card__wrap_txt-and-btns,
    .shop3 .t-store__card__wrap_txt-and-btns {
        padding: 50px 30px;
        background-color: #F5F3FE !important;
        border-radius: 0 30px 0 30px !important;
    }
    

    
    @media screen and (min-width: 640px) {
        .shop1 .t-store__card__wrap_txt-and-btns {
            min-width: 480px !important;
        }
        
        .shop1 .t-store__card__wrap_txt-and-btns {
            margin-inline: auto !important;
        }
    }
    
    @media screen and (max-width: 960px) {
        
        .t-store__grid-cont_mobile-grid .t-col:not(.t-col_8):not(.t-col_12), .t-store__grid-cont_mobile-grid .t-store__stretch-col:not(.t-store__stretch-col_100) {
            width: 100%;
        }
        
        .js-store-grid-cont.t-store__grid-cont.t-container.t-store__grid-cont_mobile-grid.t-store__mobile-two-columns {
            max-width: 94% !important;
        }
    }
    
    @media screen and (max-width: 639px) {
        .shop1 .t-store__card-list.t-store__card-list__vertical-align-buttons,
        .shop2 .t-store__card-list.t-store__card-list__vertical-align-buttons,
        .shop3 .t-store__card-list.t-store__card-list__vertical-align-buttons {
            gap: 20px !important;
            grid-template-columns: 1fr;
        }
    }
    
    
/* Карточки товаров на странице магазина ------------------------------------------------------------------------------------------------------ */

    /* Скрыть цены в карточках */

    .shop .js-store-price-wrapper.t-store__card__price-wrapper {
        display: none !important;
    }
    
    /*
    .shop .t776__bgimg.t-bgimg.js-product-img.loaded {
        aspect-ratio: 1.8 !important;
    }
        
    .shop .t776__imgwrapper {
        padding-bottom: 56% !important;
    }
    */
    
    .shop .js-product-img.t-store__card__bgimg.t-bgimg.loaded {
        aspect-ratio: 1.8 !important;
    }
    
    .shop .t-store__card__imgwrapper {
        padding-bottom: 56% !important;
    }

    .shop .js-store-prod-name.js-product-name.t-store__card__title.t-typography__title.t-name.t-name_md,
    .shop .js-store-prod-descr {
        text-wrap: balance;
    }
    
    .shop .t-store__card__price_old {
        margin-left: 20px;
    }
    
    
    /* Сообщение о пустой категории */

    .shop .t-store__empty-part-msg-wrapper.t-descr.t-descr_sm {
        border-radius: 0 30px 0 30px !important;
        border-color: #ccc !important;
    }
    
    .shop .t-col_12 {
        max-width: 100% !important;
    }
    .shop .t-col {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    
    /* Бейдж на товаре */

    .t-store__card__mark {
        letter-spacing: 1.2px !important;
        height: 40px !important;
        text-transform: uppercase !important;
    }
    
    
    /* Табы разделов */
    
    .shop .t-store__parts-switch-btn {
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 15px 25px !important;
        border: 1px solid #5e38f7 !important;
        border-radius: 100px !important;
    }
    
    .shop .t-store__parts-switch-wrapper.t-align_center.t-store__parts-switch-wrapper_tree {
        display: flex !important;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /*
    .shop .t-container {
        margin-left: 0 !important;
    }
    
    
    
    .shop .js-store-parts-select-container .t-store__parts-item .js-store-parts-switcher:hover {
        transition: 200ms !important;
        background: #5e38f7;
        opacity: 100%;
        color: #fff !important;
    }
    */
    
    .shop .t-container {
        max-width: 100% !important;
    }
    
    .shop .t-col_4 {
        max-width: 100% !important;
        margin-inline: 0 !important;
    }
    
    .shop .t-store.js-store {
        margin-inline: 40px !important;
    }
    
    .shop .t-store__grid-separator {
        display: none !important;
    }
    
    
    
    @media screen and (max-width: 479px) {
        
        .shop .js-store-prod-all-text a {
            padding: 15px 20px !important;
            margin-bottom: 40px !important;
        }
        
        .shop .t-store__prod-popup__info .t-descr {
            font-size: 14px !important;
        }
        
        .shop .js-product-price {
            font-size: 24px !important;
        }
        
        .shop .t-store.js-store {
            margin-inline: 20px !important;
        }
        
        .shop .t-store__parts-item-title,
        .shop .js-store-parts-switcher.t-store__parts-switch-btn.t-name.t-name_xs.t-menu__link-item.t-store__parts-switch-btn-all {
            font-size: 12px !important;
        }
        
        .shop .t-store__parts-switch-btn {
            padding: 12px 18px !important;
        }
        
        .js-store-prod-name.js-product-name.t-store__card__title.t-typography__title.t-name.t-name_md {
            font-size: 20px !important;
        }
        
        .shop .t-store__parts-switch-wrapper.t-align_center.t-store__parts-switch-wrapper_tree {
            gap: 5px;
        }
        
        .shop .js-product.t-store__card.t-col.t-col_4.t-align_left.t-item {
            padding-inline: 0 !important;
        }
        
        .shop .js-store-grid-cont.t-store__grid-cont.t-container.t-store__grid-cont_mobile-grid {
            padding-inline: 0 !important;
        }
        
    }
    
    @media screen and (min-width: 480px) and (max-width: 959px) {
        
        .shop .t-store__parts-switch-wrapper.t-align_center.t-store__parts-switch-wrapper_tree {
            margin-inline: 20px !important;
        }
        
        .shop .t-store__parts-switch-btn {
            padding: 10px 20px !important;
        }
        
        .shop .t-store.js-store {
            margin-inline: 0px !important;
        }
        
        .js-store-prod-name.js-product-name.t-store__card__title.t-typography__title.t-name.t-name_md {
            font-size: 24px !important;
        }
        
    }
    
    @media screen and (min-width: 960px) {
        .js-product.t-store__card.t-col.t-col_4.t-align_left.t-item {
            width: 100% !important;
        }
        .js-product.t-store__card.t-col.t-col_4.t-align_left.t-item {
            padding-inline: 0 !important;
        }
    }    
    
    
    .shop .js-store-parts-select-container .t-store__parts-item .t-active {
        transition: 200ms !important;
        background: #5e38f7;
        opacity: 100%;
        color: #fff !important;
    }
    
    .shop .t-store__prod-popup__info.t-col {
        margin-left: 20px !important;
    }


    /* Попап карточки товара */

    .shop .js-store-prod-all-text a {
        transition: 200ms !important;
        background: #fff !important;
        border: 1px solid #373737 !important;
        border-radius: 100px;
        padding: 15px 30px;
        color: #373737 !important;
        margin-top: 10px !important;
        display: inline-block !important;
    }
    
    .shop .js-store-prod-all-text a:hover {
        transition: 200ms !important;
        background: #373737 !important;
        border: 1px solid #373737 !important;
        color: #fff !important;
    }

    
    /* Цена в попапе */

    .js-store-prod-price-old.t-store__prod-popup__price_old.t-store__prod-popup__price-item.t-name.t-name_md {
        margin-left: 20px !important;
    }
    .js-store-prod-price-old-val.t-store__prod-popup__price-value {
        font-size: 28px !important;
    }
    .t-store__prod-popup__price-currency {
        font-size: 28px !important;
    }
    .js-product-price.js-store-prod-price-val.t-store__prod-popup__price-value {
        font-size: 28px !important;
    }
    
    
    /* Варианты в попапе */

    .js-product .t-product__option-variants_buttons .t-product__option-item_simple {
        padding: 10px 20px !important;
        border-radius: 100px !important;
        min-height: 50px !important;
    }
    
    .t-store__prod-popup__info .t-descr {
        font-weight: 400 !important;
        color: #373737 !important;
        font-size: 16px !important;
    }
    
    .t-store .t-product__option-title {
        padding-bottom: 10px !important;
    }
    
    span.t-product__option-title.t-product__option-title_buttons.t-product__option-title_simple.t-typography__options.t-descr.t-descr_xxs {
        padding-bottom: 0 !important;
    }

    .js-product-edition-option.t-product__option {
        border-radius: 0 30px 0 30px;
        padding: 20px 20px;
        background: #F5F3FE;
    }
    
    a.t-btn.t-btnflex.t-btnflex_type_button.t-btnflex_sm.t-store__prod-popup__btn {
        min-height: 50px !important;
        width: 100% !important;
    }
    
    span.t-btnflex__text.js-store-prod-popup-buy-btn-txt {
        font-size: 16px !important;
    }
    
    
    .t-store__prod-popup__container .t-store__grid-cont_mobile-one-row.t-store__relevants-grid-cont .t-store__card {
        max-width: 100% !important;
    }
    
    
    .t-store__prod-popup__price-wrapper {
        margin-bottom: 30px !important;
    }
    

    /* Вертикальный попап */

    .js-store-prod-name.js-product-name.t-store__prod-popup__name.t-typography__title.t-name.t-name_xl {
        font-size: 36px !important;
    }
    
    .t-slds__items-wrapper.t-slds_animated-none.t-slds__nocycle {
        display: none !important;
    }
    
    .t-popup__container.t-store__popup-container_8-cols {
        max-width: 900px !important;
    }
    
    .t-container_8 .t-store__prod-popup__info, .t-store__popup-container_8-cols .t-store__prod-popup__info {
        padding-top: 0 !important;
    }
    
    
    /* Вертикальный попап — селектор вариантов */

    .t-product__option-item_active .t-product__option-title.t-product__option-title_buttons.t-product__option-title_simple.t-typography__options.t-descr.t-descr_xxs {
        color: #fff !important;
    }
    
    .js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active {
        border: 1px solid #373737 !important;
        background-color: #373737 !important;
    }

    
    @media screen and (max-width: 479px) {
        .js-store-prod-name.js-product-name.t-store__prod-popup__name.t-typography__title.t-name.t-name_xl {
            font-size: 24px !important;
        }
    }