.d-none {
    display: none;
}

.single-product-benefits__image img {
    background: #5F5F5F;
}

.single-product__spec-value {
    max-width: 62%;
}

.grid-full-width {
    grid-template-columns: 100% !important;
}


._hidden {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    font-size: 0;
    line-height: 1;
}

._disabled {
    pointer-events: none;
}

._nowrap {
    white-space: nowrap;
}

._color-green {
    color: #0ab3a3;
}

._color-red {
    color: #ff3030;
}

.promocode__notify {
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 13px;
}


.activated-promo,
.default-promo {
    display: none;
}

.activated-promo.active,
.default-promo.active {
    display: block;
}

.activated-promo input {
    border-color: #0ab3a3;
}


.form-send-success {
    display: none;
    width: 100%;
    padding: 39px 37px 35px;
    border-radius: .625rem;
//background-color: #f4f4f4;
    border: 1px solid #e3e3e3;
    align-items: center;
    margin-top: 40px;
}

.form-send-success_inner {
    display: flex;
}

.form-send-success__icon {
    margin-right: 30px;
}

.form-send-success__info-title {
    font-weight: 800;
}

.form-message {

}

.form-message .alert {
    margin: -15px 0 10px 0;
    font-size: .75rem;
    line-height: 1.3333333333;
}

.form-message .alert-danger {
    color: #ff3030;
}

.cart-message {
    display: block;
    max-width: 400px;
}

.bx-soa-location-input-container .dropdown-icon {
    display: block;
}

.bx-ui-sls-clear svg {
    width: 1.5rem !important;
    height: 1.5rem !important;;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.5rem;
    flex: 0 0 1.5rem;
    fill: #686868;
}

.cart-item_checkout .cart-item__code {
    display: block !important;
}


.checkout__order .cart-item__code {
    font-size: 0.8125rem;
    line-height: 1.3846153846;
}

.checkout__order .cart-item .price {
    font-size: 1rem;
    line-height: 1.125;
    display: flex !important;
    gap: 10px;
}

.checkout__order .cart-item .price .price_current {
    color: #222222;
}

.checkout__order .cart-item .price .price_old {
    color: #acacac;
    text-decoration: line-through;
}


._form-error .form__input,
._form-error.form__input,
._form-error .bx-soa-customer-input,
._form-error .bx-soa-customer-textarea {
    border-color: #ff3030;
    color: #ff3030;
}

._form-veified .form__input,
._form-veified .bx-soa-customer-input,
._form-veified .bx-soa-customer-textarea {
    border-color: #0ab3a3;
}

[name=subscribe-news],
.subscribe__form {
    position: relative;
}
[name=subscribe-news] .form__error {
    position: absolute;
    bottom: -15px;
}

.checkbox__text + .form__error {
    position: relative;
    bottom: 0px;
    margin-top: 5px;
}

.form__error, .form_error {
    font-size: 0.75rem;
    line-height: 1.3333333333;
    color: #ff3030;
}

._search-results-active .search__modal,
._search-results-active .search__results {
    display: block !important;
}

.search__results {
    display: none;
}

.search-page__heading {
    margin-top: -30px;
    margin-bottom: 30px;
}

.search-results__button {
    margin-top: 30px;
}

.search-results__button .btn {
    cursor: pointer;
}

.offer-club__content {
    max-width: 550px;
}

.offer-club__form + .subscribe__agree,
.club-section__form + .subscribe__agree {
    margin-top: 15px;
    max-width: 350px;
}

.offer-club__form + .subscribe__agree .checkbox__text,
.club-section__form + .subscribe__agree .checkbox__text {
    color: rgba(44, 44, 52, 0.75);
}

.club-section__form + .subscribe__agree .checkbox__text:before {
    border-radius: .1875rem;
    border: 0;
    background-color: #2c2c34;
}

.club-section__form + .subscribe__agree .checkbox__text::after {
    background-color: #FFF;
}

.subscribe__form + .subscribe__agree {
    margin-top: 15px;
}

.single-product__sticky-price {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    flex-wrap: wrap;
}

