/* =========================================================
   VINSMARTHOME HEADER - FLATSOME
========================================================= */

.off-canvas-right .mfp-content,
.off-canvas-left .mfp-content {
    --drawer-width: 100vw !important;
    max-width: 420px !important;
}

#header {
    position: relative;
    z-index: 999;
}

#header .header-wrapper {
    background: #fff;
}

#header .nav-uppercase > li > a {
    letter-spacing: 0;
    text-transform: none;
}

#header a {
    text-decoration: none;
}

#top-bar {
    min-height: 40px;
    background: linear-gradient( 90deg, #154da6 0%, #205ab6 50%, #154da6 100% ) !important;
}

#top-bar > .flex-row {
    min-height: 40px;
}

#top-bar .nav-divided > li + li > a::after {
    display: none !important;
}

#top-bar .nav-left {
    margin: 0;
}

#top-bar .nav-left > li {
    margin: 0;
    border: 0;
}

#top-bar .nav-left > li > a {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 0;
    color: rgba(255, 255, 255, .95);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: none;
}

#top-bar .top-bar-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
}

#top-bar .top-bar-nav > li {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0;
    border: 0;
}

#top-bar .top-bar-nav > li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, .18);
    transform: translateY(-50%);
}

#top-bar .top-bar-nav > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 13px;
    color: rgba(255, 255, 255, .94);
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    transition: color .2s ease, background-color .2s ease;
}

#top-bar .top-bar-nav > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

#top-bar .ux-menu-icon {
    display: block;
    width: 15px !important;
    height: 15px !important;
    margin: 0;
    object-fit: contain;
}

#masthead {
    background: #fff;
    border-bottom: 1px solid var(--vsh-border);
}

#masthead .header-inner {
    min-height: 98px;
}

#logo {
    flex: 0 0 auto;
    margin-right: 18px;
}

#logo a {
    display: flex;
    align-items: center;
}

#logo img {
    width: 100% !important;
    max-width: 200px;
    max-height: 58px;
    object-fit: contain;
    transition: transform .2s ease, opacity .2s ease;
}

#masthead .flex-left.flex-grow {
    flex: 1 1 auto;
    min-width: 250px;
}

#masthead .header-nav-main.nav-left,
#masthead .header-search-form,
#masthead .header-search-form-wrapper,
#masthead .searchform-wrapper {
    width: 100%;
}

#masthead .header-search-form {
    margin-right: 30px !important;
}

#masthead .searchform {
    overflow: hidden;
    width: 100%;
    border: 1px solid #d7e0e9;
    border-radius: 11px;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

#masthead .searchform:hover {
    border-color: #c4d1df;
}

#masthead .searchform:focus-within {
    border-color: rgba(25, 85, 181, .55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(25, 85, 181, .07);
}

#masthead .search-field {
    height: 40px !important;
    padding: 0 16px !important;
    border: 0 !important;
    color: var(--vsh-text);
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px;
}

#masthead .search-field::placeholder {
    color: #9aa7b7;
    opacity: 1;
}

#masthead .ux-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    color: #122840 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: color .2s ease, background-color .2s ease;
}

#masthead .ux-search-submit:hover {
    color: var(--vsh-blue) !important;
    background: var(--vsh-blue-soft) !important;
}

#masthead .ux-search-submit i {
    font-size: 16px;
}

#masthead .header-nav-main.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

#masthead .header-button {
    margin: 0;
}

#masthead .account-item .header-button > a,
#masthead .cart-item .header-button > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 106px;
    min-height: 44px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #d7e0ea !important;
    border-radius: 9px !important;
    color: #26394f !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

#masthead .account-item .header-button > a:hover,
#masthead .cart-item .header-button > a:hover {
    color: var(--vsh-blue) !important;
    border-color: rgba(25, 85, 181, .28) !important;
    background: #f2f7fd !important;
}

/*#masthead .header-cart-title {
    font-size: 14px;
    font-weight: 600;
}*/

#masthead .header-cart-link i {
    position: relative;
    font-size: 17px;
}

#masthead .header-cart-link i[data-icon-label]::after {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: none;
    border-radius: 20px;
    color: #fff;
    background: var(--vsh-blue-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .14);
    font-size: 9px;
    font-weight: 700;
}

#wide-nav {
    position: relative;
    min-height: 52px;
    background: #fff !important;
    border-bottom: 1px solid var(--vsh-border);
    box-shadow: 0 5px 14px rgba(12, 45, 85, .035);
}

#wide-nav > .flex-row {
    min-height: 52px;
}

#wide-nav .header-bottom-nav {
    display: flex;
    align-items: stretch;
    min-height: 52px;
}

#wide-nav .header-vertical-menu {
    position: relative;
    margin-right: 20px;
}

#wide-nav .header-vertical-menu__opener {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 250px;
    min-height: 52px;
    padding: 0 17px;
    color: #fff !important;
    background: linear-gradient( 135deg, #2058b5 0%, #16499f 100% );
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(25, 85, 181, .15);
    transition: background .2s ease, box-shadow .2s ease;
}

#wide-nav .header-vertical-menu__opener:hover,
#wide-nav .header-vertical-menu:hover .header-vertical-menu__opener {
    background: linear-gradient( 135deg, #174fab 0%, #0d3d8e 100% );
}

#wide-nav .header-vertical-menu__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

#wide-nav .header-vertical-menu__icon i {
    font-size: 20px;
}

#wide-nav .header-vertical-menu__title {
    flex: 1;
    white-space: nowrap;
}

#wide-nav .header-vertical-menu__opener > .icon-angle-down {
    margin-left: auto;
    font-size: 10px;
    transition: transform .2s ease;
}

#wide-nav .header-vertical-menu:hover .header-vertical-menu__opener > .icon-angle-down,
#wide-nav .header-vertical-menu__opener[aria-expanded="true"] > .icon-angle-down {
    transform: rotate(180deg);
}

#wide-nav .header-vertical-menu__fly-out {
    overflow: visible !important;
    width: 250px;
    margin: 0;
    border-top: 0;
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 48, 90, .14);
}

#wide-nav .ux-nav-vertical-menu {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
}

