/**
 * Кастомные стили сайта
 */

/* Форма обратной связи (модальное окно "Заказать звонок") */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-form__label {
    font-size: 14px;
    font-weight: 500;
    color: #040607;
}

.feedback-form:not(.feedback-form--modal) .feedback-form__input {
    width: 100%;
    height: 45px;
    padding: 10px 20px;
    border-radius: 60px;
    background-color: #f4f5f6;
    border: 1px solid #e4e4e4;
    font-size: 14px;
    color: #040607;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feedback-form:not(.feedback-form--modal) .feedback-form__input::placeholder {
    color: #606060;
}

.feedback-form:not(.feedback-form--modal) .feedback-form__input:focus {
    outline: none;
    border-color: #019737;
    box-shadow: 0 0 0 2px rgba(1, 151, 55, 0.15);
}

.feedback-form:not(.feedback-form--modal) .feedback-form__submit {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

/* Форма «Заказать звонок» в модальном окне */
#modal-call-order #feedback-form-modal {
    gap: 24px;
    margin-top: 4px;
}

#modal-call-order #feedback-form-modal .feedback-form__field {
    gap: 10px;
}

#modal-call-order #feedback-form-modal .feedback-form__label {
    display: block;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    color: #000;
}

#modal-call-order #feedback-form-modal .feedback-form__input,
#modal-call-order #feedback-form-modal .feedback-form__textarea {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto;
    min-height: 36px;
    margin: 0;
    padding: 0 0 8px !important;
    border: none !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
}

#modal-call-order #feedback-form-modal .feedback-form__textarea {
    resize: none;
    overflow: hidden;
    font-family: inherit;
}

#modal-call-order #feedback-form-modal .feedback-form__input::placeholder,
#modal-call-order #feedback-form-modal .feedback-form__textarea::placeholder {
    color: transparent;
}

#modal-call-order #feedback-form-modal .feedback-form__input:focus,
#modal-call-order #feedback-form-modal .feedback-form__textarea:focus {
    outline: none !important;
    border: none !important;
    border-bottom: 1px solid #000 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#modal-call-order #feedback-form-modal .feedback-form__submit.button {
    margin-top: 8px;
    align-self: flex-start;
    width: auto;
    min-width: 220px;
    max-width: none;
    height: 56px;
    padding: 0 48px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    border-radius: 60px;
}

#modal-call-order #feedback-form-modal .feedback-form__checkbox-label--modal {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center !important;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    color: #000;
}

#modal-call-order #feedback-form-modal .feedback-form__checkbox {
    flex: 0 0 16px;
    display: block;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    max-width: 16px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #019737 !important;
    border-radius: 2px;
    background: transparent !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#modal-call-order #feedback-form-modal .feedback-form__checkbox:checked {
    background-color: #019737 !important;
    border-color: #019737 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.5L4.5 9L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 10px 8px !important;
}

#modal-call-order #feedback-form-modal .feedback-form__checkbox-text {
    display: inline !important;
    flex: 1 1 auto;
    margin: 0;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    color: #000;
}

#modal-call-order #feedback-form-modal .feedback-form__privacy-link {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

#modal-call-order #feedback-form-modal .feedback-form__privacy-link:hover {
    text-decoration: underline;
}

#modal-call-order #feedback-form-modal .form-message--success {
    background-color: rgba(1, 151, 55, 0.12);
    border: 1px solid rgba(1, 151, 55, 0.35);
    color: #0c4e29;
}

#modal-call-order #feedback-form-modal .form-message--error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #842029;
}

/* Форма обратной связи в футере (тёмный фон) */
.feedback-form--footer .feedback-form__input {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    min-height: 45px;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

.feedback-form--footer .feedback-form__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.feedback-form--footer .feedback-form__input:focus {
    outline: none;
    border-bottom-color: #019737;
    box-shadow: none;
}

.feedback-form--footer {
    margin-top: 20px;
    max-width: 320px;
}

/* Заголовок формы в футере */
.footer-right-group__title {
    color: #fff;
    margin-bottom: 0;
}

/* Поле "Сообщение" (textarea) в форме футера */
.feedback-form--footer .feedback-form__textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    resize: vertical;
    transition: border-color 0.3s;
    font-family: inherit;
}

.feedback-form--footer .feedback-form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.feedback-form--footer .feedback-form__textarea:focus {
    outline: none;
    border-bottom-color: #019737;
}

/* Прикрепить файл в форме футера */
.feedback-form__field--file {
    margin-top: 4px;
}

.feedback-form__file-label {
    cursor: pointer;
}

.feedback-form__file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.feedback-form--footer .feedback-form__file-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: opacity 0.3s;
}

