/* BIVACO HEADER - extracted from header.blade.php */
/* ============================================================
   BIVACO MOBILE MENU FIXED V3
   - Không ảnh hưởng desktop.
   - Contact nằm THỰC SỰ bên trong drawer.
   - Không phụ thuộc Material Icon font.
   - Icon mặc định là SVG mask line màu cam.
============================================================ */

.bvc-mobile-menu-contact {
    display: none;
}

/*
 * Icon được tạo riêng cho drawer mobile.
 * Luôn ẩn ở desktop để không làm thay đổi header/menu máy tính.
 */
.bvc-mobile-menu-icon {
    display: none !important;
}

/* ============================================================
   BIVACO LANGUAGE SWITCH - DESKTOP + MOBILE
============================================================ */
.bvc-header-template .bvc-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.bvc-header-template .bvc-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 58px;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff !important;
    color: #1e293b !important;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    box-sizing: border-box;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all .18s ease;
}

.bvc-header-template .bvc-lang-btn:hover,
.bvc-header-template .bvc-lang-btn.is-active {
    border-color: #0ea5e9 !important;
    background: #ffffff !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.14);
}

.bvc-header-template .bvc-lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 14px;
    min-width: 20px;
    flex: 0 0 20px;
    line-height: 1;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
}

.bvc-header-template .bvc-lang-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.bvc-header-template .bvc-lang-code {
    display: inline-block;
    line-height: 1;
}