#wide-nav .ux-nav-vertical-menu > li {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

#wide-nav .ux-nav-vertical-menu > li + li {
    border-top: 1px solid #edf2f6;
}

#wide-nav .ux-nav-vertical-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px 8px 30px;
    border: 0;
    color: #34485e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
    transition: color .18s ease, background-color .18s ease;
}

#wide-nav .ux-nav-vertical-menu > li > a::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #76a7e6;
    transform: translateY(-50%);
}

#wide-nav .ux-nav-vertical-menu > li:hover > a,
#wide-nav .ux-nav-vertical-menu > li:focus-within > a {
    color: var(--vsh-blue);
    background: #edf5ff;
}

#wide-nav .ux-nav-vertical-menu > li:hover > a::before {
    background: var(--vsh-blue);
}

#wide-nav .ux-nav-vertical-menu > li.menu-item-has-children > a,
#wide-nav .ux-nav-vertical-menu > li.has-dropdown > a {
    padding-right: 30px;
}

#wide-nav .ux-nav-vertical-menu > li.has-dropdown > a > .icon-angle-down {
    position: absolute;
    right: 12px;
    top: 50%;
    margin: 0;
    font-size: 9px;
    transform: translateY(-50%) rotate(-90deg);
    opacity: .6;
}

#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu.nav-dropdown {
    border: 1px solid var(--vsh-border);
    background: #fff;
    box-shadow: 0 20px 50px rgba(14, 47, 90, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block:hover > .sub-menu.nav-dropdown,
#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block:focus-within > .sub-menu.nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu.nav-dropdown::before {
    display: none;
}

#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu > .row {
    width: 100%;
    margin: 0;
    padding: 20px 10px 0;
}

#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu > .row > .col > .col-inner {
    height: 100%;
    padding: 0 !important;
}

/*#wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu > .row > .col:not(:last-child) {
    border-right: 1px solid #edf1f5;
}
*/
#wide-nav .menu-item-has-block .vsm-menu-element {
    width: 100%;
}

#wide-nav .menu-item-has-block .vsm-menu-element__title {
    margin: 0 0 12px;
    color: var(--vsh-text);
    font-size: 14px;
    font-weight: 700;
}

#wide-nav .menu-item-has-block .vsm-menu-element ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#wide-nav .menu-item-has-block .vsm-menu-element li {
    margin: 0 !important;
}

#wide-nav .menu-item-has-block .vsm-menu-element a {
    display: block;
    padding: 8px 10px !important;
    border-radius: 6px;
    color: #384b61;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.4;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}

#wide-nav .menu-item-has-block .vsm-menu-element a:hover {
    padding-left: 14px !important;
    color: var(--vsh-blue);
    background: #f1f6fd;
}

#wide-nav .menu-item-has-block .sub-menu .img {
    overflow: hidden;
    width: 100% !important;
    border-radius: 9px;
}

#wide-nav .menu-item-has-block .sub-menu .img-inner {
    overflow: hidden;
    border-radius: 9px;
}

#wide-nav .menu-item-has-block .sub-menu .product-small {
    padding-bottom: 0;
}

#wide-nav .menu-item-has-block .sub-menu .product-small .col-inner {
    height: 100%;
    padding: 0 !important;
    border: 1px solid #e8edf3;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#wide-nav .menu-item-has-block .sub-menu .product-small .col-inner:hover {
    transform: translateY(-3px);
    border-color: #d7e3f2;
    box-shadow: 0 9px 24px rgba(20, 55, 100, .10);
}

#wide-nav .menu-item-has-block .sub-menu .product-small .box-image {
    background: #f8fafc;
}

#wide-nav .menu-item-has-block .sub-menu .product-small .box-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#wide-nav .menu-item-has-block .sub-menu .product-small .box-text {
    padding: 10px 11px 12px;
}

#wide-nav .menu-item-has-block .sub-menu .product-title {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.4;
}

#wide-nav .menu-item-has-block .sub-menu .product-title a {
    color: #26384e;
}

#wide-nav .menu-item-has-block .sub-menu .product-title a:hover {
    color: var(--vsh-blue);
}

#wide-nav .menu-item-has-block .sub-menu .price {
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

#wide-nav .menu-item-has-block .sub-menu .wishlist-icon,
#wide-nav .menu-item-has-block .sub-menu .image-tools {
    display: none !important;
}

#wide-nav .ux-nav-vertical-menu > li.has-dropdown:not(.menu-item-has-block) > .sub-menu {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    width: 260px;
    padding: 8px;
    border: 1px solid var(--vsh-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--vsh-shadow-lg);
}

#wide-nav .header-bottom-nav > li.menu-item > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 10px;
    color: var(--vsh-text);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    transition: color .2s ease;
}

#wide-nav .header-bottom-nav > li.menu-item > a:hover {
    color: var(--vsh-blue);
}

#wide-nav .header-bottom-nav > li.menu-item > a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 2px;
    border-radius: 4px;
    background: var(--vsh-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

#wide-nav .header-bottom-nav > li.menu-item:hover > a::after,
#wide-nav .header-bottom-nav > li.current-menu-item > a::after,
#wide-nav .header-bottom-nav > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

#wide-nav .header-bottom-nav > li.current-menu-item > a,
#wide-nav .header-bottom-nav > li.current-menu-ancestor > a {
    color: var(--vsh-blue);
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown {
    min-width: 270px;
    margin-top: 0 !important;
    padding: 8px;
    border: 1px solid var(--vsh-border);
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: var(--vsh-shadow-lg);
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li {
    margin: 0;
    border: 0 !important;
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li + li {
    border-top: 1px solid #f0f3f6;
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li > a {
    position: relative;
    padding: 10px 12px 10px 27px;
    border: 0;
    border-radius: 6px;
    color: #3b4d61;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    transition: color .18s ease, background-color .18s ease;
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li > a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #79a8e5;
    transform: translateY(-50%);
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li.current-menu-item > a {
    color: var(--vsh-blue);
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li.current-menu-item > a::before {
    background: #ffca00;
}

#wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown > li > a:hover {
    color: var(--vsh-blue);
    background: #f2f7fd;
}

#wide-nav .header-bottom-nav > li.menu-item > a > .icon-angle-down {
    margin-left: 5px;
    font-size: 9px;
    opacity: .55;
    transition: transform .2s ease;
}

#wide-nav .header-bottom-nav > li.has-dropdown:hover > a > .icon-angle-down {
    transform: rotate(180deg);
}

#masthead .live-search-results {
    top: calc(100% + 8px);
}

#masthead .autocomplete-suggestions {
    overflow: hidden;
    border: 1px solid var(--vsh-border) !important;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--vsh-shadow-lg);
}