/* Цветовые варианты в карточке товара */
.single-product__color-variants {
    display: grid;
    gap: .625rem;
}

.single-product__color-variants-title {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
}

.single-product__color-variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
}

.single-product__color-variant {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 5rem;
    width: 5rem;
    height: 5rem;
    padding: .375rem;
    overflow: hidden;
    border: .0625rem solid #e2e3e6;
    border-radius: 1rem;
    background-color: #f3f3f4;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.single-product__color-variant img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.single-product__color-variant.is-active {
    border-color: #2c2c34;
    box-shadow: inset 0 0 0 .0625rem #2c2c34;
    cursor: default;
}

.single-product__color-variant.is-active::after {
    content: "✓";
    position: absolute;
    top: .375rem;
    right: .375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background-color: #2c2c34;
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1;
}

.single-product__color-variant:focus-visible {
    outline: .125rem solid #2c2c34;
    outline-offset: .1875rem;
}

@media (any-hover: hover) {
    .single-product__color-variant[href]:hover {
        border-color: rgba(44, 44, 52, .6);
        transform: translateY(-.125rem);
    }
}

@media (max-width: 575.98px) {
    .single-product__color-variant {
        flex-basis: 4.5rem;
        width: 4.5rem;
        height: 4.5rem;
        border-radius: .875rem;
    }
}

/* Ссылки в FAQ — тот же канонический стиль подчёркивания, что и в тексте (.text-page a):
   text-decoration, НЕ border-bottom. Иначе в FAQ внутри .text-page (стр. гарантии)
   подчёркивание удваивалось (border-bottom + text-decoration). На отдельной стр. /faq/
   (вне .text-page) это правило и даёт единственное подчёркивание. */
.faq__spollers a {
    color: #2c2c34;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.bx-soa-pp-company-block .btn-primary {
    min-height: 2.625rem;
    border-radius: 1.125rem;
    background-color: #2c2c34;
    color: #fff;
    margin-bottom: 10px;
}

.pay_name {
    font-size: 18px;
    font-weight: 700;
}

.sale_order_full_table [type=submit] {
    background-color: #2c2c34;
    border-radius: 1.125rem;
    color: #fff;
    min-height: 3.625rem;
    align-items: center;
    border: .0625rem solid transparent;
    border-radius: .625rem;
    display: inline-flex;
    font-size: .8125rem;
    font-weight: 600;
    gap: .5rem;
    justify-content: center;
    line-height: 1.2307692308;
    min-height: 2.5rem;
    padding: .5rem 1rem;
    text-align: center;
    text-wrap: balance;
    transition: background-color .3s, border-color .3s, color .3s;
    cursor: pointer;
}

.alert-hide {
    display: none;
}

.bx-soa-section-content .alert-warning {
    margin-bottom: 20px;
}

.product-card__image {
    aspect-ratio: 328 / 328;
}

.header-catalog .product-card__image {
    aspect-ratio: 263 / 263;
}

.header-catalog__preview {
    display: flex;
    align-items: center;
}

.header-catalog__preview-image {
    width: 100%;
    height: unset;
}

.single-product-benefits__accent {
    font-weight: unset;
}

@media (min-width: 61.9988em) {
    .single-product__videos {
        padding-top: 51px;
    }
}

.text-page h2 {
    font-size: 1.75rem;
    margin-bottom: .625rem;
    margin-top: 1rem;
}

.text-page p {
    font-size: .9375rem;
    line-height: 1.6;
    margin-bottom: .625rem;
}

.text-page ul li {
    font-size: .9375rem;
    line-height: 1.6;
    margin-bottom: .625rem;
    list-style-type: circle;
    margin-left: 15px;
}


.text-page table {
    width: 100%;
    margin: 24px 0 32px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(49, 49, 60, 0.16);
    border-radius: 18px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.45;
}

.text-page table th,
.text-page table td {
    padding: 18px 20px;
    vertical-align: top;
    border-right: 1px solid rgba(49, 49, 60, 0.12);
    border-bottom: 1px solid rgba(49, 49, 60, 0.12);
}

