/* 1. КОРЗИНА И СКРЫТИЕ АРТИКУЛОВ */
.t-store__card__descr, .t-store__card__sku, 
.t-store__product-popup__sku, .t-store__product-popup__sku-wrapper,
.t706__product-sku, .t-cartwin__product-sku,
.t706__product-title__option, .t706__order-item-sku,
.t706__product-descr, .t-cartwin__product-descr {
    display: none !important;
}

/* 2. СЕТКА ТОВАРОВ ST320N */
.t-store__card__textwrapper {
    height: auto !important;
    min-height: unset !important;
    padding-top: 12px;
}
.t-store__card__title { margin-bottom: 4px !important; }
.t-store__card__price-wrapper { margin: 0 !important; }

/* КОНТЕЙНЕР: БАЗОВО КНОПКИ ПО БОКАМ ДРУГ ОТ ДРУГА (ДЛЯ ПК И ПЛАНШЕТОВ) */
.t-store__card__btns-wrapper { 
    margin-top: 10px !important; 
    padding-top: 0 !important; 
    display: flex !important;            
    flex-direction: row !important;      
    justify-content: flex-start !important; 
    gap: 6px !important;                 
}

/* БАЗОВЫЕ НАСТРОЙКИ КНОПОК ДЛЯ ОЧЕНЬ БОЛЬШИХ ЭКРАНОВ (ОТ 1661px И ВЫШЕ) */
/* Знак ">" страхует кнопку "Загрузить еще" от попадания под общие стили */
.t-store__card__btns-wrapper > .t-store__card__btn {
    flex: 0 1 43% !important;           
    max-width: 43% !important;          
    margin: 0 !important;                
    padding-left: 4px !important;       
    padding-right: 4px !important;       
    font-size: 12px !important;          
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;     
    text-overflow: clip !important;     
    overflow: visible !important;       
}


/* ========================================================== */
/* АДАПТИВ ДЛЯ ЭКРАНОВ 1201px - 1660px                        */
/* ========================================================== */
@media screen and (max-width: 1660px) and (min-width: 1201px) {
    .t-store__card__btns-wrapper > .t-store__card__btn {
        flex: 0 1 43% !important;       
        max-width: 43% !important;
        font-size: 11px !important;      
        padding-left: 2px !important;   
        padding-right: 2px !important;
    }
    .t-store__card__title { font-size: 15px !important; }
    .t-store__card__price { font-size: 13px !important; }
}


/* ========================================================== */
/* АДАПТИВ 3: ДЛЯ ЭКРАНОВ ОТ 961px ДО 1200px                  */
/* ========================================================== */
@media screen and (max-width: 1200px) and (min-width: 961px) {
    .t-store__card__btns-wrapper > .t-store__card__btn {
        flex: 0 1 43% !important;       
        max-width: 43% !important;
        height: 36px !important;         
        line-height: 36px !important;   
        font-size: 10px !important;      
        padding-left: 2px !important;   
        padding-right: 2px !important;  
    }
    .t-store__card__title { font-size: 14px !important; }
    .t-store__card__price { font-size: 12px !important; }
}


/* ГЛОБАЛЬНЫЙ МОБИЛЬНЫЙ КОНТЕЙНЕР (ОСТАВЛЯЕМ ДЛЯ СЕТКИ ФИЛЬТРОВ) */
@media screen and (max-width: 960px) {
    .t951__grid-cont .t-store__card-list {
        row-gap: 20px !important;
    }
    #rec1294984581 .t-store__grid-cont_col-width_stretch .t951__sidebar {
        margin: -12px -8px -8px -6px !important;
    }
}


/* ========================================================== */
/* АДАПТИВ 2: ДЛЯ ЭКРАНОВ ОТ 671px ДО 960px                   */
/* ========================================================== */
@media screen and (max-width: 960px) and (min-width: 671px) {
    .t-store__card__btns-wrapper > .t-store__card__btn {
        flex: 0 1 43% !important;       
        max-width: 43% !important;
        font-size: 11px !important;      
    }
    .t-store__card__title { 
        font-size: 16px !important;     
        margin-top: 10px !important;    
    }
}


