    :root {
        /* Легкая зелено-кремовая гамма */
        --primary: #009c64; /* Основной зеленый */
        --secondary: #388E3C; /* Темно-зеленый */
        --accent: #8BC34A; /* Светло-зеленый/Лайм */
        --dark: #5D4037; /* Темно-коричневый/бронзовый */
        --darker: #3E2723; /* Очень темно-коричневый */
        --light: #F1F8E9; /* Очень светлый зеленоватый */
        --cream: #FFF8E1; /* Кремовый */
        --text: #212121; /* Основной текст */
        --text-light: #757575; /* Светлый текст */
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
        font-family: 'Roboto', sans-serif;
        background-color: var(--light);
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
    }
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
 






/* Контейнер jGrowl — убедись, что он есть в <body>: <div id="jGrowl"></div> */


/* Стиль каждого уведомления */
.jGrowl-notification {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 16px 14px 16px !important;
    margin-bottom: 12px !important;
    border-radius: 12px !important; /* Закруглённые края */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    animation: fadeInUp 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) forwards !important;
    opacity: 0;
    transform: translateY(-10px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
    color: #fff !important;
    line-height: 1.4 !important;
    min-height: auto !important;
}

/* Анимация появления */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Текст сообщения */
.jGrowl-message {
    margin: 0 28px 0 0 !important;
    padding: 0 !important;
    flex: 1;
    word-break: break-word;
}

/* Крестик (закрыть) */
.jGrowl-close {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: center !important;
    line-height: 20px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.jGrowl-close:hover {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Цвета для типов сообщений */
.ms2-message-success {
    background: #2ecc71 !important; /* Зелёный успех */
}
.ms2-message-error {
    background: #e74c3c !important; /* Красный ошибка */
}
.ms2-message-warning {
    background: #f39c12 !important; /* Оранжевый предупреждение */
}

/* Авто-скрытие с плавным исчезновением */
.jGrowl-closing {
    animation: fadeOut 0.4s forwards !important;
}
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
}



/* Объединенный хедер */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Main Header Content */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle, .catalog-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
   /* display: none;*/
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
    color: white;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary), var(--dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 30px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--secondary);
}

.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    transition: transform 0.3s;
}

