.mobile-header {
    padding: 10px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.mobile-header .form-control {
    border-radius: 0;
}

#mobileMenu {
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.mobile-sidebar {
    position: fixed;
    top: 70px;
    left: -280px;
    width: 280px;
    height: 82%;
    background: #fff;
    color: #036666;
    z-index: 9999;
    transition: 0.3s;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998;
}

.mobile-overlay.active {
    display: block;
}

/* Mobile Search Bar Styles */
.mobile-search-bar {
    position: fixed;
    top: -5px;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: none;
    overflow-y: auto;
    padding-right: 15px;
    padding-left: 15px;
    background: #fff;
}

.mobile-search-bar.active {
    display: block;
}

.mobile-search-bar .header-search {
    max-width: 100%;
    margin-top: 71px;
}

.mobile-search-bar .header-search form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.mobile-search-bar .text-search {
    width: 100%;
    border-radius: 6px;
    border-top: 0px solid rgba(129, 129, 129, .2);
    border-bottom: 2px solid rgba(129, 129, 129, .2);
    border-left: 1px solid rgba(129, 129, 129, .2);
    border-right: 1px solid rgba(129, 129, 129, .2);
}

.mobile-search-bar button {
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.mobile-search-bar button:hover {
    background: #267773;
}

.mobile-menu-header {
    padding: 8px 14px;
    font-size: 18px;
    align-items: center;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu a {
    display: block;
    padding: 8px 14px;
    color: #036666 !important;
    text-decoration: none;
}

.mobile-menu ul li a {
    padding-left: 30px;
    font-size: 14px;
}

.mobile-menu ul {
    background: #fff;
}

.mobile-menu ul ul li a {
    padding-left: 45px;
    font-size: 13px;
}

.mobile-menu .ubermenu-item-layout-icon_left>.ubermenu-target-title {
    margin-left: 0.6em;
    display: inline-block;
}

.mobile-menu .ubermenu-item.ubermenu-item-current>.ubermenu-target {
    color: #036666;
}

.mobile-menu li {
    list-style: none;
}

.mobile-menu ul {
    padding-left: 0;
    margin-left: 0;
}

.menu-item-has-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-link {
    flex: 1;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
}

.toggle-submenu {
    padding: 12px;
    color: #fff;
}

@media (max-width: 768px) {

    .header-search {
        padding: 5px 0px;
    }

    .header-search .text-search {
        height: 36px;
        padding: 0 12px;
        outline: none;
        font-size: 13px;
    }

    .header-search .product-cat {
        border: none;
        height: 35px;
        top: 4px;
        font-size: 12px;
        background: #f5f5f5;
        padding: 0 8px;
    }

    .header-search button {
        width: 40px;
        height: 36px;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.2s;
        top: 5px;
    }

    /* ICON */
    .header-search button i {
        font-size: 14px;
    }

    /* CLICK EFFECT */
    .header-search button:active {
        transform: scale(0.95);
        background: #267773;
    }

    .mobile-header-row>div {
        display: flex;
        align-items: center;
    }

    .mobile-header-row .text-right {
        justify-content: flex-end;
    }

    .mobile-header {
        height: 71px;
    }

    .mobile-header-row .btn {
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #308d34;
        color: #308d34;
        background: #fff;
    }

    /* ICON */
    .mobile-header-row .btn i {
        font-size: 20px;
        color: #308d34;
    }

    /* HOVER */
    .mobile-header-row .btn:hover {
        color: #fff;
    }

    /* FOCUS */
    .mobile-header-row .btn:focus,
    .mobile-header-row .btn.focus {
        color: #308d34;
        border-color: #308d34;
        outline: none;
        box-shadow: 0 0 0 2px rgba(48, 141, 52, 0.2);
    }

    /* ACTIVE (khi click giữ) */
    .mobile-header-row .btn:active,
    .mobile-header-row .btn.active {
        background: #308d34;
        color: #fff;
    }

    .mobile-header-row .btn:active i,
    .mobile-header-row .btn.active i {
        color: #fff;
    }

    .mobile-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-header-row .col-xs-4 {
        flex: 0 0 52px;
    }

    .mobile-header-row .text-center {
        flex: 1;
        justify-content: center;
    }

    .margin-left-0-6em {
        margin-left: 0.6em;
    }

    .mobile-menu .ubermenu-target svg.icon {
        width: 18px;
        height: 18px;
        vertical-align: middle;
    }

    .mobile-menu .ubermenu-item-current>.ubermenu-target {
        background: #e6f4f1;
        color: #036666 !important;
        font-weight: 600;
        border-left: 3px solid #308d34;
    }

    .mobile-menu .ubermenu-item-current i {
        color: #036666;
    }

    .mobile-menu a.active {
        background: #e8f5e9;
        color: #308d34 !important;
        font-weight: 600;
    }

    .mobile-menu a.menu-link.active {
        border-left: 3px solid #308d34;
    }

    .toggle-submenu i {
        transition: 0.3s;
    }

    .toggle-submenu[aria-expanded="true"] i {
        transform: rotate(90deg);
    }

    .submenu-arrow-large {
        font-size: large;
    }

    .mobile-menu a:active {
        background: #f1f1f1;
    }
}