.text-page table th:last-child,
.text-page table td:last-child {
    border-right: none;
}

.text-page table tr:last-child td {
    border-bottom: none;
}

.text-page table th {
    background: #f4f4f6;
    color: #2f2f39;
    font-weight: 600;
    text-align: left;
}

.text-page table td {
    color: #2f2f39;
    background: #fff;
}

.text-page table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.text-page table p {
    margin: 0;
}

@media (max-width: 767.98px) {
    .text-page table {
        display: block;
        overflow-x: auto;
        border-radius: 14px;
        font-size: 14px;
        -webkit-overflow-scrolling: touch;
    }

    .text-page table thead,
    .text-page table tbody,
    .text-page table tr {
        min-width: 680px;
    }

    .text-page table th,
    .text-page table td {
        padding: 14px 16px;
    }
}

/* ── Тело статьи (.text-page): лид, подзаголовки, картинки, ссылки, FAQ ─────
   Деталь статьи: news.detail/articles → DETAIL_TEXT внутри .article-detail__text.text-page.
   Внутри самой статьи inline-стилей НЕТ — всё оформление здесь, по тегам и классам. */

/* интервалы между секциями */
.text-page > h2 {
    margin-top: 2.25rem;
    line-height: 1.25;
}
.text-page > h2:first-child {
    margin-top: 0;
}
.text-page h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    margin: 1.75rem 0 .5rem;
    color: #2c2c34;
}

/* вводный абзац */
.text-page__lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #2c2c34;
}

/* ссылки в тексте статьи */
.text-page a {
    color: #2c2c34;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: opacity .2s ease;
}
.text-page a:hover {
    opacity: .6;
}

/* картинки внутри статьи */
.text-page img {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 18px;
}

/* FAQ-аккордеон внутри статьи — нативный <details>, без JS и без inline-стилей */
.article-faq {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(49, 49, 60, 0.12);
}
.article-faq__item {
    border-bottom: 1px solid rgba(49, 49, 60, 0.12);
}
.article-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: #2c2c34;
}
.article-faq__item summary::-webkit-details-marker {
    display: none;
}
.article-faq__item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    margin-top: .4rem;
    border-right: 2px solid #2c2c34;
    border-bottom: 2px solid #2c2c34;
    transform: rotate(45deg);
    transition: transform .25s ease;
}
.article-faq__item[open] summary::after {
    transform: rotate(-135deg);
}
.article-faq__item summary:hover {
    opacity: .65;
}
.article-faq__answer {
    padding: 0 0 1.1rem;
}
.article-faq__answer p {
    margin: 0;
}
.article-faq__answer p + p {
    margin-top: .5rem;
}


#cookie_note{
    display: none;
    bottom: 0;
    position: fixed;
//left: 50%;
// max-width: 90%;
//transform: translateX(-50%);
    padding: 20px 0px;
    background-color: white;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 100;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

#cookie_note h4, #cookie_note .cookie_note-title {
    font-weight: 500;
    margin-bottom: 10px;
}

#cookie_note a{
    color: #000;
    text-decoration: underline;
}

#cookie_note .block{
    display: flex;
}

#cookie_note .block {
    max-width: 798px;
    width: 100%;
}

#cookie_note p{
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    color: black;
    padding-right: 5%;
}

.cookie_note-left {
    max-width: 800px;
    width: 100%;
}

.cookie_accept{
    /*font-size: 14px;
    text-transform: uppercase;
    background-color: #272930;
    border: 1px solid #272930;
    color: #fff;
    font-family: 'pn_regular';
    padding: 16px 25px;
    cursor: pointer;*/
    white-space: nowrap;
}

.cookie_note-right {
    display: flex;
    align-items: center;
}


#cookie_note.show{
    display: flex;
}


@media (max-width: 768px){
    #cookie_note.show .block{
        display: flex;
        text-align: left;
        flex-direction: column;
    }

    .cookie_accept {
        margin-top: 25px;
    }
}

