/* === HEADER V2 STYLES === */
        /* Reset for header-v2 area */
        .header-v2 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .header-v2 {
            font-family: inherit;
        }

        /* ===== ТОП-БАР V2 ===== */
        .top-bar-v2 {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            padding: 8px 0;
            border-bottom: 2px solid #4CAF50;
        }

        .top-bar-v2__inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px;
        }

        .top-bar-v2__contacts {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .top-bar-v2__item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #cdd6f4;
            font-size: 16px;
            text-decoration: none;
            transition: color 0.3s;
        }

        .top-bar-v2__item:hover {
            color: #4CAF50;
        }

        .top-bar-v2__item i {
            color: #4CAF50;
            font-size: 15px;
        }

        .top-bar-v2__divider {
            width: 1px;
            height: 14px;
            background: rgba(255,255,255,0.2);
        }

        .top-bar-v2__address {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #cdd6f4;
            font-size: 16px;
            text-decoration: none;
            transition: color 0.3s;
        }

        .top-bar-v2__address:hover {
            color: #4CAF50;
        }

        .top-bar-v2__address i {
            color: #4CAF50;
            font-size: 15px;
        }

        .top-bar-v2__badge {
            background: linear-gradient(135deg, #4CAF50, #2e7d32);
            color: white;
            font-size: 18px;
            font-weight: 600;
            padding: 3px 12px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
            white-space: nowrap;
        }

        .top-bar-v2__badge i {
            font-size: 14px;
        }

        /* ===== ОСНОВНАЯ ШАПКА V2 ===== */
        .header-main-v2 {
            background: #ffffff;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-main-v2__inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 24px;
        }

        /* ЛОГО V2 */
        .logo-v2 {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-v2__brand {
            font-size: 34px;
            font-weight: 800;
            color: #1a1a2e;
            letter-spacing: 1px;
            line-height: 1;
        }

        .logo-v2__brand span {
            color: #4CAF50;
        }

        .logo-v2__sub {
            font-size: 12px;
            color: #888;
            letter-spacing: 0.5px;
            margin-top: 3px;
        }

        .logo-v2__image {
            max-width: 230px;
            height: auto;
        }

        /* КНОПКА КАРТА ЦВЕТОВ V2 */
        .btn-colormap-v2 {
            display: flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, #4CAF50, #2e7d32);
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            flex-shrink: 0;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
            transition: all 0.3s ease;
        }

        .btn-colormap-v2:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(76, 175, 80, 0.5);
            color: white;
            text-decoration: none;
        }

        .btn-colormap-v2 i {
            font-size: 18px;
        }

        /* ПОИСК V2 */
        .search-v2 {
            flex: 1;
            position: relative;
            max-width: 480px;
        }

        .search-v2__input {
            width: 100%;
            padding: 11px 20px 11px 46px;
            border: 2px solid #e8e8e8;
            border-radius: 12px;
            font-size: 17px;
            color: #333;
            background: #f8f9fa;
            transition: all 0.3s ease;
            outline: none;
        }

        .search-v2__input:focus {
            border-color: #4CAF50;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
        }

        .search-v2__input::placeholder {
            color: #aaa;
        }

        .search-v2__icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
            font-size: 18px;
            pointer-events: none;
            transition: color 0.3s;
        }

        .search-v2:focus-within .search-v2__icon {
            color: #4CAF50;
        }

        /* ИКОНКИ ДЕЙСТВИЙ V2 */
        .header-actions-v2 {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: auto;
        }

        .action-btn-v2 {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            padding: 8px 14px;
            border-radius: 12px;
            text-decoration: none;
            color: #444;
            transition: all 0.3s ease;
            position: relative;
            border: 2px solid transparent;
            background: transparent;
            cursor: pointer;
        }

        .action-btn-v2:hover {
            background: #f0faf0;
            border-color: #4CAF50;
            color: #2e7d32;
            text-decoration: none;
        }

        .action-btn-v2 i {
            font-size: 24px;
        }

        .action-btn-v2__label {
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap;
        }

        .action-btn-v2__sublabel {
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
        }

        .action-btn-v2--cart .action-btn-v2__sublabel {
            color: #4CAF50;
        }

        .badge-v2 {
            position: absolute;
            top: 1px;
            right: 32px;
            background: #e53935;
            color: white;
            font-size: 14px;
            font-weight: 700;
            width: 17px;
            height: 17px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

       /* ===== НАВИГАЦИЯ V2 ===== */
.nav-v2 {
    background: #1a1a2e;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    width: 100%;
}

.nav-v2__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
}

