/* Скрытие мобильных элементов на десктопе */
.mobile-socials,
.mobile-burger-btn,
.mobile-bottom-header,
.mobile-top-section,
.mobile-middle-section,
.mobile-compact-header,
.mobile-compact-sticky {
    display: none;
}

/* Показываем поиск в десктопной версии */
.header .middle-top-row .header_search {
    display: block;
}

/* Стили для привязанной панели при скролле */
.header.animate .header_topest_menu {
    display: none;
}

.header-socials.scroll-hidden {
    display: flex;
}

.header.animate .header-socials {
    display: none;
}

.header_buttons.scroll-show,
.header-socials.scroll-show {
    display: none;
}

.header.animate .header_buttons.scroll-show,
.header.animate .header-socials.scroll-show {
    display: flex;
}

.header_buttons.scroll-show #catalog_btn_scroll,
.header_buttons.scroll-show .catalog-header-promo-link {
    margin: 0;
}

.header.animate .middle-top-row-container {
    margin-top: 0;
}

.header.animate .header_search {
    width: 430px;
}

.middle-top-row-container .cart-account-container {
    display: none;
}

.header.animate .middle-top-row-container .cart-account-container {
    display: flex;
}

#catalog_btn_scroll {
    padding: 10px 18px;
}

.header.animate .catalog-header-promo-link {
    padding: 5px 20px;
}

.header.animate .btn-icon {
    padding: 0px;
}

/* Дополнительные стили для привязанной панели */
.header.animate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.animate .middle-top-row {
    padding: 10px 0;
}

.header.animate .middle-top-row-container {
    margin-top: 0;
}

/* Специальная привязанная панель для планшетной версии */
@media (max-width: 1024px) {
    .header.animate .middle-top-row-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 8px 0 !important;
    }

    .header.animate .middle-top-row {
        padding: 5px 0 !important;
    }

    /* Скрываем все элементы кроме нужных */
    .header.animate .mobile-bottom-header,
    .header.animate .header_topest_menu,
    .header.animate .bottom-top-row {
        display: none !important;
    }

    /* Скрываем мобильную верхнюю часть и показываем только бургер */
    .header.animate .mobile-top-section {
        display: none !important;
    }

    /* Показываем мобильную среднюю часть в привязанной панели */
    .header.animate .mobile-middle-section {
        display: flex !important;
        align-items: center;
        gap: 15px;
        flex: 1;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    /* Скрываем бургер кнопку в обычной мобильной версии */
    .mobile-middle-section .mobile-burger-btn {
        display: none !important;
    }

    /* Показываем бургер кнопку в привязанной панели */
    .header.animate .mobile-middle-section .mobile-burger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 1001;
        position: relative;
        margin-right: 10px;
        pointer-events: auto !important;
    }

    .header.animate .mobile-middle-section .mobile-burger-btn .burger-icon {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 16px;
    }

    .header.animate .mobile-middle-section .mobile-burger-btn .burger-icon span {
        display: block !important;
        width: 100%;
        height: 2px;
        background-color: #000;
        transition: all 0.3s ease;
    }

    /* Активное состояние бургер кнопки в sticky версии */
    /*.header.animate .mobile-middle-section .mobile-burger-btn.active .burger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .header.animate .mobile-middle-section .mobile-burger-btn.active .burger-icon span:nth-child(2) {
        opacity: 0;
    }

    .header.animate .mobile-middle-section .mobile-burger-btn.active .burger-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }*/

    .header.animate .mobile-middle-section .logo {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
    }

    .header.animate .mobile-middle-section .logo img {
        max-height: 30px;
        width: auto;
        object-fit: contain;
    }

    /* Показываем телефон в привязанной панели для планшетной версии */
    .header.animate .mobile-middle-section .btn-icon {
        display: flex !important;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        font-size: 14px;
        color: #000;
        text-decoration: none;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .header.animate .mobile-middle-section .btn-icon i {
        display: inline-block !important;
        font-size: 16px;
    }

    .header.animate .mobile-middle-section .btn-icon .phone-number {
        display: inline-block !important;
        font-weight: 600;
        font-size: 14px;
        color: #000;
    }

    .header.animate .mobile-middle-section .header_search {
        display: block !important;
        width: 240px !important;
        max-width: 240px;
        flex-shrink: 0;
    }



    /* Скрываем социальные сети в привязанной панели */
    .header.animate .header-socials {
        display: none !important;
    }

    /* Скрываем кнопку директора в привязанной панели */
    .header.animate .mobile-menu-contacts .btn_director {
        display: block !important;
    }

    .header.animate .btn_director {
        display: none !important;
    }


    /* Скрываем мобильные социальные сети в привязанной панели */
    .header.animate .mobile-socials {
        display: none !important;
    }

    /* Убеждаемся, что элементы скрыты в обычной мобильной версии, но показаны в привязанной панели */
    .mobile-middle-section .btn-icon {
        display: none !important;
    }

    /* Скрываем cart-account-container в обычной мобильной версии */
    .cart-account-container {
        display: none !important;
    }



    /* Адаптация для очень маленьких планшетов */
    @media (max-width: 768px) {
        .header.animate .mobile-middle-section .header_search {
            width: 250px !important;
            max-width: 250px;
        }

        .header.animate .cart-account-container .btn-icon {
            font-size: 10px;
        }

        .header.animate .mobile-middle-section {
            gap: 10px;
        }

        .header.animate .cart-account-container {
            gap: 5px;
        }

        .footer .footer-container .footer-menu-container .footer-menu-item {
            border-top: none;
            margin-bottom: 20px;
            width: 50%;
        }

        .custom-collapse .details {
            height: auto;
            overflow: visible;
        }

        .footer .footer-container .footer-right-part {
            border-top: none;
        }

        .footer .footer-container .footer-heading {
            font-size: 15px;
            font-weight: 600;
            line-height: 18px;
            letter-spacing: 0;
            padding: 0;
        }

        .footer .footer-container .footer-menu-container .footer-menu-item .footer-menu-sub-menu .sub-menu-item {
            line-height: 100%;
            padding: 0;
            margin-bottom: 8px;
        }

        .footer .footer-container .footer-menu-container {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            margin-left: 15px;
        }

        .footer .footer-bottom-part {
            display: flex;
            flex-direction: column;
            align-items: baseline;
            justify-content: center;
            gap: 10px;
        }
    }

    @media (max-width: 680px) {
        .header.animate .mobile-middle-section {
            gap: 4px;
        }

        .header.animate .mobile-middle-section .header_search {
            width: 200px !important;
            max-width: 200px;
        }
    }
}

/* Стили для привязанной панели при скролле */
.header.animate .header_topest_menu {
    display: none;
}

.header-socials.scroll-hidden {
    display: flex;
}

.header.animate .header-socials {
    display: none;
}

.header_buttons.scroll-show,
.header-socials.scroll-show {
    display: none;
}

.header.animate .header_buttons.scroll-show,
.header.animate .header-socials.scroll-show {
    display: flex;
    flex-wrap: nowrap;
}

.header_buttons.scroll-show #catalog_btn_scroll,
.header_buttons.scroll-show .catalog-header-promo-link {
    margin: 0;
}

.header.animate .header_search {
    width: 430px;
}

.middle-top-row-container .cart-account-container {
    display: none;
}

.header.animate .middle-top-row-container .cart-account-container {
    display: flex;
}

#catalog_btn_scroll {
    padding: 10px 18px;
}

.header.animate .catalog-header-promo-link {
    padding: 5px 20px;
}

.header.animate .btn-icon {
    padding: 0px;
}

/* Дополнительные стили для привязанной панели */
.header.animate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.animate .middle-top-row {
    padding: 10px 0;
}

.header.animate .middle-top-row-container {
    margin-top: 0;
}

.search-modal .modal-content {
    overflow: visible;
}

.search-modal .modal-content .modal-body {
    overflow: visible;
}

.header .middle-top-row .cont-bottom-row-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding: 26px 0;
    margin-bottom: 0;
}

.header .bottom-top-row .cont-bottom-row-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.header_topest_menu .container-xxl {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    line-height: 7px;
    margin-bottom: 20px;
}

.header .middle-top-row {
    padding: 15px 0 20px;
}

.phone-number {
    position: relative;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: normal;
    text-align: center;
    color: #000;
}

.bx-newslist-more .fa {
    position: relative;
    margin: 0;
}

.blog_section {
    margin-top: 50px;
}

.bx-newslist-block {
    text-align: center;
}

.bx-newslist-block .row {
    justify-content: center;
}


.modal-custom {
    max-width: 600px;
    /* Ширина модального окна */
    height: 600px;
    /* Высота модального окна */
    margin: auto;
    /* Центрирование по горизонтали */
}

.modal-body {
    flex-grow: 1;
    /* Позволяет телу модального окна занимать оставшееся пространство */
}

.close {
    font-size: 1.5rem;
    /* Размер иконки закрытия */
}