.cart-popup-inner {
    min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px)) !important;
    border-radius: 13px 0 0 13px;
    background: #fff;
    box-shadow: -15px 0 50px rgba(15, 45, 85, .14);
    padding-bottom: 64px !important;
}

.header-wrapper.stuck #masthead {
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 228, 237, .85);
    box-shadow: 0 7px 25px rgba(15, 50, 90, .10);
}

.header-wrapper.stuck #masthead .header-inner {
    min-height: 66px;
}

.header-wrapper.stuck #logo img {
    max-height: 45px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #wide-nav .header-vertical-menu__opener,
    #wide-nav .header-vertical-menu__fly-out {
        width: 230px;
    }

    #wide-nav .header-bottom-nav > li.menu-item > a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }

    #wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu.nav-dropdown {
        width: min(950px, calc(100vw - 290px));
    }
}

@media (min-width: 850px) and (max-width: 1199px) {
    #logo {
        margin-right: 8px;
    }

    #logo img {
        max-width: 180px;
    }

    #masthead .account-item .header-button > a,
    #masthead .cart-item .header-button > a {
        min-width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }

    #wide-nav .header-vertical-menu {
        margin-right: 8px;
    }

    #wide-nav .header-bottom-nav > li.menu-item > a {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 12px;
    }

    #wide-nav .ux-nav-vertical-menu > li.menu-item-has-block > .sub-menu.nav-dropdown {
        width: calc(100vw - 240px);
        min-width: 650px;
    }

    #wide-nav .header-vertical-menu__opener {
        padding: 0 10px;
    }

    .header-bottom-nav.nav > li {
        margin: 0 3px !important;
    }

    #logo {
        width: 160px !important;
    }
}

/* =========================================================
   ACCOUNT DROPDOWN
========================================================= */
#header .account-item {
    position: relative;
}

#header .account-item > .nav-dropdown,
#header .account-item .nav-dropdown {
    min-width: 230px;
    padding: 8px;
    border: 1px solid var(--vsh-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 48, 90, .14);
}

#header .account-item .nav-dropdown::before {
    border-bottom-color: #fff;
}

#header .account-item .nav-dropdown > li {
    margin: 0;
    padding: 0;
    border: 0 !important;
}

#header .account-item .nav-dropdown > li + li {
    border-top: 1px solid #edf2f6;
}

#header .account-item .nav-dropdown > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px 9px 32px;
    border: 0;
    border-radius: 6px;
    color: #394b60;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}

#header .account-item .nav-dropdown > li > a::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #85ace0;
    transform: translateY(-50%);
    transition: background-color .18s ease, transform .18s ease;
}

#header .account-item .nav-dropdown > li > a:hover {
    padding-left: 35px;
    color: var(--vsh-blue);
    background: var(--vsh-blue-soft);
}

#header .account-item .nav-dropdown > li > a:hover::before {
    background: var(--vsh-blue);
    transform: translateY(-50%) scale(1.2);
}

#header .account-item .nav-dropdown > li.active > a,
#header .account-item .nav-dropdown > li.is-active > a,
#header .account-item .nav-dropdown > li > a[aria-current="page"] {
    color: var(--vsh-blue);
    background: #edf5ff;
}

#header .account-item .nav-dropdown > li.active > a::before,
#header .account-item .nav-dropdown > li.is-active > a::before,
#header .account-item .nav-dropdown > li > a[aria-current="page"]::before {
    background: var(--vsh-blue);
    box-shadow: 0 0 0 3px rgba(25, 85, 181, .10);
}

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #e4eaf1;
}

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a {
    color: #d64b50;
}

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a::before {
    background: #e39a9a;
}

/* =========================================================
   MY ACCOUNT - LOGOUT
========================================================= */

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

/* Icon logout phía sau */
#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a::after {
    content: "";

    display: inline-block;
    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    background: currentColor;

    -webkit-mask:
        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='M10 5H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M14 8l4 4-4 4M18 12H9'/%3E%3C/svg%3E")
        center / contain
        no-repeat;

    mask:
        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='M10 5H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M14 8l4 4-4 4M18 12H9'/%3E%3C/svg%3E")
        center / contain
        no-repeat;
}

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a::after {
    background: #d64b50;
}

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a:hover {
    color: #b52d2d;
    background: #fff4f4;
}

#header .account-item .nav-dropdown .woocommerce-MyAccount-navigation-link--customer-logout > a:hover::before {
    background: #c84646;
}

#header .account-item .woocommerce-MyAccount-navigation-link--dashboard > a::before {
    width: 7px;
    height: 7px;
    background: #4b82d0;
}

#header .account-item .woocommerce-MyAccount-navigation-link--orders > a::before {
    background: #5b91d9;
}

#header .account-item .woocommerce-MyAccount-navigation-link--edit-address > a::before {
    background: #74a5df;
}

#header .account-item .woocommerce-MyAccount-navigation-link--edit-account > a::before {
    background: #6599d8;
}

#masthead .account-item.has-dropdown .header-button > a,
#masthead .account-item > a.nav-top-link {
    color: #26394f;
    font-weight: 400;
    text-transform: none;
}

#masthead .account-item.has-dropdown:hover .header-button > a,
#masthead .account-item:hover > a.nav-top-link {
    color: var(--vsh-blue);
}

#masthead .account-item .nav-top-not-logged-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

#masthead .account-item .nav-top-not-logged-in::after {
    content: "";
    speak: none !important;
    display: inline-block;
    font-display: block;
    font-family: fl-icons !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 400 !important;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    position: relative;
    text-transform: none !important;
    font-size: 1.4em;
}