.feedback-form--footer .feedback-form__file-text:hover {
    opacity: 0.85;
}

.feedback-form--footer .feedback-form__file-icon {
    flex-shrink: 0;
}

/* Чекбокс согласия с политикой конфиденциальности под кнопкой */
.feedback-form--footer .feedback-form__checkbox-label {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 10px;
    align-items: start;
    width: 100%;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    text-transform: none;
    color: #fff;
}

.feedback-form--footer .feedback-form__checkbox {
    display: block;
    width: 16px !important;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    margin: 2px 0 0;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 2px;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.feedback-form--footer .feedback-form__checkbox:checked {
    background-color: #019737;
    border-color: #019737;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.5L4.5 9L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

.feedback-form--footer .feedback-form__checkbox-text {
    display: block;
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
}

.feedback-form__privacy-link {
    /* color: #fff; */
    font-weight: 700;
    text-decoration: none;
}

.feedback-form__privacy-link:hover {
    text-decoration: underline;
}

/* Галерея на детальной странице статьи (MORE_PHOTO) */
#article-gallery .slider-images__container {
    overflow: hidden;
}

#article-gallery .slider-images__block {
    overflow: hidden;
}

#article-gallery .slider-images__block .picture__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

a.card-dock {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Mega-menu: стрелка только у разделов с подразделами */
.mega-menu__item:not(:has(.mega-menu-group)) .mega-menu__link::after {
    display: none;
}

/* Mega-menu: поверх sticky-меню и доступно для кликов */
body.mega-menu-active .mega-menu {
    z-index: 1000;
    pointer-events: auto;
}

body.mega-menu-active .desktop-menu {
    pointer-events: none;
}

/* Mega-menu: разделение ссылки и кнопки сворачивания */
.mega-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.mega-menu__item--has-group .mega-menu__link {
    flex: 1;
    padding-right: 0;
}

.mega-menu__item--has-group .mega-menu__link::after {
    display: none;
}

.mega-menu__toggle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background-color: transparent;
    background-image: url(../img/icons/icon-mega-menu.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
}

.mega-menu__item--has-group .mega-menu-group {
    display: none;
}

.mega-menu__item--has-group.isActive .mega-menu-group {
    display: block;
}

.mega-menu__item--has-group.isActive .mega-menu__toggle {
    transform: rotate(-180deg);
}

/* Mobile menu: ссылка на раздел + отдельная кнопка сворачивания */
.menu__submenu-btn {
    display: flex;
    align-items: center;
    position: relative;
}

.menu__submenu-link {
    flex: 1;
    padding-right: 40px;
    text-decoration: none;
    font-size: 18px;
    line-height: normal;
    color: #040607;
    transition: color 0.2s ease;
}

.menu__submenu-link:hover {
    color: #019737;
}

.menu__submenu-btn .menu__submenu-icon {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.menu__submenu-btn .menu__submenu-icon.is-active {
    transform: translateY(-50%) rotate(-180deg);
}

.menu__submenu-btn .menu__submenu-icon svg {
    width: 14px;
    height: 14px;
    transform: rotate(90deg);
    transition: transform 0.3s ease-in-out;
    color: #0c4e29;
}

/* Каталог: активный пункт фильтра в боковом меню */
.aside-menu__link.js-catalog-filter.is-active,
.aside-menu__sub-link.is-active {
    font-weight: 600;
    color: #019737;
}

.category-products__empty {
    margin: 0 0 20px;
    font-size: 16px;
    color: #606060;
}

.category-products__item.is-filter-hidden {
    display: none !important;
}

/* Форма "Есть вопрос?" на странице товара (form-section) */
.form-section .section__header .title {
    color: #fff;
}

.form-section .section__body {
    display: flex;
    /* gap: 40px; */
    align-items: flex-start;
}

.form-section__fish-img {
    flex-shrink: 0;
}

.form-section__form {
    flex: 1;
    min-width: 0;
}

.question-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
}

.question-form__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.question-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-form__field--wide {
    width: 100%;
}

.question-form__label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.question-form__input,
.question-form__textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.7);
    border-radius: 0;
    resize: vertical;
    transition: border-color 0.3s;
}

.question-form__input::placeholder,
.question-form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.question-form__input:focus,
.question-form__textarea:focus {
    outline: none;
    border-bottom-color: #fff;
}

/* .question-form__textarea {
    min-height: 80px;
} */

.question-form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.question-form__file-label {
    cursor: pointer;
}

.question-form__file-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #019737;
    transition: opacity 0.3s;
}

.question-form__file-text:hover {
    opacity: 0.85;
}

.question-form__file-icon {
    flex-shrink: 0;
}