@media (max-width: 991.98px) {

    .bvc-header-template .bvc-lang-flag {
        width: 18px !important;
        height: 12px !important;
        min-width: 18px !important;
        flex-basis: 18px !important;
    }

    /* VI / EN luôn hiện trên header mobile */
    .bvc-header-template .header-actions {
        gap: 7px !important;
    }

    .bvc-header-template .bvc-lang-switch {
        gap: 4px !important;
    }

    .bvc-header-template .bvc-lang-btn {
        min-width: 44px !important;
        height: 32px !important;
        padding: 0 6px !important;
        gap: 3px !important;
        border-radius: 7px !important;
        font-size: 10.5px !important;
    }

    .bvc-header-template .bvc-lang-flag {
        font-size: 15px !important;
    }

    /* ===== FULL SCREEN DRAWER ===== */
    .bvc-header-template .site-nav {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1150 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        background:
            linear-gradient(
                180deg,
                #143f79 0%,
                #0c2e62 24%,
                #081f4b 50%,
                #050f30 74%,
                #02071b 100%
            ) !important;

        box-shadow: none !important;

        transform: translateX(-100%) !important;
        transition: transform .28s ease !important;

        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
    }

    .bvc-header-template.nav-active .site-nav {
        transform: translateX(0) !important;
    }

    /* ===== DRAWER HEADER ===== */
    .bvc-header-template .nav-drawer-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 40 !important;

        flex: 0 0 102px !important;
        min-height: 102px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 13px 18px !important;

        background: #ffffff !important;
        border-bottom: 1px solid #e6e8ed !important;

        box-sizing: border-box !important;
    }

    .bvc-header-template .nav-drawer-header .drawer-title {
        display: none !important;
    }

    /* Logo thật của BIVACO trên thanh trắng */
    .bvc-header-template.nav-active .header-logo {
        position: fixed !important;
        top: 13px !important;
        left: 18px !important;
        z-index: 1250 !important;

        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;
        max-width: calc(100vw - 102px) !important;
        height: 74px !important;

        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
    }

    .bvc-header-template.nav-active .header-logo img {
        display: block !important;

        width: auto !important;
        height: auto !important;

        max-width: 215px !important;
        max-height: 68px !important;

        object-fit: contain !important;
    }

    .bvc-header-template.nav-active .header-logo .logo-ring {
        display: none !important;
    }

    .bvc-header-template .drawer-close-btn {
        position: relative !important;
        z-index: 50 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px !important;
        height: 42px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 7px !important;

        background: transparent !important;
        color: #666 !important;

        appearance: none !important;
        -webkit-appearance: none !important;
    }

    .bvc-header-template .drawer-close-btn svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* ===== MENU GRID ===== */
    .bvc-header-template .menu-list {
        position: relative !important;
        z-index: 2 !important;

        flex: 0 0 auto !important;

        display: grid !important;
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        ) !important;

        gap: 8px !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 18px 8px 20px !important;

        list-style: none !important;
        background: transparent !important;

        box-sizing: border-box !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1 {
        position: relative !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;

        list-style: none !important;
        background: transparent !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .menu-link.level-1-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 9px !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 56px !important;

        margin: 0 !important;
        padding: 9px 12px !important;

        border: 1px solid rgba(210,216,224,.98) !important;
        border-radius: 7px !important;

        background: #ffffff !important;

        box-shadow:
            0 2px 5px rgba(0,0,0,.08),
            inset 0 0 0 1px rgba(255,255,255,.72)
            !important;

        color: #5b5b5b !important;

        font-family:
            "Nunito",
            Arial,
            sans-serif !important;

        font-size: 12.5px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;

        letter-spacing: 0 !important;
        text-transform: uppercase !important;

        white-space: normal !important;
        text-decoration: none !important;

        box-sizing: border-box !important;

        transition:
            transform .16s ease,
            background .16s ease,
            border-color .16s ease
            !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .menu-link.level-1-link:active {
        transform: scale(.985) !important;
        background: #fff8f4 !important;
        border-color: #ff9c78 !important;
    }

    /* Tắt pseudo icon từ patch cũ nếu vẫn còn trong header.css */
    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .menu-link.level-1-link::before {
        content: none !important;
        display: none !important;
    }

    /* ===== ICON ===== */
    .bvc-mobile-menu-icon {
        flex: 0 0 29px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 29px !important;
        height: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;

        color: #ff8059 !important;
        background-color: #ff8059 !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .bvc-mobile-menu-icon--mask {
        background-color: #ff8059 !important;

        -webkit-mask-repeat: no-repeat !important;
        -webkit-mask-position: center !important;
        -webkit-mask-size: contain !important;

        mask-repeat: no-repeat !important;
        mask-position: center !important;
        mask-size: contain !important;
    }

    .bvc-mobile-menu-icon--image {
        object-fit: contain !important;
    }

    /* Home */
    .bvc-mobile-menu-icon[data-icon="home"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M3 11.5 12 4l9 7.5V21h-6v-6H9v6H3z'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M3 11.5 12 4l9 7.5V21h-6v-6H9v6H3z'/%3E%3C/svg%3E") !important;
    }

    /* Description / about */
    .bvc-mobile-menu-icon[data-icon="description"],
    .bvc-mobile-menu-icon[data-icon="article"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M15 3v4h4M9 11h6M9 15h6M9 7h2'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M15 3v4h4M9 11h6M9 15h6M9 7h2'/%3E%3C/svg%3E") !important;
    }

    /* Website / web */
    .bvc-mobile-menu-icon[data-icon="web"],
    .bvc-mobile-menu-icon[data-icon="design_services"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='13' rx='1.5'/%3E%3Cpath d='M3 7h18M8 21h8M12 16v5M7 11h4M15 10l2 2-3 3-2-2z'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='13' rx='1.5'/%3E%3Cpath d='M3 7h18M8 21h8M12 16v5M7 11h4M15 10l2 2-3 3-2-2z'/%3E%3C/svg%3E") !important;
    }

    /* Software */
    .bvc-mobile-menu-icon[data-icon="developer_mode"],
    .bvc-mobile-menu-icon[data-icon="code"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='14' rx='1.5'/%3E%3Cpath d='m9 8-3 2.5L9 13M15 8l3 2.5L15 13M13 7l-2 7M8 21h8M12 17v4'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='3' y='3' width='18' height='14' rx='1.5'/%3E%3Cpath d='m9 8-3 2.5L9 13M15 8l3 2.5L15 13M13 7l-2 7M8 21h8M12 17v4'/%3E%3C/svg%3E") !important;
    }

    /* Support */
    .bvc-mobile-menu-icon[data-icon="support_agent"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='12' width='4' height='6' rx='2'/%3E%3Crect x='17' y='12' width='4' height='6' rx='2'/%3E%3Cpath d='M17 18c0 2-2 3-5 3'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='12' width='4' height='6' rx='2'/%3E%3Crect x='17' y='12' width='4' height='6' rx='2'/%3E%3Cpath d='M17 18c0 2-2 3-5 3'/%3E%3C/svg%3E") !important;
    }

    /* Marketing */
    .bvc-mobile-menu-icon[data-icon="campaign"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M4 13V8l11-4v13L4 13zM15 8l5-2v8l-5-2M6 14l2 6h4l-2-5'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M4 13V8l11-4v13L4 13zM15 8l5-2v8l-5-2M6 14l2 6h4l-2-5'/%3E%3C/svg%3E") !important;
    }

    /* Lightbulb */
    .bvc-mobile-menu-icon[data-icon="lightbulb"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M9 18h6M10 22h4M8 14c-1.3-1.2-2-2.8-2-4.5A6 6 0 0 1 18 9.5c0 1.7-.7 3.3-2 4.5-1 .9-1.4 1.7-1.5 3h-5c-.1-1.3-.5-2.1-1.5-3z'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M9 18h6M10 22h4M8 14c-1.3-1.2-2-2.8-2-4.5A6 6 0 0 1 18 9.5c0 1.7-.7 3.3-2 4.5-1 .9-1.4 1.7-1.5 3h-5c-.1-1.3-.5-2.1-1.5-3z'/%3E%3C/svg%3E") !important;
    }

    /* Explore */
    .bvc-mobile-menu-icon[data-icon="travel_explore"],
    .bvc-mobile-menu-icon[data-icon="explore"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15 9-2 5-5 2 2-5z'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15 9-2 5-5 2 2-5z'/%3E%3C/svg%3E") !important;
    }

    /* Contact */
    .bvc-mobile-menu-icon[data-icon="contacts"],
    .bvc-mobile-menu-icon[data-icon="groups"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2'/%3E%3Cpath d='M3 20c0-4 2-6 6-6s6 2 6 6M14 15c3 0 5 1.5 5 5'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2'/%3E%3Cpath d='M3 20c0-4 2-6 6-6s6 2 6 6M14 15c3 0 5 1.5 5 5'/%3E%3C/svg%3E") !important;
    }

    /* Profile */
    .bvc-mobile-menu-icon[data-icon="find_in_page"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M6 3h9l3 3v15H6zM15 3v4h4M9 11h6M9 15h4'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M6 3h9l3 3v15H6zM15 3v4h4M9 11h6M9 15h4'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E") !important;
    }


    /* Services / other services */
    .bvc-mobile-menu-icon[data-icon="services"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7l8 4 8-4-8-4Z'/%3E%3Cpath d='m4 12 8 4 8-4M4 17l8 4 8-4'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7l8 4 8-4-8-4Z'/%3E%3Cpath d='m4 12 8 4 8-4M4 17l8 4 8-4'/%3E%3C/svg%3E") !important;
    }

    /* Projects */
    .bvc-mobile-menu-icon[data-icon="projects"] {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E") !important;
    }

    /* Generic */
    .bvc-mobile-menu-icon[data-icon="apps"],
    .bvc-mobile-menu-icon:not([data-icon]) {
        -webkit-mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='4' y='4' width='6' height='6'/%3E%3Crect x='14' y='4' width='6' height='6'/%3E%3Crect x='4' y='14' width='6' height='6'/%3E%3Crect x='14' y='14' width='6' height='6'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='4' y='4' width='6' height='6'/%3E%3Crect x='14' y='4' width='6' height='6'/%3E%3Crect x='4' y='14' width='6' height='6'/%3E%3Crect x='14' y='14' width='6' height='6'/%3E%3C/svg%3E") !important;
        mask-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='4' y='4' width='6' height='6'/%3E%3Crect x='14' y='4' width='6' height='6'/%3E%3Crect x='4' y='14' width='6' height='6'/%3E%3Crect x='14' y='14' width='6' height='6'/%3E%3C/svg%3E") !important;
    }

    /* =========================================================
       MOBILE SUBMENU FINAL
       - Giữ menu grid cấp 1.
       - Mục có menu con (ví dụ GIẢI PHÁP) có nút mở/đóng.
       - Khi mở, mục cha chiếm đủ 2 cột và submenu hiện bên dưới.
       ========================================================= */

    /* Arrow nằm trong link không dùng trên mobile; dùng nút .sub-toggle riêng */
    .bvc-header-template .menu-link .arrow-icon {
        display: none !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub
    > .menu-link.level-1-link {
        padding-right: 48px !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub
    > .sub-toggle {
        position: absolute !important;
        top: 11px !important;
        right: 10px !important;
        z-index: 8 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 34px !important;
        height: 34px !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 1px solid #e0e7ef !important;
        border-radius: 7px !important;

        background: #f7fafc !important;
        color: #475569 !important;

        cursor: pointer !important;
        transition: transform .2s ease, background .2s ease, color .2s ease !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub
    > .sub-toggle svg {
        width: 15px !important;
        height: 15px !important;
        transition: transform .2s ease !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub.open {
        grid-column: 1 / -1 !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub.open
    > .sub-toggle {
        background: #eaf7ff !important;
        color: var(--color-3, #00a9ec) !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub.open
    > .sub-toggle svg {
        transform: rotate(90deg) !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .sub-menu.level-2 {
        display: none !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1.has-sub.open
    > .sub-menu.level-2 {
        position: static !important;

        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 8px 0 0 !important;
        padding: 0 !important;

        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;

        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .sub-menu.level-2
    > .menu-item.level-2 {
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        list-style: none !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .sub-menu.level-2
    > .menu-item.level-2
    > .menu-link.level-2-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        min-height: 46px !important;
        width: 100% !important;

        margin: 0 !important;
        padding: 9px 12px !important;

        border: 1px solid rgba(220,228,237,.96) !important;
        border-radius: 7px !important;

        background: rgba(255,255,255,.96) !important;
        color: #334155 !important;

        font-family: "Nunito", Arial, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;

        text-decoration: none !important;
        box-sizing: border-box !important;
    }

    /* Cấp 3 không bung flyout trên mobile; vẫn giữ desktop nguyên vẹn */
    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .sub-menu.level-2
    .sub-menu.level-3,
    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .sub-menu.level-2
    .sub-toggle {
        display: none !important;
    }

    /* ===== CONTACT INSIDE DRAWER ===== */
    .bvc-mobile-menu-contact {
        position: relative !important;
        z-index: 2 !important;

        display: block !important;

        flex: 0 0 auto !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 15px 22px 34px !important;

        color: #ffffff !important;

        background:
            linear-gradient(
                180deg,
                rgba(12,46,98,.12) 0%,
                rgba(8,31,75,.45) 28%,
                rgba(5,15,48,.82) 68%,
                #02071b 100%
            ) !important;

        box-sizing: border-box !important;
    }

    .bvc-mobile-menu-contact__title {
        margin: 0 0 15px !important;

        color: #ffffff !important;

        font-family:
            "Nunito",
            Arial,
            sans-serif !important;

        font-size: 14px !important;
        line-height: 1.3 !important;
        font-weight: 800 !important;

        text-transform: uppercase !important;
    }

    .bvc-mobile-menu-contact__list {
        display: flex !important;
        flex-direction: column !important;

        gap: 12px !important;
    }

    .bvc-mobile-menu-contact__row {
        display: grid !important;

        grid-template-columns:
            38px minmax(0, 1fr)
            !important;

        gap: 11px !important;
        align-items: center !important;

        min-width: 0 !important;

        color: #dbe7ff !important;
        text-decoration: none !important;
    }

    .bvc-mobile-menu-contact__icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 38px !important;
        height: 38px !important;

        border-radius: 50% !important;

        background:
            linear-gradient(
                145deg,
                #1cc4f4 0%,
                #009fe1 100%
            ) !important;

        color: #ffffff !important;

        box-shadow:
            0 5px 14px
            rgba(0,160,225,.20)
            !important;
    }

    .bvc-mobile-menu-contact__icon svg {
        width: 19px !important;
        height: 19px !important;

        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .bvc-mobile-menu-contact__text {
        min-width: 0 !important;

        color: #dce7fb !important;

        font-family:
            "Nunito",
            Arial,
            sans-serif !important;

        font-size: 12.5px !important;
        line-height: 1.42 !important;
        font-weight: 500 !important;

        overflow-wrap: anywhere !important;
    }

    .bvc-mobile-menu-contact__divider {
        width: 100% !important;
        height: 1px !important;

        margin: 22px 0 18px !important;

        background:
            rgba(255,255,255,.10)
            !important;
    }

    .bvc-mobile-menu-connect-title {
        margin: 0 !important;

        color: #ffffff !important;

        font-family:
            "Nunito",
            Arial,
            sans-serif !important;

        font-size: 15px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;

        text-transform: uppercase !important;
    }

    /* Full screen menu nên không cần overlay */
    .bvc-header-template .nav-overlay {
        display: none !important;
    }
}


/* ============================================================
   GALAXY Z FOLD 5 / MOBILE HẸP - HEADER KHÔNG MẤT MENU
   Nguyên nhân: logo + VI/EN + search + hamburger vượt chiều rộng.
   Giữ hamburger luôn nhìn thấy, thu gọn logo và nút ngôn ngữ.
============================================================ */
@media (max-width: 560px) {
    .bvc-header-template > .ctnr {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    .bvc-header-template .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 6px !important;
        padding: 8px 0 !important;
        box-sizing: border-box !important;
    }

    .bvc-header-template .header-logo {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 118px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .bvc-header-template .header-logo img {
        display: block !important;
        width: auto !important;
        max-width: 118px !important;
        max-height: 42px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .bvc-header-template .header-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        margin-left: auto !important;
        gap: 4px !important;
    }

    .bvc-header-template .bvc-lang-switch {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        gap: 3px !important;
    }

    .bvc-header-template .bvc-lang-btn {
        min-width: 30px !important;
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
        border-radius: 7px !important;
    }

    .bvc-header-template .bvc-lang-code {
        display: none !important;
    }

    .bvc-header-template .bvc-lang-flag {
        font-size: 16px !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .bvc-header-template .search-toggle-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        height: 34px !important;
        padding: 6px !important;
        margin: 0 !important;
    }

    .bvc-header-template .mobile-toggle-btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 5 !important;
    }
}

@media (max-width: 390px) {

    
    .bvc-header-template .bvc-lang-btn {
        min-width: 30px !important;
        width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
    }

    .bvc-header-template .bvc-lang-code {
        display: none !important;
    }

.bvc-header-template
    .menu-list > .menu-item.level-1.has-sub.open
    > .sub-menu.level-2 {
        grid-template-columns: 1fr !important;
    }

    .bvc-header-template .menu-list {
        gap: 7px !important;

        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .menu-link.level-1-link {
        min-height: 53px !important;

        padding: 8px 9px !important;

        gap: 7px !important;

        font-size: 11.5px !important;
    }

    .bvc-mobile-menu-icon {
        flex-basis: 23px !important;

        width: 23px !important;
        height: 23px !important;
    }

    .bvc-mobile-menu-contact {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}


/* ============================================================
   MOBILE MENU ICON — SHARP FINAL
   Ảnh icon quản trị được dùng làm mask nên không còn trắng/mờ.
============================================================ */
@media (max-width:991.98px){
    .bvc-header-template .bvc-mobile-menu-icon--custom-mask{
        display:inline-block!important;
        background:#ff8059!important;
        background-color:#ff8059!important;
        opacity:1!important;
        filter:none!important;

        -webkit-mask-repeat:no-repeat!important;
        -webkit-mask-position:center!important;
        -webkit-mask-size:contain!important;

        mask-repeat:no-repeat!important;
        mask-position:center!important;
        mask-size:contain!important;
    }

    .bvc-header-template .bvc-mobile-menu-icon,
    .bvc-header-template .bvc-mobile-menu-icon--mask,
    .bvc-header-template .bvc-mobile-menu-icon--custom-mask{
        opacity:1!important;
        filter:none!important;
        transform:none!important;
    }
}

@media (max-width:390px){
    .bvc-header-template .bvc-mobile-menu-icon{
        flex:0 0 27px!important;
        flex-basis:27px!important;
        width:27px!important;
        height:27px!important;
        min-width:27px!important;
        min-height:27px!important;
    }

    .bvc-header-template
    .menu-list > .menu-item.level-1
    > .menu-link.level-1-link{
        min-height:56px!important;
        gap:8px!important;
    }
}


@media (max-width:991.98px){
    .bvc-header-template .bvc-mobile-menu-icon--custom-mask,
    .bvc-header-template .bvc-mobile-menu-icon--image{
        display:none!important;
    }
}



/* ============================================================
   BIVACO RESPONSIVE FINAL V9 — HEADER ONLY / NO SERVICE DOM MUTATION
   Đây là lớp responsive cuối cùng của header để tránh phải sửa nhiều file.
============================================================ */


/* TABLET 576–1199: không dùng menu desktop ngang vì tổng chiều rộng
   logo + menu + VI/EN vượt viewport trên nhiều máy tính bảng. */
@media (min-width: 576px) and (max-width: 991.98px) {
    .bvc-header-template {
        overflow: visible !important;
    }

    .bvc-header-template > .ctnr {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .bvc-header-template .header-inner {
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        box-sizing: border-box !important;
    }

    .bvc-header-template .header-logo {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 180px !important;
    }

    .bvc-header-template .header-actions {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
    }

    .bvc-header-template .mobile-toggle-btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }
}


/* ============================================================
   TOUCH TABLET HARD SAFETY
   Tablet Android có thể báo viewport >1199px dù màn vật lý nhỏ.
============================================================ */
@media (max-width: 991.98px) {
    .bvc-header-template,
    .bvc-header-template > .ctnr,
    .bvc-header-template .header-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .bvc-header-template > .ctnr {
        width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .bvc-header-template .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    .bvc-header-template .header-logo {
        flex: 0 1 170px !important;
        max-width: 170px !important;
        min-width: 0 !important;
    }

    .bvc-header-template .header-logo img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .bvc-header-template .header-actions {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        margin-left: auto !important;
        min-width: 0 !important;
    }

    .bvc-header-template .mobile-toggle-btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
    }

    .bvc-header-template .bvc-lang-btn {
        min-width: 42px !important;
        height: 32px !important;
        padding: 0 6px !important;
    }

    .bvc-header-template .search-toggle-btn {
        flex: 0 0 36px !important;
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        padding: 6px !important;
    }
}

/* 1) Menu cấp 2 desktop / tablet ngang: rộng hơn cho tên dài */
@media (min-width: 992px) {
    .bvc-header-template .sub-menu.level-2 {
        width: 340px !important;
        min-width: 340px !important;
        max-width: min(380px, calc(100vw - 40px)) !important;
    }

    .bvc-header-template .menu-link.level-2-link {
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 20px !important;
        line-height: 1.42 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
}

/* 2) Tablet: tạo gutter thật, không để nội dung dính sát 2 mép */
@media (min-width: 576px) and (max-width: 991.98px) {
    body.agency-theme .bvc-header-template > .ctnr,
    body.agency-theme .agency-main .ctnr,
    body.agency-theme .agency-home .ctnr,
    body.agency-theme .site-footer-agency .ctnr {
        width: calc(100% - 48px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* 4) Thay vùng Kết nối trong drawer bằng footer-bottom thật */
.bvc-mobile-footer-bottom-copy {
    display: none;
}

@media (max-width: 991.98px) {
    .bvc-mobile-footer-bottom-copy {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 4px !important;
        color: #ffffff !important;
        box-sizing: border-box !important;
    }

    .bvc-mobile-footer-bottom-copy .footer-bottom-flex {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 12px !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    .bvc-mobile-footer-bottom-copy .copyright-text {
        margin: 0 !important;
        color: rgba(255,255,255,.72) !important;
        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }

    .bvc-mobile-footer-bottom-copy .footer-policy-links {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .bvc-mobile-footer-bottom-copy .footer-policy-links,
    .bvc-mobile-footer-bottom-copy .footer-policy-links a,
    .bvc-mobile-footer-bottom-copy .footer-policy-links span {
        color: #ffffff !important;
        font-size: 11.5px !important;
        line-height: 1.45 !important;
        text-decoration: none !important;
    }

    .bvc-mobile-footer-bottom-copy .policy-divider {
        color: rgba(255,255,255,.35) !important;
    }

    .bvc-mobile-footer-bottom-copy .footer-cert-badges {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 7px !important;

        width: 100% !important;
        margin: 2px 0 0 !important;
        padding: 0 !important;
    }

    .bvc-mobile-footer-bottom-copy .cert-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;

        min-height: 34px !important;
        margin: 0 !important;
        padding: 7px 10px !important;

        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 7px !important;

        background: rgba(255,255,255,.035) !important;
        color: #ffffff !important;

        font-size: 10.5px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .bvc-mobile-footer-bottom-copy .cert-badge strong,
    .bvc-mobile-footer-bottom-copy .cert-badge span,
    .bvc-mobile-footer-bottom-copy .cert-badge .cert-title,
    .bvc-mobile-footer-bottom-copy .cert-badge .cert-num,
    .bvc-mobile-footer-bottom-copy .cert-badge .cert-sub {
        color: #ffffff !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    .bvc-mobile-footer-bottom-copy .cert-badge svg,
    .bvc-mobile-footer-bottom-copy .cert-badge img {
        flex: 0 0 auto !important;
        max-width: 18px !important;
        max-height: 18px !important;
    }
}



/* ============================================================
   BIVACO V43 FIX — TABLET LANGUAGE SAFE / NO DRAWER INTERFERENCE
   Chỉ thu gọn header khi thiết bị thực sự đang dùng menu desktop.
   KHÔNG đổi position/display của site-nav nên không làm drawer bung trắng.
============================================================ */
@media (min-width:992px) and (max-width:1399.98px){
    .bvc-header-template > .ctnr{
        width:calc(100% - 32px) !important;
        max-width:none !important;
        margin-left:auto !important;
        margin-right:auto !important;
        padding-left:0 !important;
        padding-right:0 !important;
        box-sizing:border-box !important;
    }

    .bvc-header-template .header-inner{
        gap:4px !important;
        min-width:0 !important;
        overflow:visible !important;
    }

    .bvc-header-template .header-logo{
        flex:0 0 132px !important;
        width:132px !important;
        max-width:132px !important;
        min-width:0 !important;
        margin-right:2px !important;
    }

    .bvc-header-template .header-logo img{
        max-width:132px !important;
        height:auto !important;
        object-fit:contain !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        padding-left:6px !important;
        padding-right:6px !important;
        gap:3px !important;
        font-size:12px !important;
        white-space:nowrap !important;
    }

    .bvc-header-template .header-actions{
        flex:0 0 auto !important;
        margin-left:2px !important;
        margin-right:2px !important;
        gap:3px !important;
        overflow:visible !important;
    }

    .bvc-header-template .bvc-lang-switch{
        gap:3px !important;
        flex:0 0 auto !important;
        white-space:nowrap !important;
    }

    .bvc-header-template .bvc-lang-btn{
        min-width:43px !important;
        height:32px !important;
        padding:0 5px !important;
        gap:2px !important;
        border-radius:7px !important;
        font-size:10px !important;
    }

    .bvc-header-template .bvc-lang-flag{
        font-size:14px !important;
    }

    .bvc-header-template .bvc-lang-code{
        font-size:10px !important;
    }

    .bvc-header-template .search-toggle-btn{
        flex:0 0 32px !important;
        width:32px !important;
        min-width:32px !important;
        height:32px !important;
        padding:6px !important;
        margin:0 !important;
    }
}


/* ============================================================
   BIVACO V45 — IPAD/TABLET DESKTOP MENU FINAL
   >= 992px: hiển thị menu ngang như máy tính, không dùng drawer.
   Thu gọn nhẹ logo/menu/action để VI/EN không bị cắt mép.
============================================================ */
@media (min-width:992px) and (max-width:1399.98px){
    .bvc-header-template{
        overflow:visible !important;
    }

    .bvc-header-template > .ctnr{
        width:calc(100% - 28px) !important;
        max-width:none !important;
        margin-left:auto !important;
        margin-right:auto !important;
        padding-left:0 !important;
        padding-right:0 !important;
        box-sizing:border-box !important;
    }

    .bvc-header-template .header-inner{
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        width:100% !important;
        min-width:0 !important;
        gap:3px !important;
        overflow:visible !important;
        box-sizing:border-box !important;
    }

    .bvc-header-template .header-logo{
        position:relative !important;
        inset:auto !important;
        z-index:auto !important;
        display:inline-flex !important;
        flex:0 0 118px !important;
        width:118px !important;
        max-width:118px !important;
        min-width:0 !important;
        margin:0 3px 0 0 !important;
        padding:0 !important;
    }

    .bvc-header-template .header-logo img{
        display:block !important;
        width:auto !important;
        max-width:118px !important;
        max-height:44px !important;
        height:auto !important;
        object-fit:contain !important;
    }

    .bvc-header-template .site-nav{
        position:relative !important;
        inset:auto !important;
        z-index:20 !important;
        display:flex !important;
        flex:1 1 auto !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        max-width:none !important;
        min-width:0 !important;
        height:auto !important;
        max-height:none !important;
        margin:0 !important;
        padding:0 !important;
        overflow:visible !important;
        background:transparent !important;
        box-shadow:none !important;
        transform:none !important;
        transition:none !important;
    }

    .bvc-header-template .nav-drawer-header,
    .bvc-header-template .bvc-mobile-menu-contact,
    .bvc-header-template .bvc-mobile-footer-bottom-copy,
    .bvc-header-template .nav-overlay,
    .bvc-header-template .mobile-toggle-btn{
        display:none !important;
        visibility:hidden !important;
        opacity:0 !important;
    }

    .bvc-header-template .menu-list{
        position:relative !important;
        z-index:20 !important;
        display:flex !important;
        flex:0 1 auto !important;
        flex-direction:row !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        max-width:100% !important;
        min-width:0 !important;
        height:auto !important;
        margin:0 !important;
        padding:0 !important;
        gap:1px !important;
        overflow:visible !important;
        background:transparent !important;
        list-style:none !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1{
        position:relative !important;
        display:flex !important;
        flex:0 0 auto !important;
        width:auto !important;
        min-width:0 !important;
        min-height:0 !important;
        margin:0 !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        min-width:0 !important;
        min-height:38px !important;
        margin:0 !important;
        padding:7px 5px !important;
        gap:2px !important;
        border:0 !important;
        border-radius:6px !important;
        background:transparent !important;
        color:inherit !important;
        font-family:"Bai Jamjuree", sans-serif !important;
        font-size:13px !important;
        line-height:1.25 !important;
        font-weight:500 !important;
        white-space:nowrap !important;
        box-shadow:none !important;
    }

    .bvc-header-template .bvc-mobile-menu-icon{
        display:none !important;
    }

    .bvc-header-template .header-actions{
        position:relative !important;
        z-index:25 !important;
        display:flex !important;
        align-items:center !important;
        justify-content:flex-end !important;
        flex:0 0 auto !important;
        min-width:0 !important;
        margin:0 2px 0 3px !important;
        padding:0 !important;
        gap:3px !important;
        overflow:visible !important;
        white-space:nowrap !important;
    }

    .bvc-header-template .bvc-lang-switch{
        display:inline-flex !important;
        align-items:center !important;
        flex:0 0 auto !important;
        gap:2px !important;
        white-space:nowrap !important;
    }

    .bvc-header-template .bvc-lang-btn{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        min-width:40px !important;
        width:auto !important;
        height:32px !important;
        padding:0 5px !important;
        gap:2px !important;
        border-radius:7px !important;
        font-size:11px !important;
        white-space:nowrap !important;
    }

    .bvc-header-template .bvc-lang-flag{
        font-size:14px !important;
    }

    .bvc-header-template .bvc-lang-code{
        display:inline-block !important;
        font-size:11px !important;
        line-height:1 !important;
    }

    .bvc-header-template .search-toggle-btn{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex:0 0 30px !important;
        width:30px !important;
        min-width:30px !important;
        height:30px !important;
        margin:0 !important;
        padding:5px !important;
    }
}

@media (min-width:992px) and (max-width:1099.98px){
    .bvc-header-template .header-logo{
        flex-basis:102px !important;
        width:102px !important;
        max-width:102px !important;
    }
    .bvc-header-template .header-logo img{
        max-width:102px !important;
    }
    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        padding-left:3px !important;
        padding-right:3px !important;
        font-size:12px !important;
    }
    .bvc-header-template .bvc-lang-btn{
        min-width:36px !important;
        padding-left:4px !important;
        padding-right:4px !important;
    }
    .bvc-header-template .search-toggle-btn{
        flex-basis:28px !important;
        width:28px !important;
        min-width:28px !important;
        height:28px !important;
    }
}




/* ============================================================
   BIVACO V47 — IPAD MENU FONT 14PX
   Giữ menu ngang từ 992px, tăng chữ lên 14px và thu khoảng đệm để tránh tràn.
============================================================ */
@media (min-width:992px) and (max-width:1399.98px){
    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        font-family:"Bai Jamjuree", sans-serif !important;
        font-size:14px !important;
        line-height:1.2 !important;
        font-weight:500 !important;
        padding-left:3px !important;
        padding-right:3px !important;
        gap:1px !important;
        white-space:nowrap !important;
    }
}

@media (min-width:992px) and (max-width:1099.98px){
    .bvc-header-template .header-logo{
        flex-basis:96px !important;
        width:96px !important;
        max-width:96px !important;
    }
    .bvc-header-template .header-logo img{
        max-width:96px !important;
    }
    .bvc-header-template .menu-list{
        gap:1px !important;
    }
    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        font-size:14px !important;
        padding-left:2px !important;
        padding-right:2px !important;
    }
}

/* ============================================================
   BIVACO V48 — IPAD MENU SPACING 14PX
   Giữ font 14px, tăng khoảng cách giữa các mục để menu thoáng hơn.
============================================================ */
@media (min-width:1100px) and (max-width:1399.98px){
    .bvc-header-template .menu-list{
        gap:8px !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        padding-left:5px !important;
        padding-right:5px !important;
        gap:4px !important;
        font-size:14px !important;
        white-space:nowrap !important;
    }
}

@media (min-width:992px) and (max-width:1099.98px){
    .bvc-header-template .menu-list{
        gap:4px !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        padding-left:3px !important;
        padding-right:3px !important;
        gap:3px !important;
        font-size:14px !important;
        white-space:nowrap !important;
    }
}



/* ============================================================
   BIVACO V49 — IPAD MENU 15PX + MORE SPACING
   Tăng thêm 1px font và giãn khoảng cách giữa các mục.
============================================================ */
@media (min-width:1100px) and (max-width:1399.98px){
    .bvc-header-template .header-logo{
        flex-basis:112px !important;
        width:112px !important;
        max-width:112px !important;
    }

    .bvc-header-template .header-logo img{
        max-width:112px !important;
    }

    .bvc-header-template .menu-list{
        gap:10px !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        font-family:"Bai Jamjuree", sans-serif !important;
        font-size:15px !important;
        line-height:1.3 !important;
        font-weight:500 !important;
        padding-left:4px !important;
        padding-right:4px !important;
        gap:4px !important;
        white-space:nowrap !important;
    }
}

@media (min-width:992px) and (max-width:1099.98px){
    .bvc-header-template .header-logo{
        flex-basis:90px !important;
        width:90px !important;
        max-width:90px !important;
    }

    .bvc-header-template .header-logo img{
        max-width:90px !important;
    }

    .bvc-header-template .menu-list{
        gap:5px !important;
    }

    .bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
        font-family:"Bai Jamjuree", sans-serif !important;
        font-size:15px !important;
        line-height:1.3 !important;
        font-weight:500 !important;
        padding-left:2px !important;
        padding-right:2px !important;
        gap:2px !important;
        white-space:nowrap !important;
    }

    .bvc-header-template .bvc-lang-btn{
        min-width:34px !important;
        padding-left:3px !important;
        padding-right:3px !important;
    }
}



/* ============================================================
   BIVACO V56 — MENU WEIGHT + CURRENT ACTIVE FINAL
   - Menu chính đậm hơn nhẹ: 600
   - Không active cứng mục nào
   - Chỉ trang hiện tại mới đổi xanh
============================================================ */
.bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link{
    font-weight:600 !important;
}

.bvc-header-template .menu-list > .menu-item.level-1.active > .menu-link.level-1-link,
.bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link.active{
    color:#00A9EC !important;
    font-weight:600 !important;
}

.bvc-header-template .menu-list > .menu-item.level-1.active > .menu-link.level-1-link .arrow-icon,
.bvc-header-template .menu-list > .menu-item.level-1 > .menu-link.level-1-link.active .arrow-icon{
    color:#00A9EC !important;
}

.bvc-header-template .sub-menu .menu-item.active > .menu-link,
.bvc-header-template .sub-menu .menu-link.active{
    color:#00A9EC !important;
}
