.t-store__card__mark-wrapper {
    left: 10px;
}

.js-product-relevant .t-store__card__imgwrapper {
    padding-bottom: 150%;
}


@media screen and (max-width: 560px) {
    .t706 .t706__close {
        
        background: #fff; /* Вылезла какая-то черная полоска под меню в мобилке */
        
    }
}

/* Базовое меню (десктоп) */
.t-menu__link-item,
.t481__link-item {
    letter-spacing: 0.010em !important;
}

/* Мобильная версия меню */
@media only screen and (max-width: 640px) {
  .t-menu__link-item,
  .t481__link-item {
    letter-spacing: 0.005em !important;
  }
}


/* Карточка товара, табы */
.t-store .t-store__tabs__close-icon {
    width: 14px !important;
    height: 14px!important;
}


.t-store .t-store__tabs__close-icon g {
    stroke-width: 2px !important;
}

.t-store .t-store__tabs__close:after {
    background-color: rgba(0, 56 ,164, 0) !important;
}

.t-store .t-store__tabs.t-store__tabs_accordion .t-store__tabs__item-button {
    border: none !important;
    padding: 0;
    margin: 30px 0;
    font-size: 14px !important; /* ДОБАВЛЯЕМ! */
    letter-spacing: 0.01em !important; /* ДОБАВЛЯЕМ! */
}





.js-product .t-product__option-variants_buttons .t-product__option-item_simple {
    margin-bottom: 10px;
}



@media only screen and (min-width: 641px) {
    
.t-store .t-store__tabs {
    margin-top: 30px !important;
    max-width: 384px;
    text-transform: uppercase;
}

.t-store .t-store__tabs__content {
    margin: 30px 0 !important;
}
    
}

@media only screen and (max-width: 640px) {
    
.t-store__card__title:not(.anything), .t-store__card__price:not(.anything) {
    font-size: 12px !important;
}
    
.t-store .t-store__tabs {
    max-width: 100%;
    padding: 0 10px !important;
    margin: 50px 0 20px 0 !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.01em !important;
}
}

.t-store__tabs__item-title, .t-store__tabs__content {
    font-size: 14px !important;
    letter-spacing: 0.01em !important;
}
}

.t-store__prod-popup__text {
    margin-top: 70px;
}
    
}





/* Главная страница, дизайн лейблов */

.t-store__card__mark-wrapper {
    
    left: 16px !important;
    right: none !important;
}

.t-store__card__mark {
    background-color: rgba(255, 255, 255, 0) !important;
    color: #0038a4 !important;
    border-radius: 0px;
    font-family: 'Arnold';
    height: 20px !important;
    font-size: 13px !important;
    letter-spacing: 0.01em !important;
    width: auto !important;
    min-width: 60px !important;
    text-transform: uppercase;
    padding: 0 5px !important;
    display: flex !important;
    justify-content: flex-start;
}



@media only screen and (max-width: 640px) {
    
.t-store__card__mark {
    font-size: 12px !important;
    height: 16px !important;
}
    
}

@media only screen and (max-width: 640px) {
  .t-store__card__mark-wrapper {
    left: 6px !important;
  }
}


/* Меняем текст «Нет в наличии» */
.t-store__card__sold-out-msg,
.t-store__prod-popup__btn_disabled td.js-store-prod-popup-buy-btn-txt {
    font-size: 0;
}

.t-store__card__sold-out-msg {
    margin-top: 0;
}

.t-store__card__sold-out-msg:after {
    content: 'SOLD OUT';
    font-size: 13px;
    letter-spacing: 0.01em !important;
}

.t-store__prod-popup__btn_disabled td.js-store-prod-popup-buy-btn-txt:after {
    content: 'SOLD OUT';
    font-size: 14px;
}

@media only screen and (max-width: 640px) {
.t-store__card__sold-out-msg:after,
.t-store__prod-popup__btn_disabled td.js-store-prod-popup-buy-btn-txt:after {
    font-size: 12px;
}

.t-store__prod-popup__info .t-store__prod-popup__btn_disabled td.js-store-prod-popup-buy-btn-txt:after {
    font-size: 14px !important;
}

}