.question-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.question-form__checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #019737;
}

.question-form__checkbox-text {
    font-size: 14px;
    color: #fff;
}

.question-form__link {
    color: #fff;
    text-decoration: underline;
}

.question-form__link:hover {
    text-decoration: none;
}

.question-form__submit {
    margin-left: auto;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background-color: #019737;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.question-form__submit:hover {
    background-color: #017a2d;
}

@media (max-width: 768px) {
    .form-section .section__body {
        flex-direction: column;
    }

    .question-form__row {
        grid-template-columns: 1fr;
    }

    .question-form__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .question-form__submit {
        margin-left: 0;
    }
}

/* Поиск в шапке: выпадающий список под #header-search */
.header-search-form__input.-relative {
    position: relative;
}

.header-search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow: hidden;
}

.header-search-dropdown.-hidden {
    display: none;
}

.header-search-dropdown:not(.-hidden) {
    display: block;
}

.header-search-dropdown__list {
    max-height: 500px;
    overflow-y: auto;
}

.header-search-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #040607;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f4f5f6;
}

.header-search-dropdown__item:last-child {
    border-bottom: none;
}

.header-search-dropdown__item:hover {
    background-color: #f4f5f6;
}

.header-search-dropdown__item.-empty {
    pointer-events: none;
    color: #606060;
}

.header-search-dropdown__image-placeholder {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-dropdown__image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
    background: #f4f5f6;
}

.header-search-dropdown__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-search-dropdown__label {
    font-size: 12px;
    color: #606060;
    line-height: 1.2;
}

.header-search-dropdown__name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #040607;
}

.section.-mod-bg-color::before {width: 100%;}

a.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Product hero — детальная карточка товара */
.bg-elem-left .product-hero {
    position: relative;
    z-index: 1;
}

.bg-elem-left .product-hero .breadcrumbs {
    position: relative;
    z-index: 1;
}

.product-hero {
    padding: 0 0 40px;
}

.product-hero .breadcrumbs {
    margin-bottom: 36px;
}

.product-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%) minmax(200px, 22%);
    gap: 32px 48px;
    align-items: start;
}

.product-hero__info {
    position: relative;
    z-index: 1;
}

.product-hero__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #040607;
    margin-bottom: 4px;
}

.product-hero__art {
    margin: 0 0 20px;
    min-height: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #019737;
}

.product-hero__art-label,
.product-hero__art-value {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}

.product-hero__art-value {
    white-space: nowrap;
}

.product-hero__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: #040607;
    position: relative;
    z-index: 1;
}

.product-hero__subtitle {
    margin: 0 0 28px;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.35;
    color: #040607;
}

.product-hero__price {
    margin-top: 0;
}

.product-hero__price .product-hero__label {
    color: #040607;
    margin-bottom: 6px;
}

.product-hero__price-value {
    display: block;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    color: #019737;
}

.product-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.product-hero__picture {
    display: block;
    width: 100%;
}

.product-hero__image {
    display: block;
    width: 100%;
    max-height: 420px;
    margin: 0 auto;
    object-fit: contain;
}

.product-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: block;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.product-hero__video:hover {
    opacity: 0.85;
}

.product-hero__video-icon {
    display: block;
    width: clamp(80px, 10vw, 120px);
    height: auto;
}

.product-hero__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-hero__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-hero__feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.product-hero__feature-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-hero__feature-body {
    flex: 1;
    min-width: 0;
}

.product-hero__feature-caption {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #040607;
    margin-bottom: 4px;
}

.product-hero__feature-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #040607;
}

.product-hero__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 32px;
    align-items: end;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e4e4e4;
}

.product-hero__disclaimer {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #606060;
}

.product-hero__cta {
    flex-shrink: 0;
    white-space: nowrap;
}

.product-video-lightbox video {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    background: #000;
}

@media (max-width: 1199px) {
    .product-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 32px;
    }

    .product-hero__info {
        grid-column: 1 / -1;
    }

    .product-hero__aside {
        grid-column: 1 / -1;
    }

    .product-hero__features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px 48px;
    }
}

@media (max-width: 767px) {
    .product-hero {
        padding: 0 0 32px;
    }

    .product-hero .breadcrumbs {
        margin-bottom: 28px;
    }

    .product-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-hero__features {
        flex-direction: column;
        gap: 20px;
    }

    .product-hero__footer {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px;
        padding-top: 24px;
    }

    .product-hero__cta {
        width: 100%;
        text-align: center;
        white-space: normal;
    }
}

.description-block__bg img, 
.description-block__bg picture {object-fit: contain;}

/* Описание товара — две колонки без absolute */
.description-block__container.is-lg {
    min-height: auto;
}