/* Категории — с отступом слева */
.nav-categories-v2 {
    position: relative;
    padding-left: 20px;  /* отступ как у старого контейнера */
}

/* Меню — растягивается на всё оставшееся */
.nav-menu-v2 {
    display: flex;
    list-style: none;
    padding: 0 20px 0 10px;  /* отступ справа */
    gap: 0;
    margin: 0;
    flex: 1;  /* растянуть */
    justify-content: flex-start; /* или space-between если хотите растянуть пункты */
}

.nav-categories-v2__button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #4CAF50;
    padding: 13px 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    color: white;
    white-space: nowrap;
    transition: background 0.3s;
    border: none;
    font-family: inherit;
    user-select: none;
}

.nav-categories-v2:hover .nav-categories-v2__button,
.nav-categories-v2__button:hover {
    background: #2e7d32;
}

.nav-categories-v2__button .chevron {
    font-size: 14px;
    margin-left: 4px;
    transition: transform 0.3s;
}

.nav-categories-v2:hover .nav-categories-v2__button .chevron {
    transform: rotate(180deg);
}

/* ===== МЕГАМЕНЮ ДВУХПАНЕЛЬНОЕ ===== */
.mega-menu-v2 {
    position: absolute;
    top: 100%;
    left: 0;
    width: 1350px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 0 16px 16px 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
    border-top: 3px solid #4CAF50;
}

.nav-categories-v2:hover .mega-menu-v2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ЛЕВАЯ ПАНЕЛЬ */
.mega-menu-v2__left {
    width: 270px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #f8fffe 0%, #f0faf0 100%);
    border-right: 1px solid #e8f5e9;
    overflow-y: auto;
    max-height: 68vh;
}

.mega-menu-v2__top-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    text-decoration: none;
    color: #2e7d32;
    font-weight: 700;
    font-size: 17px;
    border-bottom: 1px solid #e8f5e9;
    background: #fff;
    transition: background 0.2s;
}

.mega-menu-v2__top-link:hover {
    background: #f0faf0;
}

.mega-menu-v2__top-link i {
    font-size: 22px;
}

.mega-menu-v2__sale {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    text-decoration: none;
    color: #e53935;
    font-weight: 700;
    font-size: 17px;
    border-bottom: 2px solid #e8f5e9;
    transition: background 0.2s;
}

.mega-menu-v2__sale:hover {
    background: #fff5f5;
}

.mega-menu-v2__sale i {
    font-size: 18px;
}

/* ПУНКТЫ ЛЕВОГО МЕНЮ */
.mega-menu-v2__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 18px;
    text-decoration: none;
    color: #333;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.mega-menu-v2__item:hover,
.mega-menu-v2__item.active {
    background: #e8f5e9;
    color: #2e7d32;
    padding-left: 24px;
}

.mega-menu-v2__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4CAF50;
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.2s;
}

.mega-menu-v2__item:hover::before,
.mega-menu-v2__item.active::before {
    transform: scaleY(1);
}

.mega-menu-v2__item i {
    font-size: 14px;
    color: #aaa;
    transition: color 0.2s, transform 0.2s;
}

.mega-menu-v2__item:hover i,
.mega-menu-v2__item.active i {
    color: #4CAF50;
    transform: translateX(2px);
}

