/* Стилизуем кнопки в карточках товаров */
.t-store__prod__quantity__minus,
.t-store__prod__quantity__plus {
    background-color: #f5f5f5 !important;
}

.t-store__prod__quantity {
    border: 1px solid #dddddd !important;
    background-color: #f5f5f5 !important;
}

.t-store__prod__quantity__minus-wrapper,
.t-store__prod__quantity__plus-wrapper {
    border: none !important;
    background-color: #f5f5f5 !important;
}

/* Уменьшаем расстояниемежду рядами карточек в Ресторанах */
.t404__col {
    margin-bottom: 12px !important;
}

/* Стилизуем попап успеха */
body.t-body_success-popup-showed {
    overflow: auto !important;
    padding-right: 0 !important;
}

.t-form-success-popup__wrapper {
    border-radius: 24px !important;
}

.t-form-success-popup__button {
    background-color: #F5840C !important;
    border-radius: 30px !important;
}

/* Экран не скачет при исчезновении скроллбара */
html {
    scrollbar-gutter: stable !important;
}

/* Фон кнопки закрытия попапа в мобилке */
@media screen and (max-width: 560px) {
    #rec2144588721 .t-popup__close {
        background: #ffffff !important;
    }
}

/* Скролл кнопок меню в мобилке */
@media screen and (max-width: 767px) {
    .t976__wrapper {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .t976__wrapper::-webkit-scrollbar {
        display: none !important;
    }
    
    .t976__list-item {
        flex-shrink: 0 !important;
    }
}

/* Убираем обводку на хувере кнопок */
.t976__menu-link:hover {
    border-color: transparent !important;
}

/* Кнопки во всю ширину карточки */
@media screen and (min-width: 320px) {
    .t772__col .t-card__btn-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    
    .t772__col .t-card__btn-wrapper .t-btn {
        width: 50% !important;
        box-sizing: border-box !important;
    }
}

.t450__right_buttons_wrap {
    display: flex !important;
    flex-direction: column !important;
}

.t450__right_buttons_but_two_left,
.t450__right_buttons_but_two_right {
    width: 100% !important;
}

.t450__right_buttons_but_two_left .t-btn,
.t450__right_buttons_but_two_right .t-btn {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Скролл кнопок меню в мобилке */
@media screen and (max-width: 767px) {
    .t1281__wrapper_mobile {
        display: none !important;
    }
    
    .t1281__slider {
        display: block !important;
    }
    
    .t1281__wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .t1281__wrapper::-webkit-scrollbar {
        display: none !important;
    }
    
    .t1281__tab {
        flex-shrink: 0 !important;
    }
}