@media screen and (min-width: 1200px){
    .product-filters2 .facet:hover .sub {
        display: block;
    }
    header nav ul.root li.item-cate:hover .sub-container {
        display: block;
        visibility: visible;
        opacity: 1;
        width: 100%;
    }
}
@media screen and (max-width: 768px){
    .sidebar,header .sidebar .menu,.product-details-container,
    .product-layout,.heading,.text.text-mb,header .heading .logo .menu,.both-side{
        display: block;
    }
    body,.container,.layout-news .container{
        min-width: 100%;
    }
    .container,.layout-news .container{
        width: 100%;
        padding: 0 10px;
    }
    header .heading .order-tools,.top-navigation {
        display: none;
    }
    header .logo img {
        max-width: 55%;
    }
    header .heading .container{
        flex-direction: column;
        padding: 0;
    }
    header .heading .logo {
        display: flex;
        flex-shrink: 1;
        justify-content: stretch;
        justify-items: stretch;
        padding: 15px 10px 0 15px;
        width: 100%;
    }
    header .menu {
        font-size: 24px;
    }
    header .logo>a {
        flex-basis: 100%;
        text-align: center;
    }
    header .cart {
        position: relative;
    }
    header .menu, header .cart {
        width: 40px;
        font-size: 26px;
        line-height: 30px;
        margin: auto 0;
        display: block;
    }
    header .cart span {
        position: absolute;
        right: 3px;
        bottom: 5px;
        font-size: 11px;
        line-height: 11px;
        display: block;
        padding: 2px 4px;
        background: #ff6801;
        border-radius: 4px;
        color: #fff;
    }
    header .menu a, header .cart a {
        color: #00483d;
    }
    header .heading .search-box {
        padding: 0 10px 0 10px;
        margin-top: 10px;
    }
    header nav ul.root {
        background: inherit;
        box-shadow: none;
        list-style: none;
        margin: 0;
        overflow-y: hidden;
        overflow-x: auto;
        padding: 0;
    }
    header nav ul.root li a, header nav ul.root li a:link, header nav ul.root li a:visited {
        text-align: center;
        color: #191919;
        font-weight: bold;
        font-size: 10px;
        text-transform: uppercase;
        display: block;
    }
    nav>.container {
        touch-action: pan-y;
        max-width: 100%;
        overflow: hidden;
    }
    header nav ul.root li.item-cate a.link-item:after,div#sync2,#sync1 .owl-nav,.testimonial .owl-nav,
    .lr-slider .owl-nav{
        display: none;
    }
    #sync1 .owl-nav {
        display: none;
    }
    #sync1 .owl-dots {
        display: block;
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 205px;
        height: 10px;
    }
    .slider-top>.container,.td-header-header {
        padding: 0;
    }
    #sync1 .owl-item a img {
        border-radius: 0;
    }
    .lts-product {
        display: grid;
        grid-template-columns: 50% 50%;
        margin-right: 8px;
        grid-column-gap: 8px;
        animation: append .2s ease-in-out;
    }
    .lts-product .item{
        width: 100%;
    }
    section .news-home .col-content {
        touch-action: pan-y;
        max-width: 100%;
        overflow: hidden;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    section .news-home .item {
        overflow-x: auto;
        width: 100%;
        min-width: 85%;
        flex-basis: 85%;
        flex-grow: 0;
        flex-shrink: 0;
        margin-right: 20px;
    }
    .testimonial .item .img,.testimonial .item .img img{
        width: 155px;
    }
    .testimonial {
        padding: 15px 0;
    }
    .item .info {
        flex: unset;
    }
    section .corevalue {
        display: grid;
        grid-template-columns: auto auto;
        padding: 10px;
    }
    section .corevalue .item .icon {
        font-size: 40px;
    }
    section .corevalue .item {
        display: flex;
        padding: 10px 0 15px 10px;
        justify-content: initial;
    }
    .text.text-desktop {
        display: none;
    }
    section .subscript {
        padding: 0 10px;
    }
    section .subscript .icon-text {
        margin-right: 10px;
    }
    section .subscript .icon-text img {
        max-width: 105px;
    }
    section .subscript .form {
        flex-basis: 100%;
    }
    section .subscript .form .text h4 {
        margin: 0 0 5px 0;
        font-size: 13px;
        padding: 0;
    }
    section .subscript .icon-text img {
        margin-right: 0;
    }
    section .subscript .form .input {
        background: #e6e6e6 0% 0% no-repeat padding-box;
        padding: 10px 10px;
        border-radius: 17px;
        flex-basis: 100%;
        width: 100%;
    }
    section .subscript .form form{
        height: 40px;
    }
    section .subscript .form button{
        font-size: 24px;
    }
    footer .bg .col-content {
        display: grid;
        grid-template-columns: 50% 50%;
        padding: 0 10px;
        grid-column-gap: 10px;
    }
    footer .bg .col-content>div {
        margin-bottom: 15px;
        padding-right: 10px;
    }
    section .flash-sales .header h3 {
        font-size: 14px;
        margin: 0 10px 0 0;
        padding-top: 18px;
    }
    .full-width-content{
        padding: 20px 15px;
    }
    .video-container{
        display: block;
    }
    section .flash-sales .header .timer{
        flex: 1;
    }
    .timer strong, .timer span {
        margin-right: 2px;
        padding: 0;
    }
    section .flash-sales .content {
        padding: 10px;
    }
    section .flash-sales .content .item .price strong {
        font-size: 14px;
    }
    .lr-slider .info span.price strike {
        font-size: 13px;
    }
    section .flash-sales .content .item .price {
        display: flex;
        flex-direction: column;
    }
    .lr-slider .owl-stage{
        padding-left: 0 !important;
    }
    .sidebar {
        background: #d5d5d5b8;
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 99;
        visibility: hidden;
        left: -100%;
    }
    .sidebar.active{
        visibility: visible;
        opacity: 1;
        left: 0;
    }
    nav.global {
        width: 75%;
        background: #fff 0% 0% no-repeat padding-box;
        box-shadow: 0 4px 6px #00000029;
        height: 100%;
        overflow: auto;
    }

    nav.global .user-info {
        background: #00483d 0% 0% no-repeat padding-box;
        display: flex;
        color: #fff;
        align-content: center;
        align-items: center;
        padding: 10px 10px;
    }
    nav.global .user-info .user-avatar {
        min-width: 65px;
        width: 65px;
        height: 65px;
        padding: 0;
    }
    nav.global .user-info .user-avatar .no-avt {
        background: #fff 0% 0% no-repeat padding-box;
        border-radius: 25px;
        height: 65px;
        width: 65px;
        line-height: 65px;
        font-size: 30px;
        text-align: center;
        color: #818285;
    }
    nav.global .user-info .user-name {
        margin: auto 10px auto 10px;
    }
    nav.global .user-info .user-name p {
        padding: 0 0 2px 0;
        margin: 0;
        color: #fff;
    }
    nav.global .user-info .user-name p a, nav.global .user-info .user-name p a:link, nav.global .user-info .user-name p a:visited {
        color: #fff;
        font-size: 15px;
    }
    nav.global ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    nav.global ul li{
        border-bottom: 0.5px solid #c8c8c8;
        padding: 0px;
        color: #00483d;
        font-weight: 700;
        font-size: 15px;
        align-items: center;
        width: 100%;
        position: relative;
    }
    header .sidebar .menu {
        width: 100%;
    }
    nav.global ul li i {
        font-size: 26px;
        line-height: 32px;
        width: 15px;
        display: block;
    }
    nav.global ul li a.lv0 span {
        display: block;
        line-height: 32px;
        flex-basis: 100%;
    }
    nav.global ul li a.lv0 i.fa-caret-right {
        font-size: 26px;
        width: 26px;
    }
    .custom-wrap{
        display: none;
    }
    .sidebar .close {
        position: absolute;
        left: 80%;
        top: 20px;
    }
    .sidebar .close a {
        display: block;
        height: 30px;
    }
    .sidebar .close span:nth-last-child(2) {
        transform-origin: 0% 100%;
        transform: rotate(-45deg) translate(-15px,15px);
    }
    .sidebar .close span {
        display: block;
        width: 30px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #009981;
        border-radius: 3px;
        z-index: 99;
        transform-origin: 5px 0;
        transition: transform .5s cubic-bezier(.77,.2,.05,1),background .5s cubic-bezier(.77,.2,.05,1),opacity .55s ease;
        transform: rotate(45deg) translate(-3px,-1px);
    }
    .product-details .product-image {
        min-width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
    .product-details .product-shop {
        min-width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
    .product-layout .product-left {
        border-radius: 0;
    }
    .product-layout .product-right {
        border-radius: 0;
        margin-top: 10px;
        margin-left: 0;
    }
    .full-width-content>h3 {
        margin: 15px 0 30px;
    }
    .full-width-content #embedComment {
        padding: 0;
    }
    .heading h3 {
        margin: 15px 0 20px;
    }
    .review-form {
        display: block;
        padding: 0;
    }
    .rc-form .col {
        padding: 0;
    }
    .rc-form .col:first-child {
        padding-bottom: 15px;
    }
    .menu-item-mb.has_c i {
        position: absolute;
        right: 20px;
        font-size: 24px;
        color: rgba(102,102,102,.85);
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: transform .6s ease;
        top: 5px;
    }
    .menu-item-mb.has_c.open i {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(90deg);
        transition: transform .6s ease;
        color: #009981;
    }
    nav.global ul li.open>a {
        color: #009981;
    }
    nav.global ul.custom-wrap li {
        padding: 0;
        border: unset;
    }
    nav.global li.open ul.custom-wrap {
        border-top: 1px solid #009981;
        padding: 10px 0;
    }
    nav.global ul li>a {
        padding: 0 20px;
        line-height: 40px;
    }
    /* --------------------------------------------------------------------------------
    CART PAGE
    -------------------------------------------------------------------------------- */
    #layout_Cart .cart-more-block {
        display: none;
    }

    #layout_Cart .list-pageform-cart .cart-row {
        margin-left: -15px;
        margin-right: -15px;
    }

    #cartformpage .o_cart_table .item .left {
        display: inline-block;
        width: 25%;
    }

    #layout_Cart .list-pageform-cart #cartformpage .o_cart_table .item .right {
        display: inline-block;
        width: 75%;
        position: relative;
    }

    #layout_Cart .list-pageform-cart #cartformpage .o_cart_table .item .right .item-info {
        display: block;
        width: 100%;
    }

    #layout_Cart .list-pageform-cart #cartformpage .o_cart_table .item .right .item-quan {
        display: block;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #cartformpage .o_cart_table .item .right .item-price {
        display: inline-block;
        width: 50%;
        float: left;
    }

    #cartformpage .o_cart_table .item .right .item-price .price_item {
        display: block;
    }

    #cartformpage .o_cart_table .item .right .item-price del {
        display: block;
    }

    #cartformpage .o_cart_table .item .right .item-price .label-percent {
        display: none !important;
    }

    #layout_Cart .list-pageform-cart #cartformpage .o_cart_table .item .right .item-total-price {
        display: inline-block;
        width: 50%;
        float: left;
    }

    #cartformpage .o_cart_table .item .right .item-total-price > div {
        position: absolute;
        bottom: 0;
        right: 10px;
    }

    #cartformpage .o_cart_table .item .right .item-total-price .remove {
        position: absolute;
        z-index: 10;
        top: 0px;
        right: 10px;
    }

    #layout_Cart .update-btn {
        margin-top: 10px;
    }
    .nav-news {
        display: none;
    }
    .td-header-sp-logo img {
        max-height: 35px;
    }
    .td-header-sp-logo {
        padding: 10px 0;
        width: 100%;
        background: #222;
    }
    .td-header-header {
        display: flex;
        flex-direction: column-reverse;
    }
    .banner-news,.td-banner-wrap-full {
        padding: 0;
    }
    .banner-news h1, .top-article .post-content {
        font-size: 19px;
    }
    .post-content h5 {
        font-size: 14px;
        line-height: 20px;
    }
    .post-content p {
        display: none;
    }
    .row{
        --bs-gutter-x: 0;
    }
    .top-article .single-blog-post {
        margin-bottom: 0;
    }
    .layout-news .container {
        padding: 0 20px;
    }
    .product-list-related .lts-product .item{
        width: 100%;
    }
    .news-content{
        padding-right: 0;
    }
    .right-news-content{
        padding-left: 0;
        padding-top: 30px;
    }
    h1.title-news{
        font-size: 32px;
    }
    .td-header-rec-wrap {
        padding: 10px 0;
    }
    .layout-news .td-header-header.container{
        min-width: 100%;
        width: 100%;
        padding: 0;
    }
    .header-mb-news {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .icon-bar, .icon-search{
        display: block;
        font-size: 24px;
    }
    .open_drawer .menu-mobile{
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0px);
    }
    .menu-mobile{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        padding: 0;
        max-width: 100%;
        z-index: 100;
        display: block;
        background-color: rgba(255,255,255,.95);
        width: 100%;
        border-right: 1px solid #e9e9e9;
        transition: all .4s cubic-bezier(.46,.01,.32,1);
        -ms-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        background-color: #336F88;
        opacity: 0.9;
    }
    .menu-mobile .list_menu_mb{
        left: 0;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: inherit;
        padding: 0;
        border: unset;
        margin-top: 30px;
    }
    .menu-mobile .list_menu_mb>.menu-item {
        padding: 15px 0;
        width: 100%;
    }
    .menu-mobile .list_menu_mb>.menu-item>a {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
        text-transform: uppercase;
        margin-left: 20px;
    }
    .menu-mobile .list_menu_mb>.menu-item.has_c>i {
        position: absolute;
        right: 20px;
        font-size: 24px;
        color: #fff;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: transform .6s ease;
    }
    .menu-mobile .list_menu_mb>.menu-item.has_c.open>i {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
        transition: transform .6s ease;
    }
    .list_menu_mb .sub-menu {
        left: 10px;
        width: inherit;
        min-height: inherit;
        border: unset;
        position: relative;
        background: 0 0;
    }
    li.menu-item:hover .sub-menu {
        display: block;
    }
    .list_menu_mb li.menu-item:hover .sub-menu {
        display: none;
    }
    .list_menu_mb .sub-menu>li>a {
        color: #fff;
        font-size: 16px;
        text-transform: initial;
    }
    li.menu-home {
        padding: 10px;
    }
    .close-menu {
        font-size: 35px;
        position: relative;
        right: 20px;
        text-align: end;
        top: 15px;
    }
    .news-user a {
        color: #fff;
    }
    .news-user {
        text-align: center;
        font-size: 22px;
        font-weight: 600;
    }
    .section-news{
        padding-right: 0;
    }
    .top-article {
        padding-bottom: 10px;
    }
    .td-search-form {
        margin-bottom: 30px;
    }
    .td-search-close {
        text-align: right;
        z-index: 1000;
    }
    .td-search-close i {
        line-height: 70px;
        color: #fff;
        position: relative;
        top: 4px;
        right: 22px;
        font-size: 35px;
    }
    .td-search-input {
        margin: 0 5%;
        position: relative;
    }
    .td-search-input:before, .td-search-input:after {
        content: '';
        position: absolute;
        display: block;
        width: 100%;
        height: 1px;
        background-color: #fff;
        bottom: 0;
        left: 0;
        opacity: .2;
    }
    .td-search-input span {
        opacity: .9;
        color: #fff;
        position: absolute;
        margin: 0 auto;
        display: block;
        width: 100%;
        text-align: center;
        bottom: 60px;
        font-size: 14px;
    }
    #td-header-search-mob {
        color: #fff;
        font-weight: 700;
        font-size: 26px;
        height: 40px;
        line-height: 58px;
        border: 0;
        background: 0 0;
        outline: 0;
        margin: 8px 0;
        padding: 0;
        text-align: center;
    }
    .product-filters2,.product-filters2 .left, .product-filters2 .right {
        display: flex;
        flex-direction: column;
    }
    .product-filters2 .facet {
        display: flex;
        justify-content: space-between;
        padding: 5px 10px;
        margin-right: 20px;
    }
    .product-filters2 .left, .product-filters2 .right{
        width: 100%;
    }
    .cate-filter-content {
        flex: 1;
        position: relative;
    }
    h2.cate-filter-name {
        flex: 1;
        padding: 5px 0;
        color: #888;
        font-weight: bold;
        font-size: 12px;
        display: block;
    }
    .product-filters2 .facet label a i,.product-filters2 .facet label span.arrage-filter i,
    .big-img-content.owl-theme .owl-nav{
        display: none;
    }
    .product-filters2 .facet label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #009981;
        color: #009981;
        padding: 4px 8px;
    }
    .product-filters2 .facet label a{
        color: #009981;
    }
    .product-filters2 .facet .sub ul {
        display: block;
        border-radius: 0;
    }
    .product-filters2 .facet .sub {
        top: 20px;
    }
    span.mobile-down,.product-filters2 .facet .sub.active{
        display: block;
    }
    .product-center{
        margin-left: 0;
    }
    .signup-page .login-form, .login-page .login-form {
        flex-direction: column;
    }
    .login-form .form {
        flex-direction: column-reverse;
        padding: 10px;
        margin-top: 42px;
    }
    .login-form .login-bg img {
        max-width: 50%;
        margin: -35px 10px;
        height: 100%;
    }
    .login-form .login-bg::after {
        content: "Đăng nhập";
        margin: 0 auto;
        color: #444d52;
        font-weight: bold;
        font-size: 20px;
        position: relative;
    }
    .login-form .login-bg {
        align-items: center;
        flex-direction: row;
    }
    .login-form h1 {
        display: none;
    }
    .signup-page .modal-content, .login-page .modal-content{
        margin-top: 30px;
    }
    .signup-content .form-controls {
        padding: 0 10px 0 10px;
    }
    .signup-content .form-controls label {
        flex-basis: 40%;
        min-width: 135px;
    }
    .signup-content .login-form .login-bg::after {
        content: "Đăng ký";
    }
    .table-responsive {
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        width: 100%;
        min-height: .01%;
        overflow-x: auto;
    }
    .table-bordered>:not(caption)>*>* {
        white-space: nowrap;
    }
    .order-desktop{
        display: none;
    }
    .order-mb{
        display: block;
    }
    footer .bg{
        padding: 10px 0;
    }
    .product-text {
        padding: 25px 10px;
    }
    .banner-news h1 {
        bottom: 10px;
        font-size: 14px;
    }
    #formCheckOut .main .main-content{
        padding-top: 20px;
    }
    #formCheckOut .sidebar {
        left: auto;
        position: initial;
        visibility: visible;
        padding: 15px;
    }
    header nav .sub-container {
        position: relative;
        top: 0;
        color: #00483d;
        font-weight: 700;
        font-size: 15px;
        align-items: center;
        width: 100%;
        padding-top: 0;
    }
    header nav .sub {
        box-shadow: none;
        display: block;
    }
    header nav .sub ul {
        display: block;
    }
    header nav .sub .menu:first-child {
        margin-left: 0;
    }
    header nav .sub .menu {
        margin: 0;
    }
    header nav .item-cate.open .sub ul {
        border-top: 1px solid #009981;
        padding: 10px 0;
    }
    nav.global .sub ul li {
        padding: 0;
        border: unset;
    }
    header nav .open .sub-container {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .login-form .form .external form{
        flex-direction: column;
    }
    .login-form .form .external button a {
        align-items: center;
    }
    .login-form .form .external .btn-facebook {
        margin-bottom: 10px;
    }
    .login-form .form .external button {
        display: block;
        margin: auto;
        width: 60%;
    }
    .quick-sales img {
        max-width: 230px;
    }
    .quick-sales .item {
        margin-right: 10px;
    }
    section .quick-sales {
        overflow-y: hidden;
        overflow-x: auto;
    }
    .homeProductCategory .col-content.lts-product.owl-carousel{
        padding: 0;
    }
    .homeProductCategory .col-content.owl-carousel .owl-nav button i:before{
        background: transparent;
        color: #333;
        border: unset;
    }
    .homeProductCategory .col-content.lts-product.owl-carousel{
        background-color: transparent;
        box-shadow: unset;
    }
    .homeProductCategory .col-content.owl-carousel.lts-product .item .img{
        width: 150px;
        margin: 30px auto 0 auto;
    }
    .homeProductCategory .col-content.owl-carousel.lts-product .item{
        margin-bottom: 0;
    }
    .site-footer{
        display: block;
    }
    .homeProductCategory .col-content.owl-carousel .owl-nav button {
        background-color: transparent;
    }
    .homeProductCategory .lts-product.owl-carousel .item .img img {
        height: 240px;
    }
    .video-container .img {
        padding-top: 55%;
    }
    body.layout-news .container{
        min-width: 100%;
        width: 100%;
    }
    .content-area .section-news{
        padding-right: 0;
    }
    .header-mb-news .icon-bar,.open_drawer .menu-mobile {
        display: block;
    }
}