/* ПРАВАЯ ПАНЕЛЬ */
.mega-menu-v2__right {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    max-height: 68vh;
    display: none;
    animation: fadeInRightV2 0.25s ease;
}

.mega-menu-v2__right.active {
    display: block;
}

@keyframes fadeInRightV2 {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* СЕТКА ПОДМЕНЮ */
.submenu-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: column;  /* заполнять по колонкам, а не по строкам */
    gap: 0 32px;
    align-items: start;      /* не растягивать по высоте */
}

.submenu-col-v2__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e9;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
	padding-top: 20px;
}

.submenu-col-v2__title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    flex-shrink: 0;
}

.submenu-col-v2__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-col-v2__list li {
    margin-bottom: 2px;
}

.submenu-col-v2__list li a {
    display: block;
    padding: 5px 0 5px 14px;
    color: #555;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.1;
    position: relative;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.submenu-col-v2__list li a::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}

.submenu-col-v2__list li a:hover {
    color: #2e7d32;
    background: #f0faf0;
    padding-left: 20px;
}

.submenu-col-v2__list li a:hover::before {
    background: #4CAF50;
    transform: translateY(-50%) scale(1.3);
}

/* ПЛЕЙСХОЛДЕР */
.submenu-placeholder-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #ccc;
    gap: 12px;
}

.submenu-placeholder-v2 i {
    font-size: 58px;
    color: #e8f5e9;
}

.submenu-placeholder-v2 p {
    font-size: 17px;
}

/* Скроллбар */
.mega-menu-v2__left::-webkit-scrollbar,
.mega-menu-v2__right::-webkit-scrollbar {
    width: 4px;
}

.mega-menu-v2__left::-webkit-scrollbar-track,
.mega-menu-v2__right::-webkit-scrollbar-track {
    background: transparent;
}

.mega-menu-v2__left::-webkit-scrollbar-thumb {
    background: #c8e6c9;
    border-radius: 4px;
}

.mega-menu-v2__right::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* ===== ОСНОВНОЕ МЕНЮ V2 ===== */
.nav-menu-v2 {
    display: flex;
    list-style: none;
    padding: 0 10px;
    gap: 0;
    margin: 0;
}

.nav-menu-v2__item {
    position: relative;
}

.nav-menu-v2__link {
    display: block;
    padding: 13px 16px;
    color: #cdd6f4;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu-v2__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: #4CAF50;
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu-v2__link:hover {
    color: #ffffff;
    text-decoration: none;
}

.nav-menu-v2__link:hover::after {
    transform: scaleX(1);
}

.nav-menu-v2__chevron {
    font-size: 12px;
    margin-left: 4px;
    opacity: 0.7;
}

/* Submenu */
.nav-menu-v2__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    min-width: 200px;
    padding: 8px 0;
    z-index: 1001;
    list-style: none;
}

.nav-menu-v2__item:hover > .nav-menu-v2__submenu {
    display: block;
}

.nav-menu-v2__submenu-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.2s;
}

.nav-menu-v2__submenu-link:hover {
    background: #f0faf0;
    color: #2e7d32;
}
		


.submenu-col-v2__title:hover {
    color: #2e7d32;  /* добавить */
}


/* === ЗАКРЕПЛЁННАЯ ШАПКА ПРИ СКРОЛЛЕ === */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #1a1a2e;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 56px;
}

/* Логотип — только картинка */
.sticky-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 4px 0;
}

.sticky-header__logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* делает изображение белым */
}

/* Убрали текстовый логотип */

.sticky-header__logo-text {
    font-family: inherit;
    font-size: 19.2px;  /* 16px * 1.2 */
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1;
}

.sticky-header__logo-text span {
    color: #4CAF50;
}