/* ========================================================== */
/* АДАПТИВ 1: ДЛЯ ЭКРАНОВ ДО 670px (МОБИЛЬНЫЕ ТЕЛЕФОНЫ)       */
/* ========================================================== */
@media screen and (max-width: 670px) {
    /* Ровняем сам контейнер кнопок по левой стороне карточки */
    .t-store__card__btns-wrapper { 
        flex-direction: column !important; 
        align-items: flex-start !important; 
        gap: 0 !important;                 
    }

    /* Отступы кнопок на мобильных */
    .t-align_left .t-store__card__btns-wrapper > .t-store__card__btn { 
        margin: -4px 0px 10px 0px !important; 
    }
    
    /* ИЗМЕНЕНИЯ ГЕОМЕТРИИ: ШИРИНА СТАЛА БОЛЬШЕ НА 20%, ВЫСОТА НА 12px МЕНЬШЕ */
    .t-store__card__btns-wrapper > .t-btnflex_sm, 
    .t-store__card__btns-wrapper > .t-btn.t-btnflex_sm, 
    .t-store__card__btns-wrapper > .t-submit.t-btnflex_sm {
        display: block !important;
        
        width: 75% !important;             /* УВЕЛИЧИЛИ ШИРИНУ НА 20% (было 55% -> стало 75%) */
        max-width: 75% !important;
        
        height: 16px !important;            /* УМЕНЬШИЛИ ВЫСОТУ НА 12px (было 28px -> стало 16px) */
        line-height: 16px !important;
        text-align: center !important;     
        
        font-size: 10px !important;      
        padding-left: 4px !important;   
        padding-right: 4px !important;  
    }
    
    /* ШРИФТЫ ЗАГОЛОВКА И ЦЕНЫ */
    .t-store__card__title { 
        font-size: 13px !important;        
        margin-top: 8px !important;     
        margin-bottom: 2px !important;  
    }
    .t-store__card__price { 
        font-size: 13px !important;        
    }
    
    .t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 12px !important;
    }
}

/* ЗАЩИТА КНОПКИ ЗАГРУЗИТЬ ЕЩЕ ОТ СЪЕЗЖАНИЯ ВБОК */
.t-store__loadmore-btn-wrapper .t-store__loadmore-btn,
.t-store__grid-cont .t-store__loadmore-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px auto !important;
    text-align: center !important;
    display: inline-block !important;
}


