/* === Настройка всплывающего окна товара === */

.t-store__prod-popup__btn-wrapper {
    margin-top: 0px !important; /* убираем отступ сверху у блока с кнопкой */
    margin-bottom: 0px !important; /* убираем отступ снизу */
}
.t-btn_sm {
    padding-left: 0px !important; /* убираем внутренний отступ слева у маленьких кнопок */
}
.t-store__prod-popup__text {
    margin-top: -5px !important; /* поднимаем текст немного вверх */
    font-size: 20px !important; /* увеличиваем размер шрифта */
}
td.js-store-prod-popup-buy-btn-txt {
    font-size: 20px !important; /* увеличиваем шрифт текста кнопки покупки */
}
@media screen and (max-width: 560px) {
    .t-store__prod-popup__col-right {
        padding-top: 10px !important; /* добавляем отступ сверху на мобильных */
    }
}
div.t-popup__container.t-popup__container-static.t-popup__container-animated {
   max-width: 400px; /* ограничиваем ширину всплывающего окна */
}
div.t-slds__item.t-slds__item-loaded.t-slds__item_active {
    max-width: 350px !improtant /* ограничиваем ширину активного слайда */
}
div.js-store-prod-text.t-store__prod-popup__text.t-descr t-descr_xxs {
    font-size:14px; /* уменьшаем текст описания товара */
}



/* === Отступы и адаптивная сетка магазина === */

@media screen and (max-width: 960px) {
    .t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 10px; /* интервал по вертикали между карточками товаров */
    }
}
@media screen and (max-width: 1200px) {
    .t-name_xs {
        font-size: 19px !IMPORTANT; /* уменьшаем шрифт названия товаров на средних экранах */
    }
}



/* === Стили карточек товара (блок t776) === */

.t776 .t-store__card__btns-wrapper {
    margin-top: 10px !important; /* добавляем отступ сверху у кнопок */
    display: table-cell !important; /* выравниваем кнопки по сетке */
}
.t776 .t-store__card__price-wrapper {
    margin-top: 0px !important; /* убираем отступ над ценой */
}
.t776 .t-btn_sm {
    padding-left: 0px !important; /* убираем внутренний отступ */
    font-size: 16px !important; /* задаем размер шрифта кнопок */
    margin-top: -14px; /* сдвигаем кнопки вверх */
    background-color: transparent !important; /* убираем фон кнопок */
}
.t776.t-store__card__descr {
    margin-top: 0px !important; /* убираем отступ у описания товара */
}
.t776.t-store__mobile-two-columns .t-store__card__btn.t-btn,
.t-store__mobile-two-columns .t-store__card__btn.t-store__card__btn_second.t-btn {
    margin-top: 0px; /* выравниваем кнопки в мобильной версии */
    background-color: transparent !important; /* делаем фон прозрачным */
}

/* === Адаптив для экранов до 960px === */
@media screen and (max-width: 960px) {
    .t776.t-store__mobile-two-columns .t-store__card__title.t-name {
        font-size: 17px !important; /* уменьшаем размер названия */
    }
    .t776.t-store__mobile-two-columns .t-store__card__btn.t-btn,
    .t-store__mobile-two-columns .t-store__card__btn.t-store__card__btn_second.t-btn {
        font-size: 14px !important; /* уменьшаем шрифт кнопок */
        margin-top: -14px; /* поднимаем кнопки */
        background-color: transparent !important; /* убираем фон */
        display: table-caption !important; /* выравниваем расположение кнопок */
    }
    .t776.t-descr_xxs {
        font-size: 15px !important; /* задаем размер описания */
    }
    .t776.t-store__grid-cont .t-col, .t-store__grid-cont .t-store__stretch-col {
        margin-bottom: 3px !important; /* уменьшаем вертикальные отступы между карточками */
    }
    .t776.t-btn_sm {
        width: auto !important; /* кнопки подстраиваются под контент */
        display: inline-block !important; /* корректное выравнивание */
    }
    .t776.t-name_xs {
        font-size: 23px !important; /* увеличиваем название товара */
    }
}

/* === Адаптив для экранов до 480px === */
@media screen and (max-width: 480px) {
    .t-store__card__textwrapper {
        padding-left: 5px !important; /* уменьшаем отступ текста слева */
    }
}


/* === Настройка выпадающих опций (варианты товаров) === */

.t744.t-product__option-select {
    min-width: 219px !important; /* минимальная ширина селекта */
}
select.js-product-option-variants.t-product__option-select.t-descr.t-descr_xxs {
    width: 300px !important; /* фиксированная ширина выпадающего списка */
}
div.t-product__option-variants.t-product__option-variants_regular {
    min-width: 300px !important; /* минимальная ширина контейнера опций */
}
div.js-product-option-name.t-product__option-title.t-descr.t-descr_xxs {
    font-size: 20px; /* размер шрифта заголовка опции */
    color: white !important; /* белый текст */
    font-weight: bold; /* жирное начертание */
}



