/* --------------------------------------------------------
CSS-СТИЛИ ОФОРМЛЕНИЯ САЙТА ITGO.ITALYDOMOY.RU
Автор: Павел Сойфер
uadd.me/pavelsoyfer
vk.com/pavelsoyfer
-------------------------------------------------------- */

/* Нативная плавная прокрутка через CSS.
   Сейчас (26 мая 2020) поддерживается в Chrome,
   Firefox и Edge (релиз 15.01.2020). Не работает 
   Safari и iOS, но поддержка должна появиться 
   в будущем*/
html {scroll-behavior: smooth;}

body {font-family: Gotham, sans-serif !important;}

/* Отключаем выделение текста в zero-блоках */
.t396 {user-select: none;}


/* ВЕРХНИЙ КОЛОНТИТУЛ ---------------------------------- */
/* Фон верхнего меню */
.t228 {
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px rgba(176, 174, 118, 1) !important;
}

/* Сдвигаем логотип в верхнем колонтитуле ПК */
@media screen and (min-width: 980px) {
    .t228__imglogo {
        position: relative;
        top: 2px;
    }
}

/* Отключаем номер телефона для ПК */
.mobile-header_phone {display: none;}
/* Телефон в мобильной версии */
@media screen and (max-width: 359px) {
    .mobile-header_phone {font-size: 12px !important;}
}
@media screen and (max-width: 980px) {
    .mobile-header_phone {
        display: block;
        position: fixed;
        top: 15px;
        left: 50%;
        font-size: 14px;
        color: black !important;
        font-weight: 500 !important;
        z-index: 999999999;
        border-radius: 100px;
        padding: 10px 16px 8px 16px;
        background: rgba(0, 0, 0, 0.03);
        transform: translateX(-48%);
    }
}

/* Ссылки навигации первого уровня */
.t228__list_item {padding-right: 8px;}