/* Адаптив для попапа товара (до 480px) */
@media screen and (max-width: 480px) {
    .t-store__prod-popup__name,
    .js-product-name.t-store__prod-popup__name {
        font-size: 16px !important;     
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    .t-store__prod-popup__price,
    .t-store__prod-popup__price-value,
    .t-store__prod-popup__price-currency {
        font-size: 18px !important;     
        font-weight: 700 !important;
        line-height: 1 !important;
    }
    .t-store__prod-popup__price-wrapper {
        margin-bottom: 18px !important; 
        margin-top: -18px !important;
    }
    .t-store__prod-popup__btn-wrapper {
        margin-top: 10px !important;
    }
}






/* Корзина: цена под названием, без изменения штатной структуры Tilda */
body:has(#rec2952609101) .t706__cartpage .t706__product,
body:has(#rec2954377801) .t706__cartpage .t706__product,
body:has(#rec2475445361) .t706__cartpage .t706__product { position:relative !important; margin-bottom:18px !important; }
body:has(#rec2952609101) .t706__cartpage .t706__product-thumb,
body:has(#rec2954377801) .t706__cartpage .t706__product-thumb,
body:has(#rec2475445361) .t706__cartpage .t706__product-thumb {
  width:66px !important; height:88px !important; padding:0 !important;
  aspect-ratio:3 / 4; overflow:hidden !important; border-radius:10px !important;
  vertical-align:top !important;
}
body:has(#rec2952609101) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2954377801) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2475445361) .t706__cartpage .t706__product-imgdiv {
  display:block !important; width:66px !important; height:88px !important;
  background-size:contain !important; background-position:center !important;
  background-repeat:no-repeat !important; border-radius:10px !important;
}
body:has(#rec2952609101) .t706__cartpage .t706__product-title,
body:has(#rec2954377801) .t706__cartpage .t706__product-title,
body:has(#rec2475445361) .t706__cartpage .t706__product-title {
  vertical-align:top !important; padding-top:8px !important; line-height:1.15 !important;
}
body:has(#rec2952609101) .t706__cartpage .t706__product-amount,
body:has(#rec2954377801) .t706__cartpage .t706__product-amount,
body:has(#rec2475445361) .t706__cartpage .t706__product-amount {
  position:absolute !important; left:78px !important; top:56px !important;
  margin:0 !important; color:#FCAA27 !important;
}
@media screen and (max-width:560px) {
  body:has(#rec2952609101) .t706__cartpage .t706__product,
body:has(#rec2954377801) .t706__cartpage .t706__product,
body:has(#rec2475445361) .t706__cartpage .t706__product { margin-bottom:16px !important; }
  body:has(#rec2952609101) .t706__cartpage .t706__product-thumb,
body:has(#rec2954377801) .t706__cartpage .t706__product-thumb,
body:has(#rec2475445361) .t706__cartpage .t706__product-thumb { width:58px !important; height:77px !important; }
  body:has(#rec2952609101) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2954377801) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2475445361) .t706__cartpage .t706__product-imgdiv { width:58px !important; height:77px !important; }
  body:has(#rec2952609101) .t706__cartpage .t706__product-amount,
body:has(#rec2954377801) .t706__cartpage .t706__product-amount,
body:has(#rec2475445361) .t706__cartpage .t706__product-amount { left:67px !important; top:49px !important; }
}
/* Ошибки checkout: спокойные подписи и контурное сообщение */
body:has(#rec2952609101) .t706 .t-input-error,
body:has(#rec2954377801) .t706 .t-input-error,
body:has(#rec2475445361) .t706 .t-input-error {
  display:block !important;
  color:#B84E12 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin-top:4px !important;
  line-height:1.3 !important;
}
body:has(#rec2952609101) .t706 .t-form__errorbox-wrapper,
body:has(#rec2954377801) .t706 .t-form__errorbox-wrapper,
body:has(#rec2475445361) .t706 .t-form__errorbox-wrapper {
  color:#FCAA27 !important;
  background:transparent !important;
  border:2px solid #FCAA27 !important;
  border-radius:28px !important;
  box-shadow:none !important;
}
body:has(#rec2952609101) .t706 .t-form__errorbox-text, .t706 .t-form__errorbox-item,
body:has(#rec2954377801) .t706 .t-form__errorbox-text, .t706 .t-form__errorbox-item,
body:has(#rec2475445361) .t706 .t-form__errorbox-text, .t706 .t-form__errorbox-item {
  color:#FCAA27 !important;
  background:transparent !important;
}
body:has(#rec2952609101) .t706 .t-input-group:has(.t-input-error:not(:empty)) .t-input,
body:has(#rec2954377801) .t706 .t-input-group:has(.t-input-error:not(:empty)) .t-input,
body:has(#rec2475445361) .t706 .t-input-group:has(.t-input-error:not(:empty)) .t-input {
  border-color:#FCAA27 !important;
  box-shadow:none !important;
  outline:none !important;
}
body:has(#rec2952609101) .t706 .t-input-group input.t-input:focus,
body:has(#rec2954377801) .t706 .t-input-group input.t-input:focus,
body:has(#rec2475445361) .t706 .t-input-group input.t-input:focus {
  outline:none !important;
  box-shadow:none !important;
  border-color:#FCAA27 !important;
  background-image:none !important;
}
body:has(#rec2952609101) .t706 .t-input-group_ph .t-input-block,
body:has(#rec2954377801) .t706 .t-input-group_ph .t-input-block,
body:has(#rec2475445361) .t706 .t-input-group_ph .t-input-block {
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  background-image:none !important;
}
body:has(#rec2952609101) .t706 .t-input-group_ph .t-input,
body:has(#rec2954377801) .t706 .t-input-group_ph .t-input,
body:has(#rec2475445361) .t706 .t-input-group_ph .t-input {
  box-shadow:none !important;
  outline:0 !important;
}
body:has(#rec2952609101) .t706 .t-input-group_cb .t-input-block,
body:has(#rec2954377801) .t706 .t-input-group_cb .t-input-block,
body:has(#rec2475445361) .t706 .t-input-group_cb .t-input-block {
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  border-bottom:1px solid #B84E12 !important;
  padding-bottom:7px !important;
}


/* Корзина: точное выравнивание шапки и отступов по макету */
body:has(#rec2952609101) .t706__cartpage-top,
body:has(#rec2954377801) .t706__cartpage-top,
body:has(#rec2475445361) .t706__cartpage-top {
  width:960px !important; max-width:calc(100% - 32px) !important;
  margin-left:auto !important; margin-right:auto !important;
  box-sizing:border-box !important; border:0 !important; box-shadow:none !important;
}
body:has(#rec2952609101) .t706__cartpage-top::before,
body:has(#rec2954377801) .t706__cartpage-top::before,
body:has(#rec2475445361) .t706__cartpage-top::before ,
body:has(#rec2952609101) .t706__cartpage-top::after,
body:has(#rec2954377801) .t706__cartpage-top::after,
body:has(#rec2475445361) .t706__cartpage-top::after { display:none !important; border:0 !important; box-shadow:none !important; }
body:has(#rec2952609101) .t706__cartpage-heading,
body:has(#rec2954377801) .t706__cartpage-heading,
body:has(#rec2475445361) .t706__cartpage-heading { text-align:center !important; }

body:has(#rec2952609101) .t706 .t-input-group_ph,
body:has(#rec2954377801) .t706 .t-input-group_ph,
body:has(#rec2475445361) .t706 .t-input-group_ph { margin-bottom:0 !important; }
body:has(#rec2952609101) .t706 .t-input-group_dl,
body:has(#rec2954377801) .t706 .t-input-group_dl,
body:has(#rec2475445361) .t706 .t-input-group_dl { margin-top:-10px !important; }

body:has(#rec2952609101) .t706 .t-input-group_cb .t-input-block,
body:has(#rec2954377801) .t706 .t-input-group_cb .t-input-block,
body:has(#rec2475445361) .t706 .t-input-group_cb .t-input-block {
  border:0 !important; border-radius:0 !important; outline:0 !important;
  box-shadow:none !important; padding-bottom:0 !important;
}
body:has(#rec2952609101) .t706 .t-input-group_cb .t-checkbox__control,
body:has(#rec2954377801) .t706 .t-input-group_cb .t-checkbox__control,
body:has(#rec2475445361) .t706 .t-input-group_cb .t-checkbox__control {
  border:0 !important; border-radius:0 !important; outline:0 !important; box-shadow:none !important;
}
body:has(#rec2952609101) .t706 .t-input-group_cb.t-input-group_incorrect .t-input-block,
body:has(#rec2954377801) .t706 .t-input-group_cb.t-input-group_incorrect .t-input-block,
body:has(#rec2475445361) .t706 .t-input-group_cb.t-input-group_incorrect .t-input-block,
body:has(#rec2952609101) .t706 .t-input-group_cb.t-input-group_error .t-input-block,
body:has(#rec2954377801) .t706 .t-input-group_cb.t-input-group_error .t-input-block,
body:has(#rec2475445361) .t706 .t-input-group_cb.t-input-group_error .t-input-block {
  border:0 !important; border-bottom:2px solid #FCAA27 !important;
  border-radius:0 !important; box-shadow:none !important; padding-bottom:7px !important;
}
body:has(#rec2952609101) .t706 .t-input-group_cb.t-input-group_incorrect,
body:has(#rec2954377801) .t706 .t-input-group_cb.t-input-group_incorrect,
body:has(#rec2475445361) .t706 .t-input-group_cb.t-input-group_incorrect,
body:has(#rec2952609101) .t706 .t-input-group_cb.t-input-group_error,
body:has(#rec2954377801) .t706 .t-input-group_cb.t-input-group_error,
body:has(#rec2475445361) .t706 .t-input-group_cb.t-input-group_error {
  border:0 !important; outline:0 !important; box-shadow:none !important;
}

body:has(#rec2952609101) .t706 .t-form__errorbox-wrapper,
body:has(#rec2954377801) .t706 .t-form__errorbox-wrapper,
body:has(#rec2475445361) .t706 .t-form__errorbox-wrapper {
  color:#FCAA27 !important; background:#FCF8F4 !important;
  border:2px solid #FCAA27 !important; border-radius:28px !important;
  box-shadow:none !important; box-sizing:border-box !important; min-height:58px !important;
  padding:12px 18px !important; margin:24px 0 14px !important; text-align:center !important;
}
body:has(#rec2952609101) .t706 .t-form__errorbox-text,
body:has(#rec2954377801) .t706 .t-form__errorbox-text,
body:has(#rec2475445361) .t706 .t-form__errorbox-text {
  color:#FCAA27 !important; background:transparent !important; list-style:none !important;
  margin:0 !important; padding:0 !important; text-align:center !important;
}
body:has(#rec2952609101) .t706 .t-form__errorbox-item,
body:has(#rec2954377801) .t706 .t-form__errorbox-item,
body:has(#rec2475445361) .t706 .t-form__errorbox-item {
  color:#FCAA27 !important; background:transparent !important; margin:0 !important;
  padding:0 !important; line-height:1.35 !important;
}

body:has(#rec2952609101) .t706__cartpage .t706__product,
body:has(#rec2954377801) .t706__cartpage .t706__product,
body:has(#rec2475445361) .t706__cartpage .t706__product { margin-bottom:12px !important; }
body:has(#rec2952609101) .t706__cartpage .t706__product-thumb,
body:has(#rec2954377801) .t706__cartpage .t706__product-thumb,
body:has(#rec2475445361) .t706__cartpage .t706__product-thumb { width:66px !important; height:88px !important; }
body:has(#rec2952609101) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2954377801) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2475445361) .t706__cartpage .t706__product-imgdiv { width:66px !important; height:88px !important; }
body:has(#rec2952609101) .t706__cartpage .t706__product-title,
body:has(#rec2954377801) .t706__cartpage .t706__product-title,
body:has(#rec2475445361) .t706__cartpage .t706__product-title {
  padding-top:8px !important; padding-left:18px !important;
  line-height:1.15 !important; vertical-align:top !important;
}
body:has(#rec2952609101) .t706__cartpage .t706__product-amount,
body:has(#rec2954377801) .t706__cartpage .t706__product-amount,
body:has(#rec2475445361) .t706__cartpage .t706__product-amount {
  left:84px !important; top:28px !important; margin:0 !important;
}
@media screen and (max-width:560px) {
  body:has(#rec2952609101) .t706__cartpage .t706__product-thumb,
body:has(#rec2954377801) .t706__cartpage .t706__product-thumb,
body:has(#rec2475445361) .t706__cartpage .t706__product-thumb,
  body:has(#rec2952609101) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2954377801) .t706__cartpage .t706__product-imgdiv,
body:has(#rec2475445361) .t706__cartpage .t706__product-imgdiv { width:58px !important; height:77px !important; }
  body:has(#rec2952609101) .t706__cartpage .t706__product-title,
body:has(#rec2954377801) .t706__cartpage .t706__product-title,
body:has(#rec2475445361) .t706__cartpage .t706__product-title { padding-left:12px !important; }
  body:has(#rec2952609101) .t706__cartpage .t706__product-amount,
body:has(#rec2954377801) .t706__cartpage .t706__product-amount,
body:has(#rec2475445361) .t706__cartpage .t706__product-amount { left:70px !important; top:28px !important; }
}
