  /* Общие стили для всей страницы */
    body {
        --white: #ffffff;
        --blue: #2F00FF;
        --red: #F42525;
    }
    
    * {
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
    
    

    /* Стили для галереи */
    .uc-gallery .t-container {
        max-width: initial;
        padding: 0 40px;
        width: calc(100% - 80px);
            
        &::before,
        &::after {
            display: none;
        }
    }
    .uc-gallery .t-col_6.t-store__card {
        max-width: calc(50% - 20px);
    }
    .t-store__card {
         .t-store__card__wrap_txt-and-btns {
            transition: opacity .3s ease;
        }
        
        &:hover {
            .t-store__card__wrap_txt-and-btns {
                opacity: 0.5;
            }
        }
    }
    
    .uc-gallery .t-store__card-list {
        gap: 40px !important;
    }
    .uc-gallery .t-store__grid-separator {
        display: none!important;
    }
    
    @media screen and (max-width: 1280px) {
        .uc-gallery .t-container {
            max-width: initial;
            width: calc(100% - 80px)!important;
            padding: 0 40px;
        }
    }
    
    @media screen and (max-width: 960px) {
        .uc-gallery .t-container {
            max-width: initial;
            width: calc(100% - 40px)!important;
            padding: 0 20px;
        }
        .uc-gallery .t-store__card-list {
            gap: 20px !important;
        }
        .uc-gallery .t-col_6.t-store__card {
            max-width: calc(50% - 10px);
            width: calc(50% - 10px) !important;
            padding: 0;
        }
    }
        
    @media screen and (max-width: 640px) {
        .uc-gallery .t-container {
            max-width: initial;
            width: 100%!important;
            padding: 0 10px;
        }
        
        .uc-gallery .t-store__card-list {
            gap: 10px !important;
        }
        .uc-gallery .t-col_6.t-store__card {
            max-width: calc(50% - 5px);
            width: calc(50% - 5px) !important;
            padding: 0!important;
        }
    }
    
    .uc-gallery .t-store__card {
        margin-left: 0;
        margin-right: 0;
    }
    .uc-gallery .t-store__card-list  {
        justify-content: space-between;
        width: 100%;
    }
    
    .uc-gallery .t-store__card__mark-wrapper {
        right: auto;
        left: 10px;
    }
    .uc-gallery .t-store__card__mark {
        background: transparent!important;
        height: auto!important;
        padding: 0!important;
        width: auto!important;
        font-size: 13px!important;
    }
    .uc-gallery .t-store__card__textwrapper {
        padding-top: 10px!important;
        text-align: left;
    }
    .uc-gallery .t-store__card__price-wrapper {
        margin-top: 0!important;
        display: flex;
        flex-direction: row;
        gap: 10px;
    } 
    .uc-gallery .t-store__card__imgwrapper {
        padding-bottom: 0!important;
        aspect-ratio: 580 / 520;
    }
    .t-store__card__price_old,
    .t-store__card__price {
        font-size: 13px!important;
    }
    
    
    .uc-gallery .t-store__card__price_old {
        order: -1;
        margin: 0!important;
        opacity: 0.5;
    }
    
    
 
    /* Стили для попапа товара */
    
    .t-store__prod-popup__container {
        padding: 0!important;
    }
    .t-store__prod-snippet__container {
        padding-bottom: 70px;
        padding-top: 140px;
        
        @media(max-width: 960px) {
            padding-top: 100px;
            padding-bottom: 0;
        }
        @media(max-width: 640px) {
            padding-top: 45px;
            padding-bottom: 0;
        }
    }
    
    .t-store__relevants__container .t-container,
    .t-popup__container,
    .js-store-product .t-container {
        max-width: calc(100% - 80px)!important;
        padding: 0 40px;
        
        @media(max-width: 960px) {
            max-width: calc(100% - 40px)!important;
            padding: 0 20px;
        }
        @media(max-width: 640px) {
            max-width: calc(100% - 20px)!important;
            padding: 0 10px;
        }
        
        
        .js-store-prod-all-text a {
            display: inline-block;
            background: linear-gradient(var(--blue) 0%, var(--blue) 100%);
            background-size: 100% 1px; 
            background-repeat: no-repeat;
            background-position: 0 83%;
            transition: opacity .3s ease;
            
            &:hover {
                opacity: .5;
            }
            
            &::after {
                content: '';
                background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgNyA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGQ9Ik01LjMgMSAwIDYuM2wuNy43TDYgMS42djMuN2gxVjBIMS42djF6IiBmaWxsPSIjMkYwMEZGIi8+Cjwvc3ZnPgo=);
                width: 7px;
                height: 7px;
                margin-left: 5px;
                display: inline-block;
                background-size: contain;
            }
        }
    }
    
    
    
    .t-popup__container,
    .t-store__prod-snippet__container {
        .js-store-prod-all-charcs,
        .t-store__prod-popup__links-wrapper,
        .t-container:before, 
        .t-container:after, 
        .t-container_10:before, 
        .t-container_10:after, 
        .t-container_8:before, 
        .t-container_8:after, 
        .t-container_100:before, 
        .t-container_100:after,
        .t-store__prod-popup__container:after, 
        .t-store__prod-popup__container>div:after, 
        .t-store__product-popup>div:after, 
        .t-store__relevants-grid-cont:after,
        .t-store__product-snippet .t-container>div:after {
            display: none!important;
        }
    }
    
    .t-popup__container .js-store-product,
    .t-store__prod-snippet__container .js-store-product .t-container {
        
        /* сетка */
        & > div:first-of-type {
            display: flex;
            flex-direction: row-reverse;
            gap: 40px;
            align-items: flex-start; 
            
            @media(max-width: 960px) {
                gap: 20px;
            }
            @media(max-width: 640px) {
                flex-direction: column;
            }
        }
        
        .t-store__prod-popup__sku {
            display: none;
        }
        
        .t-store__prod-popup__col_fixed,
        .t-store__prod-popup__col-left {
            max-width: 50%;
            margin: 0;
            padding: 0;
            width: calc(50% - 20px);
            
            @media(max-width: 960px) {
                width: calc(50% - 10px);
            }
            
            @media(max-width: 640px) {
                max-width: 100%;
                width: 100%;
            }
        }
        .t-store__prod-popup__col_fixed {
            top: 65px;
            width: 380px;
            margin-right: auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        /* название */
        .js-store-prod-name {
            font-weight: 700!important;
            border-bottom: 1px solid var(--blue);
        }
        .t-store__prod-popup__title-wrapper {
            order: -3;
            margin: 0 0 -10px!important;
        }
        
        /* цена */
        .js-store-price-wrapper {
            order: -2;
            
            .js-store-prod-price-old {
                opacity: .5;
            }
            
        }
        
        /* радиокнопки размеров */
        .t-product__option {
            margin: 0!important;
        }
        .t-product__option-variants_custom.t-product__option-variants_radio {
            display: flex;
            flex-direction: row;
            gap: 10px;
            margin: 0;
            
            .t-product__option-item {
                width: auto;  
                width: 37px;
                height: 37px;
                margin: 0;
                padding: 0;
                display: flex;
                border: 1px solid var(--blue);
                transition: opacity .3s ease;
                
                &:hover {
                    opacity: 0.5;
                }
            }
            .t-product__option-checkmark_radio.t-product__option-checkmark {
                opacity: 0;
                visibility: hidden;
            }
            .t-product__option-input:checked+.t-product__option-checkmark + .t-product__option-title{
                background: var(--blue);
                color: var(--white)!important;
            }
            
            .t-product__option-title {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: background .3s ease, color .3s ease;
            }
        }
        
        /* кнопка */
        .t-store__prod-popup__btn-wrapper {
            margin: 0;
            order: 2;
            
            a {
                width: 100%;
            }
        }
        /* описание */
        .t-store__prod-popup__text {
            order: -1;
            margin: 0;
        }
    }
    
    
    @media(max-width: 980px) {
        .t-store__prod-popup__col-right {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 0!important;
            margin: 0;
        }
        .t-store .t-popup,
        .t-store.t-store__prod-snippet__container .t-store__tabs {
            padding: 0!important;
        }
        .t-store__relevants__container {
            margin-left: 0;
            margin-right: 0;
        }
    }
    
    @media(max-width: 640px) {
        
    }
    
    /* слайдер */
    .t-slds__bgimg-contain {
        background-size: cover;
    }
    
        
    /* табы */
    .t-store .t-store__tabs {
        margin: 0!important;
        order: 3;
    }
    .t-store .t-store__tabs__item {
        border-bottom: 1px solid var(--blue)!important;
    }
    .t-store .t-store__tabs__item .t-store__tabs__item-title {
        font-weight: 400!important;
        font-size: 13px!important;
    }
    .t-store .t-store__tabs__item_active .t-store__tabs__item-title {
        font-weight: 700!important;
    }
    .t-store .t-store__tabs_accordion .t-store__tabs__item-button {
        padding: 10px 0!important;
        border-bottom: none!important;
        border-top: none!important;
        position: relative;
        transition: opacity .3s ease;
        
        &:hover {
            opacity: 0.5;
        }
        
        &::after {
            content: '+';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            color: var(--blue);
        }
    }
    .t-store .t-store__tabs__item_active .t-store__tabs__item-button {
        &::after {
            content: '-';
        }
    }
    .t-store .t-store__tabs_accordion .t-store__tabs__close {
        display: none!important;
    }
    .t-store .t-store__tabs__content {
        margin: 0 0 10px!important;
        font-size: 13px!important;
    }
    
    
    /* фотки */
    .t-store__prod-popup__gallery-column {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .t-store__prod-popup__wrapper {
        margin-bottom: 0!important;
    }
    
    
    .t-store__prod-snippet__container .t-store__relevants__container {
        width: 100%;
    }
    
    
    
    /* кнопки вверху попапа, назад и закрыть */
    .t-store__prod-popup__close-txt-wr {
        left: 40px;
        position: fixed!important;
        
        @media(max-width: 960px) {
            left: 20px;
        }
        @media(max-width: 640px) {
            left: 10px;
        }
    }
    .t-store .t-popup__close {
        right: 40px;
        position: fixed!important;
        
        @media(max-width: 960px) {
            right: 20px;
        }
        @media(max-width: 640px) {
            right: 10px;
        }
    }
    .js-store-close-text {
        font-size: 13px;
    }
    
    .t706__carticon.t706__carticon_showed {
        opacity: 0!important;
        visibility: hidden!important;
        pointer-events: none!important;
    }
    
    
    
    /* блок похожее */
    .t-store__relevants__container {
        margin-top: 110px;
        
        @media(max-width: 960px) {
            margin-top: 80px;
        }
        @media(max-width: 640px) {
            margin-top: 60px;
        }
        
        .t-col {
            margin: 0!important;
            padding: 0!important;
        }
        .t-store__card-list  {
            display: flex;
            flex-direction: row;
            gap: 40px;
            flex-wrap: wrap;
            
            @media(max-width: 960px) {
                gap: 20px
            }
            @media(max-width: 640px) {
                gap: 10px;
            }
        }
        .t-store__grid-cont_mobile-one-row.t-store__relevants-grid-cont .t-store__card {
            max-width: calc(50% - 20px);
            width: calc(50% - 20px);
            
            @media(max-width: 960px) {
                max-width: calc(50% - 10px);
                width: calc(50% - 10px);
            }
            @media(max-width: 640px) {
                max-width: calc(50% - 5px);
                width: calc(50% - 5px);
            }
        }
        .t-store__relevants__container .t-store__valign-buttons .t-item {
            width: 100%;
            max-width: 100%;
        }
        
        .t-store__card__textwrapper {
            padding-top: 10px;
            text-align: left;
        }
        .t-store__card__price-wrapper {
            margin-top: 0;
            display: flex;
            flex-direction: row; 
            gap: 10px;
            font-size: 13px !important;
            font-weight: 400 !important;
        }
        .t-store__card__price_old {
            margin: 0;
            opacity: 0.5;
        }
        .t-store__card__mark {
            height: auto!important;
            line-height: 1!important;
            font-size: 13px!important;
            background: transparent!important;
            padding: 0!important;
            width: auto!important;
        }
        .t-store__card__mark-wrapper {
            left: 10px;
            right: initial;
        }
    }
    
    .t-store__relevants__container .t-store__scroll-icon-wrapper,
    .t-store__relevants__title {
        display: none!important;
    }
    
    
    
    
    
    
    /* Стили для попапа эдиториала */
    .t-feed__post-popup {
        padding-bottom: 70px;
        padding-top: 140px;
        padding-left: 0!important;
        padding-right: 0!important;
        
        @media(max-width: 960px) {
            padding-top: 100px;
            padding-bottom: 0;
        }
        @media(max-width: 640px) {
            padding-top: 45px;
            padding-bottom: 0;
        }
        
        * {
            text-transform: initial;
        }
        
        .t-feed__post-popup__content-wrapper, 
        .t-feed__post-popup__relevants {
            padding: 0;
        }
        .t-popup__container.t-popup__container-static {
            @media(max-width: 640px) {
                padding: 0 10px!important;
                box-sizing: content-box!important;
            }
        }
        
        .t-feed__post-popup__container {
            box-sizing: content-box;
        
            .t-feed__post-popup__text-wrapper figcaption {
                margin-top: 10px;    
                font-size: 16px;
                opacity: 1;
                font-style: normal;
            }
        }
        
        .t-feed__post-popup__date-parts-wrapper {
            display: none!important;
        }
        
        .t-feed__post-popup__content {
            max-width: 100%;
            float: none;
            margin-left: 0;
            margin-right: 0;
            display: flex;
            flex-direction: column;
            
        }
        
        .t-feed__post-popup__cover-wrapper {
            order: -1;
            margin-top: 0;
            margin-bottom: 40px;
            
            @media(max-width: 960px) {
                margin-bottom: 20px;
            }
        }
        
        .t-feed__post-popup__title,
        .t-feed__post-popup__title-wrapper {
            padding: 0;
        }
        .t-title  {
            font-size: 13px;
            text-transform: uppercase;
        }
        
        h2.t-redactor__h2,
        h3.t-redactor__h3,
        h4.t-redactor__h4 {
            font-size: 13px;
            text-transform: uppercase;
            padding: 0 !important;
            margin-bottom: 20px!important;
            margin-top: 40px!important;
        }
        
        .t-redactor__text {
            padding: 0 !important;
            margin-bottom: 20px!important;
            margin-top: 20px!important;
            
            a {
                text-decoration: underline!important;
                transition: opacity .3s ease;
                
                &:hover {
                    opacity: 0.5;
                }
            }
        }
        
        .t-feed__post-popup__text-wrapper figcaption,
        .t-text_md,
        .t-redactor__text {
            font-size: 16px;
        }
        
        .t-feed__post-popup__title-wrapper,
        h2.t-redactor__h2,
        h3.t-redactor__h3,
        h4.t-redactor__h4,
        .t-redactor__text {
    
            @media(min-width: 961px) {
                width: calc(50% - 20px);
                margin-left: auto;
            }
        }
        .t-feed__post-popup__text-wrapper {
            margin-top: 0;
        }
        
    
        .t-feed__post-popup__text .t-redactor__tte-view .t-redactor__text, 
        .t-feed__post-popup__text .t-redactor__tte-view blockquote.t-redactor__preface {
            margin-bottom: 20px;
            padding: 0;
            
            &:last-of-type {
                margin-bottom: 0;
            }
        }
        
        .t-feed__post-popup__text .t-redactor__tte-view figure {
            margin: 60px 0;
            
            @media(max-width: 960px) {
                margin: 40px 0;
            }
            
            &:last-of-type {
                margin-bottom: 0;
            }
        }
    }
    
    

     /* Стили для корзины */
    
    .t706__cartwin {
        background: rgba(255,255,255,0.6)!important;
    }
    
    .t706__sidebar-content {
        margin: 0 0 0 auto;
        max-width: 740px;
        min-height: 100dvh;
        box-shadow: -10px 0px 114px 0px #0C1A5740!important;
        padding-top: 100px!important;
        
        @media(max-width: 960px) {
            padding-top: 0!important;
        }
        
        @media(max-width: 640px) {
            padding: 60px 10px 10px;
        }
    }
    
    .t706__sidebar-top {
        border: none!important;
        
        .t-name t-name_xl,
        .t-name_xl {
            font-size: 13px;
        }
    }
    
    .t706__sidebar-products {
        padding-bottom: 0!important;
        border: none!important;
    }
    .t706__product {
        height: auto;
        padding: 30px 0;
        border-bottom: 1px solid var(--blue);
        
        @media(max-width: 640px) {
            margin: 0;
            padding: 10px 0;
            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
        }
    }
    .t706__product-thumb {
        height: 90px!important;
        width: 100px!important;
        
        @media(max-width: 640px) {
            height: 50px!important;
            width: 60px!important;
        }
        .t706__product-imgdiv {
            width: 100%;
            height: 100%;
            border-radius: 0;
        }
    }
    .t706__product-title {
        padding: 0;
        font-size: 13px;
        color: var(--blue);
        font-weight: 400;
        vertical-align: top;
        
        @media(max-width: 640px) {
            width: calc(100% - 120px);
        }
    }
    .t706__product-plusminus {
        vertical-align: top;
        color: var(--blue);
        padding: 0 20px;
        position: relative; 
        width: 60px!important;
        top: -6px;
        
        @media(max-width: 1200px) {
            top: -3px;
        }
        
        @media(max-width: 640px) {
            top: 0;
            margin-top: 10px;
            padding: 0;
        }
        
        .t-descr_sm {
            font-size: 16px;
            line-height: 13px;
        }
        
        .t706__product-quantity {
            color: var(--blue);
            font-size: 13px!important;
            line-height: 13px;
            margin: 0;
            padding: 0 10px;
            
            input {
                font-size: 13px!important;
                border: 1px solid var(--blue);
                background: var(--white);
            }
        }
        .t706__product-minus, .t706__product-plus {
            width: 13px;
            height: 13px;
            opacity: 1;
            
            &::before {
                position: absolute;
                inset: 0;
                line-height: 1;
                font-size: 16px;
            }
            
            img {
                display: none!important;
            }
        }
        .t706__product-minus::before {
            content: '-';
        }
        .t706__product-plus::before {
            content: '+';
        }
    }
   
    
    .t706__product-amount, .t706__product-amount--portion {
        vertical-align: top;
        padding: 0;
        color: var(--blue);
        font-size: 13px;
        
        @media(max-width: 640px) {    
            margin-left: auto;
            margin-top: 10px;
        }
    }
    
    .t706__product-del-wrapper {
        vertical-align: top!important;
        padding: 0 0 0 20px!important;
        
        @media(max-width: 640px) {
            position: absolute;
            top: 10px;
            right: 0;
            text-align: right;
        }
        
        .t706__product-del::before {
            content: 'X';
            color: var(--blue);
            font-size: 13px;
            font-family: 'TikTok Sans',Arial,sans-serif;
        }
        
        img {
            display: none!important;
        }
    }
        
    .t706__cartwin-totalamount-content {
        padding-top: 20px;
        margin-top: 0!important;
        border-top: 0; 
        font-size: 13px;
        padding-bottom: 0;
        color: var(--blue);
        font-weight: 400;
    }
    .t706__sidebar-content .t706__cartwin-totalamount-wrap {
        margin-top:0!important;
        padding-bottom: 60px!important;
            
        @media(max-width: 960px) {
            padding-bottom: 40px!important;
        }
        @media(max-width: 640px) {
            
        }
    }
    .t706__cartpage-totals {
        @media(max-width: 960px) {
            padding: 0 0 40px!important;
        }
    }
    
    .t706__cartwin-totalamount-label,
    .t706__sidebar-totalamount-label {
        font-weight: 700;
    }
    
/* Боковая корзина — оформление десктопа.
   Только CSS: названия и штатные действия Тильды сохранены.
   Общие правила выше остаются основой для мобильной версии и оформления заказа. */
@media screen and (min-width: 961px) {
    .t706__sidebar-content {
        width: 740px !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding: 120px 40px 40px !important;
        background: #ffffff;
    }

    .t706__sidebar-content .t706__sidebar-top {
        margin: 0 0 40px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .t706__sidebar-content .t706__sidebar-heading {
        color: var(--blue, #2F00FF) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 18px !important;
    }

    .t706__sidebar-content .t706__sidebar-close {
        top: 10px !important;
        right: 40px !important;
    }

    .t706__sidebar-content .t706__sidebar-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px !important;
        height: 32px !important;
        padding: 8px !important;
        box-sizing: border-box;
        border: 1px solid var(--blue, #2F00FF) !important;
        border-radius: 0;
        background: #ffffff;
    }

    .t706__sidebar-content .t706__sidebar-close-icon {
        width: 14px !important;
        height: 14px !important;
    }

    .t706__sidebar-content .t706__sidebar-close-icon g {
        fill: var(--blue, #2F00FF) !important;
    }

    .t706__sidebar-content .t706__product {
        display: grid !important;
        grid-template-columns: 100px minmax(0, 1fr) 60px 90px 20px;
        column-gap: 20px;
        align-items: start;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 30px 0 !important;
        box-sizing: border-box;
        border-bottom: 1px solid var(--blue, #2F00FF) !important;
    }

    .t706__sidebar-content .t706__product > div {
        min-width: 0;
        box-sizing: border-box;
    }

    .t706__sidebar-content .t706__product-thumb {
        display: block !important;
        width: 100px !important;
        height: 90px !important;
        padding: 0 !important;
    }

    .t706__sidebar-content .t706__product-title {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        overflow-wrap: anywhere;
        font-size: 13px !important;
        line-height: 17px !important;
        font-weight: 400 !important;
        color: var(--blue, #2F00FF) !important;
    }

    .t706__sidebar-content .t706__product-title__option {
        font-size: 13px !important;
        line-height: 17px !important;
        color: var(--blue, #2F00FF) !important;
        opacity: 1 !important;
    }

    /* В проверенной разметке варианты вложены в div, артикул — текст
       в следующем соседнем элементе. Скрываем только эту строку. */
    .t706__sidebar-content .t706__product-title
    > .t706__product-title__option + .t706__product-title__option:not(:has(*)) {
        display: none !important;
    }

    .t706__sidebar-content .t706__product-plusminus {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 60px !important;
        height: 17px !important;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        font-size: 13px !important;
        line-height: 17px !important;
        color: var(--blue, #2F00FF) !important;
    }

    .t706__sidebar-content .t706__product-quantity {
        flex: 1 1 auto;
        min-width: 20px;
        margin: 0 !important;
        padding: 0 3px !important;
        text-align: center;
        font-size: 13px !important;
        line-height: 17px !important;
    }

    .t706__sidebar-content .t706__product-minus,
    .t706__sidebar-content .t706__product-plus {
        position: relative;
        display: block;
        flex: 0 0 17px;
        width: 17px !important;
        height: 17px !important;
        margin: 0 !important;
        opacity: 1;
    }

    .t706__sidebar-content .t706__product-minus::before,
    .t706__sidebar-content .t706__product-plus::before {
        font-family: var(--t-text-font, Arial), sans-serif;
        font-size: 13px;
        line-height: 17px;
        text-align: center;
    }

    .t706__sidebar-content .t706__product-amount {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        text-align: right;
        white-space: nowrap;
        color: var(--blue, #2F00FF) !important;
        font-size: 13px !important;
        line-height: 17px !important;
        font-weight: 400 !important;
    }

    .t706__sidebar-content .t706__product-del-wrapper {
        display: block !important;
        width: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: right;
    }

    .t706__sidebar-content .t706__product-del {
        display: block;
        width: 20px;
        height: 20px;
        opacity: 1;
        line-height: 17px;
    }

    .t706__sidebar-content .t706__product-del::before {
        font-size: 13px;
        line-height: 17px;
    }

    .t706__sidebar-content .t706__cartwin-totalamount-wrap {
        margin: 0 !important;
        padding: 20px 0 60px !important;
        border-top: 0 !important;
    }

    .t706__sidebar-content .t706__sidebar-totalamount-info,
    .t706__sidebar-content .t706__cartwin-totalamount-row,
    .t706__sidebar-content .t706__sidebar-totalamount {
        color: var(--blue, #2F00FF) !important;
        font-size: 13px !important;
        line-height: 18px !important;
        font-weight: 400 !important;
    }

    .t706__sidebar-content .t706__cartwin-totalamount-row_total {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: baseline;
        gap: 6px;
    }

    .t706__sidebar-content .t706__cartwin-totalamount-row_total
    > .t706__cartwin-totalamount-info_label,
    .t706__sidebar-content .t706__cartwin-totalamount-row_total
    > .t706__cartwin-totalamount-info_value {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }

    .t706__sidebar-content .t706__sidebar-totalamount-label {
        color: var(--blue, #2F00FF) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .t706__sidebar-content .t706__sidebar-continue {
        width: 100% !important;
        min-height: 40px !important;
        height: auto !important;
        padding: 10px 20px !important;
        box-sizing: border-box;
        border-radius: 0 !important;
        font-size: 13px !important;
        line-height: 18px !important;
        font-weight: 700 !important;
    }

    .t706__sidebar-content .t706__sidebar-continue .t-btnflex__text {
        font-weight: 700 !important;
    }
}


    /* форма-попап корзины */
    
    .t706__cartpage-products_empty {
        font-weight: 400!important;
        margin-bottom: 40px;
        font-size: 13px!important;
    }
    
    .t706__cartpage-top {
        border-bottom: none!important;
            
        .t706__cartpage-back {
            left: 40px;
            padding: 0;
            
            @media(max-width: 960px) {
                left: 20px;
            }
            @media(max-width: 640px) {
                left: 10px
            }
        }
        .t706__cartpage-close {
            right: 40px;
            padding: 0;
            
            @media(max-width: 960px) {
                right: 20px;
            }
            @media(max-width: 640px) {
                right: 10px;
            }
        }
    }
    
    .t706__form-bottom-text,
    .t706__cartpage-heading {
        font-size: 13px!important;
    }
    
    .t706__cartwin-totalamount-info,
    .t-inputpromocode__wrapper .t-text {
        font-weight: 400!important;
        font-size: 13px!important;
        color: var(--blue)!important;
    }
    
    .t-inputpromocode__btn {
        background: var(--blue)!important;
        color: var(--blue)!important;
        font-size: 13px!important;
        
        &::after {
            content: 'Активировать';
            font-family: 'TikTok Sans', Arial, sans-serif;
            position: absolute;
            color: var(--white);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: center;
            inset: 0;
        }
    }
    
    .t-input-phonemask__select,
    .t-input-group_cb, .t-input-group_rd, .t-input-group_rs, .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer), .t-select, .uploadcare-widget {
        font-size: 13px!important;
    }
    
    .t706 .t-form_bbonly .t-input-group {
        margin-bottom: 20px!important;
    }
    
    
    .t706__cartpage-content {
        max-width: 100%;
        gap: 40px;
        justify-content: space-between;
        
            
        @media(max-width: 960px) {
            gap: 20px;
        }
        @media(max-width: 640px) {
            gap: 10px;
        }
        
        .t-col {
            margin: 0!important;
            max-width: 50%;
            
            @media(max-width: 960px) {
                max-width: 100%;
            }
            @media(max-width: 640px) {
                padding-left: 10px;
                padding-right: 10px;
            }
        }
        
        
        
        .t-form .t-input, 
        .t-form .t-select {
            height: 40px!important;
            font-size: 13px!important;
        }
        input {
            &:-webkit-autofill,
            &:-webkit-autofill:hover,
            &:-webkit-autofill:focus,
            &:-webkit-autofill:active {
                -webkit-text-fill-color: var(--blue) !important;
                transition: background-color 5000s ease-in-out 0s !important;
            }
        }
        
        .t-input.t-input-phonemask {
            position: relative;
            top: -2px;
        }
        
        .t-input-error {
            margin-top: 0;
        }
        .t-input-group_cb,
        .t-input-group_rd,
        .t-input-group_rs,
        .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer),
        .t-select,
        .uploadcare-widget {
            &:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) {
                border-color: var(--red);
            }
        } 
    }
    
    .t706__cartpage .t-col {
            
        @media(max-width: 640px) {
            padding-left: 10px;
            padding-right: 10px;
        }
    }
    .t706__cartpage-open-form-wrap {
        @media(max-width: 640px) {
            padding-left: 10px!important;
            padding-right: 10px!important;
        }
    }
    
    .t-form__errorbox-middle {
        display: none!important;
    }
    
    
    /* Похожие товары: три карточки в ряд на десктопе */
@media screen and (min-width: 961px) {
    .t-store__prod-snippet__container
    .t-store__relevants__container .t-store__card-list {
        gap: 20px !important;
    }

    .t-store__prod-snippet__container
    .t-store__relevants__container
    .t-store__relevants-grid-cont .t-store__card {
        flex: 0 0 calc((100% - 40px) / 3) !important;
        width: calc((100% - 40px) / 3) !important;
        max-width: calc((100% - 40px) / 3) !important;
        min-width: 0;
        box-sizing: border-box;
    }
}
    
    
    
/* Итоги оформления заказа — все размеры экрана */
.t706__cartpage .t706__cartpage-totals {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.t706__cartpage .t706__cartwin-totalamount-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.t706__cartpage .t706__cartwin-totalamount-row_total {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: baseline !important;
    flex-wrap: wrap;
    gap: 4px 6px !important;

    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 12px !important;

    color: #2F00FF !important;
    font-size: 13px !important;
    line-height: 18px !important;
    font-weight: 400 !important;
}

.t706__cartpage .t706__cartwin-totalamount-row_total
> .t706__cartwin-totalamount-info_label {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    text-align: right !important;
    color: #2F00FF !important;
    font-weight: 700 !important;
}

.t706__cartpage .t706__cartwin-totalamount-row_total
> .t706__cartwin-totalamount-info_value {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    text-align: right !important;
    color: #2F00FF !important;
    font-weight: 400 !important;
}

/* Планшеты и телефоны */
@media screen and (max-width: 960px) {
    .t706__cartpage .t706__cartwin-totalamount-row_total {
        padding-top: 10px !important;
    }
}