/* Соцсети в футере */
.footer__contacts {
    gap: 0.875rem;
}
.footer__socials {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0;
}
.footer__social {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer__social:hover {
    color: #fff;
    transform: translateY(-2px);
}
.footer__social-icon {
    width: 1.875rem;
    height: 1.875rem;
    display: block;
}

/* Ссылка на инструкцию (под видео) — внутри сетки видео, шириной с видео-карточку */
.single-product__instruction {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    grid-column: 1;
    margin-top: 0;
    padding: 1.25rem 1rem;
    background: #f3f3f4;
    border-radius: 1.5rem;
    transition: background-color 0.3s ease;
}
.single-product__instruction_full {
    grid-column: 1 / -1;
}
.single-product__instruction:hover {
    background: #ececee;
}
.single-product__instruction-ico {
    width: 1.625rem;
    height: 1.625rem;
    color: #2c2c34;
    flex: 0 0 auto;
}
.single-product__instruction-ico svg {
    width: 100%;
    height: 100%;
    display: block;
}
.single-product__instruction-body {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}
.single-product__instruction-title {
    font-weight: 600;
    color: #2c2c34;
    white-space: nowrap;
}
.single-product__instruction-sub {
    font-size: 0.8125rem;
    color: rgba(44, 44, 52, 0.55);
}
.single-product__instruction-arrow {
    width: 1.125rem;
    height: 1.125rem;
    color: rgba(44, 44, 52, 0.5);
    margin-left: auto;
    flex: 0 0 auto;
}
.single-product__instruction-arrow svg {
    width: 100%;
    height: 100%;
}

/* Статьи (раздел «Покупателям» → «Статьи») — сетка мягких карточек */
.articles__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 574.98px) {
    .articles__grid {
        grid-template-columns: 1fr;
    }
}
/* без подложки/тени/рамки — только скруглённая картинка и текст под ней */
.article-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-decoration: none;
}
.article-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 18px;
    background: #f4f4f6;
}
.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.article-card:hover .article-card__image img {
    transform: scale(1.03);
}
.article-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.article-card__date {
    font-size: 0.8125rem;
    color: rgba(44, 44, 52, 0.55);
}
.article-card__title {
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.3;
    color: #2c2c34;
}
.article-card__text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(44, 44, 52, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.articles__empty {
    color: rgba(44, 44, 52, 0.6);
}
/* На детальной статьи заголовок (._heading даёт margin-bottom:2rem) слишком далеко
   от даты — поджимаем зазор только на странице статьи (через :has, иначе фолбэк = как было). */
.inner__content:has(.article-detail) > .inner__title._heading {
    margin-bottom: 0.85rem;
}
.article-detail__date {
    font-size: 0.875rem;
    color: rgba(44, 44, 52, 0.55);
    margin-bottom: 1rem;
}
.article-detail__image {
    margin-bottom: 1.5rem;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f4f4f6;
}
.article-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-detail__back {
    display: inline-block;
    margin-top: 1.5rem;
}

/* ── Анти-флэш шапки на мобильных ──────────────────────────────────────────
   FLS dynamicAdapt переносит .header__catalog (≤991.98) и .header__contacts (≤574.98)
   в бургер-меню (.menu__body) ПОСЛЕ инициализации JS. До переноса они мелькают в шапке
   и затем «исчезают» → дёрганье + CLS. Прячем их, ПОКА они в исходном контейнере:
   после переноса меняется родитель (.menu__body) → эти селекторы перестают матчиться,
   и элемент нормально показывается внутри меню. JS-fail-кейс не ухудшается (на мобильных
   доступ к ним и так только через бургер). */
@media (max-width: 991.98px) {
    .header__container-bottom > .header__catalog {
        display: none;
    }
}
@media (max-width: 574.98px) {
    .header__container-top > .header__contacts {
        display: none;
    }
}

/* ── Анти-CLS: дефолты высоты шапки ────────────────────────────────────────
   .hero (только на главной) тянется под прозрачную шапку через
   margin-top: calc(var(--header-height)*-1), а .hero__container имеет
   padding-top: var(--header-height) — БЕЗ фолбэка. До того как JS (app.js)
   измерит шапку и впишет --header-height в :root, переменная не определена →
   layout считается от 0 → когда JS ставит 141px, hero прыгает.
   Задаём дефолты = значения, которые JS считает на десктопе → прыжок уходит.
   JS-инлайн на <html> потом перезапишет тем же → без конфликта. */
:root {
    --header-height: 141px;
    --header-bottom-height: 81px;
}
/* На мобильных/планшетах (≤991.98) нижний ряд шапки схлопывается (поиск/каталог
   переезжают) → высота 82px, bottom 0. Совпадает с тем, что JS считает на этих ширинах. */
@media (max-width: 991.98px) {
    :root {
        --header-height: 82px;
        --header-bottom-height: 0px;
    }
}

/* ── Компактная шапка ──────────────────────────────────────────────────────
   На десктопе все элементы находятся в одной строке. Поиск по умолчанию
   свёрнут в кнопку перед корзиной и при открытии занимает ширину шапки,
   сохраняя существующие оверлей и блок автоподсказок. */
:root {
    --header-height: 80px;
    --header-bottom-height: 0px;
}

.header__bottom {
    display: none;
}

.header__top .header__container-top {
    position: relative;
}

/* На главной сохраняем исходный принцип: прозрачная шапка поверх баннера и
   мягкий градиент вместо сплошной серой плашки, в том числе после скролла. */
.header_transparent::before {
    content: "";
    pointer-events: none;
    position: fixed;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: calc(var(--header-height) + 2.5rem);
    background: linear-gradient(180deg, rgba(59, 59, 69, 0.7) 0%, rgba(59, 59, 69, 0) 100%);
}

.header__search {
    flex: 0 0 2.5rem;
    width: 2.5rem;
}

.header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    order: 4;
}