.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before {
    border-bottom-color: #fff !important;
}

/* =========================================================
   MOBILE HEADER - HAMBURGER / LOGO / SEARCH
========================================================= */
@media (max-width: 849px) {
    .header-main {
        height: auto !important;
    }

    #masthead {
        position: relative;
        border-bottom: 1px solid var(--vsh-border);
        background: var(--vsh-bg);
    }

    #masthead .header-inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 62px !important;
        padding: 0 15px;
    }

    #masthead #logo {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 50%;
        width: auto !important;
        max-width: calc(100% - 132px);
        margin: 0 !important;
        transform: translate(-50%, -50%);
    }

    #masthead #logo a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #masthead #logo img {
        display: block;
        width: auto !important;
        max-width: 128px !important;
        max-height: 38px !important;
        margin: 0;
        object-fit: contain;
    }

    #masthead .header-inner > .show-for-medium.flex-left,
    #masthead .header-inner > .show-for-medium.flex-right {
        position: relative;
        z-index: 3;
        flex: 0 0 auto;
    }

    #masthead .header-inner > .show-for-medium.flex-left {
        margin-right: auto;
    }

    #masthead .header-inner > .show-for-medium.flex-right {
        margin-left: auto;
    }

    #masthead .mobile-nav {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    #masthead .mobile-nav > li {
        margin: 0 !important;
    }

    #masthead .show-for-medium.flex-left .nav-icon > a,
    #masthead .show-for-medium.flex-right .header-search-dropdown > .header-button > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin: 0;
        padding: 0;
        border: none !important;
        border-radius: 4px !important;
        box-shadow: none !important;
        transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
    }

    #masthead .show-for-medium.flex-left .nav-icon > a {
        color: var(--vsh-blue) !important;
        background: #f6f9fd !important;
    }

    #masthead .show-for-medium.flex-right .header-search-dropdown > .header-button > a {
        color: var(--vsh-blue) !important;
        background: var(--vsh-bg) !important;
    }

    #masthead .show-for-medium.flex-left .nav-icon > a:hover {
        color: var(--vsh-blue);
        border-color: #cbd8e7 !important;
        background: #f6f9fd;
    }

    #masthead .show-for-medium.flex-left .nav-icon > a:active,
    #masthead .show-for-medium.flex-right .header-search-dropdown > .header-button > a:active {
        transform: scale(.96);
    }

    #masthead .show-for-medium.flex-left .nav-icon > a i,
    #masthead .header-search-dropdown > .header-button > a i {
        margin: 0;
        line-height: 1;
    }

    #masthead .show-for-medium.flex-left .nav-icon > a i {
        font-size: 24px;
    }

    #masthead .header-search-dropdown > .header-button > a i {
        font-size: 17px;
    }

    #masthead .header-search-dropdown::before,
    #masthead .header-search-dropdown::after,
    #masthead .header-search-dropdown > .nav-dropdown::before {
        display: none !important;
    }

    .header-wrapper.stuck #masthead .header-inner {
        min-height: 62px !important;
    }

    .header-wrapper.stuck #masthead #logo img {
        max-height: 38px !important;
    }
}

@media (max-width: 549px) {
    #masthead .header-inner {
        min-height: 60px !important;
        padding: 0 12px;
    }

    #masthead #logo {
        max-width: calc(100% - 118px);
    }

    #masthead #logo img {
        max-width: 160px !important;
        max-height: 44px !important;
    }

}

@media (max-width: 370px) {
    #masthead #logo img {
        max-width: 130px !important;
    }
}

