/* =========================
   T898 - убираем тени
========================= */

#rec2451847221 .t898__btn_label {
    position: relative !important;
    background: #363636 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
}

#rec2451847221 .t898__btn_label:hover,
#rec2451847221 .t898__btn_label:active,
#rec2451847221 .t898__btn_label:focus {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
}


/* =========================
   Скрываем стандартные SVG
========================= */

#rec2451847221 .t898__btn_label > svg {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}


/* =========================
   Своя иконка кнопки
========================= */

#rec2451847221 .t898__btn_label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    background: url("https://static.tildacdn.com/tild6439-6639-4131-b165-326263396436/_1.svg") center center / contain no-repeat;
    pointer-events: none;
}


/* Открытое состояние */
#rec2451847221 .t898__btn_input:checked + .t898__btn_label::before {
    background-image: url("https://static.tildacdn.com/tild3763-3030-4066-b333-616632306335/_1.svg");
}


/* =========================
   Убираем тени у шариков
========================= */

#rec2451847221 .t898__icon_link,
#rec2451847221 .t898__svg__wrapper,
#rec2451847221 .t898__svg__bg,
#rec2451847221 .t898__icon {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}


/* Убираем псевдоэлементы с тенями */

#rec2451847221 .t898__svg__bg::before,
#rec2451847221 .t898__svg__bg::after,
#rec2451847221 .t898__icon_link::before,
#rec2451847221 .t898__icon_link::after {
    box-shadow: none !important;
    background: transparent !important;
    filter: none !important;
}


/* Убираем фон под шариками */

#rec2451847221 .t898__svg__bg {
    display: none !important;
    opacity: 0 !important;
}

.t898__icon {
    transition: all 0.3s ease-in-out;
    position: absolute;
    margin: auto;
    bottom: -5px !important;
    left: 0;
    right: 0;
    top: 0;
}

.t3112__close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    width: 80px;
    height: 80px;
    background-color: #111;
    background-image: url("https://static.tildacdn.com/tild3337-3162-4263-b736-373264646638/x.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    cursor: pointer;
}

.t3112__close_icon {
    display: none !important;
}

.t3112 .t-menu-popover__container {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 40px 40px 0 !important;
    box-sizing: border-box;
}

/* T668 — обводка карточек FAQ */
.t668__wrapper {
    border: 1px solid #E1E1E1 !important;
    border-radius: 16px;
    box-sizing: border-box;
    transition: border-color .2s ease;
}

.t668__accordion_opened .t668__wrapper,
.t668__wrapper:hover {
    border-color: #E1E1E1 !important;
}

/* T668 — скругленные и более толстые линии плюса */
.t668__icon svg path,
.t668__icon-hover svg path {
    stroke-width: 1.5px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

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

    /* Контейнер 340px по центру */
    #rec2457910561 .t-container {
        width: 340px !important;
        max-width: 340px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
    }

    /* Колонки */
    #rec2457910561 .t668__col {
        width: 340px !important;
        max-width: 340px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Карточки */
    #rec2457910561 .t668__wrapper {
        width: 340px !important;
        max-width: 340px !important;
        box-sizing: border-box !important;
    }

}

/* Крестик попапа */
.t-popup__close-icon {
    width: 24px !important;
    height: 24px !important;
}

.t-popup__close-icon rect {
    width: 1.5px !important;
    rx: 0.75px;
    ry: 0.75px;
}

/* 961–1920 px — отступы 40px по краям */
@media (min-width: 961px) and (max-width: 1920px) {
    .t390__wrapper {
        padding: 40px 40px !important;
    }
}

/* 360–960 px — отступы 20px по краям */
@media (min-width: 360px) and (max-width: 960px) {
    .t390__wrapper {
        padding: 20px 20px !important;
    }
}

/* Мобильная версия — ширина карточки 340px */
@media (max-width: 480px) {
    .t390__wrapper {
        width: 340px !important;
        max-width: 340px !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}