/* Стрелка меню второго уровня */
.t794__arrow {
    border: none !important;
    width: 15px !important;
    height: 15px !important;
    background-image: url(https://static.tildacdn.com/tild3935-6536-4239-b766-356139653665/icons8-expand-arrow-.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    top: -1px;
    margin-left: 3px !important;
}
.t794__arrow:after {display: none;}

/* Описание меню настольной версии (мин. заказ, зона 
   доставки, телефон) */
.t228__right_descr {
    position: relative;
    top: 1px;
}

/* Ссылки сообществ (кружки) в правом углу */
.t228__right_social_links {
    position: relative;
    bottom: 2px;
    left: 2px;
    padding-left: 18px;
}
.t228__right_social_links_item svg {
    width: 26px;
    height: 26px;
}

/* Ссылка на просмотр зоны доставки */
.t228__rightcontainer a[href="#popup:map"] {transition: color 0.3s ease;}
.t228__rightcontainer a[href="#popup:map"]:hover {color: #585a35 !important}
.t228__rightcontainer a[href="#popup:map"]:before, 
.t228__rightcontainer a[href="#popup:map"]:after {
    content: "";
    display: inline-block;
    border-radius: 10px;
    margin: 0 8px;
    width: 3px;
    height: 3px;
    position: relative;
    bottom: 2px;
    background: #d0d0d0;
}
.t228__rightcontainer a[href="#popup:map"]:after {left: 2px;}
.t228__rightcontainer a[href="#popup:map"]:before {right: 3px;}

/* Мобильное меню */
@media screen and (max-width: 980px) {
    /* Текст на месте логотипа (если нет изображения) */
    .t280__logo div {
        font-size: 24px !important;
        position: relative;
        top: 2px;
    }
    
    /* Верхняя полоса меню */
    .t280__container {background-color: #b0ae76;}
    
    /* Отступ сверху перед ссылками */
    .t280__menu {padding-top: 110px !important;}
    
    /* Нижняя граница раскрытого меню */
    .t280__menu__bg:before {
        content: "";
        display: block;
        width: 100vw;
        height: 1px;
        background-color: #F4F4F4;
        position: fixed;
        top: 60px;
        left: 0;
    }
    
    /* Иконка меню (≡) */
    .t280__burger span {
        background-color: #585a35 !important;
        border-radius: 4px !important;
    }
    
    /* Ссылки основного меню */
    .t280__menu__item {
        font-size: 28px !important;
        font-weight: 500 !important;
        color: black !important;
        text-align: left;
        margin: 28px auto;
    }
    
    /* Последняя ссылка первого уровня — «Все блюда»,
       отступ перед списком ссылок второго уровня */
    .t280__menu .t-title {margin-bottom: 22px;}

    /* Ссылки меню второго уровня*/
    .t-menusub__link-item {
        margin: 20px auto;
        font-size: 18px !important;
        color: #555 !important;
        text-align: left;
    }
    
    /* Ссылка зоны доставки */
    .t280__descr a[href="#popup:map"] {
        display: block;
        margin-top: 2px;
        margin-bottom: 10px;
        color: black !important;
        font-weight: 400;
        position: relative;
        width: 106px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Подчёркивание ссылки просмотра зоны доставки */
    .t280__descr a[href="#popup:map"]:after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #585a35;
    }
    
    /* Выключаем телефон в описании меню, т. к. он наверху */
    .t280__descr a[href*="tel"] {display: none;}
    
    /* Блок с ссылками на сообщества и описанием меню */
    .t280__bottom {
        display: flex !important;
        flex-direction: column-reverse;
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }
    
    /* Описание меню (мин. заказ и зона доставки) */
    .t280__descr {
        margin-top: 12px;
        font-size: 14px !important;
        margin-left: auto;
        margin-right: auto;
        width: 280px;
    }
}

/* СТИЛИ СЛАЙДЕРА КАТЕГОРИЙ МЕНЮ */
/* Фон слайдера */
.menu-slider_wrapper {
    padding-bottom: 10px;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #b0ae76;
    z-index: 1;
}
/* Фиксируем слайдер на мобильной версии, меняем фон */
@media screen and (max-width: 980px) {
    .menu-slider_wrapper {
        position: fixed;
        top: 60px;
        left: 0;
        background-color: #ffffff !important;
        border: none;
        z-index: 99;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }
}

/* Контейнер слайдера и стрелок */
.menu-slider {
    margin: 8px auto 0px auto;
    display: flex;
    max-width: 1160px;
    align-items: center;
    position: relative;
}
/* Контейнер слайдера в мобильной версии */
@media screen and (max-width: 980px) {
    .menu-slider {
        width: calc(100% - 26px);
        margin: 4px auto 0 auto;
        padding-bottom: 4px;
    }
}

/* Контейнер для слайдов-кнопок */
.menu-slider_slides {
    width: calc(100% - 2*24px - 8px);
    margin: 0 auto;
}
@media screen and (min-width: 980px) {
    .slick-list {padding: 14px 0 !important;}
}

/* Слайд-кнопка */
.menu-slider_button {
    display: block;
    margin-left: 6px;
    margin-right: 6px;
    padding: 10px 18px 8px 18px;
    font-family: inherit, sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 1;
    color: #555 !important;
    border-radius: 100px;
    position: relative;
    bottom: 1px;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.menu-slider_button:hover {
    color: black !important;
    color: white !important;
    background-color: #b0ae76;
    background-color: #b0ae76;
}
.menu-slider_button:focus {outline: none !important;}
@media screen and (max-width: 980px) {
    .menu-slider_button {
        font-size: 14px;
        margin-left: 0;
        margin-right: 0;
        padding: 6px 10px;
        box-shadow: none !important;
        background: none;
    }
    .menu-slider_button:hover {
        background-color: #f6f6f6;
        color: black !important;
    }
}

/* Добавляем точку-разделитель последней ссылке */
.menu-slider_button.last {
    position: relative;
    margin-right: 20px;
}
.menu-slider_button.last:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -14px;
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    transform: translateY(-50%);
}

/* Стрелки */
.menu-slider_prev,
.menu-slider_next {
    width: 24px;
    height: 24px;
    font-size: 0;
    position: relative;
    bottom: 1px;
    border-radius: 12px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 1px center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.menu-slider_prev:hover,
.menu-slider_next:hover {background-color: #b0ae76;}
@media screen and (max-width: 980px) {
    .menu-slider_prev:hover,
    .menu-slider_next:hover {background-color: #f6f6f6;}
}

.menu-slider_prev svg,
.menu-slider_next svg {
    position: absolute;
    left: -1px;
    top: 0;
    stroke: #585a35;
    transform-origin: center;
    transform: scale(1);
}
.menu-slider_next {transform: scaleX(-1);}


/* КАРТОЧКИ ТОВАРОВ */
/* Карточка */
.t-store__card__wrap_all {
    flex: 1 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    z-index: 3;
    
}
.t-store__card__wrap_all:hover {transform: translateY(-2px);}

/* Изображение */
.t-store__card__imgwrapper {overflow: hidden;}
.t-store__card__bgimg {transition: transform 0.3s ease;}
.t-store__card__wrap_all:hover .t-store__card__bgimg {transform: scale(1.08);}

/* Общий контейнер текста и кнопок (всё кроме фотографии) */
.t-store__card__wrap_txt-and-btns {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Контейнеры названия, массы и цены */
.store__card__wrap_txt-and-opts {
    padding-bottom: 20px !important;
}
.t-store__card__textwrapper {
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Название */
.t-store__card__title {
    font-size: 18px;
    font-weight: 500 !important;
    width: 100%;
    margin-bottom: 9px;
    line-height: 1.3;
}

/* Масса */
.t-store__card__descr {
    margin-top: 0;
    margin-left: 20px;
    order: 3;
    font-size: 14px;
    font-weight: 400 !important;
    color: #555;
    position: relative;
    top: 1px;
}
/* Точка-разделитель */
.t-store__card__descr:before {
    content: "";
    display: block;
    width: 3px;
    height: 3px;
    position: absolute;
    left: -12px;
    top: 8px;
    background-color: #b0ae76;
    border-radius: 10px;
}

/* Контейнер цены */
.t-store__card__price-wrapper {margin-top: 0 !important;}
/* Цена */
.t-store__card__price {
    color: #585a35 !important;
    font-weight: 500 !important;
    font-size: 14px;
}

/* Контейнер кнопок */
.t-store__card__btns-wrapper {
    position: relative !important;
    display: flex;
    justify-content: space-between;
}

/* Первая кнопка */
.t-store__card__btn {
    padding: 7px 14px 5px 14px;
    background-color: #585a35 !important;
    transition: background-color 0.2s ease;
}
.t-store__card__btn:not(.t-store__card__btn_second):hover {
    background-color: #b0ae76 !important;
}

/* Вторая кнопка (оформлена как ссылка) */
.t-store__card__btn_second {
    position: relative;
    left: -6px;
    background: none !important;
}
.t-store__card__btn_second:before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    right: -11px;
    top: 5px;
    background-position: top left;
    background-image: url(https://static.tildacdn.com/tild6439-6437-4330-a564-656633313438/icons8-add-96.png);
    background-size: contain;
    background-repeat: no-repeat;
}
/* Отключючаем иконку на небольших настольных экранах */
@media screen and (min-width: 980px) 
              and (max-width: 1200px) {
    .t-store__card__btn_second:before{
        display: none !important;
    }
}

/* Карточки в мобильной версии */
@media screen and (max-width: 980px) {
    /* Вертикальный отступ между картчками */
    .t-store__card {
        margin-bottom: 20px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    
    /* Высота изображения */
    .t-store__card__imgwrapper {padding-bottom: 90% !important;}
    
    /* Отступ сверху и снизу контейнера названия, массы и цены */
    .store__card__wrap_txt-and-opts {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        height: 100%;
    }
    
    .t-store__card__textwrapper {
        height: 100% !important;
        align-items: flex-end;
    }
    
    /* Название карточки */
    .t-store__card__title {
        font-size: 13px !important;
        align-self: flex-start;
    }
    
    /* Масса */
    .t-store__card__descr {
        font-size: 12px !important;
        margin-left: 0 !important;
    }
    
    /* Выключаем точку-разделитель с ПК */
    .t-store__card__descr:before {display: none !important;}
    
    /* Цена */
    .t-store__card__price-wrapper {
        position: relative;
        margin-right: 20px;
    }
    .t-store__card__price {font-size: 12px !important;}
    /* Точка разделитель мобильной версии */
    .t-store__card__price-wrapper:before {
        content: "";
        display: block;
        width: 3px;
        height: 3px;
        position: absolute;
        right: -11px;
        top: 6px;
        background-color: #b0ae76;
        border-radius: 10px;
    }
    /* На устройствах до 375px убираем точку и уменьшаем шрифт описания и цены */
    @media screen and (max-width: 374px) {
        .t-store__card__price-wrapper {margin-right: 6px !important;}             
        .t-store__card__price-wrapper:before {display: none !important;}
        .t-store__card__price {
            font-size: 11px !important;
            position: relative;
            bottom: 1px;
        }
        .t-store__card__descr {font-size: 11px !important;}
    }
    /* На устройствах до 385px меньшаем отступ вокруг точки */   
    @media screen and (min-width: 375px)
                  and (max-width: 385px) {
        .t-store__card__price-wrapper {margin-right: 16px !important;}             
        .t-store__card__price-wrapper:before {right: -9px !important;}
    }
    
    /* Убираем нижнее поле контейнера кнопок */
    .t-store__card__btns-wrapper {padding-bottom: 0 !important;}
    
    /* Выключаем первую кнопку */
    .t-store__card__btn {display: none !important;}   
    
    /* Отключаем иконку у ссылки */
    .t-store__card__btn_second:before {display: none !important;}
    
    /* Делаем из второй кнопки-ссылки иконку */
    .t-store__card__btn_second {
        display: block !important;
        position: absolute;
        bottom: -4px;
        left: auto !important;
        right: 0px !important;
        width: 36px;
        height: 34px;
        font-size: 0 !important;
        border-radius: 100px !important;
        background-image: url(https://static.tildacdn.com/tild6439-6437-4330-a564-656633313438/icons8-add-96.png) !important;
        background-size: 28px 24px !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-color: transparent !important;
    }
    /* Уменьшаем кнопку на устройствах до 375px */
    @media screen and (max-width: 374px) {
        .t-store__card__btn_second {
            background-size: 24px 20px !important;
            right: -3px !important;
            bottom: -4px;
        }
    }
}


/* ЭКРАН ТОВАРА */
/* Фиксы для диапазона 980–1200px */
@media screen and (min-width: 980px)
              and (max-width: 1200px) {
    .js-store-product {display: flex;}                 
}

/* Фон всплывающего окна */
.t-store .t-popup.t-popup_show {background-color: #F6F6F6 !important;}
.t-store .t-popup__container {background-color: inherit !important;}
/* Увеличиваем отступ сверху до изображения из-за увеличения
   высоты полоски закрытия */
@media screen and (max-width: 980px) {
    .t-store__prod-popup__container {padding-top: 12px;}
}

/* Ссылка «Вернуться в меню» */
.t-store__prod-popup__close-txt {
    font-size: 14px;
    color: #777 !important;
    font-weight: 400;
    opacity: 1;
    position: relative;
    bottom: 7px;
}
.t-store__prod-popup__close-txt:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(https://static.tildacdn.com/tild6363-6238-4533-b436-663363616230/icons8-expand-arrow-.png);
    background-size: 24px 24px;
    background-position: top left;
    background-repeat: no-repeat;
    position: relative;
    transform: rotate(90deg);
    top: 7px;
    left: 3px;
}

/* Цвет слова «Закрыть» вверху товара */
.t-store .t-popup__close-wrapper:before {color: #777;}

/* Контейнер изображения */
.t-store__prod-popup__slider {
    border-radius: 12px;
    overflow: hidden;
    pointer-events: none !important;
    user-select: none !important;
}
@media screen and (max-width: 980px) {
    .t-slds {border-radius: 12px !important;}
}

/* Отметка на карточке */
.t-store__card__mark-wrapper {
    top: 16px !important;
    right: 0;
}
@media screen and (max-width: 980px) {
    .t-store__card__mark-wrapper {
        top: 10px !important;
        right: 0;
    }
}
.t-store__card__mark {
    width: auto !important;
    height: auto !important;
    border-radius: 24px 0 0 24px;
    padding: 10px 8px 8px 12px !important;
    font-size: 14px !important;
    font-family: inherit;
    font-weight: 400;
    background: #585a35 !important;
}
@media screen and (max-width: 980px) {
    .t-store__card__mark {
        font-size: 12px !important;
        padding: 7px 6px 5px 10px !important;
    }
}

/* Блок с названием, мета-данными и кнопкой */
.t-store__prod-popup__info {
    display: flex;
    flex: 1 0 auto;
    flex-wrap: wrap;
    align-self: flex-start;
    max-width: 500px !important;
    margin-right: 80px !important;
}

/* Порядок элементов в правой части экрана */
.t-store__prod-popup__title-wrapper {order: 1;}
.t-store__prod-popup__price-wrapper {order: 4;}
.js-product-controls-wrapper {order: 2;}
.t-store__prod-popup__btn-wrapper {order: 3;}
.t-store__prod-popup__text {order: 5;}

/* Отступ названия сверху */
.t-store__prod-popup__title-wrapper {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 26px !important;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__title-wrapper {
        margin-bottom: 20px !important;
    }
}

/* Название */
.t-store__prod-popup__name {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 500 !important;
    position: relative;
    left: -1px;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__name {
        font-size: 22px !important;
        line-height: 1.25 !important;
        left: 0px;
    }
}

/* Артикул — отсступ и размер шрифта. Артикулы выключены,
   вернуть их можно убрав display: none. */
.t-store__prod-popup__sku, 
.t-store__prod-popup__sku * {
    font-size: 12px !important;
    display: none !important;
}
@media screen and (min-width: 980px) {
    .t-store__prod-popup__sku {
        margin-top: 6px;
        display: none !important;
    }
}

/* Контейнер дополнительный опций */
.js-product-controls-wrapper {width: 100%;}

/* Отступ сверху и снизу */
.t-product__option {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

/* Название опции */
.t-product__option-title {
    font-size: 16px !important;
    color: black;
    line-height: 1.6;
    font-weight: 500;
    padding-bottom: 0 !important;
    margin-bottom: 12px;
}

/* Выпадающий список опций */
.t-product__option-select {
    width: 272px !important;
    border: none !important;
    box-shadow: inset 0 0 0 2px #585a35;
    font-size: 14px !important;
    border-radius: 100px !important;
    padding: 13px 24px 11px 24px !important;
    transition: box-shadow 0.2s ease;
    cursor: pointer !important;
}
/* Убираем рамку фокуса */
.t-product__option-select:focus {outline: none !important;}
/* Выпадающий список опций в мобильной версии */
@media screen and (max-width: 980px) {
    .t-product__option-select {width: 264px !important;}
}

/* Стрелка внутри выпадающего списка */
.t-product__option-variants:after {
    background-image: url(https://static.tildacdn.com/tild6363-6238-4533-b436-663363616230/icons8-expand-arrow-.png) !important;
    width: 23px !important;
    height: 23px !important;
    border: none !important;
    top: 11px !important;
    right: 18px !important;
    margin: 0 !important;
    bottom: auto !important;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: top left;
}
@media screen and (max-width: 980px) {
    .t-product__option-variants:after {top: 15px !important;}
}

/* Отступы сверху кнопки и цены — их нужно синхронизировать, 
   так как два элемента выравниваются относительно центра 
   строки flex. */
.t-store__prod-popup__price-wrapper, 
.t-store__prod-popup__btn-wrapper {
    margin-top: -8px !important;
    margin-bottom: 20px !important;
}

/* Контейнер кнопки */
.t-store__prod-popup__btn-wrapper {align-self: center;}

/* Кнопка */
.t-store__prod-popup__btn {
    font-size: 14px;
    padding: 14px 10px 12px 24px !important;
    border-radius: 100px 0 0 100px !important;
    height: auto;
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    background-color: #585a35 !important;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__btn {padding: 14px 8px 12px 22px !important}
}
/* Отдельно прописываем transition, в общем 
   селекторе не работает почему-то (этот более специфичный). */
a.t-store__prod-popup__btn.t-btn.t-btn_sm {transition: all 0.2s ease;}
/* Иконка плюс */
.t-store__prod-popup__btn:before {
    content: "";
    display: block;
    margin-right: 3px;
    width: 23px;
    height: 22px;
    background-image: url(https://static.tildacdn.com/tild6439-6437-4330-a564-656633313438/icons8-add-96.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}
.t-store__prod-popup__btn:hover {background: #b0ae76 !important;}

/* Цена */
.t-store__prod-popup__price-wrapper {align-self: top;}
.t-store__prod-popup__price {
    color: white !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 21px;
    padding: 14px 24px 12px 10px;
    background: #585a35;
    border-radius: 0 100px 100px 0;
    position: relative;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__price {padding: 16px 22px 14px 12px}
}

/* Разделитель */
.t-store__prod-popup__price:before {
    content: "";
    display: block;
    width: 1px;
    border-radius: 4px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: -1px;
    transform: translateY(-50%);
    opacity: 1;
    background-color: #585a35;
}

/* Текст товара */
.t-store__prod-popup__text {
    font-size: 16px;
    font-weight: 400 !important;
    line-height: 24px;
    position: relative;
    color: black;
    width: 100%;
}

/* Заголовок «Описание» */
.t-store__prod-popup__text:before {
    content: "Описание";
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: black;
    margin-bottom: 8px;
}


/* КАРТОЧКИ «СМОТРИТЕ ТАКЖЕ» ВНУТРИ ТОВАРА */
/* Фикс контейнера для карточек на мобильых устройствах */
@media screen and (max-width: 980px) {
    .t-store__relevants__container {
        width: 100vw;
        position: relative;
        left: -20px;
    }
}

/* Контейнер заголовка */
.t-store__relevants__title-wrapper {
    display: flex;
    align-items: center;
}
@media screen and (min-width: 980px) {
    .t-store__relevants__title-wrapper {
        margin: 100px 20px 46px 20px !important;
        margin: 0 20px 0 20px !important;
    }
}
@media screen and (max-width: 980px) {
    .t-store__relevants__title-wrapper {
        margin: 32px 20px 14px 20px;
    }
}

/* Заголовок */
.t-store__relevants__title {
    font-size: 28px;
    font-weight: 500 !important;
    width: auto;
    text-align: center;
    flex-shrink: 0;
    margin: 0 20px;
    margin: 100px 20px 46px 20px;
}
@media screen and (max-width: 980px) {
    .t-store__relevants__title {
        margin: 0;
        font-size: 16px !important;
    }
}

/* Линии по бокам */
.t-store__relevants__title-wrapper:before, 
.t-store__relevants__title-wrapper:after {
    content: "";
    display: block;
    height: 2px;
    background-color: #585a35;
    width: 100%;
    border-radius: 10px;
    position: relative;
    top: 27px;
}
@media screen and (max-width: 980px) {
    .t-store__relevants__title-wrapper:before, 
    .t-store__relevants__title-wrapper:after {
        display: none;
    }
}

/* Отключаем стандартную иконку-подсказку листающихся
   карточек Тильды */
@media screen and (max-width: 980px) {
    .t-store__scroll-icon-wrapper {display: none !important;}
}

/* Отступ слева у первой карточки */
@media screen and (max-width: 980px) {
    .t-store__relevants__container .t-store__card:first-child {
        margin-left: 14px !important;
    }
}

/* Задаём поле снизу в мобильном ряде карточек, чтобы 
   тень не обрезалась */
@media screen and (max-width: 980px) {
    .t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row {
        padding-bottom: 20px !important;
    }
}

/* Дублируем фон и скругления основому контейнеру карточки
   для исправления отображения на отдельной странице на ПК */
@media screen and (min-width: 980px) {
    .t-store__relevants__container 
    .t-store__card {
        background: white;
        border-radius: 12px;
    }
}

/* Уменьшаем ширину карточек на мобильных устройствах, задаём 
   отступ последней карточке */
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card {
        min-width: auto !important;
    }
    .t-store__relevants__container 
    .t-store__card:last-child {padding-right: 20px !important;}
    
    .t-store__relevants-grid-cont 
    .t-store__card__wrap_all {width: 206px;}
}

/* Фон карточки */
.t-store__relevants__container 
.t-store__card__wrap_all {
    background-color: white !important;
    display: flex;
    flex-direction: column;
}

/* Поля внутри карточек слева и справа */
.t-store__relevants__container 
.t-store__card__wrap_txt-and-btns {
    padding: 0 16px;
    height: 100% !important;
    flex-grow: 1;
}

/* Блок ссылки внутри контейнера текста и опций */
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .store__card__wrap_txt-and-opts > a {
        height: 100% !important;
        display: flex;
    }
}

/* Название карточки */
.t-store__relevants__container 
.t-store__card__title {margin-bottom: 8px;}
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card__title {
        line-height: 1.35;
        margin-top: 6px;
        margin-top: 4px
    }
}

/* Выравнивание цены и массы */
.t-store__relevants__container 
.t-store__card__descr {top: 0;}

/* Цена карточки */
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card__price * {
        font-size: 12px !important;
        position: relative;
        top: 1px;
    }
}

/* Точка-разделитель */
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card__price-wrapper:before {top: 11px;}
}

/* Контейнер кнопок */
.t-store__relevants__container
.t-store__card__btns-wrapper {
    padding: 0 0 16px 0 !important;
}
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card__btns-wrapper {display: none !important;}
}

/* Отключаем первую кнопку */
.t-store__relevants__container 
.t-store__card__btn:not(.t-store__card__btn_second) {
    display: none !important;
}

/* Ссылка «Добавить в заказ» */
.t-store__relevants__container 
.t-store__card__btn_second {
    margin: 0;
    margin-left: 27px;
    padding: 0;
    left: 0;
}
.t-store__relevants__container 
.t-store__card__btn_second:before {left: -27px;}

/* Ссылка «Добавить в заказ» на мобильных устройствах */
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card__btn_second {display: none !important;}
}

/* КНОПКА ВЫЗОВА КОРЗИНЫ --------------------------------*/
@media screen and (max-width: 980px) {
    div.t706__carticon {
        height: 50px;
        bottom: 18px !important;
        border-radius: 100px;
        width: auto;
        position: fixed;
        top: auto !important;
        right: auto !important;
        left: 50% !important;
        transform: translate(-50%, 100px);
        background: #681b1a;
        padding-right: calc(26px + 20px);
        padding-left: 22px;
        display: flex;
        align-items: center;
        cursor: pointer;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35) !important;
        transition: all 0.4s ease;
    }
    @media screen and (min-width: 449px) 
                  and (max-width: 980px) {
        div.t706__carticon {
            padding-right: 6px !important;
            padding-left: 25px !important;
        }
    }
    .t706__carticon.t706__carticon_showed {
        transform: translate(-50%, 0);
    }
    .t706__carticon.t706__carticon_showed:hover {
        transform: translate(-50%, 0) scale(1.05);
    }
    
    .t706__carticon-wrapper {
        position: relative;
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
        order: 1;
    }
    .t706__carticon-imgwrap {
        width: auto !important;
        height: 30px;
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        position: relative;
        display: flex;
        align-items: center;
    }
    .t706__carticon-imgwrap:after {
        content: "Ваш заказ";
        display: block;
        color: white;
        font-size: 16px;
        font-weight: 500;
        position: relative;
        top: 1px;
    }
    
    .t706__carticon-imgwrap svg {display: none;}
    
    
    .t706__carticon-counter {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        min-width: 10px;
        width: auto;
        height: auto;
        margin: 0 10px 0 10px;
        background: none !important;
        font-size: 14px;
        font-family: inherit;
        font-weight: 500;
        line-height: 1;
        padding: 5px 10px 4px 10px;
        border-radius: 100px;
        background-color: rgba(0, 0, 0, 0.15) !important;
    }
    
    .t706__carticon-text {
        position: relative;
        left: -15px;
        transform: none;
        top: 1px;
        right: 0;
        padding: 0;
        border-radius: 0;
        order: 2;
        background: inherit;
        font-weight: 500;
        font-size: 16px;
        opacity: 1;
    }
    .t706__carticon-text:after {
        display: block;
        width: 15px;
        background-color: #681b1a;
        background: inherit;
        border: none;
        height: 30px;
        left: 0;
        top: 10px;
    }
}


/* МОДАЛ КОРЗИНЫ --------------------------------------- */
@media screen and (min-width: 980px) {
    /* Фикс прозрачности кружка корзины */
    .t706__carticon-imgwrap {background-color: white !important;}
}

/* Отключаем артикулы из товаров корзины */
.t706__product-title div[style*="opacity"]:last-child {display: none !important;}

/* Стили всплывающего окна корзины на ПК */
@media screen and (min-width: 980px) {
    /* Углы и ширина всплывающего окна корзины */
    .t706__cartwin-content {
        border-radius: 12px;
        max-width: 640px;
    }

    /* Заголовок корзины */
    .t706__cartwin-heading {
        font-size: 36px;
        font-weight: 500;
    }

    /* Отступ внизу верхней части корзины и линия перед товарами */
    .t706__cartwin-top {
        padding-bottom: 12px;
        border: none;
    }

    /* Контейнер товаров */
    .t706__cartwin-products {
        padding-top: 0;
        padding-bottom: 12px;
    }

    /* Контейнер товара */
    .t706__product {
        height: auto !important;
        padding: 24px 0;
        border-top: 1px solid #F0F0F0;
        display: flex;
        align-items: center;
    }
    .t706__product:first-child {border-top: none;}
    .t706__product:last-child {border-bottom: 1px solid #F0F0F0;}

    /* Контейнер изображения */
    .t706__product-thumb {
        width: auto;
        height: auto !important;
    }

    /* Изображение */
    .t706__product-imgdiv {
        width: 80px;
        height: 80px;
        border-radius: 100px;
    }

    /* Название товара */
    .t706__product-title {
        font-weight: 500;
        font-size: 16px;
        line-height: 1.3;
        max-width: 240px;
        flex-grow: 1;
    }

    /* Опции и артикул под названием */
    .t706__product-title div {
        margin-top: 2px !important;
        display: block !important;
    }

    /* Контейнер количества и кнопок «плюс» и «минус» */
    .t706__product-plusminus {
        width: 90px;
        box-sizing: border-box;
        display: block;
        padding: 0;
        margin-left: 20px;
    }

    /* Количество */
    .t706__product-quantity {
        width: 20px !important;
        display: inline-block;
        text-align: center;
        margin: 0;
        pointer-events: none;
        user-select: none;
    }

    /* Кнопки «плюс» и «минус» */
    .t706__product-plus > img, 
    .t706__product-minus > img {display: none;}
    .t706__product-plus, .t706__product-minus {
        display: inline-block;
        width: 18px;
        height: 18px;
        opacity: 1;
        position: relative;
        top: 3px;
        background-position: top left;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .t706__product-minus {
        background-image: url(https://static.tildacdn.com/tild3534-3230-4731-a132-353638346536/icons8-minus-96_1.png);
    }
    .t706__product-plus {
        background-image: url(https://static.tildacdn.com/tild3631-3431-4331-b562-663435373764/icons8-add-96.png);
    }
    
    /* Сумма позиции */
    .t706__product-amount {
        position: relative;
        top: 1px;
    }

    /* Кнопка удаления */
    .t706__product-del {
        background-image: url(https://static.tildacdn.com/tild3733-6437-4134-a235-356138346438/icons8-cancel-96.png);
        background-position: right top 48%;
        background-repeat: no-repeat;
        background-size: 18px 18px;
        opacity: 1;
        width: 20px;
        height: 20px;
        padding: 0;
        position: relative;
        bottom: 1px;
        margin-left: 10px;
    }
    .t706__product-del img {display: none;}

    /* Контейнер суммы заказа */
    .t706__cartwin-bottom {
        border: none;
        padding: 0;
        margin-top: 10px;
        margin-bottom: 24px;
    }
    
    /* Минимальная сумма заказа */
    .t706__cartwin-prodamount-minorder span {
        font-weight: 400 !important;
    }

    /* Сумма заказа */
    .t706__cartwin-prodamount-wrap * {
        font-size: 18px !important;
        font-weight: 700;
    }
    
    /* Текст над формой */
    .t706__form-upper-text {
        margin-top: 8px;
        padding-top: 0 !important;
        margin-bottom: 26px;
    }
    .t706__form-upper-text * {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* Стили модального экрана корзины на мобильных устройствах */
@media screen and (max-width: 980px) {
    /* Верхняя область корзины с заголовком */
    .t706__cartwin-top {
        margin-top: 28px;
        padding-bottom: 0;
        margin-bottom: 0px;
        border-bottom: 0;
    }
    
    /* Заголовок экрана */
    .t706__cartwin-heading {
        font-size: 24px;
        font-weight: 500;
    }
    
    /* Группа товара (блюда) */
    .t706__product {
        border-bottom: 1px solid #F0F0F0;
        margin: 0;
        height: auto;
        min-height: 70px;
        margin-top: 24px;
        padding-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        flex: 1 0 auto;
        align-items: center;
        align-content: center;
        position: relative;
    }
    
    /* Сброс стилей элементов группы  */
    .t706__product > div {
        display: block;
        box-sizing: border-box;
        padding: 0;
    }
    
    /* Контейнер изображения */
    .t706__product-thumb {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    /* Изображение товара */
    .t706__product-imgdiv {border-radius: 100px;}
    
    /* Отступ слева для названия и количества равный сумме
       ширины изображения и его отступа справа */
    .t706__product-title, 
    .t706__product-plusminus {margin-left: calc(70px + 16px);}
    
    /* Название позиции */
    .t706__product-title {
        font-size: 14px !important;
        font-weight: 500;
        line-height: 1.25;
        flex-basis: 50%;
        flex-grow: 1;
    }
    
    /* Дополнительные опции */
    .t706__product-title div:first-child {margin-top: 4px;}
    .t706__product-title div {line-height: 16px;}
    
    /* Контейнер количества и кнопок «плюс» и «минус» */
    .t706__product-plusminus {
        display: flex !important;
        text-align: center;
        margin-top: 2px;
        margin-right: 6px;
        position: relative;
        left: -5px;
        align-items: center;
    }
    .t706__product-plusminus > * {
        display: block !important;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    /* Количество */
    .t706__product-quantity {
        position: relative;
        top: 3px;
        user-select: none;
        pointer-events: none;
        width: 22px;
    }
    
    /* Отключаем стандартные иконки */
    .t706__product-plus img, 
    .t706__product-minus img {display: none;}
    
    .t706__product-plus, 
    .t706__product-minus {
        opacity: 1 !important;
        width: 28px;
        height: 28px;
        background-size: 18px 18px;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;
        top: 1px;
    }
    .t706__product-minus {
        background-image: url(https://static.tildacdn.com/tild3534-3230-4731-a132-353638346536/icons8-minus-96_1.png);
    }
    .t706__product-plus {
        background-image: url(https://static.tildacdn.com/tild3631-3431-4331-b562-663435373764/icons8-add-96.png);
    }
    
    /* Сумма */
    .t706__product-amount {
        align-self: flex-end;
        flex-grow: 1;
    }
    
    /* Кнопка удаления */
    .t706__product-del {
        position: relative;
        top: 2px;
        left: 3px;
        width: 28px;
        height: 28px;
        background-image: url(https://static.tildacdn.com/tild3733-6437-4134-a235-356138346438/icons8-cancel-96.png);
        background-size: 18px 18px;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 1;
    }
    .t706__product-del img {display: none;}
    
    /* Блок под товарами с суммой заказа */
    .t706__cartwin-bottom {
        border: none;
        padding-top: 0;
        margin-top: 24px;
    }
    
    /* Минимальная сумма */
    .t706__cartwin-prodamount-minorder {font-weight: 400;}
    
    /* Сумма заказа */
    .t706__cartwin-prodamount-label, 
    .t706__cartwin-prodamount {font-weight: 700 !important;}
    
    /* Убираем поле внизу блока суммы */
    .t706__cartwin-prodamount-wrap {padding-bottom: 0;}
    
    /* Отступ между блоком суммы заказа и текстом над формой */
    .t706__form-upper-text {
        margin-top: 34px;
        padding-top: 0;
    }
    
    /* Текст над формой */
    .t706__form-upper-text * {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* Цвет границы-подчёркивания полей по-умолчанию */
.t-input, .t-select {
    border-color: #585a35 !important;
}
/* Цвет границы-подчёркивания полей при ошибке */
.t-form .js-error-control-box .t-input,
.t-form .js-error-control-box .t-select {
    border: 0 !important;
    border-bottom: 2px solid #585a35 !important;
}

/* Названия полей */
.t-input-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    height: 18px;
    opacity: 1;
    margin-bottom: 8px !important;
}

/* Высота полей */
.t-input, 
.t-select, 
.t-input-phonemask__wrap {
    height: 44px !important;
}    

/* Высота названий полей, фикс для способа оплаты */
.t-input-title {height: auto !important;}

/* Отключаем флаг и треугольник в поле телефона */
.t-input-phonemask__select-flag,
.t-input-phonemask__select-triangle {display: none !important;}
.t-input-phonemask__select-code {
    margin-left: 0 !important;
    font-weight: 500;
    padding: 3px 10px 1px 8px;
    text-align: center;
    border-radius: 12px;
    background: #F0F0F0;
    font-size: 14px !important;
    transition: background-color 0.25s ease;
}
.t-input-phonemask__select-code:hover {background-color: #b0ae76;}

/* Иконка стрелки-шервон в выпадающем списке  */
.t-select__wrapper:after {
    border: none;
    width: 16px;
    height: 10px;
    top: -7px;
    right: 0;
    background-image: url(https://static.tildacdn.com/tild6363-6238-4533-b436-663363616230/icons8-expand-arrow-.png);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Размеры и группировки полей в строки, flexbox-контейнер */
.t-form__inputsbox {
    display: flex;
    flex: 1 0 auto;
    flex-wrap: wrap;
}

/* Размеры и отступы полей для ПК */
@media screen and (min-width: 980px) {    
    /* Flex-выравнивание полей */
   .t-form__inputsbox {align-items: flex-end;}
    
    /* Задаём по умолчанию ширину 100% для любых добавленных полей. 
       Для полей, которые нужно объединить в одну строку ширина
       будет задана индивидуально. */
    .t-input-group {width: 100%;}
    
    /* Вертикальный отступ между полями по умолчанию */
    .t-input-group {margin-bottom: 0 !important;}
    .t-input-block {margin-bottom: 30px !important;}
    
    /* Задаём единый отступ-разрыв для полей в одной строке */
    .t-input-group:nth-child(2),
    .t-input-group:nth-child(4),
    .t-input-group:nth-child(5),
    .t-input-group:nth-child(6),
    .t-input-group:nth-child(9),
    .t-input-group:nth-child(11) {margin-left: 20px;}
    
    /* Улица */
    .t-input-group:nth-child(1) {
        width: auto;
        min-width: 60%;
        flex-grow: 1;
    }
    
    /* Дом */
    .t-input-group:nth-child(2) {width: 125px;}
    
    /* Корпус, квартира/офис, парадная, этаж */
    .t-input-group:nth-child(3),
    .t-input-group:nth-child(4),
    .t-input-group:nth-child(5),
    .t-input-group:nth-child(6) {
        flex-grow: 1;
        flex-basis: 90px !important;
        margin-bottom: 20px !important;
    }
    
    /* Телефон и почта */
    .t-input-group:nth-child(8),
    .t-input-group:nth-child(9) {
        flex-basis: 40%;
        flex-grow: 1;
        margin-bottom: 20px !important;
    }
    
    /* Время доставки и промокод */
    .t-input-group:nth-child(10),
    .t-input-group:nth-child(11) {
        flex-basis: 40%;
        flex-grow: 1;
    }
    
    /* Стрелка выпадающего списка */
    .t-select__wrapper:after {top: -5px;}
    
    /* Кнопка промокода */
    .t-inputpromocode__btn {
        background-color: #585a35 !important;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 500;
        width: 140px;
        padding: 0 !important;
        padding-top: 2px !important;
        transition: background-color 0.25s ease;
    }
    .t-inputpromocode__btn:hover {
        background-color: #b0ae76 !important;
    }
    
    /* Способ оплаты */
    .t-input-group_pm {
        margin-top: 26px !important;
        margin-bottom: 0 !important;
        width: 50%;
    }
    .t-input-group_pm .t-input-title {
        margin-bottom: 17px !important;
        font-size: 12px !important;
        color: #555;
    }
    /* Размер шрифта опций */
    .t-input-group_pm .t-input-block * {
        font-size: 16px;
    }
    /* Радио-кнопки */
    .t-radio__indicator {
        position: relative;
        bottom: 2px;
    }
    
    /* Итого */
    .t706__cartwin-totalamount-wrap {
        width: 50%;
        align-self: flex-start;
        margin-top: 26px;
        padding-top: 0;
        font-size: 16px !important;
    }
    .t706__cartwin-totalamount-label, 
    .t706__cartwin-totalamount {font-size: 24px;}
    
    /* Отступ перед кнопкой */
    .t-form__submit {margin-top: 10px !important;}
    
    /* Нижний отступ после текста под кнопкой */
    .t706__form-bottom-text {margin-bottom: 8px !important;}
}

/* Стили полей для мобильной версии */
@media screen and (max-width: 980px) {
    /* Flex-выравнивание полей */
    .t-form__inputsbox {align-items: flex-start;} 
    
    /* Ширина поля по умолчанию */
    .t-input-group {width: 100%;}
    
    /* Вертикальный отступ между полями по умолчанию */
    .t-input-group {margin-bottom: 14px !important;}
    .t-input-block {margin-bottom: 0 !important;}
    
    /* Единый отступ слева для полей в одной строке */
    .t-input-group:nth-child(3),
    .t-input-group:nth-child(4),
    .t-input-group:nth-child(6) {margin-left: 12px;}
    
    /* Единый вертикальный отступ между группами полей */
    .t-input-group:nth-child(6),
    .t-input-group:nth-child(9) {
        margin-bottom: 40px !important;
    }
    
    /* Размер текста внутри полей */
    .t-input-group input, 
    .t-input-group select {font-size: 14px !important;}
    
    /* Дом, корпус и квартира/офис, парадная, этаж */
    .t-input-group:nth-child(2),
    .t-input-group:nth-child(3),
    .t-input-group:nth-child(4),
    .t-input-group:nth-child(5),
    .t-input-group:nth-child(6) {flex-basis: 30%;}
    .t-input-group:nth-child(4) {flex-grow: 1;}
    
    /* Способ оплаты */
    .t-input-group_pm {
        margin-top: 26px !important;
        margin-bottom: 0 !important;
    }
    .t-input-group_pm .t-input-title {
        margin-bottom: 17px !important;
        font-size: 12px !important;
        color: #555;
    }
    /* Размер шрифта опций */
    .t-input-group_pm 
    .t-input-block * {
        font-size: 14px;
    }
    /* Радио-кнопки */
    .t-radio__indicator {
        position: relative;
        bottom: 2px;
    }
    
    /* Итого */
    .t706__cartwin-totalamount-wrap {
        margin-top: 26px;
        padding-top: 0;
        margin-bottom: 12px;
        font-size: 16px !important;
        line-height: 1;
        width: 100%;
    }
    
    /* Кнопка отправления формы */
    .t-form__submit {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Нижний отступ формы перед текстом после кнопки */
    .t706__orderform {margin-bottom: 6px;}
    
    /* Текст под формой */
    .t706__form-bottom-text {
        margin-top: 0;
        margin-bottom: 30px;
    }
    .t706__form-bottom-text * {font-size: 12px !important;}
}

/* Бокс сообщения об ошибке */
.t-form__errorbox-middle {width: 100%;}
.t-form__errorbox-wrapper {
    background: none !important;
    box-shadow: inset 0 0 0 2px #ff0000;
    border-radius: 12px;
}
.t-form__errorbox-text {
    color: #ff0000;
    font-weight: 500;
}

/* Поля с ошибкой */
.t-form .js-error-control-box 
.t-input.t-input_bbonly {padding-left: 0 !important;}
.t-input-error {
    display: none !important;
}
.t-form .js-error-control-box .t-input-phonemask {
    border: 0 !important;
}


/* ВСПЛЫВАЮЩИЕ ОКНА ------------------------------------ */
/* Ссылка «Закрыть» вверху экрана товара, всплывающих
   окон и корзины */
.t706__cartwin-close-wrapper,
.t-popup__close-wrapper {
    width: 24px;
    height: 24px;
    background-image: url(https://static.tildacdn.com/tild3733-6437-4134-a235-356138346438/icons8-cancel-96.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
}
/* Иконка */
.t706__cartwin-close-icon,
.t-popup__close-wrapper svg {display: none;}
/* Добавляем слово «Закрыть» перед икокой */
.t706__cartwin-close-wrapper:before,
.t-popup__close-wrapper:before {
    content: "Закрыть";
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    right: 28px;
    top: 7px;
}

/* Цвет слова «Закрыть» перед иконкой во всплывающих окнах */
.t706__cartwin-close-wrapper:before,
.t-popup__close-wrapper:before {color: white;}

/* Контейнер всплывающего окна */
.t-popup__container {
    border-radius: 12px;
    overflow: hidden;
}
.t-popup__container * {text-align: left;}

/* Всплывающие окна мобильной версии */
@media screen and (max-width: 980px) {
    /* Делаем из полосы «Закрыть» колонтитул в мобильной версии */
    /* Если нет логотипа и вместо него текст */
    .t706__cartwin-close:before,
    .t-popup__close:before {
        content: "OASIS Gourmet";
        display: block;
        position: absolute;
        top: 19px;
        left: 20px;
        color: black;
        font-weight: 700;
        font-size: 24px;
    }
    /* Если логотип есть */
    .t706__cartwin-close:before,
    .t-popup__close:before {
        background-image: url(https://static.tildacdn.com/tild3933-6430-4963-b633-666366643537/Untitled__87_-remove.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left top;
        content: "";
        width: 39px;
        height: 30px;
        top: 15px;
    }

    /* Цвет фона, углы и тень полосы закрытия, исправляем
       ширину и позиционирование для корректного отображения 
       в других всплывающих окнах */
    .t706__cartwin-close,
    .t-popup__close {
        width: 100%;
        height: 60px !important;
        left: 0;
        right: 0;
        top: 0;
        background-color: white !important;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    }

    /* Убираем фоновую стрелку настолькой версии */
    .t706__cartwin-close-wrapper,
    .t-popup__close-wrapper {background: none !important;}

    /* Задаём размер контейнеру внутри для корректного 
       отображения в других всплывающих окнах */
    .t706__cartwin-close-wrapper,
    .t-popup__close-wrapper {
        height: 100% !important;
        width: 100% !important;
    }
    /* Убираем слово «Закрыть» */
    .t706__cartwin-close-wrapper:before,
    .t-popup__close-wrapper:before {display: none !important;}

    /* Иконка SVG */
    .t706__cartwin-close-icon,
    .t-popup__close-icon {
        display: block !important;
        width: 16px;
        position: absolute;
        top: 18px;
        right: 23px;
    }
    
    .t706__cartwin-close-icon g,
    .t-popup__close-icon g {
        fill: #585a35 !important;
        stroke-width: 1px !important;
        stroke: #585a35;
    }
    
    /* Фон всплывающего окна */
    .t-popup.t-popup_show {background-color: #f6f6f6;}
    
    /* Расширяем контейнер всплывающего окна на весь экран */
    .t-popup__container {
        margin: 0 !important;
        padding: 72px 0 0 0 !important;
        width: 100%;
        min-height: 100vh !important;
        border-radius: 0;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        background: inherit !important;
    }
    .t390 .t-popup__container,
    .t868 .t-popup__container {padding: 0 !important}
    .t868 .t-popup_show {padding: 0;}
    
    /* Область контента всплывающег окна */
    .t390__wrapper {
        padding: 20px 0;
        margin-right: auto;
        max-width: 480px;
    }
    
    /* Текст внутри всплывающих окон */
    .t-popup__container * {
        text-align: left;
        font-size: 14px;
        line-height: 1.6;
    }
    .t-popup__container .t390__title {
        font-size: 24px;
        line-height: 1.25;
        font-weight: 500;
        margin-top: 80px;
        margin-bottom: 15px;
    }
}

/* СТРАНИЦА ТОВАРА ------------------------------------- */ 
.t-store__product-snippet+.t-store__relevants__container 
.t-store__valign-buttons .t-item {
    opacity: 1 !important;
}