.d-none-sp {
    display: none !important;
}

.mobi-cart-svg {
    fill: #ffffff;
}
.offcanvas-start-mobi{
    visibility: unset;
}
.iconnewglobal-menu {
    background-position: -286px -39px;
    width: 24px;
    height: 20px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

[class^="iconnewglobal-"],
[class*="iconnewglobal-"] {
    background-image: url(/img/iconnew-min.png?v=8);
    background-repeat: no-repeat;
    display: inline-block;
    height: 20px;
    width: 30px;
    line-height: 30px;
    /* vertical-align: middle; */
    background-size: 310px 126px;
}

.open-menu {
    position: absolute;
    left: 0px;
    height: 33px;
    width: 45px;
    bottom: 0px;
    background-color: #f2f4f7;
    border: 0;
    padding: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.iconnewglobal-blackcart {
    background-position: -261px -34px;
    width: 24px;
    height: 24px;
}


.header__cart {
    height: 31px;
    width: 48px;
    top: initial;
    bottom: 2px;
    background-color: #f2f4f7;
    position: absolute;
    right: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


@media(max-width:768px) {
    .navbar-wrapper {
        display: unset;
    }

    .d-block-sp {
        display: none;
    }
}

@media (max-width: 768px) {

    .container-mobi {
        padding-right: unset;
        padding-left: unset;
    }

    .header-mobi-menu {
        gap: 5px;
        justify-content: center;
        align-items: center;
    }

    .header-mobi-layout {
        position: relative;
        top: -9px;
    }

    .d-none-sp {
        display: flex !important;
    }

    .logo {
        height: 30px;
        width: 30px;
        overflow: hidden;
    }

    .logo img {
        height: 30px;
    }


    .header-select {
        background-color: hsla(0, 0%, 100%, .15);
        width: 256px;
        height: 30px;
        padding: unset;
        border-radius: 20px;
        border: none;
    }


    .header-select span {
        display: flex;
        align-items: center;
        color: white;
        padding-left: 5px;
    }

    .header-select svg {
        margin-left: 5px;
        width: 15px;
        height: 15px;
    }


    .header-login {
        position: relative;
        border: none;
        background-color: hsla(0, 0%, 100%, .15);
        height: 30px;
        width: 110px;
        padding-left: 15px;
        border-radius: 20px;
    }

    .mobi-cart-svg {
        position: relative;
        left: 10px;
        fill: #808080 !important;
    }

    .header-login i {
        padding: 0px 10px;
        position: relative;
        right: 6px;
        top: -4px;
    }

    .header-login p {
        font-size: 12px;
        text-wrap: nowrap;
        margin-top: 0px;
        position: relative;
        right: 5px;
        top: -4px;
    }

    /* .d-flex {
        flex-direction: row;
        align-items: center;
        gap: 5px;
        flex-wrap: unset !important;
    } */

    .logo {
        margin: 0px;
        width: 70px;
    }

    .logo a img {
        border-radius: 50px;
        height: 30px;
        width: 30px;
    }

    .logo a {
        padding: 0px 10px;
    }

    #header-search-product {
        border: none;
        height: 34px;
        padding-left: 49px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .mobi-cart {
        cursor: pointer;
        right: 1px;
        position: absolute;
        top: 62px;
        background-color: hsl(0deg 1.97% 49.04% / 15%);
        z-index: 999;
        padding: 8px 0px 0px 0px;
        width: 47px;
        border-radius: 0 10px 10px 0;
    }

    .mobi-menu {
        color: #8a8d92;
        position: absolute;
        top: 60px;

        color: #000 !important;
        font-size: 25px;
        padding: 3px 11px;
        border-radius: 10px 0px 0px 10px;
        background-color: hsl(0deg 1.97% 49.04% / 15%);
    }

    .mobi-mt-2 {
        margin-top: 8px;
    }

    .d-none-mobi {
        display: none !important;
    }

    .mobi-cart p {
        font-size: 12px;
        color: black;
    }

    .mobi-cart i {
        color: #1c1c1c;
    }

    .title-category {
        display: inline-block;
        height: 18px;
        line-height: 18px;
        font-weight: 700 !important;
        font-weight: bold;
        font: 14px / 18px Arial, Helvetica, sans-serif;
        color: #333 !important;
    }

    .btn-close-white-mobi {
        background-color: transparent;
        color: white;
        border: none;
        padding: 0;
        width: 1px;
        height: 1px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
    }

    .lazy-menu {
        max-width: 48px;
        margin: 0 auto 5px auto;
        display: block;
        width: 100%;
    }

    .menuitem__title .title {
        padding: 10px 0;
        font-weight: bold;
        margin-left: 10px;
        color: #333333;
    }

    .box-category-mobi {
        /* margin: 0 5px 10px 0; */

        text-align: center;
        display: inline-block;
        vertical-align: top;
        position: relative;
    }

    .name_product {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        max-height: 2.4em;
    }

    .box-category-mobi p {
        font-size: 12px;
        color: #333;
        font-weight: 500;
    }

    .btn-close {
        color: red !important;
    }

    /* //// */
    .submenu {
        display: none;
    }

    .list-group-item {
        cursor: pointer;
        height: 57px;
    }

    .text-category {
        text-wrap: nowrap;
        font-size: 12px;
    }

    .submenu.active {
        display: flex;
        flex-wrap: wrap;
    }

    .submenu .col-4 {
        padding: 10px;
    }

    .list-group-item {
        width: 100px;
        padding: 10px 10px 10px 8px;
        background: #eaecf0;
    }

    .list-group-item a {
        color: black;
        text-decoration: none;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
      text-wrap: pretty;
        text-overflow: ellipsis;
        line-height: 1.2;
        max-height: 2.4em;
    }

    .fa-shopping-cart:before {

        color: #8a8d92;
    }

    .both-mobi {
        background-color: #f2f4f7;
        width: 100%;
        height: 8px;
    }

    .list-group-item a:hover {
        color: #007bff;
    }

    /* Khi được chọn */
    .list-group-item.active {
        border: none;
        background: #ffffff !important;
        border-left: 3px solid #2a83e9 !important;
    }

    .list-group-item.active a {
        color: #2a83e9;
        font-weight: 700;

    }

    .category-left {
        background-color: #f2f4f7;
    }

    .category-left .list-group {
        width: 130px;
    }

    .menuitem__title {
        display: flex;
        padding: 10px 0;
        font-weight: bold;
        margin-bottom: 10px;
        justify-content: space-between;
    }

    .menuitem__title a {
        display: flex;
        color: #667085;
        float: right;
        font-weight: normal;
        margin-right: 10px;
        font-size: 11px;
        align-items: center;
    }

    .list-item {
        overflow-x: auto;
        height: 100%;
    }

    .offcanvas-body-mobi {
        padding: 0px;
        height: 100%;
    }
    .offcanvas-body-mobi .container-fluid,
    .offcanvas-body-mobi .container-fluid .item-menu{
        height: 100%;
    }
    .list-group-item:last-child,
    .list-group-item:first-child {
        border-bottom-right-radius: unset !important;
        border-bottom-left-radius: unset !important;
    }
    .category-left  .list-group-item::before {
        transform: rotate(90deg);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid #eaecf0;
        right: -4px;
        content: '';
        position: absolute;
        top: calc(50% - 5px);
    }
    .category-left  .list-group-item{
        display: flex;
      
        align-items: center;
    }

}