.js-field-error {
    color: red;
}

.message-success {
    color: #2e7d32; /* зелёный */
    display: block;
}

.form-message {
    display: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-message.is-error {
    display: block !important;
    color: #b71c1c;
    background: #fdecea;
}

.form-message.is-success {
    display: block !important;
    color: #2e7d32;
    background: #e8f5e9;
}

.form-message.is-info {
    display: block !important;
    color: #1e5a8a;
    background: #e3f2fd;
}

.menu-mobile {
    display: none
}

@media (max-width: 991px) {
    body {
        padding-bottom: 65px;
    }
    .menu-mobile {
        display: flex;
        justify-content: space-between;
        padding: 0 .9375rem;
        align-items: center;
        background: #f5f3f1;
        height: 4.0625rem;
        width: 100%;
        left: 0;
        bottom: -4.0625rem;
        box-shadow: 0 .25rem .9375rem rgba(0, 0, 0, .25);
        z-index: 10;
        position: fixed;
        transition: all .25s linear
    }

    .menu-mobile.show {
        bottom: 0
    }
}

.menu-mobile .icon {
    width: 1.5rem;
    height: 1.5rem
}

.menu-mobile .icon svg {
    fill: transparent;
    stroke: var(--black)
}

.menu-mobile .menu-mobile__link-search svg {
    fill: var(--black);
    stroke: transparent
}

.menu-mobile__link {
    display: flex;
    align-items: center
}

.selection-form {
    padding-right: 1rem;
}

@media (max-width: 998px) {
    .selection-form {
        padding-right: 0;
    }
}

.selection-pic img {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.section-selection .selection-form-item.fix .radio-buttons {
    min-height: 115px;
}

.sale-main-wrap .container {
    padding-top: 0px !important;
}

.sale-main-wrap .border-top:before {
    border: none !important;
}

.favorite-wrap .mt-90 {
    margin-top: 0px !important;
}

.icon-service svg {
    width: 2.8125rem !important;
    height: 2.8125rem !important;
    fill: transparent !important;
    stroke: var(--white) !important;
}

@media (max-width: 767px) {
    .icon-service svg {
        width: 1.5625rem !important;
        height: 1.5625rem !important;
    }
}

/* Контейнер формы */
.bx-system-auth-form {
    max-width: 380px;
    margin: 60px auto;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Таблица — убираем "табличность" */
.bx-system-auth-form table {
    width: 100%;
    border-collapse: collapse;
}

.bx-system-auth-form td {
    padding: 0;
}

/* Поля */
.bx-system-auth-form input[type="text"],
.bx-system-auth-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-top: 6px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.bx-system-auth-form input[type="text"]:focus,
.bx-system-auth-form input[type="password"]:focus {
    border-color: var(--orange);
    outline: none;
}

/* Чекбокс */
.bx-system-auth-form input[type="checkbox"] {
    margin-right: 6px;
}

.bx-system-auth-form label {
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

/* Кнопка */
.bx-system-auth-form input[type="submit"] {
    width: 100%;
    padding: 11px;
    margin-top: 12px;
    font-size: 15px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.bx-system-auth-form input[type="submit"]:hover {
    background: var(--orange);
}

/* Ссылки */
.bx-system-auth-form a {
    display: none;
    color: var(--orange);
    font-size: 13px;
    text-decoration: none;
}

.bx-system-auth-form a:hover {
    text-decoration: underline;
}

/* Отступы между строками */
.bx-system-auth-form tr:not(:last-child) td {
    padding-bottom: 6px;
}

/* Центрирование ссылок */
.bx-system-auth-form tr:last-child td,
.bx-system-auth-form tr:nth-last-child(2) td {
    text-align: center;
    padding-top: 10px;
}

/* Адаптив */
@media (max-width: 480px) {
    .bx-system-auth-form {
        margin: 30px 12px;
        padding: 20px 16px;
    }
}

@media (max-width: 998px) {
    .video-block img {
        max-height: 200px;
        width: 100%;
        object-fit: cover;
    }
}

body {
    overflow: auto !important;
}

body.mobile-menu-active, body.modal-open, body.filter-active {
    overflow: hidden !important;
}

body .simplebar-content-wrapper {
    overflow: auto !important;
}

body.mobile-menu-active .simplebar-content-wrapper, body.modal-open .simplebar-content-wrapper, body.filter-active .simplebar-content-wrapper {
    overflow: hidden !important;
}

@media (max-width: 998px) {
    .main-header [href="https://max.ru/u/f9LHodD0cOKwS1BseSFFdjhE3vcq4YoqoKwKx8Ap_2WTnFJPVPcvk_8wdOM"] img {
        transform: scale(1.7) translateY(-1px) !important;
    }
}

#door-configurator > div > div > div.selection-filter > form > div:nth-child(4) {
    display: none !important;
}

[href="/catalog/sovremennyy-stil/?filter=material-is-1561615"] picture, [href="/catalog/sovremennyy-stil/?filter=material-is-belyy"] picture, [href="/catalog/sovremennyy-stil/?filter=material-is-ral-7047"] picture, [href="/catalog/sovremennyy-stil/?filter=material-is-ral-7011"] picture, [href="/catalog/sovremennyy-stil/?filter=material-is-antratsit"] picture {
    transform: scale(.85);
}

.about-work_color .about-work__item {
    width: 25%;
}

@media (max-width: 998px) {
    .about-work_color .about-work__item {
        width: 100%;
    }
}

.section-product.without {
    background-image: none !important;
    color: #000000 !important;
    height: auto !important;
}

.section-product.without * {
    color: #000000 !important;
}

.section-product.without .breadcrumb-items * {
    color: #797979 !important;
}

.section-product.without .container {
    padding-bottom: 0px !important;
    gap: 0 !important;
}

.section-product.without:before {
    display: none !important;
}
.slider-product_show_all {
    margin-top: 40px;
}
@media (max-width: 767px) {
    #material .current-main {
        flex: 0;
    }
    #material .dop_style_flex {
        flex: 1;
    }
}