.header__actions > .header__search,
.header__actions > .header__cart {
    order: 0;
}

.search__mobile-toggle {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    border: 0.0625rem solid #c5c5c8;
    border-radius: 0.625rem;
    background-color: #c5c5c8;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.search__mobile-toggle .icon,
.header_transparent .search__mobile-toggle .icon {
    fill: #2c2c34;
}

@media (min-width: 991.98px) {
    .header__top .header__container-top {
        min-height: 5rem;
        padding-block: 1.25rem;
        column-gap: clamp(0.75rem, 0.089rem + 1.033vw, 1.25rem);
    }

    .header__top .header__container-top > .logo,
    .header__top .header__container-top > .header__catalog,
    .header__top .header__container-top > .header__contacts,
    .header__top .header__container-top > .header__actions {
        flex-shrink: 0;
    }

    /* Фиксируем порядок независимо от возврата элементов DynamicAdapt после
       мобильного режима: телефон всегда остаётся перед поиском и корзиной. */
    .header__top .header__container-top > .logo {
        order: 1;
    }

    .header__top .header__container-top > .header__catalog {
        order: 2;
    }

    .header__top .header__container-top > .header__navigation {
        order: 3;
    }

    .header__top .header__container-top > .header__contacts {
        order: 4;
    }

    .header__top .header__container-top > .header__actions {
        order: 5;
    }

    .header__top .header__container-top > .header__catalog {
        flex-basis: auto;
        margin-left: 0.5rem;
    }

    .header-catalog__toggle {
        width: auto;
        min-width: 9rem;
        white-space: nowrap;
    }

    .header__navigation {
        min-width: 0;
    }

    .header__search .search {
        position: relative;
    }

    .header__search .search__mobile-toggle {
        position: absolute;
        top: 0;
        right: 0;
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s;
    }

    .header__search .search__form {
        display: flex;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(0.5rem) scaleX(0.08);
        transform-origin: right center;
        transition: opacity 0.2s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.32s, background-color 0.3s ease;
        will-change: opacity, transform;
    }

    .header__search:has(.search._search-active),
    .header__search:has(.search._search-modal-active) {
        position: absolute;
        z-index: 61;
        top: 1.25rem;
        right: 0.875rem;
        left: 0.875rem;
        width: auto;
    }

    .header__search:has(.search._search-active) .search__mobile-toggle,
    .header__search:has(.search._search-modal-active) .search__mobile-toggle {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.75);
        transition: opacity 0.15s ease, transform 0.2s ease, visibility 0s 0.2s;
    }

    .header__search:has(.search._search-active) .search__form,
    .header__search:has(.search._search-modal-active) .search__form {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) scaleX(1);
        transition: opacity 0.22s ease 0.04s, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s, background-color 0.3s ease;
    }

    .header__top[data-fls-header-scroll].--header-scroll {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 60;
        width: 100%;
        background-color: #3b3b45;
    }

    .header_transparent .header__top[data-fls-header-scroll].--header-scroll {
        background-color: transparent;
    }

    .header.--header-bottom-scroll {
        padding-bottom: var(--header-height, 5rem);
    }

    .header-catalog__wrapper,
    .header.--header-bottom-scroll .header-catalog__wrapper,
    .search__modal,
    .header.--header-bottom-scroll .search__modal {
        top: var(--header-height, 5rem);
        max-height: calc(100svh - var(--header-height, 5rem));
    }
}