/* Кнопка каталога */
.sticky-header__catalog {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 17px;  /* 12px * 1.2 */ 
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.sticky-header__catalog:hover {
    background: #2e7d32;
}

.sticky-header__catalog i {
    font-size: 13px;
}

/* Меню навигации */
.sticky-header__nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.sticky-header__nav-item {
    position: relative;
}

.sticky-header__nav-link {
    display: block;
    padding: 18px 14px;
    color: #cdd6f4;
    text-decoration: none;
    font-family: inherit;
    font-size: 17px;  /* 12px * 1.2 */
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.sticky-header__nav-link:hover {
    color: #fff;
}

/* Подчёркивание при наведении */
.sticky-header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background: #4CAF50;
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sticky-header__nav-link:hover::after {
    transform: scaleX(1);
}

/* Поиск */
.sticky-header__search {
    position: relative;
    flex-shrink: 0;
}

.sticky-header__search-input {
    width: 280px;
    padding: 10px 16px 10px 40px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.4px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s;
    outline: none;
}

.sticky-header__search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.sticky-header__search-input:focus {
    border-color: #4CAF50;
    background: rgba(255,255,255,0.12);
}

.sticky-header__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    pointer-events: none;
}

/* Телефон */
.sticky-header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: 16.8px;  /* 14px * 1.2 */
    font-weight: 600;
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.sticky-header__phone:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

.sticky-header__phone i {
    color: #4CAF50;
    font-size: 14px;
}

/* === АДАПТИВ === */
@media (max-width: 1199px) {
    .sticky-header {
        display: none;
    }
}

@media (max-width: 1399px) {
    .sticky-header__search-input {
        width: 200px;
    }
    
    .sticky-header__nav-link {
        padding: 18px 10px;
        font-size: 13px;
    }
    
    .sticky-header__phone {
        font-size: 14px;
    }
}

.nav-categories-v2--hover .nav-categories-v2__button,
.nav-categories-v2:hover .nav-categories-v2__button {
    background: #2e7d32;
}

.nav-categories-v2--hover .mega-menu-v2,
.nav-categories-v2:hover .mega-menu-v2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Мегаменю в fixed-режиме */
.mega-menu-v2 {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Когда открыто из sticky — убираем привязку к nav-categories-v2 */
.mega-menu-v2--sticky-open {
    position: fixed !important;
    z-index: 9999 !important;
}


/* ===== МОБИЛЬНАЯ ШАПКА ===== */
.mobile-header {
    display: none;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

/* Бургер */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a2238;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Логотип */
.mobile-header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.mobile-header__logo img {
    height: 42px;
    width: auto;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-placeholder .logo-text {
    font-size: 20px;
    font-weight: 900;
    color: #1a2238;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-placeholder .logo-text span {
    color: #4caf50;
}

.logo-placeholder .logo-subtitle {
    font-size: 7px;
    color: #666;
    text-align: center;
    line-height: 1.2;
}

/* Иконки справа */
.mobile-header__icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1a2238;
    font-size: 22px;
}

.icon-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #4caf50;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Поиск */
.mobile-header__search {
    padding: 8px 16px 10px;
    background: #fff;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 12px;
    height: 38px;
}

.search-form__icon {
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 8px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.search-form input::placeholder {
    color: #aaa;
}

/* ===== OVERLAY ===== */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== БОКОВОЕ МЕНЮ ===== */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1200;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.side-menu.active {
    left: 0;
}

/* Заголовок */
.side-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #1a2238;
    flex-shrink: 0;
}

.side-menu__header .logo-text {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.side-menu__header .logo-text span {
    color: #4caf50;
}

.close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

/* Вкладки */
.side-menu__tabs {
    display: flex;
    background: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.tab-btn {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 17px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn i {
    font-size: 15px;
  margin-top: 2px;
}

.tab-btn.active {
    color: #4caf50;
    border-bottom-color: #4caf50;
    background: #fff;
}

/* Контент вкладок */
.side-menu__content {
    flex: 1;
    overflow-y: auto;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ===== ВКЛАДКА КАТАЛОГ ===== */
.catalog-color-map {
    margin: 12px 16px;
}

.btn-color-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-color-map:hover {
    background: #43a047;
    color: #fff;
    text-decoration: none;
}

.btn-color-map i {
    font-size: 16px;
}

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

.catalog-item {
    border-bottom: 1px solid #f0f0f0;
}

.catalog-item__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    text-decoration: none;
    color: #1a2238;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.15s;
}

.catalog-item__link:hover,
.catalog-item__link:active {
    background: #f9fffe;
    text-decoration: none;
    color: #1a2238;
}

.catalog-item__link--highlight {
    background: #fffbe6;
}

.catalog-item__link--highlight:hover {
    background: #fff5c2;
}

.catalog-item__link--sale {
    color: #e53935;
}

.catalog-item__link--sale:hover {
    background: #fff5f5;
}

.catalog-item__link--brand {
    color: #ff6d00;
}

.catalog-item__link--brand:hover {
    background: #fff8e1;
}

.catalog-item__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-item__icon {
    width: 32px;
    height: 32px;
    background: #f0f8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4caf50;
    font-size: 17px;
}

.catalog-item__icon--new {
    background: #fffbe6;
    color: #f9a825;
}

.catalog-item__icon--sale {
    background: #ffebee;
    color: #e53935;
}

.catalog-item__icon--brand {
    background: #fff3e0;
    color: #ff6d00;
}

.catalog-item__arrow {
    color: #ccc;
    font-size: 12px;
}

/* ===== ВКЛАДКА ИНФОРМАЦИЯ ===== */
.info-section {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-section__title {
    padding: 4px 16px 8px;
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list__item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #1a2238;
    font-size: 17px;
    transition: background 0.15s;
}

.info-list__item a:hover {
    background: #f9fffe;
    text-decoration: none;
    color: #1a2238;
}

.info-list__item i {
    font-size: 14px;
    color: #4caf50;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Контакты */
.info-contacts {
    padding: 0px 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 16px;
    color: #333;
}

.contact-item i {
    font-size: 14px;
    color: #4caf50;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: #1a2238;
    text-decoration: none;
    font-weight: 500;
}

/* Минимальный заказ */
.min-order-badge {
    margin: 16px 16px 16px;
  background: #4caf50;
  color: #fff;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.min-order-badge i {
    font-size: 14px;
    flex-shrink: 0;
}

/* Футер меню */
.side-menu__footer {
    flex-shrink: 0;
    border-top: 1px solid #f0f0f0;
    padding: 6px 6px;
}

.user-account {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a2238;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.15s;
}

.user-account:hover {
    background: #f5f5f5;
    text-decoration: none;
    color: #1a2238;
}

.user-account__avatar {
    width: 38px;
    height: 38px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4caf50;
    font-size: 16px;
}

.user-account__info {
    flex: 1;
}

.user-account__name {
    font-size: 18px;
    font-weight: 600;
    color: #1a2238;
}

.user-account__label {
    font-size: 13px;
    color: #999;
}

.user-account__arrow {
    color: #ccc;
    font-size: 14px;
}

/* Скролл */
.side-menu__content::-webkit-scrollbar {
    width: 3px;
}

.side-menu__content::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

/* ===== МЕДИА-ЗАПРОС ===== */
@media (max-width: 1199px) {
	
	/* ===== ВЫПАДАЮЩИЙ ПОИСК ПОД ШАПКОЙ ===== */
.mobile-search-dropdown {
    position: fixed;
    top: 63px; /* высота mobile-header__top */
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-search-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-search-dropdown .search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 12px;
    height: 42px;
}

.mobile-search-dropdown .search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 8px;
    font-size: 15px;
    color: #333;
    outline: none;
}

.mobile-search-dropdown .search-form input::placeholder {
    color: #aaa;
}

/* Затемнение контента при открытом поиске */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: block;
    opacity: 1;
}

    .mobile-header {
        display: flex;
    }
    .header-v2 {
        display: none;
    }
}

.catalog-item__icon {
    width: 32px;
    height: 32px;
    background: #f0f8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4caf50;
    font-size: 18px;
    overflow: hidden;  /* ← добавить, если картинка больше */
}

.catalog-item__icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* Активная иконка поиска */
.header-icon.active {
    color: #4caf50;
}

/* Корзина с суммой */
.header-icon--cart {
    text-decoration: none;
}

.header-icon__wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-sum-mobile {
    font-size: 13px;
    font-weight: 700;
    color: #4caf50;
    white-space: nowrap;
    line-height: 1;
} 

/* ===== ЛИЧНЫЕ СПИСКИ В БОКОВОМ МЕНЮ (Избранное / Сравнение) ===== */
.side-menu__personal {
    display: flex;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

.side-menu__personal-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 4px;
    text-decoration: none;
    color: #1a2238;
    transition: background 0.2s ease;
}

/* Разделитель между кнопками */
.side-menu__personal-item:first-child {
    border-right: 1px solid #e0e0e0;
}

/* Эффект при нажатии/наведении */
.side-menu__personal-item:hover,
.side-menu__personal-item:active {
    background: #f0f0f0;
    color: #1a2238;
    text-decoration: none;
}

.side-menu__personal-icon {
    font-size: 16px;
    color: #4caf50;
}

.side-menu__personal-text {
    font-size: 16px;
    font-weight: 500;
}

.side-menu__personal-badge {
    background: #e8f5e9;
    color: #4caf50;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* Скрыто по умолчанию, JS переключит на display: flex */
    display: none; 
}

/* ===== СТИЛИ АККОРДЕОНА МОБИЛЬНОГО МЕНЮ ===== */
.catalog-item__head, .mobile-submenu__head {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
}

.catalog-item__link-new {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 13px 0 13px 16px;
    text-decoration: none;
    color: #1a2238;
    font-size: 14px;
    font-weight: 500;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9fbfc;
}

.mobile-submenu__link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 16px 12px 58px; /* Отступ под иконку родителя */
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.mobile-subsubmenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f0f4f8;
}

.mobile-subsubmenu__link {
    display: block;
    padding: 10px 16px 10px 70px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    border-bottom: 1px solid #eef1f5;
}

/* ===== СТРЕЛКИ РАСКРЫТИЯ МЕНЮ ===== */

/* Кнопка-стрелка — сразу с зелёным фоном */
.mobile-menu-toggle {
    width: 48px;
    min-height: 48px;
    background: transparent;
    border: none;
    color: #4caf50;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

/* Фоновый круг — зелёный сразу */
.mobile-menu-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #e8f5e9;
    transform: translate(-50%, -50%);
    transition: background 0.25s ease;
}

.mobile-menu-toggle i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

/* Hover — чуть темнее фон */
.mobile-menu-toggle:hover {
    color: #2e7d32;
}

.mobile-menu-toggle:hover::after {
    background: #c8e6c9;
}

/* Активное состояние (раскрыто) — ещё темнее */
.mobile-menu-toggle.active {
    color: #1b5e20;
}

.mobile-menu-toggle.active::after {
    background: #a5d6a7;
}

/* Поворот стрелки с пружинкой */
.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Пустой блок (нет подразделов) */
.mobile-menu-empty {
    width: 48px;
    min-height: 48px;
    border-left: 1px solid transparent;
}

/* ===== ОТСТУПЫ ССЫЛОК ===== */
.catalog-item__link-new {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 6px 0 6px 16px;
    text-decoration: none;
    color: #1a2238;
    font-size: 16px;
    font-weight: 500;
}

.mobile-submenu__link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 13px 16px 13px 58px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

/* ===== АККОРДЕОН ===== */
.catalog-item__head,
.mobile-submenu__head {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9fbfc;
    display: none;
}

.mobile-subsubmenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f0f4f8;
    display: none;
}

.mobile-subsubmenu__link {
    display: block;
    padding: 11px 16px 11px 70px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #eef1f5;
}

/* Убираем обводку при фокусе на вкладках и стрелках */
.tab-btn:focus,
.mobile-menu-toggle:focus,
.burger-btn:focus,
.close-btn:focus,
.header-icon:focus,
#searchToggleBtn:focus {
    outline: none;
}

/* Для accessibility — заменяем на тонкую подсветку (опционально) */
.tab-btn:focus-visible,
.mobile-menu-toggle:focus-visible {
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
    border-radius: 4px;
}

/* Мессенджеры в боковом меню */
.messenger-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #1a2238;
    transition: color 0.2s;
}

.messenger-link:hover {
    text-decoration: none;
    color: #2e7d32;
}

.messenger-link i {
    font-size: 18px;
    color: #0088cc;
    width: 20px;
    text-align: center;
}

.messenger-link--tg i {
    color: #0088cc;
}

.messenger-link--max img {
    width: 18px;
    height: 18px;
    display: block;
}

.messenger-link span {
    line-height: 1;
}

/* Мессенджеры в топ-баре — зелёный стиль как остальные иконки */
.top-bar-v2__messengers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-v2__messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4CAF50;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 2px;
}

.top-bar-v2__messenger:hover {
    color: #2e7d32;
    transform: scale(1.15);
    text-decoration: none;
}

.top-bar-v2__messenger--max img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) invert(56%) sepia(12%) saturate(2630%) hue-rotate(82deg) brightness(95%) contrast(92%);
    /* Делает иконку зелёной (#4CAF50) через CSS-фильтр */
    transition: all 0.25s ease;
}

