
/* --- ЖЕСТКИЙ СБРОС И ФИКСАЦИЯ ШАПКИ --- */

/* 1. Делаем шапку самым верхним слоем */
.header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 24px !important;
    position: fixed !important;
    top: 0 !important; 
    left: 0 !important; 
    right: 0 !important;
    height: 72px !important;
    background: #ffffff !important; /* Делаем непрозрачным, чтобы перекрыть всё под ним */
    border-bottom: 1px solid #eaeaea !important;
    z-index: 999999 !important; /* Поднимаем выше ВСЕГО */
    pointer-events: auto !important; /* Разрешаем клики */
}

/* 2. Левая часть (Бургер + Лого) */
.header-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 1 !important;
    justify-content: flex-start !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

.burger-btn {
    margin: 0 !important;
    padding: 8px !important;
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    cursor: pointer !important;
    z-index: 1000001 !important;
    pointer-events: auto !important;
}

.burger-btn div {
    width: 24px !important;
    height: 2px !important;
    background: #000 !important;
}

.logo {
    margin: 0 !important;
    position: static !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    z-index: 1000001 !important;
    pointer-events: auto !important;
}

/* 3. Поиск */
.search-box {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 400px !important;
    height: 40px !important;
    background: #f0f0f0 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    gap: 10px !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

.search-box input {
    pointer-events: auto !important;
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
}

/* 4. Правая часть */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex: 1 !important;
    justify-content: flex-end !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

/* 5. Опускаем контент ниже шапки, чтобы он не перекрывал её */
body {
    padding-top: 72px !important;
}
.container {
    position: relative !important;
    z-index: 1 !important; /* Контент ниже шапки */
}

/* --- АБСОЛЮТНАЯ ФИКСАЦИЯ БУРГЕРА СЛЕВА --- */
.header-left {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 300px !important; /* Жестко задаем ширину левой части */
    min-width: 300px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.burger-btn {
    margin: 0 !important;
    margin-right: 16px !important; /* Отступ от бургера до лого */
    padding: 8px !important;
    position: relative !important;
    left: 0 !important;
    float: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    z-index: 9999999 !important;
}

.logo {
    margin: 0 !important;
    position: relative !important;
    left: 0 !important;
}

/* --- ПРИНУДИТЕЛЬНЫЙ СДВИГ ЛОГО (ЧИСТЫЙ CSS) --- */
.header-left {
    display: flex !important;
    justify-content: flex-start !important;
    padding-left: 70px !important; /* Сдвигаем всю левую часть вправо */
}
