* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 80px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 12px 24px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    flex-shrink: 0;
    min-width: 120px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: block;
    transition: transform 0.2s;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.header-right {
    flex-shrink: 0;
    min-width: 120px;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e2f;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: #4faf54;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4faf54;
    transition: width 0.2s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Кнопка каталога с SVG иконкой */
.catalog-toggle-btn {
    background: linear-gradient(135deg, #4faf54, #3d8b41);
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(79, 175, 84, 0.3);
}

.catalog-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 175, 84, 0.4);
    background: linear-gradient(135deg, #3d8b41, #2e6b32);
}

/* SVG иконка меню */
.menu-icon {
    width: 18px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.2s;
}

.catalog-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.catalog-toggle-btn.active .catalog-arrow {
    transform: rotate(180deg);
}

/* Мобильная кнопка с SVG */
.catalog-mobile-btn {
    display: none;
    background: linear-gradient(135deg, #4faf54, #3d8b41);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(79, 175, 84, 0.3);
    transition: all 0.2s;
}

.catalog-mobile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 175, 84, 0.4);
    background: linear-gradient(135deg, #3d8b41, #2e6b32);
}

.mobile-menu-icon {
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.2s;
}

/* Выпадающее меню каталога */
.catalog-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 24px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
}

.catalog-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.catalog-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.catalog-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.catalog-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e2f;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4faf54;
    display: inline-block;
}

.catalog-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-links a {
    color: #4a5a46;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
    padding: 4px 0;
}

.catalog-links a:hover {
    color: #4faf54;
    padding-left: 6px;
}

.catalog-empty {
    color: #9bae95;
    font-size: 0.85rem;
    font-style: italic;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Адаптивность */
@media (max-width: 900px) {
    body {
        padding-top: 70px;
    }

    .site-header {
        padding: 10px 16px;
    }

    .logo-image {
        height: 80px;
    }

    .header-left {
        min-width: auto;
    }

    .header-right {
        min-width: auto;
    }

    .catalog-toggle-btn span {
        display: none;
    }

    .catalog-toggle-btn {
        padding: 10px 14px;
        gap: 0;
    }

    .catalog-arrow {
        display: none;
    }

    .catalog-toggle-btn {
        display: none;
    }

    .catalog-mobile-btn {
        display: flex;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .catalog-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 70px;
    }
    
    .site-header {
        padding: 8px 16px;
    }
    
    .logo-image {
        height: 80px !important;
    }
    
    .header-left, .header-right {
        min-width: auto;
    }
    
    .header-container {
        gap: 12px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
    
    .catalog-mobile-btn {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-icon {
        width: 18px;
        height: 18px;
    }

    .catalog-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-menu-container {
        padding: 20px 16px;
    }
}

@media (max-width: 400px) {
    .logo-image {
        height: 80px !important;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .header-container {
        gap: 8px;
    }
}