.top-bar-v2__messenger--max:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(15%) saturate(3000%) hue-rotate(95deg) brightness(90%) contrast(92%);
    /* Темнее при ховере (#2e7d32) */
    transform: scale(1.15);
}

/* ===== ЗАКРЕПЛЁННАЯ МОБИЛЬНАЯ ШАПКА ===== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Когда скроллим вниз — шапка скрывается */
.mobile-header--hidden {
    transform: translateY(-100%);
}

/* Когда скроллим вверх — шапка появляется */
.mobile-header--visible {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Отступ для контента, чтобы шапка не перекрывала */
@media (max-width: 1199px) {
    body {
        padding-top: 63px; /* высота mobile-header__top */
    }
    
    /* Если поиск раскрыт — увеличиваем отступ */
    body.search-open {
        padding-top: 115px; /* 63px + 52px высота поиска */
    }
}

@media (max-width: 1199px) {
    /* Скрываем сам контейнер шапки */
    .header-v2,
    .header-v2 * {
        display: none !important;
    }
    
    /* Скрываем элементы, которые могли быть перенесены JS в корень body */
    .mega-menu-v2,
    .mega-menu-v2--sticky-open,
    .sticky-header,
    .nav-menu-v2,
    .nav-categories-v2 {
        display: none !important;
    }
}

/* ПУНКТ НОВИНКИ (ЛЕВАЯ ПАНЕЛЬ) */
.mega-menu-v2__new {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 15px;
    text-decoration: none;
    color: #f9a825; /* Золотисто-желтый цвет для новинок */
    font-weight: 700;
    font-size: 17px;
    border-bottom: 2px solid #e8f5e9;
    transition: background 0.2s;
}

.mega-menu-v2__new:hover {
    background: #fffbe6; /* Светло-желтый фон при наведении */
}

.mega-menu-v2__new i {
    font-size: 18px;
}

/* Режим работы — прижат к правому краю */
.nav-menu-v2__hours {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    color: #cdd6f4;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu-v2__hours i {
    color: #4CAF50;
    font-size: 15px;
}