.description-block__container.is-lg .description-block__grid_cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 48px;
    align-items: start;
}

.description-block__container.is-lg.is-no-image .description-block__grid_cols {
    grid-template-columns: minmax(0, 1fr);
}

.description-block__container.is-lg .description-block__left {
    max-width: none;
}

.description-block__container.is-lg .description-block__title {
    margin: 0 0 40px;
    font-size: 45px;
    line-height: 1.1;
    font-weight: 600;
    color: #040607;
}

@media (max-width: 1023px) {
    .description-block__container.is-lg .description-block__title {
        margin-bottom: 26px;
        font-size: 35px;
    }
}

@media (max-width: 767px) {
    .description-block__container.is-lg .description-block__title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.description-block__container.is-lg .description-block__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.description-block__container.is-lg .description-block__right picture,
.description-block__container.is-lg .description-block__right img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 1024px) {
    .description-block__container.is-lg .description-block__grid_cols {
        gap: 24px 32px;
    }
}

@media (max-width: 767px) {
    .description-block__container.is-lg .description-block__grid_cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

.section.bg-black {background: linear-gradient(to bottom, #040607 60%, #fbfbfb 50%)}

.catalog-card-preview__title {font-size: 18px; max-width: 250px;}

.catalog-groups__item:nth-child(even) .catalog-card-preview,
.catalog-groups .catalog-card-preview {height: 100%;}

.catalog-card-preview__link {height: 100%; display: flex; flex-direction: column;}
.catalog-card-preview__body {margin-top: auto;}

.our-partners__slider {
    position: relative;
}
.our-partners__slider .slider-arrow__prev {left: -100px;}
.our-partners__slider .slider-arrow__next {right: -100px;}
.our-partners__slider .slider-arrow {top: calc(40% - 30px);}

.category-products__list .product-card {min-height: 270px; height: 100%; display: flex; flex-direction: column;}
.product-card__body {margin-top: auto;}

.product-card__photo img {object-fit: contain;}

.section__left .new-button {display: block;}

.header-navigation__item--has-submenu {
    position: relative;
}

.header-navigation__item--mega-menu .header-navigation__link {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 14px;
}

.header-navigation__item--mega-menu .header-navigation__link::after {
    content: "";
    background-image: url(../img/icons/icon-menu-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 7px;
    height: 7px;
    position: absolute;
    right: 0;
    transition: all .3s;
}

.header-navigation__item--mega-menu:hover .header-navigation__link::after,
.header-navigation__item--mega-menu.isActive .header-navigation__link::after {
    transform: rotate(-180deg);
}

.header-navigation,
.header-right-group,
.header-right-group__bottom {
    overflow: visible;
}

.header-navigation .header-sub-navigation {
    z-index: 200;
}

.header-navigation .header-navigation__item--has-submenu:not(#mega-menu-call):hover > .header-sub-navigation,
.header-navigation .header-navigation__item--has-submenu:not(#mega-menu-call).isActive > .header-sub-navigation,
.header-navigation .header-navigation__item--has-submenu:not(#mega-menu-call) > .header-navigation__link.isActive + .header-sub-navigation {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Сообщения форм обратной связи */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.form-message--success {
    background-color: rgba(1, 151, 55, 0.12);
    border: 1px solid rgba(1, 151, 55, 0.35);
    color: #0c4e29;
}

.form-message--error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.35);
    color: #842029;
}

.feedback-form--footer .form-message--success {
    background-color: rgba(1, 151, 55, 0.2);
    border-color: rgba(1, 151, 55, 0.45);
    color: #ffffff;
}

.feedback-form--footer .form-message--error {
    background-color: rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.5);
    color: #ffffff;
}

.feedback-form__submit.is-loading,
.question-form__submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.modal-notification__text {
    margin: 0;
    padding: 0 0 1.5rem;
    line-height: 1.5;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    max-width: 480px;
    padding: 24px 28px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.cookie-banner__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.cookie-banner__text {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.cookie-banner__link {
    color: #0066cc;
    text-decoration: underline;
}

.cookie-banner__link:hover {
    color: #004999;
}

.cookie-banner__accept {
    display: block;
    margin-left: auto;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    background-color: #019737;
    cursor: pointer;
    transition: background-color 0.3s;
}

@media (hover: hover) {
    .cookie-banner__accept:hover {
        background-color: #0c4e29;
    }
}

@media (max-width: 575px) {
    .cookie-banner {
        right: 16px;
        bottom: 16px;
        left: 16px;
        max-width: none;
        padding: 20px;
    }

    .cookie-banner__accept {
        width: 100%;
    }
}

.bg-elem-left::before {display: none;}