@media (min-width: 991.98px) and (max-width: 1199.98px) {
    .header__top .header__container-top {
        column-gap: 0.625rem;
    }

    .menu__list {
        column-gap: 0.125rem;
    }

    .header__worktime {
        display: none;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 82px;
    }

    .search__mobile-toggle {
        border-color: transparent;
        background-color: transparent;
    }

    .search__mobile-toggle .icon,
    .header_transparent .search__mobile-toggle .icon {
        fill: #fff;
    }

    .header__search {
        width: auto;
    }
}

@media (any-hover: hover) {
    .search__mobile-toggle:hover {
        border-color: #fff;
        background-color: #fff;
    }

    .search__mobile-toggle:hover .icon {
        fill: #2c2c34;
    }

    .header__cart:hover {
        color: #2c2c34;
    }
}

@media (any-hover: hover) and (max-width: 991.98px) {
    .search__mobile-toggle:hover,
    .header__cart:hover {
        border-color: transparent;
        background-color: transparent;
        color: #fff;
    }

    .search__mobile-toggle:hover .icon {
        fill: #fff;
    }
}


/* ── Расширенная гарантия (/for-customers/extended-warranty/) ──────────────── */
.warranty {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 880px;
    margin-bottom: 3.5rem;   /* отступ до подвала — как у секций сайта */
}
/* Вертикальный ритм заголовков: сверху секцию отделяет единый gap контейнера,
   снизу заголовка — соразмерный отступ; хвостовые margin в секциях убираем,
   чтобы gap не удваивался (иначе над заголовком «дыра», а под ним тесно). */
.warranty .text-page > h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}
.warranty .text-page > *:last-child {
    margin-bottom: 0;
}
/* Заголовки секций — обычные <h2> внутри .text-page (канон. размер текстовых страниц).
   Заголовок карточки формы вне .text-page — задаём тот же размер, что и .text-page h2. */
.warranty-form-card__title {
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 0 0 .5rem;
    color: #2c2c34;
}

/* шаги */
.warranty-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.warranty-steps__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.warranty-steps__num {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #2c2c34;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.warranty-steps__text {
    font-size: .9375rem;
    line-height: 1.6;
    padding-top: .4rem;
    color: #2c2c34;
}

/* карточка формы */
.warranty-form-card {
    background: #f6f6f8;
    border-radius: 22px;
    padding: 2rem 2rem 2.25rem;
}
.warranty-form-card__head {
    margin-bottom: 1.25rem;
}
.warranty-form-card__sub {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.55;
    color: rgba(44, 44, 52, .7);
}