/* =========================================================
   MOBILE OFF-CANVAS MENU
========================================================= */
@media (max-width: 849px) {
    #main-menu.mobile-sidebar {
        border: 0 !important;
        background: var(--vsh-bg) !important;
        box-shadow: 18px 0 55px rgba(11, 36, 70, .18);
    }

    #main-menu .sidebar-menu {
        width: 100%;
        min-height: 100%;
        padding: 14px 14px calc(72px + env(safe-area-inset-bottom));
        background: var(--vsh-bg);
    }

    #main-menu .nav-sidebar {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #main-menu .nav-sidebar > li {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 0;
        border: 0 !important;
        background: var(--vsh-bg) !important;
    }

    #main-menu .nav-sidebar > li::before,
    #main-menu .nav-sidebar > li::after {
        pointer-events: none;
    }

    /* Logo */
    #main-menu .nav-sidebar > li.menu-mobile-logo {
        margin: 0 0 10px !important;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--vsh-border) !important;
    }

    #main-menu .nav-sidebar > li.menu-mobile-logo > a {
        display: flex;
        align-items: center;
        min-height: 58px;
        margin: 0;
        padding: 6px 8px;
        color: transparent !important;
        background: transparent !important;
        font-size: 0 !important;
    }

    #main-menu .menu-mobile-logo .ux-sidebar-menu-icon {
        display: block;
        width: auto !important;
        max-width: 158px !important;
        height: auto !important;
        max-height: 44px !important;
        margin: 0 !important;
        object-fit: contain;
    }

    #main-menu .menu-mobile-logo > a::before {
        display: none !important;
    }

    /* Level 1 */
    #main-menu .nav-sidebar > li:not(.menu-mobile-logo) > a {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 42px;
        margin: 0;
        padding: 8px 12px;
        border: 0;
        border-radius: 4px;
        color: var(--vsh-text);
        background: transparent;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0;
        text-transform: none;
        transition: color .18s ease, background-color .18s ease;
    }

    #main-menu .nav-sidebar > li:not(.menu-mobile-logo) > a:hover {
        color: var(--vsh-blue);
        background: #f3f7fc;
    }

    #main-menu .nav-sidebar > li.has-child > a {
        padding-right: 48px;
    }

    #main-menu .nav-sidebar > li:not(.menu-mobile-logo).current-menu-item > a,
    #main-menu .nav-sidebar > li:not(.menu-mobile-logo).current_page_item > a,
    #main-menu .nav-sidebar > li:not(.menu-mobile-logo).current-menu-ancestor > a {
        color: var(--vsh-blue);
        background: #edf5ff;
        font-weight: 700;
    }

    #main-menu .nav-sidebar > li:not(.menu-mobile-logo):not(.menu-mobile-account).current-menu-item > a::before,
    #main-menu .nav-sidebar > li:not(.menu-mobile-logo):not(.menu-mobile-account).current_page_item > a::before,
    #main-menu .nav-sidebar > li:not(.menu-mobile-logo):not(.menu-mobile-account).current-menu-ancestor > a::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 3px;
        height: 22px;
        border-radius: 0 4px 4px 0;
        background: var(--vsh-blue);
        transform: translateY(-50%);
    }

    #main-menu .nav-sidebar > li.has-child[aria-expanded='true'] > a {
        color: var(--vsh-blue);
        background: #f4f8fd;
    }

    /* Toggle */
    #main-menu .nav-sidebar li.has-child > .toggle {
        position: absolute;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        border: 0 !important;
        border-radius: 8px;
        color: #748499 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #main-menu .nav-sidebar > li.has-child > .toggle {
        top: 6px;
        right: 4px;
        width: 36px;
        height: 36px;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    #main-menu .nav-sidebar li.has-child > .toggle:hover {
        color: var(--vsh-blue) !important;
        background: #eaf3ff !important;
    }

    #main-menu .nav-sidebar li.has-child > .toggle i {
        display: block;
        margin: 0;
        font-size: 10px;
        transition: transform .22s ease;
    }

    #main-menu .nav-sidebar li.has-child[aria-expanded='true'] > .toggle i {
        transform: rotate(180deg);
    }

    /* Submenu level 2 */
    #main-menu .nav-sidebar > li > .sub-menu.nav-sidebar-ul {
        margin: 4px 0 9px 12px !important;
        padding: 4px 0 4px 11px !important;
        border: 0 !important;
        border-left: 2px solid #dce8f7 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #main-menu .nav-sidebar .sub-menu > li {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 0;
        border: 0 !important;
    }

    #main-menu .nav-sidebar .sub-menu > li + li {
        margin-top: 2px !important;
    }

    #main-menu .nav-sidebar .sub-menu > li > a {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 39px;
        margin: 0;
        padding: 7px 10px 7px 23px;
        border: 0;
        border-radius: 7px;
        color: #5d6d80;
        background: transparent;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
        letter-spacing: 0;
        text-transform: none;
        transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
    }

    #main-menu .nav-sidebar .sub-menu > li > a::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 9px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #9cb9dc;
        transform: translateY(-50%);
    }

    #main-menu .nav-sidebar .sub-menu > li > a:hover {
        padding-left: 26px;
        color: var(--vsh-blue);
        background: #f3f7fc;
    }

    #main-menu .nav-sidebar .sub-menu > li > a:hover::before,
    #main-menu .nav-sidebar .sub-menu > li.current-menu-item > a::before,
    #main-menu .nav-sidebar .sub-menu > li.current_page_item > a::before {
        background: var(--vsh-blue);
    }

    #main-menu .nav-sidebar .sub-menu > li.current-menu-item > a,
    #main-menu .nav-sidebar .sub-menu > li.current_page_item > a {
        color: var(--vsh-blue);
        background: #edf5ff;
        font-weight: 600;
    }

    #main-menu .nav-sidebar .sub-menu > li.current-menu-item > a::before,
    #main-menu .nav-sidebar .sub-menu > li.current_page_item > a::before {
        box-shadow: 0 0 0 3px rgba(25, 85, 181, .09);
    }

    /* Nested submenu */
    #main-menu .nav-sidebar .sub-menu li.has-child > a {
        padding-right: 42px;
    }

    #main-menu .nav-sidebar .sub-menu li.has-child > .toggle {
        top: 3px;
        right: 2px;
        width: 32px;
        height: 32px;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 7px;
    }

    #main-menu .nav-sidebar .sub-menu .sub-menu {
        margin: 3px 0 5px 10px !important;
        padding-left: 9px !important;
        border-left: 1px solid #e4ebf3 !important;
    }

    #main-menu .nav-sidebar .sub-menu .sub-menu a {
        min-height: 36px;
        padding-top: 6px;
        padding-bottom: 6px;
        color: #718095;
        font-size: 11.5px;
    }

    /* Flatsome menu icons */
    #main-menu .nav-sidebar li.has-icon-left > a {
        display: flex;
        align-items: center;
    }

    #main-menu .nav-sidebar li:not(.menu-mobile-logo) .ux-sidebar-menu-icon {
        flex: 0 0 22px;
        display: block;
        width: 22px !important;
        height: 22px !important;
        margin: 0 2px 0 0 !important;
        object-fit: contain;
    }

    /* Middle section: account */
    #main-menu .nav-sidebar > li.menu-mobile-start-middle {
        margin-top: 16px !important;
        padding-top: 16px;
        border-top: 1px solid #dce5ef !important;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-middle > a {
        min-height: 50px;
        border: 1px solid #d8e4f3;
        border-radius: 10px;
        color: var(--vsh-blue);
        background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
        font-weight: 700;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-middle > a:hover {
        border-color: #c5d9f0;
        background: #eaf3ff;
    }

    /* Bottom promotion section */
    #main-menu .nav-sidebar > li.menu-mobile-start-bottom {
        margin-top: 18px !important;
        padding-top: 31px;
        border-top: 1px solid #dce5ef !important;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom::before {
        content: 'Ưu đãi';
        position: absolute;
        top: 10px;
        left: 4px;
        color: #8492a4;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .6px;
        text-transform: uppercase;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom > a,
    #main-menu .nav-sidebar > li.menu-mobile-start-bottom ~ li.has-icon-left > a {
        min-height: 47px;
        margin-bottom: 7px;
        padding: 8px 11px;
        border: 1px solid var(--vsh-border);
        border-radius: 10px;
        color: #3d4f65;
        background: #fafbfd;
        font-size: 12px;
        font-weight: 600;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom > a:hover,
    #main-menu .nav-sidebar > li.menu-mobile-start-bottom ~ li.has-icon-left > a:hover {
        color: var(--vsh-blue);
        border-color: #d6e3f2;
        background: #f3f7fc;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom .ux-sidebar-menu-icon,
    #main-menu .nav-sidebar > li.menu-mobile-start-bottom ~ li .ux-sidebar-menu-icon {
        flex: 0 0 24px;
        width: 24px !important;
        height: 24px !important;
        margin-right: 3px !important;
        object-fit: contain;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom > a {
        color: #1550a8;
        border-color: #d6e4f6;
        background: #f2f7fd;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom + li.has-icon-left > a {
        color: #a66e00;
        border-color: #efe2b9;
        background: #fffaf1;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom + li.has-icon-left + li.has-icon-left > a {
        color: #b24949;
        border-color: #eedada;
        background: #fff7f7;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom.current-menu-item > a,
    #main-menu .nav-sidebar > li.menu-mobile-start-bottom ~ li.has-icon-left.current-menu-item > a {
        box-shadow: inset 0 0 0 1px currentColor;
    }

    #main-menu .nav-sidebar > li.menu-mobile-start-bottom.current-menu-item > a::before,
    #main-menu .nav-sidebar > li.menu-mobile-start-bottom ~ li.has-icon-left.current-menu-item > a::before {
        display: none;
    }

    #main-menu a,
    #main-menu button {
        -webkit-tap-highlight-color: transparent;
    }

    #main-menu,
    #main-menu .sidebar-menu {
        scrollbar-width: none;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    #main-menu::-webkit-scrollbar,
    #main-menu .sidebar-menu::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 390px) {
    #main-menu .sidebar-menu {
        padding-left: 11px;
        padding-right: 11px;
    }

    #main-menu .nav-sidebar > li:not(.menu-mobile-logo) > a {
        min-height: 46px;
    }

    #main-menu .menu-mobile-logo .ux-sidebar-menu-icon {
        max-width: 145px !important;
    }
}
/* =========================================================
   MOBILE FULLSCREEN SEARCH
========================================================= */
@media (max-width: 849px) {
    /* Panel: full viewport, giữ nguyên bottom nav */
    #ux-search-dropdown.vsh-mobile-search-panel {
        position: fixed !important;
        z-index: 10020 !important;
        inset: 0 0 calc(var(--vsh-mobile-nav-height) + env(safe-area-inset-bottom)) !important;
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--vsh-bg) !important;
        box-shadow: none !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-12px) !important;
        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .24s cubic-bezier(.22, .75, .28, 1) !important;
    }

    #ux-search-dropdown.vsh-mobile-search-panel.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    #ux-search-dropdown::before,
    #ux-search-dropdown::after {
        display: none !important;
    }

    /* Header + close */
    #ux-search-dropdown .vsh-mobile-search-header {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        min-height: 66px;
        margin: 0 !important;
        padding: env(safe-area-inset-top) 15px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e8edf3 !important;
        background: var(--vsh-bg);
        list-style: none !important;
    }

    #ux-search-dropdown .vsh-mobile-search-header__inner {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        min-height: 65px;
    }

    #ux-search-dropdown .vsh-mobile-search-header__title {
        margin: 0;
        color: var(--vsh-text);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
    }

    #ux-search-dropdown .vsh-mobile-search-header__desc {
        margin-top: 2px;
        color: #8390a0;
        font-size: 10.5px;
        line-height: 1.35;
    }

    #ux-search-dropdown .vsh-mobile-search-close {
        flex: 0 0 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #e0e7ef !important;
        border-radius: 10px !important;
        color: #34475d !important;
        background: #f7f9fc !important;
        box-shadow: none !important;
        cursor: pointer;
        transition:
            color .18s ease,
            border-color .18s ease,
            background-color .18s ease,
            transform .18s ease;
    }

    #ux-search-dropdown .vsh-mobile-search-close:hover {
        color: var(--vsh-blue) !important;
        border-color: #cad9eb !important;
        background: #edf5ff !important;
    }

    #ux-search-dropdown .vsh-mobile-search-close:active {
        transform: scale(.95);
    }

    #ux-search-dropdown .vsh-mobile-search-close svg {
        display: block;
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    /* Form area: không scroll */
    #ux-search-dropdown > .header-search-form {
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        min-height: 0;
        margin: 0 !important;
        padding: 16px !important;
        border: 0 !important;
        background: var(--vsh-bg-soft) !important;
        overflow: hidden !important;
    }

    #ux-search-dropdown .header-search-form-wrapper {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }

    /* Search form luôn cố định phía trên */
    #ux-search-dropdown .searchform-wrapper {
        position: relative;
        z-index: 5;
        flex: 0 0 auto;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--vsh-bg-soft);
    }

    #ux-search-dropdown .searchform-wrapper .flex-row .flex-col {
        padding: 0 !important;
    }

    #ux-search-dropdown .searchform {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    #ux-search-dropdown .searchform > .flex-row {
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 50px;
        margin: 0;
        border: 1px solid #d7e1ec;
        border-radius: 12px;
        background: var(--vsh-bg);
        box-shadow: 0 3px 12px rgba(16, 48, 90, .04);
        overflow: hidden;
        transition: border-color .18s ease, box-shadow .18s ease;
    }

    #ux-search-dropdown .searchform > .flex-row:focus-within {
        border-color: rgba(25, 85, 181, .55);
        box-shadow: 0 0 0 4px rgba(25, 85, 181, .07);
    }

    #ux-search-dropdown .search-field {
        width: 100% !important;
        height: 50px !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 0 15px !important;
        border: 0 !important;
        color: var(--vsh-text) !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 400;
        line-height: 50px;
    }

    #ux-search-dropdown .search-field:focus {
        outline: 0 !important;
        box-shadow: none !important;
    }

    #ux-search-dropdown .search-field::placeholder {
        color: #98a5b4;
        opacity: 1;
    }

    #ux-search-dropdown .ux-search-submit {
        flex: 0 0 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #fff !important;
        background: linear-gradient(135deg, #2059b8 0%, #16499f 100%) !important;
        box-shadow: none !important;
    }

    #ux-search-dropdown .ux-search-submit:hover {
        color: #fff !important;
        background: linear-gradient(135deg, #174fa9 0%, #0d3f91 100%) !important;
    }

    #ux-search-dropdown .ux-search-submit i {
        margin: 0;
        font-size: 18px;
        line-height: 1;
    }

    /* Live Search: chỉ danh sách kết quả được cuộn */
    #ux-search-dropdown .live-search-results {
        position: relative !important;
        z-index: 1;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        overflow: visible !important;
    }

    #ux-search-dropdown .autocomplete-suggestions {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-height: min(42vh, 420px) !important;
        margin: 0 !important;
        padding: 6px !important;
        border: 1px solid #e3e9f0 !important;
        border-radius: 12px !important;
        background: var(--vsh-bg) !important;
        box-shadow: 0 8px 25px rgba(12, 42, 78, .08) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--vsh-scroll-thumb) transparent;
    }

    #ux-search-dropdown .autocomplete-suggestion {
        display: flex !important;
        align-items: center;
        min-height: 68px;
        margin: 0 !important;
        padding: 8px !important;
        border: 0 !important;
        border-radius: 9px;
        background: var(--vsh-bg);
        transition: background-color .15s ease;
    }

    #ux-search-dropdown .autocomplete-suggestion + .autocomplete-suggestion {
        border-top: 1px solid #edf1f5 !important;
    }

    #ux-search-dropdown .autocomplete-suggestion:hover,
    #ux-search-dropdown .autocomplete-selected {
        background: #f2f7fd !important;
    }

    #ux-search-dropdown .autocomplete-suggestion img {
        flex: 0 0 52px;
        width: 52px !important;
        height: 52px !important;
        margin-right: 11px !important;
        border: 1px solid #e6ebf1;
        border-radius: 9px;
        background: var(--vsh-bg);
        object-fit: contain;
    }

    #ux-search-dropdown .autocomplete-suggestion .search-name {
        color: #304258;
        font-size: 12.5px;
        font-weight: 600;
        line-height: 1.4;
    }

    #ux-search-dropdown .autocomplete-suggestion .search-price,
    #ux-search-dropdown .autocomplete-suggestion .amount {
        color: var(--vsh-blue);
        font-size: 12px;
        font-weight: 700;
    }

    /* UX Block suggestions: vùng nội dung cuộn độc lập */
    #ux-search-dropdown .vsh-search-ux-block--mobile {
        position: static;
        flex: 1 1 auto;
        display: block;
        width: 100%;
        min-height: 0;
        margin: 14px 0 0 !important;
        padding: 0 4px 20px 0 !important;
        border: 0;
        background: transparent;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--vsh-scroll-thumb) transparent;
    }

    /* Scrollbar dùng chung */
    #ux-search-dropdown .autocomplete-suggestions::-webkit-scrollbar,
    #ux-search-dropdown .vsh-search-ux-block--mobile::-webkit-scrollbar {
        width: 4px;
    }

    #ux-search-dropdown .autocomplete-suggestions::-webkit-scrollbar-track,
    #ux-search-dropdown .vsh-search-ux-block--mobile::-webkit-scrollbar-track {
        background: transparent;
    }

    #ux-search-dropdown .autocomplete-suggestions::-webkit-scrollbar-thumb,
    #ux-search-dropdown .vsh-search-ux-block--mobile::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: var(--vsh-scroll-thumb);
    }

    #ux-search-dropdown .autocomplete-suggestions::-webkit-scrollbar-thumb:hover,
    #ux-search-dropdown .vsh-search-ux-block--mobile::-webkit-scrollbar-thumb:hover {
        background: var(--vsh-scroll-thumb-hover);
    }

    body.vsh-mobile-search-open {
        overflow: hidden;
    }

    body.admin-bar #ux-search-dropdown.vsh-mobile-search-panel {
        top: 46px !important;
    }
}