/* Добавляем подпись про бесплатную доставку в корзину */

#delivery-services-wrapper:before {
    display: block;
    content: 'Бесплатная доставка от 10000 рублей';
    font-family: 'Arnold';
    font-size: 15px;
    margin-bottom: 12px;
}

@media only screen and (max-width: 640px) {
#delivery-services-wrapper:before {
    font-size: 12px;
}
}

/* Описание товара в ширину кнопки */
.js-store-prod-all-text {
    width: 384px;
}

@media only screen and (max-width: 640px) {
.js-store-prod-all-text {
    width: 384px;
}
}



/* Карточки с анонсом */
/*div[data-product-lid="625277648871"], div[data-product-lid="274175303831"], div[data-product-lid="532141516731"], div[data-product-lid="470734607031"], div[data-product-lid="814644275271"], div[data-product-lid="617501812751"], div[data-product-lid="728534445001"], div[data-product-lid="740105075571"], div[data-product-lid="851438912071"], div[data-product-lid="613417244041"], div[data-product-lid="509243685462"] {*/
/*    pointer-events: none !important;*/
/*}*/

/*div[data-product-lid="625277648871"] .js-product-price, div[data-product-lid="625277648871"] .t-store__card__price-currency {*/
/*    display: none;*/
/*}*/

/*div[data-product-lid="625277648871"] .t-store__card__price:after {*/
/*    content: 'SOON';*/
/*}*/



/* Скрываем артикул */
.t-store__prod-popup__sku {
    display: none;
}

/* Фиксим порядок блоков в конце карточки товара */
#t-footer {
    display: flex;
    flex-direction: column;
}

#rec575350540 { order: 2; } /* Размеры */
#rec586980218 { order: 3; } /* Заголовок More */
#rec586970775 { order: 4; } /* Секция More */
#rec507132411 { order: 5; } /* Подвал */

#rec586980218, #rec586970775 {
    padding-top: 0 !important;
}

.t-store__relevants__container > .t-container {
    margin: 0 !important;
    max-width: none !important;
}

@media only screen and (max-width: 640px) {

.t-store__relevants__container > .t-container  > .t-col {
    padding: 0 !important;
}

.t-store__relevants-grid-cont {
    display: grid !important;
    grid-template-columns: 50% 50% !important;
    row-gap: 24px;
}

.t-store__scroll-icon-wrapper {
    display: none !important;
}

.t-store__relevants__title {
    margin: 30px 0 15px 0 !important;
    padding-left: 12px !important;
    font-size: 14px !important;
}

#rec493027688, #rec869387052 {
    margin-bottom: 80px;
}

}

.t-store__relevants__title {
    margin: 100px 0 15px;
    padding-left: 20px;
}

.js-product-relevant {
    max-width: 100% !important;
    margin: 0 !important;
}

@media only screen and (min-width: 641px) {
    
.js-product-relevant {
    max-width: 25% !important;
}

}

@media only screen and (min-width: 641px) {

.t-store__prod-popup__text {
    margin-top: 0vh;
}

.t-name_xl, .t-name_md, .t-descr_xxs {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.js-product-edition-option[data-edition-option-id="SIZE"] > .t-descr_xxs {
    font-size: 12px !important;
}

.js-product-edition-option[data-edition-option-id="SIZE"] > .t-descr_xxs:before {
    /*content: 'CHOOSE ';*/
}
    
.t-store .t-product__option-title {
    font-size: 12px;
    white-space: nowrap;
    /*margin-bottom: 10px;*/
}

.js-product-edition-option-name {
    margin-bottom: 10px;
}
    
.t-btn_sm, .t-product__option-variants .t-descr_xxs {
    font-size: 16px;
    font-weight: 400;
}

.t-product__option-variants {
    max-width: 384px;
}

.js-product .t-product__option-variants_buttons .t-product__option-item_simple {
    padding: 0;
    min-width: unset;
    min-height: unset;
    margin: 0px;
    flex-grow: 1;
}

}


.searchbox-info > * {
    color: #0038A4 !important;
}


.t-store__card__sold-out-msg {
    color: #0038A4;
}

.t-store__prod-snippet__container {
    padding-bottom: 0;
}

/* Название и цена в одном ряду */
.t-store__card__textwrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: -14px !important;
}