/* сетка полей */
.warranty-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.45rem 1.25rem;   /* строчный зазор вмещает одну строку сообщения об ошибке */
}
.warranty-form__field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 0;
    position: relative;     /* контекст для абсолютного .form__error (без сдвига разметки) */
}
.warranty-form__field--wide {
    grid-column: 1 / -1;
}
.warranty-form__label {
    font-size: .8125rem;
    font-weight: 500;
    color: rgba(44, 44, 52, .7);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.warranty-form__hint {
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: rgba(44, 44, 52, .12);
    color: #2c2c34;
    font-size: .6875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

/* инпуты (.form__input минимален → оформляем здесь) */
.warranty-form__input,
.warranty-form__select {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(49, 49, 60, .14);
    border-radius: 12px;
    padding: .75rem .9rem;
    font-size: .9375rem;
    line-height: 1.3;
    color: #2c2c34;
    min-height: 2.875rem;
    transition: border-color .2s ease;
}
.warranty-form__input::placeholder {
    color: rgba(44, 44, 52, .4);
}
.warranty-form__input:focus,
.warranty-form__select:focus {
    outline: none;
    border-color: rgba(44, 44, 52, .5);
}
.warranty-form__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232c2c34' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}

/* ── Стилизованный селект (.wselect) — надстройка над нативным <select> ──────
   Нативный select скрыт, но остаётся в DOM: по нему идёт сабмит и валидация
   (formValidate красит .wselect__button, т.к. на кнопке есть класс .form__input). */
.wselect {
    position: relative;
}
.wselect__native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
    overflow: hidden;
}
.wselect__button {
    display: block;
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.wselect__button--placeholder .wselect__value {
    color: rgba(44, 44, 52, .4);
}
.wselect__value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wselect.is-open .wselect__button {
    border-color: rgba(44, 44, 52, .5);
}
.wselect__dropdown {
    display: none;
    position: absolute;
    z-index: 30;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    max-height: 17rem;
    overflow-y: auto;
    padding: .35rem;
    background: #fff;
    border: 1px solid rgba(49, 49, 60, .14);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(20, 25, 40, .12);
}
.wselect.is-open .wselect__dropdown {
    display: block;
}
.wselect__grouplabel {
    padding: .55rem .75rem .3rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: rgba(44, 44, 52, .45);
}
.wselect__option {
    padding: .55rem .75rem;
    border-radius: 8px;
    font-size: .9375rem;
    line-height: 1.35;
    color: #2c2c34;
    cursor: pointer;
}
.wselect__option:hover,
.wselect__option.is-active {
    background: #f3f3f4;
}
.wselect__option.is-selected,
.wselect__option.is-selected:hover,
.wselect__option.is-selected.is-active {
    background: #2c2c34;
    color: #fff;
}

/* загрузка чека */
.warranty-form__upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px dashed rgba(49, 49, 60, .28);
    border-radius: 12px;
    padding: .75rem .9rem;
    min-height: 2.875rem;
    cursor: pointer;
    color: rgba(44, 44, 52, .7);
    transition: border-color .2s ease, color .2s ease;
}
.warranty-form__upload:hover {
    border-color: rgba(44, 44, 52, .5);
    color: #2c2c34;
}

/* состояния валидации, как в остальных формах сайта: зелёный — верно, красный — ошибка.
   Текстовые поля/select красит общий ._form-error/._form-veified .form__input.
   Здесь — нетиповые контролы: загрузка чека и чекбокс согласия. */
.warranty-form__upload._form-error {
    border-color: #ff3030;
    color: #ff3030;
}
.warranty-form__upload._form-veified {
    border-color: #0ab3a3;
}
._form-error .checkbox__text::before {
    background-color: #ff3030;
}
/* Сообщение об ошибке выводится ПОД полем абсолютно — не меняет высоту строки/сетки.
   (глобальный .form__error уже задаёт размер/цвет; здесь только позиционирование) */
.warranty-form__field .form__error {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 2px 0 0;
}
/* Ошибка согласия появляется под чекбоксом обычным потоком — там сдвиг допустим. */
.warranty-form__consent .form__error {
    margin-top: .4rem;
}
.warranty-form__upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.warranty-form__upload-icon {
    display: inline-flex;
    color: #2c2c34;
}
.warranty-form__upload-text {
    font-size: .9375rem;
}
.warranty-form__note {
    font-size: .75rem;
    color: rgba(44, 44, 52, .5);
}

/* секция «Данные о покупке» */
.warranty-form__section-title {
    font-weight: 600;
    font-size: 1.0625rem;
    color: #2c2c34;
    margin: 1.5rem 0 1rem;
}

/* согласие — штатный чекбокс сайта (.checkbox), тут только отступ сверху */
.warranty-form__consent {
    margin-top: 1.25rem;
}

/* submit + экран успеха */
.warranty-form__submit {
    margin-top: 1.5rem;
}
.warranty-form__submit .btn {
    min-width: 12rem;
}
.warranty-form__error {
    margin-top: 1.25rem;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: #fdecec;
    color: #c23434;
    font-size: .875rem;
    line-height: 1.45;
}
.warranty-form__success {
    text-align: left;
    padding: .5rem 0 1rem;
}
.warranty-form__success-icon {
    display: flex;            /* блочный слева — как всё остальное на странице */
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    background: #dbe9e9;   /* бирюзовый — как в сертификате/письме */
    color: #1c2a37;
}
.warranty-form__success-title {
    font-weight: 600;
    font-size: 1.375rem;
    line-height: 1.3;
    color: #1c2a37;
    margin-bottom: .5rem;
}
.warranty-form__success-text {
    font-size: .9375rem;
    line-height: 1.6;
    color: rgba(44, 44, 52, .7);
    max-width: 42rem;
    margin: 0;
}

/* FAQ на странице гарантии — штатный аккордеон сайта (.faq__spollers / .spollers,
   стили в style.css). Своих правил не добавляем — вид как на /for-customers/faq/.
   Единственное — список моделей внутри ответа: две колонки без маркеров. */
.text-page ul.warranty-models {
    columns: 2;
    column-gap: 1.75rem;
    margin: 0;
    padding-left: 0;
}
.text-page ul.warranty-models li {
    list-style: none;
    margin-left: 0;
    margin-bottom: .4rem;
    break-inside: avoid;
}

@media (max-width: 575.98px) {
    .warranty {
        gap: 1.5rem;
        margin-bottom: 2.25rem;
    }
    .text-page ul.warranty-models {
        columns: 1;
    }
    .warranty-form-card {
        padding: 1.5rem 1.15rem 1.75rem;
    }
    .warranty-form__grid {
        grid-template-columns: 1fr;
    }
    .warranty-form__submit .btn {
        width: 100%;   /* на телефоне кнопка на всю ширину */
    }
}


/* ── Предзаказ (товар с заполненным свойством DATE_RECEIPT) ──────────────── */
.badge_preorder {
    background-color: #E8804A;
    color: #fff;
}
.single-product__availability_preorder {
    color: #C25A22;
    font-weight: 600;
}
.single-product__button_preorder {
    /* оставляем базовый вид кнопки; отдельный класс — на случай будущей стилизации */
}
.cart-item__preorder {
    display: inline-block;
    align-self: flex-start; /* в flex-колонке иначе тянется на всю ширину */
    width: fit-content;
    max-width: 100%;
    margin-top: .35rem;
    padding: .12rem .55rem;
    border-radius: 6px;
    background: rgba(232, 128, 74, .14);
    color: #C25A22;
    font-size: .8125rem;
    line-height: 1.5;
    white-space: nowrap;
}
/* CTA под кнопкой предзаказа на детальной */
.single-product__preorder-cta {
    display: flex;
    gap: .625rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: .875rem 1.125rem;
    border-radius: 14px;
    background: rgba(232, 128, 74, .1);
    border: 1px solid rgba(232, 128, 74, .22);
}
.single-product__preorder-cta__icon {
    flex: 0 0 auto;
    margin-top: .1rem;
}
.single-product__preorder-cta__body {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.single-product__preorder-cta__title {
    font-weight: 700;
    color: #C25A22;
}
.single-product__preorder-cta__text {
    color: rgba(44, 44, 52, .72);
    font-size: .9375rem;
    line-height: 1.45;
}