.btn_director {
    background: none;
    border: 0.87px solid #104c88;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    line-height: 100%;
}

.btn-icon {
    padding: 5px;
}

.btn-icon i {
    color: #104C88;
}

.btn-icon.tt i {
    font-size: 21px;
}

.btn-icon img {
    width: 24px;
    height: 24px;
}

.btn-icon i {
    font-size: 26px;
}

.cart-account-container {
    grid-area: cart_acc;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-self: end;
    flex-wrap: nowrap;
}

.director_form {
    padding: 20px;
}

.link-underline-alt {
    letter-spacing: normal;
}

.form-container {
    width: 100%;
    max-width: 600px;
    /* Максимальная ширина формы */
    margin: 0 auto;
    /* Центрирование формы */
    padding: 20px;
    /* Граница формы */
    /* Скругление углов формы */
    background-color: #fff;
    /* Белый фон формы */
    position: relative;
}

.form-header {
    margin-bottom: 20px;
}

.form-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    /*padding: 1rem 1rem;*/
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    
}
.form-title {
    font-size: 24px;
    font-weight: 500;
}
.form-body {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    /* Отступ между полями */
}

.form-control {
    width: 100%;
    background-color: #f0f0f0;
    /* Серый фон */
    border: 1px solid #ccc;
    /* Светло-серый бордюр */
    border-radius: 5px;
    /* Скругление углов */
    padding: 10px;
    /* Внутренние отступы */
    box-sizing: border-box;
    /* Учитывать отступы и границы в ширине */
}

.form-control:focus {
    border-color: #66afe9;
    /* Цвет бордюра при фокусе */
    outline: none;
    /* Убираем стандартный контур */
}

.form-footer {
    display: flex;
    justify-content: space-between;
    /* Распределение кнопок */
}


.comments-swipper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.yandex_review,
#ivy-google-reviews-widget {
    width: 650px;
    height: 800px;

    position: relative;
    padding: 0 !important;
}

.ivy-rev-main {
    border: 1px solid #e6e6e6 !important;
    background: none !important;
    margin: 0 !important;
    height: 800px;
}

.review_block {
    min-height: 800px;
}

.home-page .main-banner-container .main-banner-two .image-container img,
.home-page .main-banner-container .main-banner-one .image-container img {
    object-fit: fill;
}

.main-banner-one svg {
    display: none;
}

.catalog-page-container .section-head .section-head_text {
    max-width: 100%;
}

.section_head_video {
    display: flex;
    flex-direction: row;
}

.yt_video iframe {
    width: 400px;
    height: 215px;
}


.product-socials {
    text-align: center;
}

.product-socials .btn-icon i {
    font-size: 40px;
}

.product-description-info {
    display: flex;
    margin: 30px 0;
}

.nav-item {
    display: block !important;
}

.product-properties {
    padding: 30px 0;
    /* Отступы сверху и снизу */
}

.text-center {
    text-align: center;
}

.properties-table {
    margin: 30px 0;
    width: 100%;
    border-collapse: collapse;
}

.properties-table .property-name {
    border: 1px solid #ccc;
    padding: 8px;
    width: 30%;
    /* Ширина первой колонки */
}

.properties-table .property-value {
    border: 1px solid #ccc;
    padding: 8px;
}

.product_hint {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    border-radius: 12px;
    /* Скруглённые углы */
    color: white;
    /* Белый текст */
    padding: 0 10px;
    /* Отступы для лучшего отображения */
    font-weight: bold;
    /* Полужирный текст (опционально) */
    font-size: 12px;
    width: fit-content;
}

.product_hint.detail_page {
    top: 10px;
}

.product_hint.new {
    background-color: rgba(0, 128, 0, 0.8);
    /* Темно-зеленый фон для NEW */
}

.product_hint.recommend {
    background-color: rgba(0, 0, 139, 0.8);
    /* Темно-синий фон для RECOMMEND */
}

.product_hint.stock {
    background-color: rgba(255, 140, 0, 0.8);
    /* Темно-оранжевый фон для STOCK */
}

.product_hint.hit {
    background-color: rgba(255, 20, 147, 0.8);
    /* Темно-розовый фон для HIT */
}

.optstyle1 {
    width: 33%;
    float: left;
    padding: 15px;
    word-break: break-all;
}

.vik-catalog__flex {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px -30px;
}

.vik-section {
    margin: 20px 0;
}

.vik-catalog__col {
    min-width: 250px;
    width: 33%;
    padding: 0 15px 30px;
}

.product-description-info ul {
    list-style-type: none;
    /* Убираем стандартные маркеры */
    padding-left: 0;
    /* Убираем отступы */
}

.product-description-info ul li {
    position: relative;
    /* Позволяет использовать псевдоэлементы */
    padding-left: 20px;
    /* Отступ для текста */
}

.product-description-info ul li::before {
    content: '';
    /* Создаем пустой контент для псевдоэлемента */
    position: absolute;
    /* Абсолютное позиционирование */
    left: 0;
    /* Сдвигаем влево */
    top: 50%;
    /* Центрируем по вертикали */
    transform: translateY(-50%);
    /* Центрируем по вертикали */
    width: 10px;
    /* Ширина черточки */
    height: 2px;
    /* Высота черточки */
    background-color: black;
    /* Цвет черточки */
}

.header .middle-top-row {
    padding-top: 0;
}

.header_topest_menu {
    background-color: #eee;
}

.header_topest_menu .bottom-header-link {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: normal;
    text-align: center;
    color: #666;
    line-height: 100%;
}

.header_topest_menu .cont-bottom-row-list {
    padding-bottom: 5px;
}

.MsoNormal img,
.servis_img {
    max-width: 95%;
    height: auto !important;
}

.slider {
    max-width: 900px;
    /* Максимальная ширина слайдера */
    margin: auto;
    /* Центрирование слайдера */
}

.slide-item {
    margin: 0 10px;
    /* Отступы между слайдами */
}

.slider .slick-slide {
    margin: 0 30px;
    /* Отступы между слайдами */
}

.slider-img {
    width: 100%;
    /* Ширина 100% */
    height: 200px;
    /* Фиксированная высота */
    object-fit: contain;
    /* Обтекание изображения */
}

h1 {
    margin: 2rem 0;
}

@media (max-width: 991.98px) {
    .vik-catalog__col {
        width: 50% !important;
    }
}

@media (max-width: 1199.98px) {
    .vik-catalog__col {
        width: 33.33333333% !important;
    }
}

@media (max-width:1300px) {

    .yandex_review,
    #ivy-google-reviews-widget {
        width: 550px;
    }
}

@media (max-width:1150px) {

    .yandex_review,
    #ivy-google-reviews-widget {
        width: 450px;
    }
}

@media (max-width:940px) {

    .yandex_review,
    #ivy-google-reviews-widget {
        width: 650px;
    }

    .comments-swipper {
        flex-direction: column;
    }

    .section_head_video,
    .product-description-info {
        flex-direction: column;
    }

    .yt_video {
        text-align: center;
        padding-top: 20px;
    }

    .yt_video iframe {
        width: 80%;
        height: 250px;
    }
}

@media (max-width:800px) {
    .yandex_review {
        width: 95%;
    }

}

@media (max-width: 991.98px) {
    .header_topest_menu {
        display: none;
    }

    .yandex_review,
    #ivy-google-reviews-widget {
        width: 475px;
    }

    .btn_director {
        padding: 10px 5px 10px 10px;
        font-size: 14px;
        font-weight: 500;
    }
}

@media (max-width:500px) {

    .yandex_review,
    #ivy-google-reviews-widget {
        width: 350px;
    }
}

