/* =========================================================
   SOBE INVEST — GLOBAL CUSTOM CSS
   ========================================================= */


/* =========================================================
   СТАНДАРТНЫЕ ПОПАПЫ
   ========================================================= */

/* Размытие фона у открытых попапов */
.t-popup.t-popup_show {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Скругление контейнеров попапов */
.t390 .t-popup__container,
.t750 .t-popup__container,
.t702__wrapper,
.t-popup__container,
.t702__img {
    border-radius: 30px !important;
}

/* Скругление кнопок закрытия */
.t-popup__close,
.t706 .t706__close {
    border-radius: 10px !important;
}


/* =========================================================
   АНИМАЦИИ
   ========================================================= */

/* Скорость появления блоков */
.t-animate {
    transition-duration: 1s !important;
}

/* Скорость hover-анимации кнопок */
.t-btn:not(.t-animate_no-hover) {
    transition-duration: 0.2s !important;
}


/* =========================================================
   ВАЛИДАЦИЯ ФОРМ
   ========================================================= */

/*
   Скрывает общий блок ошибок Tilda.
   Подсветка отдельных неправильных полей при этом сохраняется.
*/
.t-form__errorbox-middle {
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}


/* =========================================================
   КАРТОЧКИ И КНОПКИ
   ========================================================= */

/* Скругление изображений карточек */
.t-store__card__bgimg,
.t-store__card__bgimg_second {
    border-radius: 5px;
}

/* Межбуквенный интервал у кнопок */
.t944__btn,
.t-store__card__btn-text,
.t-btn,
.t-submit,
.t944__btn.t-btn.t944__btn_sm {
    letter-spacing: 2px;
}


/* =========================================================
   КОРЗИНА
   ========================================================= */

/* Белый фон кнопки закрытия корзины */
.t706 .t706__close {
    background-color: #ffffff !important;
}

/* Скрытие итоговой суммы и нижней части корзины */
.t706__cartwin-bottom,
.t706__cartwin-totalamount-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* Разделительная линия под товарами */
.t706__cartwin-products {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* Размытие фона открытой корзины */
.t706__cartwin_showed {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Шрифт полей корзины */
.t706 .t-form input.t-input,
.t-input-phonemask__select-code {
    font-family: "TildaSans", Arial, sans-serif;
}


/* =========================================================
   ПОПАП ТОВАРА
   ========================================================= */

/* Основной текст описания */
.js-store-prod-all-text {
    font-size: 18px !important;
    font-weight: 400;
}

/* Внешний отступ статического попапа */
.t-popup__container.t-popup__container-static {
    margin: 30px auto;
}

/* Выделенные элементы в описании */
.js-store-prod-all-text strong,
.t-store__card .t-typography__descr strong {
    display: inline;
    color: #283322;
    background-color: #e3e3e3;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500 !important;
    line-height: 2;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Метка на карточке */
.t-store__card__mark {
    width: 70px;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   КАРТОЧКИ ТОВАРОВ
   ========================================================= */

/* Горизонтальные отступы текста и кнопок */
.t-store
.t-store__card__wrap_all.t-store__card__wrap_pad-sm
.t-store__card__textwrapper,
.t-store
.t-store__card__wrap_all.t-store__card__wrap_pad-sm
.t-store__card__btns-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}

/* Пропорции изображений карточек */
.t-store__card__imgwrapper {
    padding-bottom: 70%;
}


/* =========================================================
   БОЛЬШАЯ КНОПКА
   ========================================================= */

.t944__btn.t-btn.t944__btn_sm {
    width: 100%;
    max-width: 1160px;
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   ДОПОЛНИТЕЛЬНЫЕ КНОПКИ В ПОПАПЕ ТОВАРА
   ========================================================= */

.t786 .js-store-prod-all-text a {
    display: inline-block;
    padding: 13px 30px;
    color: #283322 !important;
    background-color: transparent;
    border: 1px solid #283322;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.t786 .js-store-prod-all-text a:hover {
    color: #ffffff !important;
    background-color: #5d683f;
    border-color: #5d683f;
}


/* =========================================================
   DESKTOP — ОТ 1200 PX
   ========================================================= */

@media screen and (min-width: 1200px) {

    /* Заголовок корзины */
    .t706 .t-name_xl {
        font-size: 40px;
    }

    /* Scrollbar Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: #5d683f transparent;
    }

    /* Scrollbar Chrome, Edge и Safari */
    *::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    *::-webkit-scrollbar-track {
        background: transparent;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #5d683f;
        background-clip: content-box;
        border: 2px solid transparent;
        border-radius: 10px;
    }

    *::-webkit-scrollbar-thumb:hover {
        background-color: #283322;
    }
}


/* =========================================================
   DESKTOP / LAPTOP — 981–1400 PX
   ========================================================= */

@media screen and (min-width: 981px) and (max-width: 1400px) {

    .t228__list_item {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .t228__right_buttons {
        padding-left: 10px;
    }

    .t228__imglogo {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        margin-right: 10px !important;
    }
}


/* =========================================================
   SMALL DESKTOP / LAPTOP — 981–1199 PX
   ========================================================= */

@media screen and (min-width: 981px) and (max-width: 1199px) {

    /* Меню */
    .t228__imglogo {
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        margin-right: 10px !important;
    }

    a.t-menu__link-item {
        font-size: 16px !important;
    }

    .t228__list_item {
        padding-right: 6px !important;
        padding-left: 6px !important;
    }

    /* Footer */
    .t981__menu-link {
        font-size: 16px !important;
    }

    .t981__menu-item {
        margin-right: 10px !important;
        margin-left: 10px !important;
    }

    /* Обложка */
    .t182__title {
        font-size: 60px !important;
    }

    /* Страница Buy / каталог */
    .t-store__grid-cont_col-width_stretch.t-store__grid-cont_indent[data-col-gap="20"] {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .t786 .t-descr_xxs {
        font-size: 18px !important;
    }
}


/* =========================================================
   TABLET — 641–980 PX
   ========================================================= */

@media screen and (min-width: 641px) and (max-width: 980px) {

    /* Меню */
    .t228__list_item a.t-menu__link-item {
        font-size: 20px !important;
    }

    .tmenu-mobile__imglogo {
        width: 170px !important;
    }

    .t-title_xxl,
    .t-title_xs {
        font-size: 60px !important;
    }

    .t981__menu_right-align,
    .t981__menu_right-align ul {
        justify-content: center !important;
    }

    /* Footer */
    .t981__menu-link {
        font-size: 16px !important;
    }

    .t981__col_right {
        margin-right: auto !important;
        margin-left: auto !important;
    }

    /* Страница Buy / каталог */
    .t182 .t-title_xl {
        font-size: 60px;
        line-height: 1;
    }

    /* Иконка поиска */
    .t-store__filter__search-mob-btn-icon {
        width: 30px !important;
    }

    /* Фильтры */
    .t786
    .js-store-filter-mob-btn.t-store__filter__opts-mob-btn.t-name.t-name_xs {
        font-size: 30px !important;
    }

    .t786 .t-descr_xxs {
        font-size: 20px;
    }

    .t-store__filter__opts-mob-btn-icon {
        width: 15px !important;
    }

    /* Карточка товара */
    .t-store__prod-popup__title-wrapper .t-name_xl {
        font-size: 30px;
    }

    .t-popup .t-store__prod-popup__price {
        font-size: 30px !important;
    }

    .t786 .t-store__card .t-typography__title {
        font-size: 26px !important;
    }
}


/* =========================================================
   TABLET И MOBILE — ДО 980 PX
   ========================================================= */

@media screen and (max-width: 980px) {

    /* Корректное значение scrollbar-color */
    * {
        scrollbar-width: thin;
        scrollbar-color: #5d683f transparent !important;
    }

    /* Точки галереи попапа */
    .t786 .t-slds__bullet {
        padding: 5px 2px !important;
    }

    .t-slds__bullet_body {
        width: 6px;
        height: 6px;
    }
}


/* =========================================================
   DESKTOP — ТОЧКИ ГАЛЕРЕИ
   ========================================================= */

@media screen and (min-width: 981px) {

    .t786 .t-slds__bullet {
        padding: 5px 3px !important;
    }
}


/* =========================================================
   MOBILE — ДО 640 PX
   ========================================================= */

@media screen and (max-width: 640px) {

    /* Мобильное меню */
    .tmenu-mobile__container {
        padding: 15px !important;
    }

    .tmenu-mobile__imglogo {
        width: 100px !important;
    }

    /* Кнопки */
    .t944 .t-btn_sm {
        font-size: 16px;
    }

    .t-btn,
    .t-submit,
    .t944__btn,
    .t-store__card__btn-text {
        letter-spacing: 1px;
    }

    /* Обложка */
    .t182__wrapper {
        padding-top: 0;
    }

    .t182__buttons {
        margin-top: 20px;
    }

    /* About Us */
    .t814__content {
        padding: 30px !important;
    }

    .t814__btn-wrapper {
        padding-bottom: 0;
    }

    /* Описание в заголовках */
    .t050__descr {
        padding-top: 30px;
    }

    /* Большая кнопка */
    .t944__btn.t-btn.t944__btn_sm {
        width: auto;
        max-width: calc(100% - 40px);
    }

    .t944__btn_sm {
        padding: 15px 10px;
        font-size: 16px;
    }

    /* Цена внутри карточки */
    .t778 .t-name_md {
        font-size: 24px;
    }

    /* Заголовок корзины */
    .t706 .t-name_xl {
        font-size: 30px;
    }

    /* Политика в корзине */
    .t706 .t-text_xs {
        font-size: 16px;
    }

    /* Политика в форме звонка */
    .t702 .t-text_xs {
        font-size: 16px;
    }

    /* Заголовок формы обратного звонка */
    .t702 .t702__title {
        margin-bottom: 15px;
    }

    /* Мобильное меню в footer */
    .t981__menu_right-align {
        justify-content: center !important;
    }
}


/* =========================================================
   ACCESSIBILITY — ОТКЛЮЧЕНИЕ АНИМАЦИЙ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .t-animate,
    .t-btn,
    .t-submit,
    .t786 .js-store-prod-all-text a {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}