/* ST315N — две кнопки в одну линию, расстояние 5px */ .t-store__card__btn-wrapper { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100% !important; } /* Обе кнопки */ .t-store__card__btn { width: calc(50% - 2.5px) !important; max-width: calc(50% - 2.5px) !important; margin: 0 !important; } /* Отступ между кнопками */ .t-store__card__btn:first-child { margin-right: 5px !important; } /* Кнопка внутри */ .t-store__card__btn button, .t-store__card__btn a { width: 100% !important; box-sizing: border-box !important; }
@media (max-width: 640px) {

    /* Кнопки столбиком */
    .t-store__card__btn-wrapper {
        flex-direction: column !important;
        width: 100% !important;
    }

    /* Каждая кнопка на всю ширину */
    .t-store__card__btn {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Отступ 5px между кнопками */
    .t-store__card__btn + .t-store__card__btn {
        margin-top: 5px !important;
    }

    /* Убираем старые отступы */
    .t-store__card__btn:first-child {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Внутренности кнопки — тоже 100% */
    .t-store__card__btn button,
    .t-store__card__btn a {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box !important;
    }
}










/* ST315N — сетка карточек */
.t-store__card-list {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Десктоп и выше — 5 в ряд */
.t-store__card {
    width: 20% !important;
    max-width: 20% !important;
    box-sizing: border-box;
}

/* Планшеты — 3 в ряд */
@media (max-width: 1199px) {
    .t-store__card {
        width: 33.333% !important;
        max-width: 33.333% !important;
    }
}

/* Телефоны — 2 в ряд */
@media (max-width: 640px) {
    .t-store__card {
        width: 50% !important;
        max-width: 50% !important;
    }
}







/* ST315N — описание товара: 2 строки + многоточие */
.js-store-prod-descr {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;      /* количество строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}







.t-search-widget__popup {
    background-color: #2C694F !important;
}

.t-name {
    color: #ffffff;
}

.t-descr {
    color: #ffffff;
}

.t-search-widget__loadmore-btn {
    background-color: #EB8335 !important;
}

.t-radio__indicator {
    border-radius: 25% !important;
}



@media screen and (max-width: 560px) {
.t-store .t-popup_show .t-popup__container.t-popup__container-static{
        padding-bottom: 50px !important;
}




@media screen and (max-width: 960px) {
    .t-store__grid-cont .t-store__card-list {
        row-gap: 20px !important;
    }
}







@media screen and (max-width: 560px) {
    .t-store .t-popup__close-wrapper {
        background-color: rgb(45 105 79) !important;
    }
}






@media screen and (max-width: 640px) {
    .t-slds__arrow-withbg {
        height: 35px !important;
        width: 35px !important;
    }
}

@media screen and (max-width: 640px) {
    .t-slds__arrow-right {
        right: 15px !important;
    }
}

@media screen and (max-width: 640px) {
    .t-slds__arrow-left {
        left: 15px !important;
    }
}