@media (min-width: 783px) and (max-width: 849px) {
    body.admin-bar #ux-search-dropdown.vsh-mobile-search-panel {
        top: 32px !important;
    }
}

@media (max-width: 390px) {
    #ux-search-dropdown .vsh-mobile-search-header {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    #ux-search-dropdown > .header-search-form {
        padding: 12px !important;
    }

    #ux-search-dropdown .search-field {
        font-size: 13px !important;
    }
}

/* =========================================================
   SEARCH UX BLOCK - DESKTOP + MOBILE
========================================================= */
.header-search-form-wrapper {
    position: relative;
}

#vsh-search-ux-block {
    display: none;
}

.vsh-search-ux-block .section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.vsh-search-ux-block .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

/* Desktop: click input -> suggestions mở rộng xuống dưới */
@media (min-width: 850px) {
    #masthead .header-search-form-wrapper {
        width: 100%;
        overflow: visible;
    }

    #masthead .header-search-form-wrapper .searchform-wrapper {
        position: relative;
        z-index: 2;
    }

    .vsh-search-ux-block--desktop {
        position: absolute;
        z-index: 1;
        top: calc(100% - 1px);
        left: 0;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0 14px;
        border: 1px solid var(--vsh-border);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background: var(--vsh-bg);
        box-shadow: 0 18px 45px rgba(16, 48, 90, .14);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            max-height .3s cubic-bezier(.22, .75, .28, 1),
            padding .3s cubic-bezier(.22, .75, .28, 1),
            opacity .18s ease,
            visibility .18s ease,
            transform .3s cubic-bezier(.22, .75, .28, 1);
    }

    .header-search-form-wrapper.is-search-suggestions-open .vsh-search-ux-block--desktop {
        max-height: min(500px, calc(100vh - 180px));
        padding-top: 14px;
        padding-bottom: 14px;
        border-color: rgba(25, 85, 181, .25);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--vsh-scroll-thumb) transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header-search-form-wrapper.is-search-suggestions-open .searchform {
        border-color: var(--vsh-border) !important;
        border-radius: 11px 11px 0 0 !important;
        background: var(--vsh-bg);
        box-shadow: 0 5px 16px rgba(16, 48, 90, .06);
    }

    .header-search-form-wrapper.is-search-suggestions-open .searchform:focus-within {
        border-color: rgba(25, 85, 181, .45) !important;
        box-shadow: 0 0 0 3px rgba(25, 85, 181, .06);
    }

    .vsh-search-ux-block--desktop::-webkit-scrollbar {
        width: 4px;
    }

    .vsh-search-ux-block--desktop::-webkit-scrollbar-track {
        background: transparent;
    }

    .vsh-search-ux-block--desktop::-webkit-scrollbar-thumb {
        border: 1px solid transparent;
        border-radius: 10px;
        background: var(--vsh-scroll-thumb);
        background-clip: padding-box;
    }

    .vsh-search-ux-block--desktop::-webkit-scrollbar-thumb:hover {
        background: var(--vsh-scroll-thumb-hover);
        background-clip: padding-box;
    }
}