.icon-btn:hover {
    transform: translateY(-3px);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

        /* Navigation */
        .main-nav {
            background: var(--dark);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .nav-menu {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .nav-menu > li {
            position: relative;
        }
        .nav-menu > li > a,
        .desktop-catalog-toggle {
            display: block;
            color: white;
            text-decoration: none;
            padding: 15px 20px;
            font-weight: 500;
            transition: background 0.3s;
        }
        .nav-menu > li > a:hover,
        .desktop-catalog-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        .desktop-catalog-toggle {
            background: none;
            border: none;
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        /* Catalog Modal */
        .desktop-catalog-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
        }
        .desktop-catalog-modal {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            z-index: 1002;
            border-top: 2px solid var(--primary);
        }
        .catalog-tabs {
            display: flex;
            border-bottom: 1px solid #eee;
        }
        .catalog-tab {
            padding: 15px 25px;
            background: none;
            border: none;
            font-family: 'Roboto', sans-serif;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            border-bottom: 3px solid transparent;
        }
        .catalog-tab.active {
            border-bottom-color: var(--primary);
            color: var(--primary);
        }
        .catalog-tabs-content {
            padding: 20px;
        }
        .catalog-tab-content {
            display: none;
        }
        .catalog-tab-content.active {
            display: block;
        }
        .catalog-level-container {
            display: flex;
        }
        .catalog-level {
            min-width: 250px;
            border-right: 1px solid #eee;
            padding-right: 20px;
        }
        .catalog-level:last-child {
            border-right: none;
        }
        .catalog-item {
            padding: 10px 0;
        }
        .catalog-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text);
            text-decoration: none;
            padding: 8px 0;
            transition: color 0.3s;
        }
        .catalog-link:hover {
            color: var(--primary);
        }
        .has-children > .catalog-link {
            font-weight: 500;
        }
        /* Hero Section (Параллакс) */
        .hero {
            text-align: center;
            padding: 150px 20px;
            /* Фон с эффектом параллакса */
            background-image: url('https://images.unsplash.com/photo-1473496169904-658604080985?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            position: relative;
            color: white;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
        }
        .hero-content {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        .hero h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        .hero h1 span {
            color: var(--accent);
            text-shadow: 0 0 15px rgba(139, 195, 74, 0.7);
        }
        .hero p {
            font-size: 1.4rem;
            margin-bottom: 30px;
            color: #f0f0f0;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }
        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 15px 40px;
            font-size: 1.2rem;
            font-weight: bold;
            text-transform: uppercase;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            letter-spacing: 1px;
            text-decoration: none;
        }
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
        }
        /* Stats Section */
        .stats {
            background: var(--cream);
            padding: 60px 0;
            text-align: center;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        .stat-item {
            padding: 20px;
        }
        .stat-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 3rem;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 10px;
        }
        .stat-text {
            font-size: 1.2rem;
            color: var(--text-light);
        }
        /* Features Section */
        .features {
            padding: 80px 0;
            background: white;
        }
        .section-title {
            text-align: center;
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 60px;
            text-transform: uppercase;
            position: relative;
            color: var(--dark);
        }
        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            margin: 15px auto;
            border-radius: 2px;
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        .feature-card {
            background: var(--light);
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            border-color: rgba(76, 175, 80, 0.3);
        }
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--primary);
        }
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }
        .feature-card p {
            color: var(--text-light);
        }
        /* Speed Section (Параллакс) */
        .speed {
            padding: 150px 0;
            text-align: center;
            color: white;
            /* Фон с эффектом параллакса */
            background-image: url('  https://images.unsplash.com/photo-1501555088652-021faa106b9b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            position: relative;
        }
        .speed::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
        }
        .speed-content {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }
        .speed h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem;
            margin-bottom: 30px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        .speed p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 40px;
            color: #f0f0f0;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }
        .speed-list {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            max-width: 900px;
            margin: 0 auto;
        }
        .speed-item {
            background: rgba(76, 175, 80, 0.2);
            padding: 15px 25px;
            border-radius: 30px;
            font-weight: 500;
            border: 1px solid var(--primary);
        }
        /* Testimonials */
        .testimonials {
            padding: 80px 0;
            background: var(--cream);
        }
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        .testimonial-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            border-left: 4px solid var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
            color: var(--text);
        }
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
        }
        .author-info h4 {
            color: var(--primary);
        }
        .author-info p {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        /* CTA Section */
        .cta-section {
            text-align: center;
            padding: 100px 20px;
            background: linear-gradient(135deg, var(--light), var(--cream));
        }
        .cta-section h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: var(--dark);
        }
        .cta-section p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 40px;
            color: var(--text-light);
        }
        /* Footer */
        footer {
            background: var(--darker);
            padding: 50px 0 20px;
            color: #f0f0f0;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-column h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: var(--accent);
            position: relative;
            padding-bottom: 10px;
        }
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary);
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .footer-links a:hover {
            color: var(--accent);
        }
        .contact-info-footer {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .contact-icon {
            width: 40px;
            height: 40px;
            background: rgba(76, 175, 80, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
        }
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        /* Выпадающий список телефонов */
        .phone-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 15px;
            display: none;
            z-index: 1000;
            min-width: 200px;
        }
        
        .phone-dropdown a {
            display: block;
            color: var(--text);
            text-decoration: none;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            font-weight: 500;
        }
        
        .phone-dropdown a:last-child {
            border-bottom: none;
        }
        
        .phone-dropdown a:hover {
            color: var(--primary);
        }
        
        /* Модальное окно меню */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
        }
        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }
        
        .menu-modal-content {
            position: fixed;
            top: 0;
            left: 0;
            width: 320px;
            height: 100%;
            background-color: white;
            padding: 20px;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            overflow-y: auto;
        }
        
        .modal.active .menu-modal-content {
            transform: translateX(0);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-light);
        }
        
        .modal-header {
            padding: 20px 0;
            border-bottom: 1px solid #eee;
            margin-bottom: 20px;
        }
        
        .modal-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            font-weight: 900;
            background: linear-gradient(to right, var(--primary), var(--dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 20px;
        }
        
        .language-switcher {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .language-switcher a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 500;
            padding: 5px 10px;
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .language-switcher a.active,
        .language-switcher a:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .user-actions-modal {
            margin-top: 15px;
        }
        
        .user-actions-modal a {
            display: inline-block;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            border: 1px solid var(--primary);
            border-radius: 4px;
            transition: all 0.3s;
        }
        
        .user-actions-modal a:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .modal-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .modal-menu li {
            margin-bottom: 10px;
        }
        
        .modal-menu a {
            display: block;
            padding: 12px 0;
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            border-bottom: 1px solid #f0f0f0;
            transition: color 0.3s;
        }
        
        .modal-menu a:hover {
            color: var(--primary);
        }
        
        .modal-contact-info {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            color: var(--text-light);
            font-size: 14px;
        }
        
        .modal-contact-info p {
            margin-bottom: 15px;
        }
        
        .modal-contact-info strong {
            display: block;
            color: var(--text);
            margin-bottom: 5px;
        }
        
        .modal-phones {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        .modal-phones a {
            display: block;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            margin-bottom: 10px;
            font-size: 16px;
        }
        
        .modal-phones a i {
            margin-right: 10px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .nav-menu > li:not(:first-child) {
                display: none;
            }
	        .menu-toggle {
                display: block;
	            }
        }
        @media (max-width: 768px) {
            .phone-numbers {
                display: none;
            }
            .phone-dropdown-toggle {
                display: flex;
            }
            .search-container {
                display: none;
            }
            .mobile-search-btn {
                display: block;
            }
            .hero h1 {
                font-size: 2.5rem;
            }
            .hero p {
                font-size: 1.1rem;
            }
            .section-title {
                font-size: 2rem;
            }
            .speed h2, .cta-section h2 {
                font-size: 2.2rem;
            }
            .speed p, .cta-section p {
                font-size: 1.1rem;
            }
            .catalog-level-container {
                flex-direction: column;
            }
            .catalog-level {
                border-right: none;
                border-bottom: 1px solid #eee;
                padding-bottom: 20px;
                padding-right: 0;
            }
            /* Mobile modal */
            .menu-modal-content {
                width: 100%;
                transform: translateX(-100%);
            }
        }
        .parallax {
            position: relative;
            min-height: 400px;
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .parallax-content {
            background: rgba(0, 0, 0, 0.4);
            padding: 40px 60px;
            border-radius: 15px;
            text-align: center;
            color: #fff;
        }
        .parallax-content h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        .parallax-content p {
            font-size: 1.2rem;
            color: #eee;
        }
     /* Стили для объединенного хедера в одной строке */
.unified-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Обновить стили для телефонов в одной строке */
.phone-numbers {
    display: flex;
    gap: 15px;
}

.phone-btn {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    font-weight: 500;
}

.phone-btn:hover {
    color: var(--primary);
}

.user-actions a {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: color 0.3s;
}

.user-actions a:hover {
    color: var(--primary);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .phone-numbers {
        display: none;
    }
    
    .phone-dropdown-toggle {
        display: flex;
    }
    
    .search-container {
        display: none;
    }
    
    .mobile-search-btn {
        display: block;
    }
    
    .user-actions span {
        display: none;
    }
    
    .user-actions a {
        font-size: 0;
    }
    
    .user-actions a i {
        font-size: 18px;
    }
}


/* Исправленный блок: Выпадающий список телефонов */
.header-contact-info {
    position: relative; /* Добавлено для правильного позиционирования */
}

.phone-numbers {
    display: none !important;
}

.phone-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px 12px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.phone-dropdown-toggle:hover {
    background-color: var(--primary);
    color: white;
}

.phone-dropdown {
    position: absolute;
    top: 100%; /* Позиционирование строго под кнопкой */
    left: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    display: none;
    z-index: 1000;
    min-width: 200px;
    margin-top: 5px; /* Отступ между кнопкой и списком */
}

.phone-dropdown a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.phone-dropdown a:last-child {
    border-bottom: none;
}

.phone-dropdown a:hover {
    color: var(--primary);
}



/* === КНОПКА КАТАЛОГА === */
.desktop-catalog-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px 0 0 6px;
    white-space: nowrap;
    height: 100%;
    min-width: 250px;
    justify-content: center;
    border: 2px solid var(--primary);
}

.desktop-catalog-toggle:hover {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* === БРЕНДЫ СПРАВА ОТ КНОПКИ === */
.desktop-brands {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
}

.brands-container {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid var(--primary);
    border-left: none;
    padding: 0;
    border-radius: 0 6px 6px 0;
    height: 100%;
    width: 100%;
    justify-content: space-around;
}

.brand-link {
    padding: 11px 15px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    border: none;
    margin: 0;
}

.brand-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-1px);
}

/* Разделитель между кнопками брендов */
.brand-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

/* === ОВЕРЛЕЙ С БЛЮРОМ (только для десктопа) ===*/ 
.desktop-catalog-overlay {
    display: none;
    position: fixed;
    top: 120px; /* Начинается ниже хедера */
    left: 0;
    width: 100%;
    height: calc(100% - 120px);
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.desktop-catalog-overlay.blur-active {
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.4);
}

/* === МОДАЛЬНОЕ ОКНО КАТАЛОГА === */
.desktop-catalog-modal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 1002;
    border-top: 2px solid var(--primary);
    max-height: 70vh;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.desktop-catalog-modal.active {
    opacity: 1;
}


/* Контейнер для уровней мобильного каталога */
.mobile-levels-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}



.mobile-level.active {
    transform: translateX(0);
    opacity: 1;
    display: block;
}

.mobile-level-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.mobile-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    padding: 10px 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mobile-link:hover {
    color: var(--primary);
    background: var(--light);
    padding-left: 10px;
}

.mobile-link.has-children {
    font-weight: 600;
    color: var(--dark);
}

.mobile-brands-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.mobile-brands-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.mobile-brand-item {
    padding: 12px 15px;
    background: var(--light);
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-brand-item:hover {
    background: var(--primary);
}

.mobile-brand-item:hover .mobile-link {
    color: white;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 992px) {
    .catalog-brands-container {
        display: none;
    }
    
    .desktop-catalog-toggle,
    .desktop-brands {
        display: none;
    }
    
    .catalog-toggle {
        display: block;
    }
    
    .brands-container {
        flex-wrap: nowrap;
        overflow-x: visible;
    }
}

@media (min-width: 993px) {
    .mobile-catalog-modal {
        display: none !important;
    }
    
    .catalog-toggle {
        display: none;
    }
}

/* Скрываем десктопный каталог на мобильных */
@media (max-width: 768px) {
  .desktop-catalog-modal {
    display: none !important;
  }
}
/* === МОБИЛЬНЫЙ КАТАЛОГ — СЛЕВА, ШИРЕ, В ТВОИХ ЦВЕТАХ === */

.mobile-catalog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mobile-catalog-modal.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.mobile-catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-catalog-modal.active .mobile-catalog-overlay {
    opacity: 1;
}

.mobile-catalog-content {
    position: fixed;
    top: 0;
    left: 0; /* ← ОТКРЫВАЕТСЯ СЛЕВА */
    width: 100%;
    max-width: 400px; /* ← ШИРЕ — 400px */
    height: 100%;
    background: white;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%); /* ← СКРЫТ СЛЕВА */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.mobile-catalog-modal.active .mobile-catalog-content {
    transform: translateX(0); /* ← ВЫЕЗЖАЕТ НА ЭКРАН */
}

/* Заголовок */
.mobile-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10;
}

.mobile-catalog-header h3 {
    font-weight: 600;
    color: var(--text);
    font-size: 18px;
}

.mobile-catalog-back,
.mobile-catalog-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-catalog-back:hover,
.mobile-catalog-close:hover {
    background: var(--cream);
}

/* Вкладки */
.mobile-catalog-tabs {
    display: flex;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.mobile-tab {
    flex: 1;
    padding: 14px;
    border: none;
    background: none;
    color: var(--text-light);
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-tab.active {
    color: var(--primary);
    background: white;
    border-bottom: 2px solid var(--primary);
}

/* Тело */
.mobile-catalog-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-tab-content {
    display: none;
    flex: 1;
    overflow: auto;
}

.mobile-tab-content.active {
    display: flex;
    flex-direction: column;
}

#mobileLevelsContainer {
    padding: 10px 0;
    flex: 1;
}

/* Уровни — просто блоки, без анимации вглубь */
.mobile-level {
    display: block;
    padding: 0;
}

.mobile-level-title {
    font-weight: 600;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid #eee;
    color: var(--text);
    font-size: 17px;
    position: sticky;
    top: 0;
    z-index: 5;
}

.mobile-item {
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mobile-item:hover {
    background: var(--cream);
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text);
    font-size: 16px;
    width: 100%;
}

.mobile-link i {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 10px;
}

/* Адаптив: на очень маленьких экранах — 100% ширины */
@media (max-width: 480px) {
    .mobile-catalog-content {
        max-width: 100%;
    }
}
/* Убираем отступы у контейнера */
#mobileLevelsContainer {
    margin: 0;
    padding: 0;
    min-height: 100px; /* чтобы при пустом списке не схлопывался */
}

/* === СТИЛИ ДЛЯ МОБИЛЬНОГО ХЕДЕРА === */
.mobile-header {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn,
.mobile-catalog-btn,
.mobile-search-btn,
.mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-btn:hover,
.mobile-catalog-btn:hover,
.mobile-search-btn:hover,
.mobile-icon-btn:hover {
    background: var(--cream);
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    text-decoration: none;
}

.mobile-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

.mobile-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-icon-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* === СКРЫТЬ ДЕСКТОПНЫЙ ХЕДЕР НА МОБИЛЬНЫХ === */
@media (max-width: 768px) {
    .site-header {
        display: none;
    }
    .mobile-header {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-header {
        display: none;
    }
}
.catalog-container {
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    margin: 30px auto;
    max-width: 1600px;
}
.mobile-menu-btn,
.mobile-catalog-btn,
.mobile-search-btn,
.mobile-icon-btn
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-btn:hover,
.mobile-catalog-btn:hover,
.mobile-search-btn:hover,
.mobile-icon-btn:hover {
    background: var(--cream);
}

.btn-icon.compare {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #fff; /* белый фон */
    color: #4CAF50;   /* зелёный цвет иконки */
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
    margin: 0;
}

.btn-icon.compare svg {
    color: #4CAF50; /* гарантируем зелёный для SVG */
    stroke: currentColor;
}

.btn-icon.compare.in-compare {
    background: #4CAF50 !important; /* зелёный фон */
    color: #fff !important; /* белая иконка */
    box-shadow: 0 0 0 2px #4CAF50; /* зелёная обводка */
}

.btn-icon.compare.in-compare svg {
    color: #fff !important; /* белая иконка */
    stroke: currentColor !important;
}

.btn-icon.compare.in-compare:hover {
    background: #43a047 !important; /* тёмно-зелёный при наведении */
    box-shadow: 0 0 0 2px #43a047; /* тёмно-зелёная обводка при наведении */
}
.btn-icon.favorites {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #fff; /* белый фон */
    color: #4CAF50;   /* зелёный цвет иконки */
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
    margin: 0;
}

.btn-icon.favorites svg {
    color: #4CAF50; /* гарантируем зелёный для SVG */
    stroke: currentColor;
}

.btn-icon.favorites:hover {
    background: var(--cream); /* кремовый при наведении */
}
.btn-icon.favorites.in-favorites {
    background: #4CAF50 !important; /* зелёный фон */
    color: #fff !important; /* белая иконка */
}

.btn-icon.favorites.in-favorites svg {
    color: #fff !important; /* белая иконка */
    stroke: currentColor !important;
}

.btn-icon.favorites.in-favorites:hover {
    background: #43a047 !important; /* тёмно-зелёный при наведении */
}
/* Бейдж с количеством избранного */
.favorites-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6f00;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.sp-search__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1040;
    display: none;
}
.sp-search__backdrop.show {
    display: block;
}
@media (min-width: 769px) {
    .search-btn.sp-search__btn {
        display: none;
    }
}

/* Контейнер */
.jGrowl {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    width: 300px;
    pointer-events: none;
}

    /* === СПЕЦСТИЛИ ДЛЯ МОДАЛЬНОГО МЕНЮ — БЕЗ КОНФЛИКТОВ === */

.croco-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.croco-menu-modal.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

/* === ОВЕРЛЕЙ С БЛЮРОМ НА ДЕСКТОПЕ === */
.croco-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); /* ← БЛЮР */
    -webkit-backdrop-filter: blur(4px); /* Для Safari */
}

/* На мобильных — без блюра (для производительности) */
@media (max-width: 768px) {
    .croco-modal-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.croco-menu-modal-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
}

.croco-menu-modal.active .croco-menu-modal-content {
    transform: translateX(0);
}

.croco-close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.croco-close-modal:hover {
    background: var(--cream);
    color: var(--text);
}

.croco-modal-header {
    padding: 20px;
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.croco-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.croco-language-switcher a {
    text-decoration: none;
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.croco-language-switcher a.active,
.croco-language-switcher a:hover {
    background: var(--cream);
    color: var(--text);
}

.croco-user-actions a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.croco-modal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
}

.croco-modal-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.croco-modal-menu a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 16px;
    transition: background 0.2s;
}

.croco-modal-menu a:hover {
    background: var(--cream);
}

.croco-modal-contact {
    padding: 20px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.croco-modal-contact p {
    margin: 8px 0;
}

.croco-modal-phones a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    padding: 6px 0;
}

.croco-modal-phones a:hover {
    color: var(--primary);
}

.croco-modal-phones i {
    color: var(--primary);
}

@media (max-width: 480px) {
    .croco-menu-modal-content {
        max-width: 100%;
    }
}


