/* Шапка и мобильное меню — отдельный файл, чтобы не терялись при обрезанном styles.css */

@media (min-width: 1101px) and (max-width: 1400px) {
    .header {
        padding: 12px 0;
    }

    .header-container {
        gap: 12px;
    }

    .logo img {
        height: 36px;
    }

    .nav {
        gap: clamp(8px, 1vw, 14px);
    }

    .nav a,
    .nav-dropdown-toggle,
    .nav-catalog-label {
        font-size: clamp(10px, 0.55rem + 0.2vw, 11px);
        white-space: nowrap;
    }

    .header-address {
        font-size: clamp(11px, 0.6rem + 0.25vw, 13px);
    }

    .header-phone-note {
        font-size: clamp(7px, 0.4rem + 0.15vw, 9px);
        padding: 2px 6px;
    }

    .dropdown-arrow {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 1100px) {
    .header {
        padding: 8px 0;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
    }

    .logo img {
        width: 80px;
        height: auto;
    }

    .nav {
        display: none !important;
    }

    .header-address {
        order: 2;
        flex: 1 1 auto;
        justify-content: center;
        font-size: 12px;
        min-width: 0;
    }

    .header-phone-link {
        font-size: inherit;
    }

    .header-phone-note {
        font-size: 8px;
        padding: 2px 6px;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        order: 3;
        flex: 0 0 auto;
        padding: 8px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
    }

    .mobile-menu-btn span {
        width: 22px;
        height: 2px;
        background: rgb(67, 28, 114);
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .header-address {
        font-size: 11px;
    }

    .header-phone-note {
        font-size: 7px;
        padding: 1px 5px;
    }

    .logo img {
        width: 72px;
    }
}

.af-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