.header .bottom-top-row .container-xxl {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.header .bottom-top-row .container-xxl > * {
    flex-shrink: 0;
}

/* Стили для скрытия пунктов в нижнем меню */
.header .bottom-top-row .cont-bottom-row-list .bottom-header-li.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Стили для кнопки "..." в нижнем меню */
.header .bottom-top-row .cont-bottom-row-list .more-menu {
    position: relative;
    display: none !important;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 40px;
    vertical-align: middle;
    line-height: normal;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu[style*="display: block"],
.header .bottom-top-row .cont-bottom-row-list .more-menu[style*="display:block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    vertical-align: middle;
    line-height: normal;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-btn {
    background: none;
    border: none;
    color: #666;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    min-width: 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    transform: translateY(-15%);
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-btn:hover {
    color: #003979;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 200px;
    display: none;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown li {
    margin: 0;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 16px;
}
.sub-bottom-header-li a{
    font-size: 16px;
    color: #000;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown a:hover {
    background-color: #f5f5f5;
}

/* Стили для подменю внутри выпадающего меню "..." */
.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .has-submenu {
    position: relative;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .has-submenu .sub-menu-dropdown {
    position: absolute;
    right: 100%;
    left: auto;
    top: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    display: none;
    z-index: 1001;
    margin-right: 5px;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .has-submenu:hover .sub-menu-dropdown {
    display: block;
}

/* Стили для подменю в выпадающем меню "..." */
.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .has-submenu .sub-menu-dropdown {
    display: none;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .has-submenu:hover .sub-menu-dropdown {
    display: block;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .sub-menu-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .sub-menu-dropdown li {
    margin: 0;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .sub-menu-dropdown a {
    font-size: 16px;
    color: #000;
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    white-space: nowrap;
}

.header .bottom-top-row .cont-bottom-row-list .more-menu .more-dropdown .sub-menu-dropdown a:hover {
    background-color: #f5f5f5;
    color: #333;
}

.header_search {
    width: 40%;
    display: block;
}

/* Скрываем поиск в мобильной версии в десктопном контейнере */
@media (max-width: 1024px) {
    .middle-top-row-container>.header_search {
        display: none !important;
    }
}

.header_soc {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: normal;
    text-align: center;
    color: #000;
    line-height: 100%;
}

#catalog_btn,
#catalog_btn_scroll {
    display: flex;
    align-items: center;
    border-radius: 8px;
    line-height: normal;
    padding: 8px 16px;
    margin-bottom: 0;
    font-size: 14px;
    letter-spacing: 0;
    height: 36px;
    min-width: fit-content;
    border: none;
}

.catalog-header-promo-link {
    display: flex;
    background: #e53935;
    color: #fff !important;
    border-radius: 8px;
    padding: 5px 16px;
    text-align: center;
    margin-bottom: 0;
    transition: background 0.2s;
    height: fit-content;
    font-size: 14px;
    align-items: center;
}

.catalog-header-promo-link img {
    height: 24px;
    margin-right: 4px;
}

.header_buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.products-sections {
    margin: 20px 0;
}

.products-sections-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.products-section-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.products-section-tag:hover {
    background: #e0e0e0;
}

.products-section-tag.active {
    background: #333;
    color: #fff;
}

.products-tab-content {
    display: none;
}

.products-tab-content:first-child {
    display: block;
}

.cart-account-container .btn-icon {
    padding: 2px 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: anchor-center;
    font-size: 12px;
    letter-spacing: -0.01em;
    text-align: center;
    color: #666;
}

@media (min-width: 768px) {
    .mobile_phone {
        display: none;
    }


}

.mobile-menu-contacts .mobile-menu-social-icons {
    gap: 25px;
}

.mobile-menu-contacts .mobile-menu-social-icons.first-row {
    gap: 57px;
}

#dropdown_menu {
    /*position: fixed;*/
    background-color: white;
    z-index: 1000;
}

.catalog-menu-container {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 28px;
    border: 1px solid #ccc;

}

.catalog-menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    column-gap: 20px;
    column-width: 250px;
}

.catalog-menu-item {
    position: relative;
    padding: 10px;
    break-inside: avoid;
    page-break-inside: avoid;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    border-radius: 8px;
    background: #fff;
}

.catalog-menu-content {
    display: flex;
    gap: 15px;
}

.catalog-section-image-wrapper {
    flex-shrink: 0;
}

.catalog-menu-text {
    flex-grow: 1;
    /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);*/
    padding: 2px 24px;
    border-radius: 10px;
}

.catalog-menu-link {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: block;
    /*margin-bottom: 10px;*/
    font-size: 24px;
    padding-top: 16px;
    padding-bottom: 22px;
    line-height: 18px;
    letter-spacing: normal;
}

.catalog-menu-link:hover {
    color: #000;
}

.catalog-section-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.catalog-submenu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.catalog-submenu-item {
    padding: 0;
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: normal;
    line-height: 100%;
}

.catalog-submenu-link {
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    padding: 0;
}

.catalog-submenu-link:hover {
    color: #333;
}

.catalog-item-image {
    width: 20px;
    height: auto;
    margin-left: 5px;
}

.selected {
    /*color: #000;*/
    font-weight: bold;
}

/* Стилизация скроллбара */
.catalog-menu-container::-webkit-scrollbar {
    width: 8px;
}

.catalog-menu-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.catalog-menu-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.catalog-menu-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.catalog-menu-item--promo .catalog-menu-promo-link {
    display: block;
    background: #e53935;
    color: #fff !important;
    border-radius: 8px;
    padding: 16px 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.catalog-menu-item--promo .catalog-menu-promo-link:hover {
    background: #b71c1c;
    color: #fff;
    text-decoration: none;
}

.footer-right-part .logo img {
    max-height: 70px;
}

#catalog_btn img,
#catalog_btn_scroll img {
    width: 16px;
    height: 12px;
    transition: transform 0.25s ease;
    margin-right: 10px;
}

#ivy-google-reviews-widget .ivy-rev-buttons>a.ivy-rev-but2 {
    background-color: #1485CE !important;
}

.card-page .thumbsCardSlider-container {
    right: -20px;
}

.card-page .card-page-container .card-icons-block .card-icon {
    height: 100%;
}

#catalog_btn svg,
#catalog_btn svg *,
#catalog_btn_scroll svg,
#catalog_btn_scroll svg * {
    pointer-events: auto;
}

@media (max-width: 425px) {
    .home-page .products-block .catalog-section-cards .catalog-section-cards-container {
        display: flex;
        flex-direction: row;
        grid-gap: 20px;
        flex-wrap: wrap;
    }

    .footer .footer-container .footer-right-part .footer-right-part-container {
        width: 65%;
    }

    .catalog-section-cards-container .product-item {
        width: 100%;
    }

    .products-tab-content .product-item {
        width: 100%;
        min-height: 100%;
        height: auto;
    }

    .liders-content .product-item {
        width: 100%;
        min-height: 100%;
        height: auto;
    }

    .thumbnails-slider {
        padding: 0;
    }

    .thumbnails-next,
    .thumbnails-prev {
        display: none;
    }

    .thumbnails-container {
        margin: 0;
    }

    .home-page .products-block .catalog-section-cards .catalog-section-cards-container {
        grid-gap: 10px !important;
    }

    .product-item .product-item-scu-item-color-container .product-item-scu-item-color-block .product-item-scu-item-color {
        width: 18px !important;
        height: 18px !important;
    }

    .product-item .product-item-scu-item-color-container {
        width: 18px !important;
        height: 18px !important;
    }

    .product-item .product-item-scu-item-list {
        gap: 10px !important;
    }

    .product-item-price-container {
        align-items: flex-start;
    }

    .new-price-box {
        font-size: 12px;
        line-height: 100%;
    }

    .dropdown-filter-mobile {
        margin: 0 !important;
    }

    .catalog-page-container .bx-sidebar-block {
        margin-right: 0;
    }

    .btn-filter .btn-filter-container {
        font-size: 14px;
    }

    .dropdown-filter-mobile .btn-filter img {
        width: 16px;
        height: 16px;
    }

    .btn-filter {
        padding: 10px 19px !important;
    }

    .btn-sort {
        font-size: 14px !important;
        padding: 10px 19px !important;
    }

    .btn-add-to-cart-detail {
        width: 100%;
    }

    .tag-cloud {
        margin-top: 10px;
    }

    .bx-pagination .bx-pagination-container ul li span {
        min-width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
    }

    .bx-pagination .bx-pagination-container ul li.bx-pag-all span,
    .bx-pagination .bx-pagination-container ul li.bx-pag-prev span,
    .bx-pagination .bx-pagination-container ul li.bx-pag-next span {
        padding: 0 10px !important;
    }

    .btn-contact-detail {
        width: 100%;
    }

    .vv-consent #vv-consent {
        width: 15px;
        height: 15px;
    }
}

/* Принудительное переопределение для планшетной версии */
@media (max-width: 1024px) {
    .dropdown-filter {
        display: none !important;
    }

    .dropdown-filter-mobile {
        display: block !important;
    }

    .catalog-page-container {
        display: flex;
        flex-direction: column;
    }

    .bx-sidebar-block .bx_vertical {
        display: none;
    }

    .catalog-page-container .dropdown-filter-mobile {
        min-width: 300px;
        margin-bottom: 20px;
    }

    .catalog-page-container .bx-sidebar-block {
        min-width: 300px;
    }

    /* Стили для мобильного фильтра в планшетной версии */
    .dropdown-filter-mobile .btn-filter {
        font-size: 16px;
        padding: 12px 20px;
    }

    .dropdown-filter-mobile .filter-modal .modal-dialog {
        max-width: none;
        width: 100%;
        height: 100%;
        margin: 0;
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .dropdown-filter-mobile .filter-modal.show .modal-dialog {
        transform: translateX(0);
    }

    .dropdown-filter-mobile .filter-modal .modal-content {
        border-radius: 0;
        height: 100vh;
        width: 100%;
        padding: 0;
    }

    .dropdown-filter-mobile .filter-modal .modal-header {
        border-bottom: 1px solid #dee2e6;
        padding: 20px;
        width: 100%;
    }

    .dropdown-filter-mobile .filter-modal .modal-footer {
        border-top: none;
    }


    /* Стили для содержимого фильтра на всю ширину */
    .dropdown-filter-mobile .filter-modal .modal-body .mobile-filter-container {
        width: 100%;
        max-width: none;
    }

    .dropdown-filter-mobile .filter-modal .modal-body .mobile-filter-section {
        width: 100%;
    }

    .dropdown-filter-mobile .filter-modal .modal-body .mobile-filter-toggle {
        width: 100%;
        padding: 15px 20px;
    }

    .dropdown-filter-mobile .filter-modal .modal-body .mobile-filter-content {
        width: 100%;
        padding: 15px 20px;
    }

    .tag-cloud-row .btn-sort {
        display: none;
    }

    .catalog-page-container .bx-sidebar-block {
        margin-right: 0;
    }

    .mobile-filter-buttons {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Дополнительные стили для планшетной версии */
@media (min-width: 768px) and (max-width: 1024px) {
    .dropdown-filter {
        display: none !important;
    }

    .dropdown-filter-mobile {
        display: block !important;
    }
}

.dropdown-sort {
    margin: 20px;
    margin-right: 0;
    margin-top: 0;
}

.btn-filter {
    align-items: flex-start;
}

.price-input-block {
    align-items: baseline;
}

.arrow-icon {
    margin-left: 5px;
    /* Отступ между текстом и иконкой */
    transition: transform 0.3s ease;
    /* Плавный переход для вращения */
}

.sub-menu-dropdown {
    display: none;
    /* Скрыть подменю по умолчанию */
}

.bottom-header-li:hover .sub-menu-dropdown {
    display: block;
    /* Показать подменю при наведении */
}

.bottom-header-li:hover .arrow-icon {
    transform: rotate(180deg);
    /* Повернуть иконку при наведении */
}

.bottom-header-li a {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: normal;
    line-height: 100%;
    text-align: center;
    color: #000;
}

.header.animate .header_topest_menu {
    display: none;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-socials .phone-icon {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
}

.header-socials.scroll-hidden {
    display: flex;
}

.header.animate .header-socials {
    display: none;
}

.header_buttons.scroll-show,
.header-socials.scroll-show {
    display: none;
}

.header.animate .header_buttons.scroll-show,
.header.animate .header-socials.scroll-show {
    display: flex;
}

.header_buttons.scroll-show #catalog_btn_scroll,
.header_buttons.scroll-show .catalog-header-promo-link {
    margin: 0;
}


.header.animate .header_search {
    width: 430px;
}

.middle-top-row-container .cart-account-container {
    display: none;
}

.header.animate .middle-top-row-container .cart-account-container {
    display: flex;
}


#catalog_btn_scroll {
    padding: 10px 18px;
}

.header.animate .catalog-header-promo-link {
    padding: 5px 20px;
}

.header.animate .btn-icon {
    padding: 0px;
}

@media (min-width: 1400px) {

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1600px;
    }
}

@media (max-width: 1024px) {
    .header.animate .header_buttons.scroll-show {
        display: none;
    }

    .header .middle-top-row .cont-bottom-row-list {
        gap: 10px;
    }

    .header_topest_menu .bottom-header-link {
        font-size: 10px;
    }

    .btn-icon img {
        width: 23px;
        height: 23px;
    }

    .cart-account-container .btn-icon {
        font-size: 8px;
    }

    #catalog_btn,
    #catalog_btn_scroll {
        padding: 2px 8px;
        font-size: 12px;
        height: 31px;
    }

    .catalog-header-promo-link {
        padding: 2px 8px;
        font-size: 12px;
    }

    .header .bottom-top-row .cont-bottom-row-list {
        padding-left: 10px;
        gap: 10px;
        margin-top: 0;
    }

    .bottom-header-li a {
        font-size: 12px;
    }

    .header .middle-top-row .middle-top-row-container .logo img,
    .header .middle-top-row .middle-top-row-container .logo svg {
        max-height: 41px;
    }

    .header.animate .header_search {
        width: 300px;
    }

    .catalog-header-promo-link img {
        height: 16px;
    }

    .header.animate .catalog-header-promo-link {
        padding: 3px 10px;
    }

    .header_buttons {
        gap: 5px;
    }

    .header.animate .btn-icon {
        padding: 0px;
    }

    .header.animate .catalog-header-promo-link {
        padding: 3px 10px;
    }

    .header.animate .catalog-header-promo-link img {
        height: 16px;
    }
}

/* Мобильный хедер для планшетной версии (меньше 1025px) */
@media (max-width: 1024px) {

    /* Скрываем десктопные элементы */
    .header_topest_menu {
        display: none !important;
    }

    .header .bottom-top-row {
        display: none !important;
    }

    .header .middle-top-row .header-socials.scroll-hidden,
    .header .middle-top-row .header_buttons.scroll-show {
        display: none !important;
    }

    .header .middle-top-row .cart-account-container {
        display: none !important;
    }

    /* Скрываем привязанную панель в мобильной версии */
    .header.animate .header_buttons.scroll-show,
    .header.animate .header-socials.scroll-show {
        display: none !important;
    }

    .header.animate .middle-top-row-container .cart-account-container {
        display: flex !important;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .header.animate .middle-top-row-container .cart-account-container .btn-icon {
        display: flex !important;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: #000;
        text-decoration: none;
        white-space: nowrap;

    }

    .header.animate .middle-top-row-container .cart-account-container .btn-icon img {
        width: 20px;
        height: 20px;
    }

    /* Скрываем cart-account-container в обычной мобильной версии */
    .cart-account-container {
        display: none;
    }

    /* Показываем мобильные элементы */
    .mobile-socials,
    .mobile-burger-btn,
    .mobile-bottom-header,
    .mobile-top-section,
    .mobile-middle-section {
        display: block !important;
    }

    .mobile-top-section,
    .mobile-middle-section {
        display: flex !important;
    }

    /* Мобильная структура хедера */
    .header {
        position: relative;
    }

    /* Верхняя часть мобильного хедера */
    .header .middle-top-row {
        padding: 10px 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .header .middle-top-row .middle-top-row-container {
        display: flex;
        flex-direction: column;

        position: relative;
    }

    .header.animate .middle-top-row .middle-top-row-container {
        flex-direction: row;
        margin-top: 0;
    }

    .header.animate .middle-top-row .middle-top-row-container .btn-account.scroll-hide {
        display: none !important;
    }

    .header.animate .middle-top-row .middle-top-row-container .logo img,
    .header .middle-top-row .middle-top-row-container .logo svg {
        max-height: 31px;
    }

    .header.animate .middle-top-row .middle-top-row-container .phone-number {
        bottom: 0;
    }

    /* Мобильная верхняя часть */
    .mobile-top-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;

    }

    .mobile-top-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mobile-top-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Кнопка бургер-меню */
    .mobile-burger-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        z-index: 1000 !important;
        position: relative !important;
        pointer-events: auto !important;
    }

    .mobile-burger-btn .burger-icon {
        width: 20px !important;
        height: 12px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .mobile-burger-btn .burger-icon span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #000 !important;
        transition: all 0.3s ease !important;
    }

    /*.mobile-burger-btn.active .burger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-burger-btn.active .burger-icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-burger-btn.active .burger-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }*/

    /* Мобильная средняя часть */
    .mobile-middle-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Скрываем телефон в обычной мобильной версии */
    .mobile-middle-section .phone-number {
        display: none;
    }

    /* Скрываем телефон с иконкой в обычной мобильной версии */
    .mobile-middle-section .btn-icon {
        display: none;
    }

    /* Логотип */
    .header .middle-top-row .logo {
        display: none;
        /* Скрываем оригинальный логотип в мобильной версии */
    }

    .mobile-middle-section .logo {
        display: flex !important;
        align-items: center;
    }

    .mobile-middle-section .logo img {
        max-height: 35px;
        width: auto;
    }

    /* Поиск */
    .header .middle-top-row .header_search {
        display: none;
        /* Скрываем оригинальный поиск в мобильной версии */
    }

    .mobile-middle-section .header_search {

        display: block !important;
    }

    .header .middle-top-row .middle-top-row-container .logo img,
    .header .middle-top-row .middle-top-row-container .logo svg {
        max-height: 61px;
    }

    .middle-top-row {
        background: #f5f5f5 !important;
    }

    /* Социальные сети */
    .mobile-socials {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .mobile-socials .btn-icon {
        padding: 5px;
    }

    .mobile-socials .btn-icon img {
        width: 24px;
        height: 24px;
    }

    /* Телефон и кнопка директора в мобильной версии */
    .mobile-top-right .btn-icon {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #000;
        text-decoration: none;
        font-size: 12px;
    }

    .mobile-top-right .phone-number {
        font-weight: 600;
        font-size: 15px;
        line-height: 133%;
        letter-spacing: -0.07em;
        text-align: center;
        color: #000;
    }

    .mobile-top-right .btn_director {
        padding: 14px 19px;
        font-size: 14px;
        width: auto;
        white-space: nowrap;
    }

    /* Нижняя часть мобильного хедера */
    .mobile-bottom-header {
        padding: 10px 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .mobile-bottom-header .container-xxl {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Кнопка акции */
    .mobile-actions-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 69px;
        background: #ff2312;
        ;
        color: white;
        text-decoration: none;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .mobile-actions-btn img {
        width: 24px;
        height: 25px;
    }

    /* Иконки корзины и аккаунта */
    .mobile-cart-account {
        display: flex;
        gap: 15px;
        align-items: center;
        flex-wrap: wrap;
    }

    .mobile-cart-account .btn-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        color: #000;
        font-size: 10px;
        text-align: center;
    }

    .mobile-cart-account .btn-icon img {
        width: 20px;
        height: 20px;
    }

    /* Мини-корзина в мобильной версии */
    .mobile-cart-account .mini-cart {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }

    .mobile-cart-account .mini-cart .btn-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        color: #000;
        font-size: 10px;
        text-align: center;
    }

    .mobile-cart-account .mini-cart .btn-icon img {
        width: 20px;
        height: 20px;
    }

    /* Модальное окно меню */
    .mobile-menu-modal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 1s ease !important;
        display: block !important;
    }

    .mobile-menu-modal.active {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Скрываем старое модальное окно */
    .old-mobile-menu-modal {
        display: none !important;
    }

    .mobile-menu-content {
        position: absolute !important;
        top: 0 !important;
        transform: translateY(-100%) !important;
        width: 100% !important;
        height: 100% !important;
        background: white !important;
        transition: transform 1s ease !important;
        margin-top: 0 !important;
    }

    /* Когда хедер привязан, меню должно появляться под ним */
    .header.animate~.mobile-menu-modal .mobile-menu-content {
        height: 100% !important;
    }

    /* Дополнительные стили для мобильного меню */
    .mobile-menu-content {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    }

    /* Анимация появления меню */
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .mobile-menu-modal.active .mobile-menu-content {
        animation: slideDown 1s ease-out;
        transform: translateY(0) !important;
    }

    /* Анимация закрытия меню */
    @keyframes slideUp {
        from {
            transform: translateY(0);
        }

        to {
            transform: translateY(-100%);
        }
    }

    .mobile-menu-modal:not(.active) .mobile-menu-content {
        animation: slideUp 1s ease-in;
    }

    /* Заголовок модального окна */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;

        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-menu-header .logo img {
        max-height: 30px;
    }

    .mobile-menu-close {
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        cursor: pointer !important;
        padding: 5px !important;
        color: #333 !important;
        transition: color 0.5s ease !important;
        position: absolute !important;
        right: 10px !important;
        top: 0px !important;
    }

    .mobile-menu-close:hover {
        color: #104c88 !important;
    }

    /* Контент модального окна */
    .mobile-menu-body {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 0;
        padding: 0;
    }

    /* Левая колонка - каталог */
    .mobile-menu-catalog {
        padding: 30px;
    }

    .mobile-menu-catalog-title {
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: 600;
        color: #000;
        text-transform: uppercase;
    }

    .mobile-menu-catalog .catalog-item {
        margin-bottom: 10px;
    }

    .mobile-menu-catalog .catalog-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #000;
        text-decoration: none;
        font-size: 14px;
    }

    .mobile-menu-catalog .catalog-link:hover {
        color: #104c88;
    }

    .mobile-menu-catalog .catalog-arrow {
        font-size: 12px;
        transition: transform 0.5s ease;
    }

    .mobile-menu-catalog .catalog-item.active .catalog-arrow {
        transform: rotate(90deg);
    }

    .mobile-menu-catalog .submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .mobile-menu-catalog .catalog-item.active .submenu {
        max-height: 500px;
    }

    .mobile-menu-catalog .submenu-item {
        padding: 8px 0 8px 15px;
    }

    .mobile-menu-catalog .submenu-link {
        color: #666;
        text-decoration: none;
        font-size: 13px;
    }

    .mobile-menu-catalog .submenu-link:hover {
        color: #104c88;
    }

    /* Правая колонка - сервисное меню */
    .mobile-menu-service {
        padding: 30px;
    }

    .mobile-menu-service h3 {
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: 600;
        color: #000;
        text-transform: uppercase;
    }

    .mobile-menu-service .service-item {
        margin-bottom: 10px;
    }

    .mobile-menu-service .service-link {
        display: block;
        color: #000;
        text-decoration: none;
        font-size: 14px;
    }

    .mobile-menu-service .service-link:hover {
        color: #104c88;
    }

    /* Контакты в модальном окне */
    .mobile-menu-contacts {
        grid-column: 1 / -1;
        padding: 30px;
        bottom: 0;
        z-index: 10;
    }

    .mobile-menu-contacts h3 {
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .mobile-menu-contacts .contact-item {
        margin-bottom: 10px;
    }

    .mobile-menu-contacts .contact-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.5s ease;
    }

    .mobile-menu-contacts .contact-link:hover {
        color: #104c88;
    }

    .mobile-menu-contacts .contact-link img {
        width: 20px;
        height: 20px;
    }

    .mobile-menu-contacts .contact-link i {
        font-size: 18px;
        width: 20px;
        text-align: center;
    }

    .mobile-menu-contacts .btn_director {
        width: 100%;
        margin-top: 15px;
        padding: 12px 20px;
        background: #fff;
        color: #000;
        border: 1px solid #104C88;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color 0.5s ease;
    }

    .mobile-menu-contacts .btn_director:hover {
        background: #0d3d6f;
    }

    .mobile-menu-contacts .contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .mobile-menu-contacts .contact-link {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
    }

    .mobile-menu-contacts .contact-link:hover {
        color: #104c88;
    }

    .mobile-menu-contacts .btn-icon {
        padding: 5px;
    }

    .mobile-menu-contacts .btn-icon img {
        width: 18px;
        height: 18px;
    }

    .mobile-menu-contacts .btn_director {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    /* Стили для социальных сетей и мессенджеров в мобильном меню */
    .mobile-menu-contacts .mobile-menu-social-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-contacts .mobile-menu-social-row:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .mobile-menu-contacts .mobile-menu-social-text {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        flex-shrink: 0;
    }

    .mobile-menu-contacts .mobile-menu-social-icons {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .mobile-menu-contacts .mobile-menu-social-icons .btn-icon {
        padding: 8px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .mobile-menu-contacts .mobile-menu-social-icons .btn-icon:hover {
        background: rgba(16, 76, 136, 0.1);
        transform: scale(1.1);
    }

    .mobile-menu-contacts .mobile-menu-social-icons .btn-icon i {
        font-size: 24px;
        color: #104c88;
    }

    .mobile-menu-contacts .mobile-menu-social-icons .btn-icon img {
        width: 20px;
        height: 20px;
    }
}

/* Дополнительные стили для очень маленьких планшетов */
@media (max-width: 768px) {
    .mobile-menu-body {
        grid-template-columns: 1fr;
    }

    .mobile-menu-contacts .mobile-menu-social-icons {
        gap: 25px;
    }

    .mobile-menu-contacts .mobile-menu-social-icons.fa {
        gap: 21px;
    }

    .mobile-menu-catalog {
        border-right: none;
    }

    .mobile-menu-content {
        width: 100%;
        overflow: auto;
    }

    .mobile-menu-header {}

    .mobile-menu-catalog,
    .mobile-menu-service {
        padding: 15px;
    }

    .mobile-menu-contacts {
        padding: 15px;
    }

    /* Адаптация для очень маленьких экранов */
    .mobile-top-section {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .mobile-top-left,
    .mobile-top-right {
        justify-content: center;
    }

    .mobile-top-right .btn_director {
        font-size: 9px;
        padding: 6px 8px;
    }

    .mobile-top-right .phone-number {
        font-size: 11px;
    }

    .catalog-section-cards .catalog-section-cards-container {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 15px;
    }

    .new-price-box {
        font-size: 16px;
    }

    .product-item .product-item-scu-item-color-container {
        width: 24px;
        height: 24px;
    }

    .product-item .product-item-scu-item-color-container .product-item-scu-item-color-block .product-item-scu-item-color {
        width: 25px;
        height: 25px;
    }

    .btn-add-to-cart,
    .btn-contact {
        padding: 11px !important;
    }
}

/* Стили для мобильных шаблонов меню */
.mobile-catalog-list,
.mobile-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-catalog-list .catalog-item,
.mobile-service-list .service-item {
    margin-bottom: 0;
}

.mobile-catalog-list .catalog-link,
.mobile-service-list .service-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    padding: 8px 0;
}

.mobile-catalog-list .catalog-text {}

.mobile-catalog-list .catalog-link:hover,
.mobile-service-list .service-link:hover {
    color: #104c88;
}

.mobile-catalog-list .catalog-arrow {
    font-size: 32px;
    transition: transform 0.5s ease, color 0.5s ease;
    color: #999;
    display: inline-block;
    transform: rotate(0deg);
    cursor: pointer;
    margin-left: 12px;
    user-select: none;
    line-height: 1;
    font-weight: 100;
}

.mobile-catalog-list .catalog-item.active .catalog-arrow {
    transform: rotate(90deg) !important;
    color: #104c88 !important;
}

.mobile-catalog-list .submenu {
    list-style: none !important;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-catalog-list .catalog-item.active .submenu {
    max-height: 500px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.mobile-catalog-list .submenu-item {
    padding: 0;
}

.mobile-catalog-list .submenu-link {
    display: block;
    padding: 0px 0 0px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f8f8f8;
    transition: color 0.5s ease, background-color 0.5s ease;
    position: relative;
}

.mobile-catalog-list .submenu-link:hover {
    color: #104c88;
    background-color: #f8f9fa;
}


/* Активные состояния */
.mobile-catalog-list .catalog-item.active>.catalog-link,
.mobile-service-list .service-item.active>.service-link {
    color: #104c88;
    font-weight: 600;
    background-color: #f8f9fa;
}

.mobile-catalog-list .catalog-link:hover {
    background-color: #f8f9fa;
}

@media (max-width: 460px) {
    .mobile-socials .btn-icon {
        padding: 0;
    }

    .mobile-socials .btn-icon img {
        width: 19px;
        height: 19px;
    }

    /* Специальная структура для мобильной версии 460px и ниже */

    /* Скрываем обычную мобильную структуру */
    .mobile-top-section {
        display: none !important;
    }

    .mobile-middle-section {
        display: none !important;
    }

    .mobile-bottom-header {
        display: none !important;
    }

    /* Показываем компактную структуру */
    .mobile-compact-header {
        display: block !important;
    }

    /* Верхний ряд: бургер + соцсети слева, кнопка директора справа */
    .mobile-compact-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px !important;
        background: #f5f5f5;
    }

    .mobile-compact-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .mobile-compact-burger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .mobile-compact-burger .burger-icon {
        width: 20px !important;
        height: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .mobile-compact-burger .burger-icon span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #000 !important;
        transition: all 0.3s ease !important;
    }

   
    .mobile-compact-socials {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .mobile-compact-socials .btn-icon {
        padding: 0 !important;
    }

    .mobile-compact-socials .btn-icon img {
        width: 19px !important;
        height: 19px !important;
    }

    .mobile-compact-director {
        display: flex !important;
        align-items: center !important;
    }

    .mobile-compact-director .btn_director {
        font-size: 12px !important;
        padding: 11px 12px !important;
        white-space: nowrap !important;
    }

    /* Второй ряд: логотип и телефон */
    .mobile-compact-middle {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px !important;
        background: #f5f5f5;
    }

    .mobile-compact-logo {
        display: flex !important;
        align-items: center !important;
    }

    .mobile-compact-logo img {
        max-height: 36px !important;
        width: auto !important;
    }

    .mobile-compact-phone {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #000 !important;
        text-decoration: none !important;
    }

    .mobile-compact-phone i {
        font-size: 18px !important;
        color: #104C88 !important;
    }

    .phone-number {
        bottom: 0;
    }

    /* Третий ряд: поиск на всю ширину */
    .mobile-compact-search {
        padding: 10px !important;
        background: #f5f5f5;
    }

    .mobile-compact-search .header_search {
        width: 100% !important;
        max-width: none !important;
    }

    /* Четвертый ряд: кнопка акций на всю ширину */
    .mobile-compact-actions {
        padding: 10px !important;
    }

    .mobile-compact-actions .mobile-actions-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 15px !important;
        background: #ff2312;
        border: 1px solid #e5e5e5 !important;
        border-radius: 15px !important;
        text-decoration: none !important;
        color: #fff !important;
        font-weight: 600 !important;
        font-size: 12px !important;
    }

    .mobile-compact-actions .mobile-actions-btn img {
        width: 16px !important;
        height: 16px !important;
    }

    /* Пятый ряд: иконки профиль, избранное, корзина */
    .mobile-compact-account {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 10px !important;
        gap: 15px !important;
    }

    .mobile-compact-account .btn-icon {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3px !important;
        text-decoration: none !important;
        color: #000 !important;
        font-size: 10px !important;
        font-weight: 500 !important;
    }

    .mobile-compact-account .btn-icon img {
        width: 20px !important;
        height: 20px !important;
    }

    .mobile-compact-account .btn-icon span {
        text-align: center !important;
    }

    .header .middle-top-row {
        padding: 0;
        border-bottom: none;
    }

    .header.animate .middle-top-row .middle-top-row-container {
        display: none !important;
    }

    .header.animate .mobile-compact-header {
        display: none !important;
    }

    /* Показываем привязанную панель при скролле */
    .header.animate .mobile-compact-sticky {
        display: flex !important;
    }

    /* Привязанная панель для мобильной версии 460px и ниже */
    .mobile-compact-sticky {
        display: none !important;
    }

    .header.animate .mobile-compact-sticky {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 8px 10px !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1001 !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-left {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-burger {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 35px !important;
        height: 35px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-burger .burger-icon {
        width: 18px !important;
        height: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-burger .burger-icon span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #000 !important;
        transition: all 0.3s ease !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-logo {
        display: flex !important;
        align-items: center !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-logo img {
        max-height: 25px !important;
        width: auto !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-phone {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #000 !important;
        text-decoration: none !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-phone i {
        font-size: 14px !important;
        color: #104C88 !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-account {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        justify-content: flex-end !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-account .btn-icon {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        text-decoration: none !important;
        color: #666 !important;
        gap: 2px !important;
        font-size: 12px !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-account .btn-icon img {
        width: 24px !important;
        height: 24px !important;
    }

    .header.animate .mobile-compact-sticky .mobile-compact-sticky-account .btn-icon span {
        font-size: 9px !important;
        font-weight: 500 !important;
        text-align: center !important;
        line-height: 1 !important;
    }

}

/* Стили для кнопки лайка */
.like-btn {
    position: absolute;
    right: 16px;
    top: 60px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.product_left_column .like-btn {
    top: 10px;
}
.like-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.like-btn img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.like-btn.active {
    background: #ff6b6b;
    color: white;
}

.like-btn.active img {
    filter: brightness(0) invert(1);
}

.btn-cart .cart-count-bubble {
    width: 20px;
    border-radius: 10px;
}

/* Стили для счетчика избранных товаров */
.favorites-counter {
    position: absolute;
    background-color: rgb(0, 57, 121);
    color: #FFFFFF;
    border-radius: 10px;
    width: 20px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    top: 1px;
    right: 8px;
    line-height: 1;
    transition-property: opacity, transform, color, background-color;
    transition-duration: 0.25s;
    transition-timing-function: ease;
    opacity: 0;
    visibility: hidden;
}

.favorites-counter.visible {
    opacity: 1;
    visibility: visible;
}

/* Стили для ссылки избранного в хедере */
.btn-account.favorites-link {
    position: relative;
}


/* Стили для уведомлений */
.favorites-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    z-index: 10000;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.favorites-notification-success {
    background: #fff !important;
    color: #003979 !important;
}
.notification {
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.notification-success {
    background: #fff !important;
    color: #003979 !important;
}
.favorites-notification-info {
    background: #fff !important;
    color: #003979 !important;
}

/* Стили для страницы избранного */
.favorites-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.favorites-empty {
    text-align: center;
    padding: 60px 20px;
}

.favorites-empty h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.favorites-empty p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorites-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.3s ease;
}

.favorites-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.favorites-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.favorites-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.favorites-item:hover .favorites-item-image img {
    transform: scale(1.05);
}

.favorites-item-content {
    padding: 15px;
}

.favorites-item-content h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.favorites-item-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.favorites-item-content h4 a:hover {
    color: #104c88;
}

.favorites-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.remove-from-favorites {
    width: 100%;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-from-favorites:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .favorites-item-image {
        height: 150px;
    }

    .favorites-container {
        padding: 15px;
    }

    .footer .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .footer {
        padding-top: 20px;
    }
}

.products-block.favorites .catalog-section-cards .catalog-section-cards-container {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
@media screen and (max-width: 480px) {
    .products-block.favorites .catalog-section-cards .catalog-section-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
.cart-dropdown-container {
    position: relative;
    display: inline-block;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 545px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 500px;
    overflow: hidden;
}

.cart-dropdown.show {
    display: block !important;
}

.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.cart-dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}
.form-header .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%2833, 35, 38%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
}
.modal-header .btn-close::before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%2833, 35, 38%29'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
}
.modal-header {
    border-bottom: none;
}
.btn-close:hover {
    color: #333;
}

.cart-dropdown-body {
    max-height: 300px;
    overflow-y: auto;
}

.cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.cart-items {
    padding: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item:last-child {
    border-bottom: none;
}


.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 500;
    color: #000;
    line-height: 100%;
}

.cart-item-name a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.3;
}

.cart-item-name a:hover {
    color: #007bff;
}

.cart-item-price {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #EDEDED;
    padding: 4px;
    border-radius: 5px;
}

.quantity-btn {
    width: 17px;
    height: 17px;
    border: none;
    background: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #f8f9fa;
}

.quantity-input {
    height: 25px;
    border: none;
    border-radius: 3px;
    text-align: center;
    font-size: 13px;
    background: none;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: 10px;
}

.cart-item-actions {
    margin-left: 0;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    color: #c82333;
}

.cart-dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.cart-actions {
    display: flex;
    gap: 10px;
    background-color: rgb(0, 57, 121);
    padding: 12px 45px;
    color: white;
    border-radius: 12px;
}

.cart-actions a {
    flex: 1;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

@media (max-width: 768px) {
    .cart-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        width: 420px;
        max-height: 80vh;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .cart-dropdown-header {
        padding: 15px 20px;
    }

    .cart-dropdown-body {
        max-height: 60vh;
    }

    .cart-dropdown-footer {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-item {
        padding: 15px 20px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .cart-total {
        font-size: 16px;
        font-weight: 600;
    }

    .cart-actions {
        display: flex;
        gap: 10px;
        padding: 12px 28px;
    }

    .cart-actions a {
        flex: 1;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        border-radius: 6px;
        color: white;
    }

    .cart-actions a:hover {
        background: #0056b3;
    }

    .mobile-menu-contacts .mobile-menu-social-icons.first-row {
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .cart-dropdown-container {
        position: inherit;
    }
    .cart-dropdown {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        max-height: 200vh;
        border-radius: 0;
    }

    .cart-dropdown-header {
        padding: 12px 15px;
    }

    .cart-dropdown-body {
        max-height: 50vh;
    }

    .cart-dropdown-footer {
        padding: 12px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-item {
        padding: 12px 15px;
    }

    .cart-item-image {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    .cart-item-right {
        gap: 6px;
        margin-left: 8px;
    }

    .cart-item-name {
        font-size: 13px;
    }

    .cart-item-price {
        font-size: 13px;
    }

    .cart-total {
        font-size: 14px;
    }

    .cart-actions a {
        font-size: 13px;
    }
}



@media (max-width: 480px) {
    .mobile-menu-content {
        height: 100% !important;
    }

    .header.animate~.mobile-menu-modal .mobile-menu-content {
        margin-top: 70px !important;
        height: calc(100% - 70px) !important;
    }

    .mobile-menu-body {
        grid-template-columns: 1fr !important;
        overflow: auto;
    }

    .mobile-menu-catalog {
        padding-left: 18px !important;
        padding-top: 27px !important;
        padding-right: 20px !important;
    }

    .mobile-menu-service {
        padding-left: 18px !important;
        padding-right: 20px !important;
        padding-top: 0px !important;
    }
}

@media (max-width: 360px) {


    .header.animate~.mobile-menu-modal .mobile-menu-content {
        margin-top: 65px !important;
        height: calc(100% - 65px) !important;
    }

    .mobile-menu-catalog,
    .mobile-menu-service {
        padding: 10px !important;
    }

    .mobile-menu-header {
        padding: 10px !important;
    }

    .mobile-menu-contacts {
        padding: 15px !important;
    }

    .mobile-menu-contacts .contact-link {
        font-size: 13px !important;
        padding: 8px 0 !important;
    }

    .mobile-menu-contacts .btn_director {
        font-size: 12px !important;
        padding: 10px 15px !important;
    }
}

/* Стили для счетчика корзины */
.cart-count-bubble {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.cart-count-bubble .counter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}

.atumsmartsearchpro .js-atumsmartsearchpro-result.js-atumsmartsearchpro-open {
    min-width: 400px;
    left: auto;
    width: 100%;
}

@media (max-width: 460px) {
    .atumsmartsearchpro .js-atumsmartsearchpro-result.js-atumsmartsearchpro-open {
        min-width: auto;
    }
}

.range-slider .slider .progress {
    background: #104C88;
}


.bx-pagination .bx-pagination-container ul li.bx-active span {
    background: #104C88;
}

.bx-pagination .bx-pagination-container ul li span {
    border-radius: 3px;
}

.bx-pagination .bx-pagination-container {
    margin-top: 62px;
}

/* Стили для корзины в оформлении заказа */
#bx-soa-basket .cart-dropdown {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

#bx-soa-basket .cart-dropdown-header {
    display: none;
}

#bx-soa-basket .cart-dropdown-body {
    max-height: none;
    overflow: visible;
}

#bx-soa-basket .cart-dropdown-footer {
    display: none;
}

/* Скрываем строку "Товаров на:" в блоке общей суммы заказа */
.bx-soa-cart-total-line:first-child {
    display: none;
}













/* Стили для корзины в оформлении заказа с новыми классами */
#bx-soa-basket .order-basket {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

#bx-soa-basket .order-basket-header {
    display: none;
}

#bx-soa-basket .order-basket-body {
    max-height: none;
    overflow: visible;
}

#bx-soa-basket .order-basket-footer {
    display: none;
}

/* Копируем все стили cart-dropdown для order-basket */
.order-basket {
    position: static;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: block;
    max-height: none;
    overflow: visible;
}

.order-basket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.order-basket-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.order-basket-body {
    max-height: none;
    overflow: visible;
}

.order-basket-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.order-basket-items {
    padding: 0;
}

.order-basket-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 0px;
}

.order-basket-item:last-child {
    border-bottom: none;
}

.order-basket-item-image {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    flex-shrink: 0;
}

.order-basket-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.order-basket-item-content {
    flex: 1;
    min-width: 0;
}

.order-basket-item-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.order-basket-item-name a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
}

.order-basket-item-name a:hover {
    color: #007bff;
}

.order-basket-item-price {
    color: #104C88;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.order-basket-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #EDEDED;
    padding: 4px;
    border-radius: 5px;
}

.order-quantity-btn {
    width: 17px;
    height: 17px;
    border: none;
    background: none;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.order-quantity-btn:hover {
    background: #f8f9fa;
}

.order-quantity-input {
    width: 17px;
    height: 25px;
    border: none;
    border-radius: 3px;
    text-align: center;
    font-size: 13px;
    background: none;
}

.order-basket-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: 10px;
}

.order-basket-item-actions {
    margin-left: 0;
}

.order-remove-item {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-remove-item:hover {
    color: #c82333;
}

.order-basket-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-basket-total {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

/* Адаптивные стили для корзины в оформлении заказа */
@media (max-width: 768px) {
    #bx-soa-basket .cart-dropdown {
        width: 100%;
    }

    #bx-soa-basket .cart-item {
        padding: 12px 15px;
    }

    #bx-soa-basket .cart-item-image {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    #bx-soa-basket .order-basket {
        width: 100%;
    }

    #bx-soa-basket .order-basket-item {
        padding: 12px 15px;
    }

    #bx-soa-basket .order-basket-item-image {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
}

@media (max-width: 480px) {
    #bx-soa-basket .cart-dropdown {
        width: 100%;
    }

    #bx-soa-basket .cart-item {
        padding: 12px 15px;
    }

    #bx-soa-basket .cart-item-image {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    #bx-soa-basket .order-basket {
        width: 100%;
    }

    #bx-soa-basket .order-basket-item {
        padding: 12px 15px;
    }

    #bx-soa-basket .order-basket-item-image {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
}

.footer {
    background-color: #000;
    padding-top: 43px;
}

.footer_phone a {
    color: #fff;
    font-size: 15px;
}

.footer_phone i {
    color: #104C88;
    margin-right: 8px;
}

.footer_soc {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-socials {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
    justify-content: space-between;
    align-items: baseline;
}

.footer .footer-container .footer-right-part .footer-right-part-container {
    margin-left: 15px;
}

.footer-socials-block {
    margin-top: 30px;
}

.footer .footer-container .footer-heading {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: normal;
}

.footer .footer-container .footer-menu-container .footer-menu-item .footer-menu-sub-menu .sub-menu-item {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 12px;
    text-transform: none;
}

.footer .footer-container .footer-menu-container {
    grid-template-columns: 0.7fr 1fr 0.7fr 0.7fr;
}

.footer .footer-bottom-part {
    grid-template-areas:
        "disclaimer disclaimer"
        "copyright payment";
    margin-left: 15px;
}

.footer .footer-bottom-part .dividebuy-disclaimer {
    max-width: 500px;
    color: #666;
}

.footer .footer-bottom-part .footer-copyright .copyright__content {
    margin-top: 30px;
    color: #666;
}

.header .bottom-top-row {}

.atumsmartsearchpro .js-atumsmartsearchpro-input {
    font-size: 15px;
    padding: 13px 16px;
    height: auto;
    min-height: 24px;
    border-radius: 10px;
}

.atumsmartsearchpro-form .icon {
    color: #003979;
    right: 15px;
}

.atumsmartsearchpro .js-atumsmartsearchpro-clear {
    background-color: #EEEEEE;
    border-radius: 50%;
    border-bottom: none;
    width: 24px;
    height: 24px;
    right: 44px;
    top: 25%;
}

.atumsmartsearchpro .js-atumsmartsearchpro-result {
    border-radius: 10px;
}

.atumsmartsearchpro-empty {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #666666;
}


.btn-check:checked+.btn-primary:focus,
.btn-check:checked+.btn-primary-alt:focus,
.btn-check:active+.btn-primary:focus,
.btn-check:active+.btn-primary-alt:focus,
.btn-primary:active:focus,
.btn-primary-alt:active:focus,
.btn-primary.active:focus,
.active.btn-primary-alt:focus,
.show>.btn-primary.dropdown-toggle:focus,
.show>.dropdown-toggle.btn-primary-alt:focus {
    box-shadow: none;
}

.btn-check:focus+.btn-primary,
.btn-check:focus+.btn-primary-alt,
.btn-primary:focus,
.btn-primary-alt:focus {
    box-shadow: none;
}

.btn-primary:focus,
.btn-primary-alt:focus {
    box-shadow: none;
}

.atumsmartsearchpro .atumsmartsearchpro-result-item-name {
    text-decoration: none;
}

.atumsmartsearchpro .atumsmartsearchpro-result-item-price * {
    font-weight: 700;
    font-size: 16px;
}

.atumsmartsearchpro .atumsmartsearchpro-more {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 12px 24px;
    border-color: #104C88;
}

.cart-item-properties {
    font-size: 12px;
    color: #000;
}

.cart-item-color {
    font-weight: 500;
}

.btn-contact {
    background-color: #000;
}


.btn {
    white-space: nowrap;
}

.home-page .products-block .catalog-section-cards .catalog-section-cards-container {
    grid-gap: 40px;
}

.atumsmartsearchpro .atumsmartsearchpro-result-item-price {
    margin-top: 6px;
}

.product-item-title {
    font-size: 18px !important;
    line-height: 135%;
    letter-spacing: normal !important;
}

.product-item-title-container {
    margin-top: 6px;
    margin-bottom: 12px;
    line-height: 100%;
}

@media (max-width: 768px) {
    .product-item-title {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .product-item-title {
        font-size: 12px !important;
    }

    .products-sections-cloud {
        gap: 5px;
    }

    .liders-sections-cloud {
        gap: 5px !important;
    }
}

/* Стили для блока с полями ввода цены */
.price-inputs-container {
    display: flex;
    gap: 16px;
}

.range-slider {
    margin-top: 0;
    padding-top: 0;
}

.custom-checkbox:has(input:checked):before {
    background-color: #104C88;
    background-image: none;
}

.custom-checkbox:before {
    border-radius: 4px;
}

.price-input-block {
    display: flex;
    align-items: center;
    background: #F2F2F2;
    border-radius: 12px;
    padding: 8px 13px;
    flex: 1;
    width: 45%;
}

.price-input-label {
    color: #8A8A8E;
    font-size: 16px;
    font-weight: 500;
    margin-right: 8px;
    white-space: nowrap;
}

.price-input-field {
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #000;
    flex: 1;
    min-width: 30px;
    text-align: center;
}

input[type="range" i] {
    color: #104C88;
    background: #ddd !important;
}

.price-input-field::placeholder {
    color: #8A8A8E;
}

.price-input-currency {
    color: #8A8A8E;
    font-size: 16px;
    font-weight: 500;
    margin-left: 8px;
    white-space: nowrap;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
    .price-inputs-container {
        flex-direction: row;
        gap: 12px;
        justify-content: space-between;
    }

    .range-slider {
        width: 100%;
    }

    .price-input-block {
        padding: 10px 14px;
        max-width: 30%;
    }

    .price-input-label,
    .price-input-field,
    .price-input-currency {
        font-size: 14px;
    }
}

/* Стили для range слайдеров */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    cursor: pointer;
    width: 100%;
    height: 20px;
    border-radius: 3px;
    outline: none;
    margin: 0;
    position: absolute;
    top: -9px;
    left: 0;
}

.range-slider .range-input input {
    top: -1px;
}

.range-min {
    z-index: 1;
}

.range-max {
    z-index: 2;
}

/* Контейнер для range слайдера */
.range-input {
    position: relative;
    margin: 20px 0;
    height: 2px;
    background: #ddd;
    border-radius: 1px;
}

/* Стили для range слайдера */
.range-slider {
    position: relative;
}

/* Стили для ползунков range слайдера */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #104C88 !important;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 0;
}

input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #104C88 !important;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 0;
}

/* Стили для трека в Firefox */
input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #ddd !important;
    border: none;
}

.atumsmartsearchpro-result-block {
    font-weight: 600;
}

.cart-total-price {
    color: #104C88;
}

.bx_filter_parameters_box_container .link-underline {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 100%;
    text-transform: none;
}
.link-underline {
    background-image: none;
}
.btn-add-to-cart,
.btn-contact {
    font-size: 15px;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    gap: 8px;
    padding: 12px 18px !important;
}

.bx-pagination .bx-pagination-container ul li span {
    min-width: 42px;
    height: 42px;
    line-height: 42px;
}

.bx-pagination .bx-pagination-container ul li.bx-pag-all span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next span {
    line-height: 42px;
}

.bx-pagination .bx-pagination-container ul li.bx-pag-all a span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev a span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next a span {
    line-height: 42px;
}

.bx-pagination .bx-pagination-container ul {
    display: flex;
    align-items: normal;
    justify-content: center;
}

.custom-checkbox.disabled {
    opacity: 0.5;
}

.slider-header-top svg {
    display: none;
}

.mobile-compact-header .container-xxl {
    padding: 0;
}

@media (min-width: 1200px) {
    .header .middle-top-row .middle-top-row-container .header-socials {
        flex-basis: 550px;
        justify-content: end;
    }

    .header.animate .middle-top-row .middle-top-row-container .header-socials {
        flex-basis: auto;
    }
}

.btn-primary.btn-add-to-cart {
    text-transform: uppercase;
}


.product-description {
    font-size: 16px;
    line-height: 100%;
    font-weight: 400;
    letter-spacing: normal;
}

.vv-consent {
    font-size: 12px;
}

.thumbnails-container.single-image {
    margin: 0;
}

@media (min-width: 100px) and (max-width: 1350px) {}

body.header-collapsed {
    padding-top: 250px;
}

@media (max-width: 420px) {
    body.header-collapsed {
        padding-top: 320px;
    }
}

.btn-contact-detail.hidden-by-js {
    display: none !important;
}
/*
@media (max-width: 768px) {
	.bx-soa-cart-total.bx-soa-cart-total-bottom {
		height: 195px !important;
        padding: 20px !important;
	}
    .bx-soa-cart-total {
		height: 195px !important;
        padding: 20px !important;
	} 
}
*/
@media (min-width: 1024px) {
    .order-md-1 .bx-soa-pp-company {
        width: 47% !important;
    }
}

.fa {
    z-index: 1 !important;
}

.slider-header-top .swiper-wrapper {
    align-items: center;
}

.related-products.order_page {
    margin-top: 60px;
}

@media screen and (max-width: 767px) {
    .navigation-left {
        flex-wrap: wrap;
    }
    .navigation-txt {
        height: 15px !important;
    }
    
        .navigation__left-link {
           width: 50% !important;
        }
    
}

.bx-soa-pickup-list-item.bx-selected .bx-soa-pickup-l-item-btn{
    display: none;
}

.bx-newslist .btn {
    background-color: rgb(0, 57, 121) !important;
}

.home-page .main-banner-container .main-banner-one .image-container img {
    border-radius: 12px;
}
.home-page .main-banner-container .main-banner-two .image-container img {
    border-radius: 12px;
}

@media (max-width: 1100px) {
    .header .middle-top-row .cont-bottom-row-list {gap: 10px;}
    .header_topest_menu .bottom-header-link {font-size: 13px;}
}


.breadcrumbs ul {
    flex-wrap: wrap;
}

.section-head_text {
    margin-top: 30px;
}
.product-count__text {
    padding: 20px;
    color: #104C88;
    margin-bottom: 0;
}

.home-page .block-title {
    width: 100%;
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    letter-spacing: normal;
    font-weight: bold !important;
    margin-bottom: 44px;
    color: #000 !important;
}

.search-page .tag-cloud-row {
    display: none !important;
}
.blog_section img {
    max-width: 100%;
    height: auto;
}

.modal-content {
    border-radius: 24px;
}

.r52-a-cookies {
    border-radius: 24px !important;
}
.r52-a-cookies__btn-accept {
    color: #fff !important;
}
.r52-a-cookies__btn {
    border-radius: 6px;
}
.r52-a-cookies__btn-accept:hover  {
    background-color: #104C88 !important;
    border-color: #104C88 !important;
}

.r52-a-cookies__checkbox input:checked+span:before {
    color:#003979 !important;
}
.bx-soa-cart-t {
    font-size: 18px;
}

.modal-content {
    padding: 20px;
}