/* ===== MOBILE HEADER ===== */
@media screen and (max-width: 767px) {

    /* Общий header */
    .header {
        height: 56px;
        padding: 0 12px;
        background: var(--orange-100);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-bottom: 1px solid var(--orange-100);
        box-sizing: border-box;
    }

    /* Контейнер */
    .header-container {
        width: 100%;
        height: 100%;
        padding: 0;
        position: relative;
        display: flex;
        align-items: center;
    }

    /* ------ ЛЕВАЯ КНОПКА МЕНЮ ------ */
    .header-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 3; /* поверх логотипа */
    }

    .header-menu-btn img {
        width: 24px;
        height: 24px;
        filter: var(--orange-500-filter);
    }

    /* ------ ЦЕНТР ------ */
    .header-center {
        display: none; /* чтобы не мешал */
    }

    /* ------ ЛОГОТИП — ЖЁСТКО ПО ЦЕНТРУ ------ */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        font-size: 18px;
        font-weight: 800;
        color: var(--accent-color);
        text-decoration: none;
        z-index: 2; /* поднимаем над контейнером */
        white-space: nowrap;
    }

    /* ------ ПРАВАЯ КНОПКА ------ */
    .header-right {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .header-right .btn {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 16px;
        background: var(--accent-color);
        color: var(--on-background-color);
        font-weight: 600;
        text-decoration: none;
        z-index: 3;
        white-space: nowrap;
    }
}
