/*
Автор: Павел Сойфер
pavelsoyfer.ru
*/

html, 
body {background-color: #0C0C0C;}

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

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

/* Цвет фона всех страниц */
#allrecords {background-color: #0C0C0C !important;}



/* ВЕРХНИЙ КОЛОНТИТУЛ ---------------------------------- */
/* Модуль верхнего колонтитула Тильды */
#t-header {
    background: inherit;
    position: relative;
}
/* Сдвигаем первый блок после колонтитула вниз 
   в мобильной версии */
@media screen and (max-width: 940px) {
    #t-header + div[id*="rec"] {margin-top: 100px;}
}

/* Фон верхнего меню */
.t228 {
    position: relative !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}
.t228.t228__positionfixed {
    position: fixed !important;
}

/* Фикс меню в режиме редактирования */
#allrecords[data-tilda-mode=edit] .t228 {
    position: static !important;
}

/* Логотип в колонтитулах на ПК */
img.t228__imglogo {
    margin-right: 30px;
    width: 90px !important;
    max-width: none !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: 14px;
        left: 50%;
        font-size: 14px;
        color: white !important;
        font-weight: 500 !important;
        z-index: 9999999;
        border-radius: 100px;
        padding: 8px 16px 8px 16px;
        background: rgba(255, 255, 255, 0.03);
        transform: translateX(-50%);
    }
}

