#header-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: 900;
    will-change: transform;
    z-index: 9999;
}
#header-2.show { transform: translateY(0); }

#header-2 .header2-inner {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0;
    gap: 1.5rem;
}

/* logo */
#header-2 .header2-logo a { display: inline-block; line-height: 0; }
#header-2 .header2-logo img {
    height: 3rem;
    width: auto;
    display: block;
}

/* menu ngang (walker Flatsome: ul.nav + li.has-dropdown) */
#header-2 .header2-menu {
    display: flex;
    align-items: center;
    gap: 4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
#header-2 .header2-menu > li {
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
}
/* chá»‰ style link cáº¥p 1 (khÃ´ng Ä‘á»¥ng vÃ o ná»™i dung UX Block trong dropdown) */
#header-2 .header2-menu > li > a {
    color: #034EA2;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    line-height: 4rem;
    font-family: 'Momo Trust Display';
    font-weight: normal;
    position: relative;
}
#header-2 .header2-menu > li > a:hover,
#header-2 .header2-menu > li.active > a,
#header-2 .header2-menu > li.current-menu-item > a {
    color: #09AEEA;
}
/* mÅ©i tÃªn dropdown */
#header-2 .header2-menu > li.has-dropdown > a .icon-angle-down {font-size: 0.7rem;display: none;}

.mega_box .sub-menu.nav-dropdown {
    width: 100vw !important;
    left: 0 !important;
    position: fixed !important;
}
/* dropdown / mega menu (UX Block) â€” hiá»‡n khi hover */
#header-2 .header2-menu .nav-dropdown {
    text-align: left;
    bottom: 0 !important;
    transform: translateY(100%);
    top: unset !important;
    box-shadow: none;
    border: none;
    padding: 3.5rem 0;
}
/*#header-2 .header2-menu > li.has-dropdown:hover > .nav-dropdown,*/
/*#header-2 .header2-menu > li.has-dropdown:focus-within > .nav-dropdown {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    pointer-events: auto;*/
/*}*/
#header-2 .header2-menu .nav-dropdown {
    visibility: hidden;
}
.current-dropdown .sub-menu.nav-dropdown {
    visibility: visible !important;
}
/*#header-2 .header2-menu li:hover> .nav-dropdown {*/
/*    visibility: visible;*/
/*}*/
header .header-wrap.stuck {
    opacity: 0;
    pointer-events: none;
}

.header2-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-2 .header2-menu > li > a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: #09AEEA;
    width: 0;
    transition: .5s all;
}

#header-2 .header2-menu > li > a:hover:before {
    width: 100%;
}

.menu_mega .img {
    border-radius: 1rem;
    overflow: hidden;
}

.menu_mega .img img {
    width: 100%;
    height: auto;
    display: block;
}

.wrap_menu_header .ux-menu-title {
    font-size: .9rem;
    text-transform: unset;
    font-family: 'Google Sans Flex Bold';
    color: #034EA2;
    padding: 0 !important;
    min-height: unset !important;
    font-weight: normal !important;
}

.wrap_menu_header a.ux-menu-link__link {
    padding: 0;
    line-height: normal;
    min-height: unset;
    border: none !important;
    color: #333333;
    font-size: .9rem;
    transition: .5s all;
}

.wrap_menu_header .ux-menu {
    gap: .6rem;
    width: 25%;
}

.wrap_menu_header {
    gap: 1rem;
}

.wrap_menu_header a.ux-menu-link__link:hover {
    color: #09AEEA;
}
#header-2 .header2-action { gap: 1.2rem; }
#header-2 .header2-action .box-search a {
    color: #0f497d;
    display: inline-flex;
    align-items: center;
}
#header-2 .header2-action .box-search a:hover { color: #2b8fd6; }

@media (max-width: 849px) {
    #header-2 { display: none !important; }
}

/* =========================================================
 *  Fix nút menu -> close (X) bị méo:
 *  override transform mặc định của theme cho đối xứng, cắt tại tâm.
 * ========================================================= */
header .action-menu.active span.icon path:nth-child(1),
header .action-menu.active span.icon path:nth-child(3) {
    transform-box: fill-box;
    transform-origin: center;
}
header .action-menu.active span.icon path:nth-child(1) {
    transform: translateY(7.8px) rotate(45deg);
}
header .action-menu.active span.icon path:nth-child(3) {
    transform: translateY(-7.8px) rotate(-45deg);
}
header .action-menu.active span.icon path:nth-child(2) {
    opacity: 0;
}

@media (max-width: 849px) {
    .menu-open .header-wrap {
        background: transparent !important;
    }
}