.vsh-live-search-suggestions-block .vsm-menu-element__list,
.vsh-live-search-suggestions-block .ux-menu-link,
#vsh-search-ux-block .ux-menu-link {
    margin: 0 !important;
    padding: 0 !important;
}

.vsh-live-search-suggestions-block .vsm-menu-element__list a,
.vsh-live-search-suggestions-block .ux-menu-link__link,
#vsh-search-ux-block .ux-menu-link__link {
    display: flex !important;
    align-items: center;

    min-height: 32px;

    padding: 6px 0 !important;

    color: #4b5d72;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none !important;
}

.vsh-live-search-suggestions-block .vsm-menu-element__list a:hover,
.vsh-live-search-suggestions-block .ux-menu-link__link:hover,
#vsh-search-ux-block .ux-menu-link__link:hover {
    color: var(--vsh-blue);
}

.vsh-live-search-suggestions-block .vsm-menu-element__list a::before,
.vsh-live-search-suggestions-block .ux-menu-link__link::before,
#vsh-search-ux-block .ux-menu-link__link::before {
    content: "";

    width: 5px;
    height: 5px;

    margin-right: 8px;

    border-radius: 50%;

    background: #9bb8dc;
}

.vsh-live-search-suggestions-block .vsm-menu-element__list a:hover::before,
.vsh-live-search-suggestions-block .ux-menu-link__link:hover::before,
#vsh-search-ux-block .ux-menu-link__link:hover::before {
    background: var(--vsh-blue);
}