/* Ссылки навигации первого уровня (элемент списка) */
.t228__list_item {padding-right: 8px;}
/* Ссылки */
.t-menu__link-item {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Стрелка меню второго уровня */
.t794__arrow {
    display: inline-block;
    border: none !important;
    width: 15px !important;
    height: 15px !important;
    background-image: url(https://static.tildacdn.com/tild6566-6337-4331-b663-346562303735/chevron-small.svg);
    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 {
    color: #e6e6e6 !important;
    font-weight: 300 !important;
    font-size: 16px !important;
}

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

/* Фикс иконки SoundCloud в верхнем колонтитуле ПК */
.t228__right_social_links_item a[href*="soundcloud"] svg {
    visibility: hidden;
}
.t228__right_social_links_item a[href*="soundcloud"] {
    background-image: url(https://static.tildacdn.com/tild3562-3635-4730-b131-643131376533/ezo_soundcloud.svg);
    background-size: 36px 26px;
    background-position: left -5px top !important;
    background-repeat: no-repeat;
}

/* Часы работы доставки и точки до и после */
.t228__rightcontainer span[style="color: rgb(230, 230, 230);"]:before, 
.t228__rightcontainer span[style="color: rgb(230, 230, 230);"]:after {
    content: "";
    display: inline-block;
    border-radius: 10px;
    margin: 0 9px;
    width: 3px;
    height: 3px;
    position: relative;
    bottom: 3px;
    background: white;
    opacity: 0.15;
}
.t228__rightcontainer span[style="color: rgb(230, 230, 230);"]:after {left: 2px;}
.t228__rightcontainer span[style="color: rgb(230, 230, 230);"]:before {right: 3px;}

/* Меню второго уровня */
.t794__tooltip-menu {background-color: #141414 !important;}
.t794__tooltip-menu_bottom:after, 
.t794__tooltip-menu_bottom:before {
    border-bottom-color: #141414 !important;
}

/* Мобильное меню */
@media screen and (max-width: 980px) {
    /* Фон закрытого меню */
    .t280__container__bg {background-color: #141414 !important;}
    
    /* Текст на месте логотипа (если нет изображения) */
    .t280__logo div {
        font-size: 0px !important;
        position: relative;
        top: 2px;
    }
    /* Логотип */
    .t280__logo {
        width: 60px;
        height: 50px;
        background-image: url(https://static.tildacdn.com/tild6166-6136-4863-b830-656233356364/ezo-logo_white-brass.png);
        background-size: contain;
        background-position: left center;
        background-repeat: no-repeat;
        position: relative;
        bottom: -1px;
    }
    
    /* Верхняя полоса меню */
    .t280__container {background-color: #141414;}
    
    /* Отступ сверху перед ссылками */
    .t280__menu {padding-top: 110px !important;}
    
    /* Нижняя граница раскрытого меню */
    .t280__menu__bg:before {
        content: "";
        display: block;
        width: 100vw;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.07);
        position: fixed;
        top: 60px;
        left: 0;
    }
    
    /* Иконка меню (≡) */
    .t280__burger span {
        background-color: #B3864E !important;
        border-radius: 4px !important;
    }
    
    /* Текст «Меню» перед иконкой ≡ */
    .t280__burger:before {
        content: "Меню";
        display: block;
        position: absolute;
        font-size: 12px;
        font-family: inherit;
        color: #aaa;
        right: 30px;
        top: 0px;
    }
    
    /* Фон раскрытого меню */
    .t280__menu__bg {background-color: #141414 !important;}
    
    /* Ссылки основного меню */
    .t280__menu__item {
        font-size: 28px !important;
        font-weight: 500 !important;
        color: white !important;
        text-align: left;
        margin: 28px auto;
    }
    
    /* Ссылка первого уровня — «Все блюда», отступ перед 
       списком ссылок второго уровня */
    .t280__menu .t-title {margin-bottom: 22px;}
    
    /* Отключаем pointer events у ссылки-заголовка подменю */
    .t280__menu__link[href="#mobilemenu"] {pointer-events: none;}
    
    /* Добавляем отступ снизу последней ссылке */
    .t280__menu__item:last-child {margin-bottom: 22px !important;}
    
    /* Ссылка-заголовок подменю */
    .t280__menu__item.mobileSubmenuHeading {
        margin-bottom: 0;
        margin-top: -24px !important;
    }
    
    /* Контейнер ссылок второго уровня */
    .mobile-submenu {
        display: flex;
        flex-direction: column;
        margin-top: -12px;
    }

    /* Ссылки меню второго уровня*/
    .t-menusub__link-item {
        margin: 8px 0;
        font-size: 22px !important;
        font-weight: 300 !important;
        color: #aaa !important;
        text-align: left;
    }
    
    /* Ссылка зоны доставки */
    .t280__descr span[style="color: rgb(230, 230, 230);"] {
        display: block;
        margin-top: 2px;
        margin-bottom: 10px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }
    .t280__menu__link[href*="map"] {
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 32px;
        margin-top: -4px;
    }
    .t280__menu__link[href*="map"]:before {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        background-image: url(https://static.tildacdn.com/tild6665-3138-4439-b638-396135623265/map-pin.svg);
        position: relative;
        bottom: 2px;
        background-size: contain;
        margin-right: 6px;
    }
    
    /* Выключаем телефон в описании меню, т. к. он наверху */
    .t280__descr a[href*="tel"] {display: none;}
    
    /* Блок с ссылками на сообщества и описанием меню */
    .t280__bottom {
        display: flex !important;
        flex-direction: column-reverse;
        padding-top: 0px !important;
        padding-bottom: 40px !important;
        text-align: left;
    }
    
    /* Выравниваем иконки сообществ */
    .t-sociallinks__wrapper {
        position: relative;
        left: -10px;
    }
    
    /* Двигаем иконку Instagram */
    .t-sociallinks__item a[href*="instagram"] {
        position: relative;
        left: -4px;
    }
    
    /* Описание меню (мин. заказ и зона доставки) */
    .t280__descr {
        margin-top: 12px;
        font-size: 14px !important;
        margin-left: 0;
        margin-right: auto;
        width: 280px;
    }
}


/* СТИЛИ СЛАЙДЕРА КАТЕГОРИЙ МЕНЮ */
/* Фон слайдера */
.menu-slider_wrapper {
    padding-bottom: 0;
    width: 100%;
    z-index: 3;
    position: relative;
}
@media screen and (max-width: 980px) {
    .menu-slider_wrapper {padding-bottom: 10px;}
}
@media screen and (min-width: 980px) {
    .menu-slider_wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        background: #0c0c0c;
    }
}
/* Фиксируем слайдер на мобильной версии, меняем фон */
@media screen and (max-width: 980px) {
    .menu-slider_wrapper {
        position: fixed;
        top: 59px;
        left: 0;
        background-color: #141414 !important;
        border: none;
        z-index: 300;
        border-radius: 0 0 4px 4px;
        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 {
    max-width: 1160px;
    margin: 0 auto;
}
@media screen and (max-width: 1200px) {
    .menu-slider_slides {width: calc(100% - 2*24px - 8px);}
}

/* Выключаем прокрутку слайдера на ПК */
@media screen and (min-width: 1200px) {
    .slick-cloned {display: none !important;}
    .slick-track {
        max-width: 1160px;
        overflow: hidden;
        white-space: nowrap;
        transform: translate3d(0, 0, 0) !important;
    }
}

/* Слайд-кнопка */
.menu-slider_button {
    display: block;
    margin-right: 34px;
    padding-top: 2px;
    padding-bottom: 14px;
    font-family: inherit, sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    line-height: 1;
    color: white !important;
    border-radius: 100px;
    position: relative;
    transition: all 0.3s ease;
    background: none !important;
}
@media screen and (min-width: 980px) and (max-width: 1200px) {
    .menu-slider_button {top: 5px}
}
.menu-slider_button:hover {color: #B3864E !important;}
.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;
        background: none;
        bottom: 1px;
    }
    .menu-slider_button:hover {background-color: #141414;}
}

/* Добавляем точку-разделитель последней ссылке */
@media screen and (min-width: 1200px) {
    .menu-slider_button.last {
        margin-right: 0;
    }
    .menu-slider_button.last:after {
        display: none;
    }
    .menu-slider_button:after {
        content: "";
        display: none;
        position: absolute;
        top: 20px;
        right: -25px;
        width: 4px;
        height: 4px;
        background-color: #B3864E;
        background-color: none;
        border-radius: 4px;
    }
}
@media screen and (max-width: 980px) {
    .menu-slider_button.last {
        position: relative;
        margin-right: 20px;
    }
    .menu-slider_button.last:after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: -12px;
        width: 4px;
        height: 4px;
        background-color: #B3864E;
        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: 100px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 1px center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none !important;
}
.menu-slider_prev:hover,
.menu-slider_next:hover {background-color: #141414;}
@media screen and (max-width: 1200px) {
    .menu-slider_prev,
    .menu-slider_next {display: block !important;}
    
    .menu-slider_prev:hover,
    .menu-slider_next:hover {background-color: #141414;}
}

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



/* СТРАНИЦА МЕНЮ --------------------------------------- */
/* Высота обложки страницы на мобильных устройствах */
/* Логотип в обложке страницы */
.t306__img {
    position: relative;
    bottom: 10px;
}
@media screen and (max-width: 980px) {
    .t306__img {
        bottom: -20px;
        width: 180px !important;
    }
}

/* Заголовки секций-категорий меню в Zero */
h2.tn-atom {
    letter-spacing: -0.5px;
    font-weight: 600 !important;
    transform: scaleX(0.93);
    transform-origin: left center;
}
/* Фоновый текст */
.tn-atom__prx-wrapper .tn-atom {
    color: white !important;
    opacity: 0.05 !important;
}
@media screen and (max-width: 980px) {
    .tn-atom__prx-wrapper .tn-atom {opacity: 0 !important;}
}

/* IE не поддерживает контур текста, для него отдельно задаём
   контур через текст текста. */
@media all and (-ms-high-contrast: none), 
               (-ms-high-contrast: active) {
    .tn-atom__prx-wrapper .tn-atom {
        color: #0C0C0C !important;
        text-shadow: -1px -1px 0 #B3864E, 1px -1px 0 #B3864E, -1px 1px 0 #B3864E, 1px 1px 0 #B3864E;
    }
}




/* КАРТОЧКИ ТОВАРОВ ------------------------------------ */
/* Карточка */
.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;
    background-color: #141414 !important;
    border-radius: 4px !important;
    overflow: hidden;
}
.t-store__card__wrap_all:hover {transform: translateY(-2px);}

/* Изображение */
.t-slds__container {background: inherit !important;}
.t-store__card__imgwrapper {overflow: hidden;}
.t-store__card__bgimg {
    transition: transform 0.3s ease;
    border-radius: 0 !important;
}
.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: 20px;
    font-weight: 500 !important;
    width: 100%;
    color: white;
    margin-bottom: 6px;
    line-height: 1.1;
}

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

/* Контейнер цены */
.t-store__card__price-wrapper {
    margin-top: 0 !important;
    height: 20px !important;
}

/* Цена */
.t-store__card__price {
    color: #B3864E !important;
    font-weight: 500 !important;
    font-size: 14px;
    display: flex;
    line-height: 20px;
}

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

/* Первая кнопка */
.t-store__card__btn {
    line-height: 1;
    padding: 6px 16px 7px 16px;
    background-color: #B3864E !important;
    transition: background-color 0.2s ease;
    border-radius: 3px !important;
    font-size: 16px;
}
.t-store__card__btn:not(.t-store__card__btn_second) {
    font-weight: 500 !important;
}
.t-store__card__btn:not(.t-store__card__btn_second):hover {
    background-color: #987242 !important;
}

/* Вторая кнопка (оформлена как ссылка) */
.t-store__card__btn_second {
    position: relative;
    left: -6px;
    background: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 300 !important;
}
.t-store__card__btn_second:before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    right: -11px;
    top: 6px;
    background-position: top left;
    background-image: url(https://static.tildacdn.com/tild6361-6339-4339-a662-383332626439/plus-circle.svg);
    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;
        line-height: 1.2;
        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: 8px;
        background-color: rgba(255, 255, 255, 0.2);
        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;
        }
        .t-store__card__descr {
            font-size: 11px !important;
            top: 0;
        }
    }
    /* На устройствах до 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/tild3937-3033-4261-b166-346638303162/ezo_mobile-plus.svg) !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;}                 
}

/* Контейнер попапа товара в мобильной версии */
@media screen and (max-width: 980px) {
    .t-store__prod-popup__container {
        margin-top: 8px;
        padding-bottom: 150px !important;
    }
}

/* Фон всплывающего окна */
.t-store .t-popup.t-popup_show {background-color: #0C0C0C !important;}
.t-store .t-popup__container {background-color: inherit !important;}

/* Ссылка «Вернуться в меню» */
.t-store__prod-popup__close-txt {
    font-size: 16px;
    color: white !important;
    font-weight: 400;
    opacity: 1;
}
.t-store__prod-popup__close-txt:before {
    content: "";
    width: 24px;
    height: 24px;
    margin-right: 2px;
    background-image: url(https://static.tildacdn.com/tild3732-6266-4635-b934-396433376133/chevron.svg);
    background-size: 24px 24px;
    background-position: top left;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

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

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

/* Выключаем миниатюры под изображением */
.t-slds__thumbsbullet-wrapper {display: none;}

/* Фикс размеров слайдера и изображения товара в мобильной версии */
@media screen and (max-width: 980px) {
    .t-store__prod-popup__slider, 
    .t-store__prod-popup__slider * {
        width: calc(100vw - 2*20px) !important;
        height: calc(100vw - 2*20px) !important;
    }
    .t-store .t-store__prod-popup__container 
    .t-store__product-popup .t-slds {
        margin: 0 !important;
    }
    .t-slds__items-wrapper {transform: none !important;}
    .t-slds__item {
        position: absolute;
        left: 0;
        top: 0;
    }
    .t-slds__bgimg {
        padding: 0 !important;
        border-radius: 4px;
    }

}
    
/* Отметка на карточке */
.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: #B3864E !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;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__info {padding-top: 16px;}
}

/* Порядок элементов в правой части экрана */
.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;
    color: white;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__name {
        font-size: 22px !important;
        line-height: 1.25 !important;
        left: 0px;
        margin-bottom: 10px;
    }
}

/* Артикул — отступ и размер шрифта. Артикулы выключены,
   вернуть их можно убрав 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;
    color: white;
}

/* Выпадающий список опций */
.t-product__option-select {
    width: 272px !important;
    border: none !important;
    box-shadow: inset 0 0 0 2px #B3864E;
    font-size: 16px !important;
    border-radius: 4px !important;
    padding: 13px 24px 11px 24px !important;
    cursor: pointer !important;
    color: white !important;
    background: transparent !important;
    transition: background 0.15s ease;
}
/* При наведении */
.t-product__option-select:hover {
    background: rgba(255, 255, 255, 0.05) !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/tild3732-6266-4635-b934-396433376133/chevron.svg) !important;
    width: 23px !important;
    height: 23px !important;
    border: none !important;
    top: 12px !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 14px 20px !important;
    border-radius: 100px 0 0 100px !important;
    border-radius: 3px 0 0 3px !important;
    height: auto;
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    background-color: #B3864E !important;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__btn {
        padding: 14px 8px 12px 18px !important;
        height: 50px;
    }
}
/* Отдельно прописываем 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/tild3462-3235-4365-a362-653836373062/plus.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    position: relative;
    top: 2px;
}
.t-store__prod-popup__btn:hover {background: #987242 !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: 22px;
    padding: 13px 26px 0 14px;
    box-sizing: border-box;
    height: 50px;
    background: #B3864E;
    border-radius: 0 3px 4px 0;
    position: relative;
}
@media screen and (max-width: 980px) {
    .t-store__prod-popup__price {
        padding: 14px 22px 13px 12px;
        height: 50px;
        position: relative;
        left: -1px;
    }
}

/* Разделитель */
.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: 0.8;
    background-color: rgba(0, 0, 0, 0.1);
}

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

/* Заголовок «Описание» */
.t-store__prod-popup__text:before {
    content: "Описание";
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: white;
    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;
    color: white;
    position: relative;
    bottom: 3px;
}
@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: rgba(255, 255, 255, 0.1);
    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 {
        margin-right: -10px !important;
    }
    .t-store__relevants__container .t-store__card:first-child {
        margin-left: 14px !important;
    }
    .t-store__relevants__container .t-store__card:last-child {
        margin-right: 20px !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: #141414;
        border-radius: 4px;
    }
}

/* Уменьшаем ширину карточек на мобильных устройствах, задаём 
   отступ последней карточке */
@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: #141414 !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-grid-cont 
.t-store__card__textwrapper {padding-left: 0px !important;}

/* Название карточки */
.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
    }
}

/* Описание */
@media screen and (max-width: 980px) {
    .t-store__relevants__container 
    .t-store__card__descr {
        line-height: 21px;
    }
}

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

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

/* Контейнер кнопок */
.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;}
}



/* КНОПКА ВЫЗОВА КОРЗИНЫ ------------------------------- */
/* Шрифт числа в мелком кружке */
.t706__carticon-counter {font-family: inherit;}

@media screen and (max-width: 980px) {
    div.t706__carticon {
        bottom: 18px !important;
        border-radius: 3px;
        width: auto;
        position: fixed;
        top: auto !important;
        right: auto !important;
        left: 50% !important;
        transform: translate(-50%, 100px);
        background: #B3864E;
        padding-top: 9px;
        padding-bottom: 10px;
        padding-right: 36px;
        padding-left: 24px;
        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;
        position: relative;
        top: -1px;
    }
    .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: 0px;
        right: 1px;
        bottom: 0;
        min-width: 10px;
        width: auto;
        height: auto;
        margin: 0 11px 0 10px;
        background: none !important;
        font-size: 14px;
        font-family: inherit;
        font-weight: 500;
        line-height: 1;
        padding: 4px 10px 4px 10px;
        border-radius: 100px;
        background-color: rgba(0, 0, 0, 0.15) !important;
        color: white !important;
    }
    
    .t706__carticon-text {
        position: relative;
        left: -15px;
        transform: none;
        top: 0;
        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: 8px;
        background-color: #B3864E;
        background: inherit;
        border: none;
        height: 30px;
        left: 0;
        top: 10px;
    }
}



/* МОДАЛ КОРЗИНЫ --------------------------------------- */
/* Оверлей */
.t706__cartwin {background-color: rgba(0, 0, 0, 0.6);}

/* Фон корзины */
.t706__cartwin-content {background: #0C0C0C;}

/* Цвет текста */
.t706__cartwin-heading,
.t706__product *,
.t706__cartwin-prodamount-wrap * {
    color: white;
}

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

/* Стили всплывающего окна корзины на ПК */
@media screen and (min-width: 980px) {
    /* Углы и ширина всплывающего окна корзины */
    .t706__cartwin-content {
        border-radius: 4px;
        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 rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
    }
    .t706__product:first-child {border-top: none;}
    .t706__product:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

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

    /* Название товара */
    .t706__product-title {
        font-weight: 400;
        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/tild6366-3733-4534-a131-643262643736/minus-circle_small.svg);
    }
    .t706__product-plus {
        background-image: url(https://static.tildacdn.com/tild3631-3861-4430-b439-626132626133/plus-circle_small.svg);
    }
    
    /* Сумма позиции */
    .t706__product-amount {
        position: relative;
        top: 0;
    }

    /* Кнопка удаления */
    .t706__product-del {
        background-image: url(https://static.tildacdn.com/tild3164-6365-4435-b839-383830376336/cross-circle_small.svg);
        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: 300 !important;
        color: #E6E6E6 !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.5 !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 rgba(255, 255, 255, 0.08);
        margin: 0;
        height: auto;
        min-height: calc(70px + 24px);
        margin-top: 24px;
        padding-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        flex: 1 0 auto;
        align-items: center;
        align-content: center;
        position: relative;
        box-sizing: border-box;
        padding-left: calc(70px + 16px);
        padding-right: 30px;
    }
    
    /* Сброс стилей элементов группы  */
    .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 {
        font-size: 16px !important;
        font-weight: 500;
        line-height: 1.25;
        flex-basis: 90%;
        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: 2px;
        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/tild6366-3733-4534-a131-643262643736/minus-circle_small.svg);
    }
    .t706__product-plus {
        background-image: url(https://static.tildacdn.com/tild3631-3861-4430-b439-626132626133/plus-circle_small.svg);
    }
    
    /* Сумма */
    .t706__product-amount {
        flex-grow: 1;
        position: relative;
        top: 3px;
        left: 0;
    }
    
    /* Кнопка удаления */
    .t706__product-del-wrapper {
        display: flex !important;
        padding: 0 !important;
        width: 28px !important;
        height: 28px !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: -2px;
        top: calc((100% - 24px) / 2);
        transform: translateY(-50%);
    }
    .t706__product-del {
        width: 28px;
        height: 28px;
        background-image: url(https://static.tildacdn.com/tild3164-6365-4435-b839-383830376336/cross-circle_small.svg);
        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: 300;
        color: #E6E6E6 !important;
    }
    
    /* Сумма заказа */
    .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.45 !important;
    }
}

/* Цвет границы-подчёркивания полей по-умолчанию */
.t-input, .t-select {
    border-color: rgba(255, 255, 255, 0.08) !important;
}
/* Цвет границы-подчёркивания полей при фокусе */
.t-input:focus, .t-select:focus {
    border-color: #B3864E !important;
}
/* Цвет границы-подчёркивания полей при ошибке */
.t-form .js-error-control-box .t-input,
.t-form .js-error-control-box .t-select {
    border: 0 !important;
    border-bottom: 2px solid rgb(229, 13, 25) !important;
}

/* Названия полей */
.t-input-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #E6E6E6 !important;
    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: 100px;
    background: none;
    box-shadow: inset 0 0 0 2px #B3864E;
    font-size: 14px !important;
    transition: background-color 0.25s ease;
    position: relative;
    top: 1px;
}
/* Выравниваем код страны в мобильной форме */
@media screen and (max-width: 980px) {
    .t-input-phonemask__select-code {top: 0 !important;}
}

/* Иконка стрелки-шервон в выпадающем списке  */
.t-select__wrapper:after {
    border: none;
    width: 16px;
    height: 10px;
    top: -6px;
    right: 0;
    background-image: url(https://static.tildacdn.com/tild3732-6266-4635-b934-396433376133/chevron.svg);
    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;
}
    
/* Кнопка промокода */
.t-inputpromocode__btn {
    background-color: #B3864E !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    width: 140px;
    padding: 0 !important;
    transition: background-color 0.25s ease;
}
.t-inputpromocode__btn:hover {
    background-color: #B3864E !important;
}

/* Размеры и отступы полей для ПК */
@media screen and (min-width: 980px) {
    /* Шрифт полей */
    .t-input-group input, 
    .t-input-group select {
        font-weight: 300;
    }
    
    /* 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-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;
        flex-grow: 1;
    }
    .t706__cartwin-totalamount-label, 
    .t706__cartwin-totalamount {
        font-size: 24px;
        color: white !important;
        position: relative;
        top: -7px;
    }
    
    /* Отступ перед кнопкой */
    .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;
        font-weight: 300 !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%;
        color: white !important;
    }
    
    /* Кнопка отправления формы */
    .t-form__submit {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 10px !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 #B3864E;
    border-radius: 6px;
}
.t-form__errorbox-text {
    color: #B3864E;
    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;
}



/* ВСПЛЫВАЮЩИЕ ОКНА ------------------------------------ */
/* Цвет всплывающего окна */
.t-popup__container {background: #0C0C0C !important;}

/* Ссылка «Закрыть» вверху экрана товара, всплывающих
   окон и корзины */
.t706__cartwin-close-wrapper,
.t-popup__close-wrapper {
    width: 24px !important;
    height: 24px;
    background-image: url(https://static.tildacdn.com/tild3463-6132-4666-b166-323561363131/cross.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    box-sizing: border-box;
}
.t706__close {
    right: 19px !important;
    top: 18px !important;
    width: auto !important;
    height: auto !important;
}
.t-popup__block-close {
    top: 18px;
    right: 19px;
    width: auto;
    height: auto;
}

/* Иконка */
.t706__cartwin-close-icon,
.t-popup__close-wrapper svg {display: none;}

/* Добавляем слово «Закрыть» перед икокой */
.t706__cartwin-close-wrapper:before,
.t-popup__close-wrapper:before {
    content: "\0417 \0430 \043A \0440 \044B \0442 \044C";
    font-size: 16px;
    font-family: 'BebasNeuePro', sans-serif;
    font-weight: 400;
    position: absolute;
    right: 27px;
    top: 3px;
}

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

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

.t-popup__container * {text-align: left;}

/* Отключаем границу  (карты) */
iframe {border: none !important;}

/* Всплывающие окна мобильной версии */
@media screen and (max-width: 980px) {
    /* Делаем из полосы «Закрыть» колонтитул в мобильной версии */
    /* Если нет логотипа и вместо него текст */
    .t706__cartwin-close:before,
    .t-popup__close:before {
        content: "EZO";
        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/tild6166-6136-4863-b830-656233356364/ezo-logo_white-brass.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left top;
        content: "";
        width: 60px;
        height: 50px;
        top: 20px;
    }

    /* Цвет фона, углы и тень полосы закрытия, исправляем
       ширину и позиционирование для корректного отображения 
       в других всплывающих окнах */
    .t706__cartwin-close,
    .t-popup__close {
        width: 100%;
        height: 60px !important;
        left: 0;
        right: 0;
        top: 0;
        background-color: #141414 !important;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    }
    .t706__cartwin-close {
        right: 0 !important;
        left: 0 !important;
        top: 0 !important;
    }
    
    /* Шапка закрытия корзины */
    .t706__cartwin-close-wrapper {margin-right: 0 !important;}
    
    /* Иконка закрытия корзины */
    .t706__cartwin-close-icon {top: 22px !important;}
    
    /* Фикс зазора шапки закрытия модального окна */
    .t-store .t-popup__close-wrapper:after {
        content: "";
        display: block;
        background-color: rgb(20, 20, 20);
        position: absolute;
        width: 100%;
        height: 4px;
        top: -2px;
        left: 0;
    }

    /* Убираем фоновую стрелку настолькой версии */
    .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;
        box-sizing: border-box;
    }
    
    /* Слово «Закрыть» */
    .t706__cartwin-close-wrapper:before,
    .t-popup__close-wrapper:before {
        font-family: "BebasNeuePro", sans-serif;
        top: 22px !important;
        right: 46px;
        font-size: 14px;
    }
    
    /* Убираем слово «Закрыть» из шапки корзины */
    .t706__cartwin-close-wrapper:before {display: none;}

    /* Иконка 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: #B3864E !important;
        stroke-width: 1px !important;
        stroke: #B3864E;
    }
    
    /* Выключаем иконку-стрелку в шапке окна */
    .t-popup__close-icon_arrow {display: none !important;}
    
    /* Фон всплывающего окна */
    .t-popup {background-color: #0C0C0C !important;}
    
    /* Расширяем контейнер всплывающего окна на весь экран */
    .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;
        color: white;
    }
    .t-popup__container .t390__title {
        font-size: 24px;
        line-height: 1.25;
        font-weight: 500;
        margin-top: 80px;
        margin-bottom: 15px;
    }
    
    /* Модал зоны доставки в мобильной версии */
    .t868__code-wrap {height: 100%;}
    iframe[src*="yandex.ru/map"] {height: 100%;}
}



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



/* ВСПЛЫВАЮЩЕЕ ОКНО РЕЖИМА РАБОТЫ ---------------------- */
@media screen and (max-width: 980px) {
    .uc-hours-notice .t-popup {
        background-color: rgba(0, 0, 0, 0.7) !important;
    }
    
    .uc-hours-notice .t-popup__container {
        background: #0c0c0c !important;
        padding: 16px 32px !important;
        box-sizing: border-box;
        position: absolute !important;
        min-height: 0 !important;
        border-radius: 8px;
        right: auto !important;
        bottom: auto !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 260px;
    }
    
    .uc-hours-notice .t-popup__container .t390__title {
        margin-top: 0;
        margin-bottom: 12px;
    }
    
    .uc-hours-notice .t390__descr {
        font-size: 16px !important;
    }
}