/***** Menu *****/

.full-menubar {
    background: rgba(0, 0, 0, 0) linear-gradient(to top, #33373d 48%, #33373d 0%) repeat scroll 0 0;
    float: left;
    width: 100%;
}

.full-menubar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.sticky-logo {
    display: none;
    float: left;
    height: 46px;
    margin-right: 20px;
    align-items: center;
}

.full-menubar.is-sticky .sticky-logo {
    display: flex;
}

.sticky-logo img {
    max-height: 40px;
    width: auto;
}

#menubar {
    float: left;
    height: auto;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    z-index: 999;
}

#menubar .navbar-inner {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    border-radius: 0;
    box-shadow: none;
    margin: auto;
    min-height: 36px;
    padding: 0;
    float: left;
    width: 100%;
}

.menu-navigation {
    display: flex;
    gap: 15px;
    align-items: center;
    align-self: flex-start;
}

.menu-navigation .main-menu {
    flex-grow: 1;
    width: 100%;
}

#menubar .navbar {
    margin: 0px;
    float: left;
    width: auto;
}





/*search*/

.cart-menu {
    float: right;
    margin-left: 15px;
    position: relative;
}

.cart-menu a {
    color: #fff;
    line-height: 45px;
    text-decoration: none;
    display: block;
}

.cart-menu .fa-shopping-cart {
    font-size: 19px;
}

.cart-menu .cart-count {
    position: absolute;
    top: 5px;
    right: -10px;
    background: #d4a017;
    color: #fff;
    border-radius: 50%;
    padding: 0 5px;
    font-size: 11px;
    line-height: 16px;
    min-width: 16px;
    text-align: center;
}

.search-menu {
    float: right;
    margin-left: 10px;
}

.search-menu .fa.fa-search {
    color: #fff;
    font-size: 19px;
}

.search-menu .fa.fa-search:hover {
    cursor: pointer;
}

.search-menu-1 {
    border: 0 none;
    float: left;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2147483647;
}

.nen-search {
    background: #000 none repeat scroll 0 0;
    height: 100%;
    left: 0;
    opacity: 0.5;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.search_box {
    float: left;
    left: 28%;
    position: fixed;
    top: 30%;
    width: 50%;
    z-index: 99999999;
}

#search-form {
    float: left;
    position: relative;
    width: 100%;
}

.form-group.search_input {
    float: left;
    width: 100%;
}

.form-control {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: currentcolor currentcolor #eee;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 2px;
    color: #000;
    font-size: 15px;
    padding: 20px;
    width: 100%;
}

#ajax-search {
    float: left;
    margin-top: 10px;
    width: 50%;
}

.spin {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.mobile-cart-item {
    display: none !important;
}

.mobile-flag-container {
    display: none;
}

@media only screen and (max-width: 1070px) {
    .menu-navigation {
        display: block !important;
        position: relative;
    }

    .menu-navigation .sticky-logo {
        position: absolute;
        left: 15px;
        top: 0;
        height: 100%;
        z-index: 999999;
    }

    .mobile-flag-container {
        display: block;
        position: absolute;
        right: 70px;
        /* Đặt cách mép phải để nhường chỗ cho nút menu 3 gạch */
        top: 50%;
        transform: translateY(-50%);
        z-index: 999999;
    }

    .mobile-flag-container img {
        width: 24px;
        height: auto;
        display: block;
    }

    .mobile-flag-container ul.pll-mobile-flags {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-flag-container ul.pll-mobile-flags li {
        display: inline-block;
        margin: 0;
        padding: 0;
    }

    .mobile-flag-container ul.pll-mobile-flags li a {
        display: block;
        line-height: 1;
    }

    /* Ẩn mục chuyển ngôn ngữ (lá cờ) bên trong menu khi trên mobile (vì đã hiển thị bên ngoài header bar) */
    .main-menu li.menu-item-language,
    .main-menu li.pll-parent-menu-item,
    .main-menu li[class*="lang-item"],
    .main-menu li:has(img.pll-flag),
    .main-menu li:has(img[src*="polylang"]),
    .main-menu li:has(a[hreflang]),
    .main-menu li:has(img),
    ul.mega-menu li.menu-item-language,
    ul.mega-menu li.pll-parent-menu-item,
    ul.mega-menu li[class*="lang-item"],
    ul.mega-menu li.mega-menu-item.menu-item-language,
    ul.mega-menu li.mega-menu-item.pll-parent-menu-item,
    ul.mega-menu li.mega-menu-item[class*="lang-item"],
    ul.mega-menu li.mega-menu-item:has(img.pll-flag),
    ul.mega-menu li.mega-menu-item:has(img[src*="polylang"]),
    ul.mega-menu li.mega-menu-item:has(a[hreflang]),
    ul.mega-menu li.mega-menu-item:has(img) {
        display: none !important;
    }

    .menu-navigation .main-menu {
        width: 100%;
        display: block;
    }

    #menubar .navbar {
        width: 100%;
    }

    #menubar {
        background: none;
        width: 100%;
    }



    .search-menu,
    .cart-menu {
        display: none !important;
    }

    .mobile-cart-item {
        display: block !important;
    }
}

@media only screen and (min-width: 480px) and (max-width: 599px) {}

@media only screen and (min-width: 320px) and (max-width: 479px) {}

@media only screen and (max-width: 320px) {}