/* Убираем смещение у цены */
.t-store__card__price-wrapper {
    margin-top: 0 !important;
}

/* Паддинги для текстов в карточках */
@media only screen and (min-width: 641px) {
  .t-store__card__textwrapper {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media only screen and (max-width: 640px) {
  .t-store__card__textwrapper {
    flex-direction: column;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;/* ДОБАВИТЬ! */
    font-size: 12px;
    align-items: flex-start;
  }
}


/* Стиль текста названия и цены */
.t-store__card__title,
.t-store__card__price {
    font-size: 13px !important;
    letter-spacing: 0.010em !important;
}

/* Новый код для старой цены */
span.js-product-price-old[style] {
    font-size: 13px !important;
    letter-spacing: 0.010em !important;
    color: #B3C3E4 !important;
    text-decoration: line-through !important;
}


.t-store__card__price-wrapper {
    margin: 0;
}


.t786__imgwrapper {
    margin: 0;
}

.t-store__card__price-value, .t-store__card__price-currency {
    vertical-align: top;
}

.t-store__grid-separator {
    margin-bottom: 50px !important;
}


/* Страница товара */
.t-store__prod-snippet__container {
    padding-top: 70px;
}

@media only screen and (max-width: 480px) {
    
.t-store__card__price-value, .t-store__card__price-currency {
    font-size: 12px;
}
    
.t-store__prod-snippet__container {
    padding-top: 48px;
}
    
}

.t-store__product-snippet .t-container {
    margin: 0;
    max-width: none;
}

.t-store__product-snippet .t-container > div {
    display: flex;
}

.t-store__product-snippet .t-container .t-col_6 {
    max-width: 50vw;
    position: relative;
}

.js-product .t-product__option[data-edition-option-id="Size"] .t-product__option-variants_custom {
    gap: 40px;
}

.t-store__prod-popup__info {
    padding-top: 80px;
    margin-left: 20px !important;
}

.t-store__prod-popup__btn-wrapper {
    margin-top: 10px;
    margin-bottom: 80px;
    height: 48px; /* Высота кнопки Купить */
}

.t-store__prod-popup__btn {
    width: 384px;
}

/* Плашка со свойствами на странице товара */
.js-product-edition-option {
    margin-top: 40px !important;
}

.js-product-controls-wrapper {
    /*margin-top: 40px !important;*/
}

.js-product .t-product__option-variants_buttons .t-product__option-item {
    outline: 1px solid #0038A4 !important;
    outline-offset: -0.5px;
    width: 144px;
    height: 48px; /* Высота кнопок размеров */
}

.js-product .t-product__option-variants_custom .t-product__option-item.t-product__option-item_disabled {
    opacity: 1;
    border: none !important;
    outline: 1px solid #B3C3E4 !important;
    outline-offset: -0.5px;
}

.js-product .t-product__option-variants_custom .t-product__option-item .t-descr {
    font-size: 14px !important;
}

.js-product .t-product__option-variants_custom .t-product__option-item.t-product__option-item_disabled .t-descr {
    color: #B3C3E4 !important;
}

.t-descr {
    /*text-transform: uppercase;*/
    color: #0038A4 !important;
}

.js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active {
    border: none !important;
    outline: 1px solid #0038A4 !important;
    outline-offset: -0.5px;
    background-color: #0038A4;
}

.js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active span {
    color: #fff !important;
}




/* Описание на странице товара */
.js-store-prod-all-text {
    text-transform: uppercase;
    font-size: 14px;
}

@media only screen and (min-width: 641px) {
    
.t-store__prod-popup__title-wrapper {
    max-width: 280px;
}
    
.t-store__card__price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
    
.t-store__prod-popup__info {
    max-width: 384px !important;
}
    
.js-store-prod-all-text {
    font-size: 16px;
}
    
.t-slds__arrow_container { /* Отключаем стрелочки в десктопе */
    display: none;
}
}

.t-slds__arrow_container { /* Отключаем стрелочки в десктопе */
    pointer-events: none;
}


.t-slds__container { /* Убираем цвет подложки для фотографий */
    background-color: #fff !important;
}

.t-slds {  /* Делаем видимыми фотки в галерее */
    overflow: visible !important;
}

.t-slds__item_active { /* Выравниванием размер первой фотографии до 50% */
    width: 50vw !important;
}

.t-col {
    margin: 0;
}

/* Выравниваем цену в карточке */

@media only screen and (min-width: 641px) {
    .t-store__prod-popup__price-wrapper {
        margin-top: -43px;
        /*margin-left: 300px;*/
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        position: absolute;
        right: 0;
        /*top: 61px;*/
    }
    
    /* убираем возможность кликать переключение фоток в десктопе */
    .t-slds__thumbsbullet.t-slds__bullet {
        pointer-events: none;
    }
}

.t-name_md {
    font-size: 14px;
    line-height: 1.2;
}

.t-slds__thumbsbullet-wrapper {
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.t-store__prod-popup__slider div[data-slide-bullet-for="1"] {
    display: none !important;
}

/*div[data-slide-bullet-for="6"], div[data-slide-bullet-for="7"], div[data-slide-bullet-for="8"], div[data-slide-bullet-for="9"], div[data-slide-bullet-for="10"], div[data-slide-bullet-for="11"] {*/
/*    display: none !important;*/
/*}*/

.t-slds__items-wrapper {
    height: calc((50vw - 20px) * 1.5)!important;
}


.t-slds__thumbsbullet.t-slds__bullet {
    width: calc(100% + 1px); /* Убираем лишний пиксель по центру */
    height: calc((50vw - 20px) * 1.53);
    margin: 0;
}

.t-slds__bgimg {
    height: calc((50vw - 20px) * 1.5);
    background-size: contain !important;
    background-position: top !important;
}

.t-slds__thumbsbullet-border {
    border: none !important;
}

.js-product .t-product__option-variants_buttons .t-product__option-item_color:hover .t-product__option-title { /* Отключаем ховер выбора цвета */
    display: none;
}

#rec493067419 { /* Скрываем старую иконку корзины */
    opacity: 0;
}

#rec501025585 { /* Цифру корзины — наверх */
    position: fixed;
    top: 0;
    z-index: 9999 !important;
    /*pointer-events: none;*/
}

.tn-atom.cartcopy {
    /*border: 1px solid #0038A4 !important;*/
    /*border-radius: 100px !important;*/
    /*padding: 0 1px 2px 1px !important;*/
}


/* Настройка мобильного меню */
@media only screen and (max-width: 640px) {
.t481__list {
    display: flex;
    justify-content: space-between;
}

.t481__list_item {
    width: 50%;
}

.t-menuburger::before {
   content: "Menu" !important;
   font-family: 'Arnold';
   font-size: 14px;
   color: #0038A4;
}

.t-menuburger span {
   display: none !important;
}
}


.t-store__prod-popup__btn_disabled {
    opacity: 1;
    border: none !important;
    outline: 1px solid #B3C3E4 !important;
    outline-offset: -0.5px;
    color: #B3C3E4 !important;
}

/* Чиним главную и карточку товаров в мобилке */
@media only screen and (max-width: 640px) {
.t-store__card__textwrapper {
    flex-direction: column;
    padding: 0 10px;
}
 
.t-store__card__textwrapper {
    font-size: 12px;
}

.t-name_xl {
    font-size: 14px;
}

.js-product-controls-wrapper {
    /*position: fixed;*/
    /*bottom: 3px;*/
    /*margin-top: 27px !important;*/
}

/* Фиксируем меню выбора размера в карточке мобилки */
.t-store__prod-popup__info {
    background-color: #fff;
    margin: 0 !important;
    padding: 10px !important;
}

.js-store-prod-all-text {
    /*display: none;*/
    width: 100%;
    padding-right: 20px;
}

.js-product-edition-option {
    /*margin-top: 50px !important;*/
    margin-bottom: 0 !important;
}

.t-store__prod-popup__btn {
    margin-bottom: 19px !important; /* Отступ от низа экрана для кнопки Купить */
}

.js-product .t-product__option-variants_buttons .t-product__option-item {
    height: 40px;
    white-space: nowrap;
    flex-grow: 1;
    margin-right: 0;
}

.t-store__prod-popup__btn-wrapper {
    margin-top: 0;
    width: 100%;
    height: 40px;
}

.t-store__prod-popup__btn {
    /*position: fixed;*/
    /*bottom: 1px;*/
    /*right: 10px;*/
    width: 100%;
    height: 40px;
    border: none !important;
    outline: 1px solid #0038A4 !important;
    outline-offset: -0.5px;
}

.t-store__prod-popup__price-wrapper {
    margin-top: -37px;
    /*margin-left: calc(100% - 80px);*/
    text-align: right;
}

.t-store__prod-popup__info .js-store-price-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    margin-bottom: 50px;
}

.t-name_md {
    font-size: 14px;
    line-height: 1.2;
}

/* Настраиваем кнопку ADD TO CART */
.t-btn_sm {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    font-weight: 400;
    border: none !important;
    outline: 1px solid #0038A4 !important;
    outline-offset: -0.5px;
    margin-bottom: 13px;
}

.t-store__prod-popup__btn_disabled {
    opacity: 1;
    border: none !important;
    outline: 1px solid #B3C3E4 !important;
    outline-offset: -0.5px;
    color: #B3C3E4 !important;
}


/* Высота основной фотографии в карточке */
.t-slds__items-wrapper {
    height: calc(100vw * 1.5) !important;
}

#rec914620315 .t-slds__items-wrapper {
    height: 98vh !important;
}