.vsh-live-search-suggestions-block .ux-menu-link__text,
#vsh-search-ux-block .ux-menu-link__text {
    color: inherit;
    line-height: 1.35;
}


/* =========================================================
   VINSMARTHOME - GENERIC MEGA MENU
   Cấu trúc:
   .vsh-mega-menu
       .col
           ux_menu       = tiêu đề nhóm
           vsm_menu      = danh sách menu
========================================================= */



/* =========================================================
   GROUP TITLE
   UX Menu đầu tiên trong mỗi col
========================================================= */

#wide-nav .vsh-mega-menu {
    margin: 0 -8px !important;
    padding: 12px 8px 14px;
}


/* =========================================================
   GROUP
========================================================= */
#wide-nav .vsh-mega-menu > .col {
    padding: 0 15px;
}

#wide-nav .vsh-mega-menu > .col > .col-inner {
    height: 100%;
    padding: 0;
}


#wide-nav
.vsh-mega-menu
> .col
> .col-inner
> .ux-menu:first-child {
    margin: 0 0 5px;
    padding: 0;
}


#wide-nav
.vsh-mega-menu
> .col
> .col-inner
> .ux-menu:first-child
.ux-menu-link {
    margin: 0 !important;
    padding: 0 !important;
}


#wide-nav
.vsh-mega-menu
> .col
> .col-inner
> .ux-menu:first-child
.ux-menu-link__link {

    position: relative;

    display: flex !important;
    align-items: center;

    min-height: 40px;

    margin: 0;
    padding: 0 0 10px 16px !important;

    color: var(--vsh-heading);

    border: 0;
    border-bottom: 1px solid var(--vsh-border);

    background: transparent;

    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    text-transform: none;
}


/* Bullet tiêu đề */
#wide-nav
.vsh-mega-menu
> .col
> .col-inner
> .ux-menu:first-child
.ux-menu-link__link::before {

    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--vsh-blue);

    transform: translateY(-8px);
}


#wide-nav
.vsh-mega-menu
> .col
> .col-inner
> .ux-menu:first-child
.ux-menu-link__link:hover {

    color: var(--vsh-blue);
    background: transparent;
}



/* Mũi tên chỉ xuất hiện khi hover */
#wide-nav
.vsh-mega-menu
.vsm-menu-element__list
> li
> a::after {

    content: "›";

    position: absolute;

    top: 50%;
    right: 7px;

    color: #a7b4c3;

    font-size: 16px;
    line-height: 1;

    opacity: 0;

    transform: translate(-4px, -50%);

    transition:
        color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}

#wide-nav
.vsh-mega-menu
.vsm-menu-element__list
> li
> a:hover::after {

    color: var(--vsh-blue);

    opacity: 1;

    transform: translate(0, -50%);
}


/* =========================================================
   CURRENT
========================================================= */

#wide-nav
.vsh-mega-menu
.vsm-menu-element__list
> li.current-menu-item
> a,

#wide-nav
.vsh-mega-menu
.vsm-menu-element__list
> li.current_page_item
> a {

    padding-left: 9px !important;

    color: var(--vsh-blue);

    background: #edf5ff;

    font-weight: 500;
}


#wide-nav
.vsh-mega-menu
.vsm-menu-element__list
> li.current-menu-item
> a::after,

#wide-nav
.vsh-mega-menu
.vsm-menu-element__list
> li.current_page_item
> a::after {

    color: var(--vsh-blue);

    opacity: 1;

    transform: translate(0, -50%);
}


/* =========================================================
   UX MENU KHÁC NẾU CHÈN THÊM TRONG GROUP
========================================================= */

#wide-nav
.vsh-mega-menu
.vsm-menu-element + .ux-menu {

    margin-top: 8px;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

#wide-nav .vsh-mega-menu a:focus-visible {
    outline: 2px solid rgba(25, 85, 181, .35);
    outline-offset: 2px;
}