/* Сетка дополнительных фотографий в мобилке */
.t-slds__thumbsbullet-wrapper {
    width: 100vw;
    grid-template-columns: 1fr;
}

.t-slds__thumbsbullet.t-slds__bullet {
    width: 100%;
    height: calc(100vw * 1.5);
}

.t-store__product-snippet .t-container > div {
    flex-direction: column;
}

.t-store__product-snippet .t-container .t-col_6 {
    max-width: 100vw !important;
}

.t-slds__item_active {
    width: 100vw !important;
}

.t-store__prod-snippet__container {
    padding-bottom: 0;
}

.t-store .t-slds__thumbsbullet-wrapper, .t-store .t-store__prod-popup__info {
    padding: 0 !important;
}

.js-store-product .t-container .t-store__prod-popup__info {
    padding: 10px !important;
}

.t-store .t-slds__thumbsbullet-wrapper {
    width: 100vw !important;
    display: none;
}

.t-store__product-snippet .t-store__prod-popup__col-left, .t-store__product-snippet .t-store__prod-popup__col-right {
    padding-left: 0 !important;
}

.t454__list {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-template-columns: repeat(2, 1fr) !important;
}

.t454 .t454__list_item {
    height: 34px;
    vertical-align: middle;
    text-align: left !important;
    border-top: 4px solid #0038A4;
    border-left: 4px solid #fff;
    border-image: url('https://storage.yandexcloud.net/marekku/border-menu-5.svg') 10;
    margin-top: -1px;
    margin-left: -2px;
}

.t454__maincontainer {
    padding: 0 0 20px 0;
}

/* Сетка основных фотографий на главной */
.t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
    margin-bottom: 20px;
}



/* --- Правка блока Match With в мобайле --- */
@media only screen and (max-width: 640px) {
  /* Сетка 2 карточки в ряд */
  .t-store__relevants-grid-cont {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 !important; /* убираем лишние отступы */
    margin: 0 !important;
  }

  /* Карточки */
  .t-store__relevants-grid-item {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Изображения внутри карточек */
  .t-store__relevants-grid-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2/3; /* фиксируем пропорцию */
    object-fit: cover;
    display: block;
  }

  /* Текст под карточками */
  .t-store__card__textwrapper {
    padding: 0 10px !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    text-align: left !important; /* подписи выравниваем влево */
  }

  /* Сами названия и цена */
  .t-store__card__title,
  .t-store__card__price {
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
  }
  
}







