@media screen and (max-width: 1199px) {
    .container {
        max-width: 100%;
    }
    .ads-container {
        margin: 0px auto 20px;
        overflow: hidden;
    }
    .ads-container .carousel-inner {
        height: 100%;
    }
    .ads-container .ads-body img {
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    .home-banner {
        margin-top: 0;
        background-color: transparent;
    }
    .home-banner #carouselBanner {
        height: auto;
    }
    #carouselBanner .carousel-inner .carousel-item {
        height: auto;
    }
    #carouselBanner .carousel-inner .carousel-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
    }
    .container-product {
        width: 100%;
        padding: 0 12px;
    }
    .container-product .list-hot-item,
    .container-product .list-recomended-item {
        height: auto;
    }
    .container-product .list-hot-item .separator-bottom,
    .container-product .list-recomended-item .separator-bottom {
        display: none;
    }
    .container-product .list-hot-item .product-list .product-item,
    .container-product .list-recomended-item .product-list .product-item {
        width: 48%;
        height: auto;
        margin: 10px 1%;
    }
    .container-product .list-hot-item .product-list .product-item img,
    .container-product .list-recomended-item .product-list .product-item img {
        height: auto;
    }
    .container-product .list-hot-item .product-list .carousel-item .d-flex {
        gap: 12px;
    }
    .container-product .list-hot-item .product-list .product-item,
    .container-product .list-recomended-item .product-list .product-item {
        float: none;
        margin: 0;
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
    .recent-products .product-item {
        width: 100%;
        margin: 0;
        float: none;
    }
    .hot-list-mobile .product-item {
        width: 100%;
        margin: 0;
        float: none;
    }
}
@media screen and (max-width: 991px) {
    .categories .container-product {
        width: 100%;
    }
    .navbar .middle .form form {
        width: auto;
    }
    .navbar .separator .left-side span {
        margin-right: 8px;
    }
    .navbar .separator .right-side span {
        display: none;
    }
    .navbar .rear i {
        display: none;
    }
    .navbar .middle .form {
        padding-right: 15px;
        padding-left: 0;
    }
    .navbar .middle .logo {
        margin-left: 20px;
        margin-right: 20px;
    }
    .ads-container .ads-body .stand-image {
        min-width: 150px;
    }
    .collapsemenu-toggle {
        display: block;
    }
    .c-up {
        display: block;
        padding-top: 20px;
    }
    .sidebar {
        float: none;
        width: 100%;
        margin: 0;
        margin-bottom: 30px;
    }
    .categories .container-product.cp-sm {
        float: none;
        padding: 0;
        width: 100%;
    }
    .user-nav {
        display: flex;
        flex-wrap: inherit;
    }
    .sidebar .nav-item {
        margin-right: 10px;
    }
    .sidebar .nav-item:last-child {
        margin-right: 0;
    }
    .sm-sidebar .active:after {
        left: calc(50% - 4.5px);
        bottom: 3px;
        margin-left: auto;
        top: auto;
    }
    .sm-sidebar .nav-item .nav-link {
        font-size: 14px;
        text-align: left;
        white-space: nowrap;
    }
    .sm-sidebar .nav-item .nav-link span {
        margin-right: 5px;
    }
    .sr-payment {
        width: 100%;
        min-width: auto;
    }
    .f-confirm {
        display: block;
    }
    .f-confirm .card {
        width: 100%; 
        margin-right: auto !important;
        margin-bottom: 15px;
    }
    .f-confirm .card-form {
        padding: 15px;
        margin-bottom: 15px !important;
    }
    #desc_filter {
        display: none;
        position: fixed;
        bottom: 0;
        top: 0;
        right: 0;
        left: 0;
        z-index: 9999;
        background: #fff;
        padding: 20px;
        overflow: auto;
    }
    .btn-filter-mb {
        display: block;
        color: #050505 !important;
    }
    #desc_filter .btn-filter-mb {
        position: absolute;
        right: 15px;
        top: 22px;
    }
    #desc_filter h2 {
        display: block;
        margin-bottom: 20px;
        background: #f3f3f3;
        padding: 11px 15px;
        font-size: 18px;
        font-family: 'WorkSansBold';
    }
    .sort {
        border-bottom: .5px solid #ccc;
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    .h-list-product-title {
        display: none;
    }
    .sort .h-list-product-title {
        display: block;
        margin-bottom: 0;
        font-family: 'WorkSansBold';
        color: #444;
    }
    .sb-category {
        margin-bottom: 0;
    }
    .category-list-product {
        padding: 0;
    }
    .details .display-product .preview-image {
        min-width: 250px;
    }
    .details .display-product .preview-image img {
        height: 250px !important;
    }
    .image-thumbnails {
        margin-top: 270px !important;
    }
    .details .display-product .preview-image .image-thumbnails img {
        height: 65px !important; 
    }
    .details .display-product .preview-side {
        display: none;
    }
    .details .display-product .preview-primary .preview-side {
        display: flex;
        width: 100%;
    }
    .details .display-product .preview-primary .preview-side .box {
        margin-bottom: 0; 
        margin-right: 10px;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    .details .display-product .preview-primary .preview-side .box img {
        height: 50px;
        width: auto;
    }
    .details .display-product .preview-primary {
        margin-right: 0;
        padding-right: 0;
    }
}
@media screen and (max-width: 767px) {
    .navbar .separator .left-side span span {
        display: none;
    }
    .navbar .separator .left-side span {
        margin-right: 15px;
    }
    .toggleMobileNav {
        display: block;
    }
    .d-none-m {
        display: none !important;
    }
    .navbar .separator .left-side,
    .navbar .separator .right-side {
        width: 50%;
    }
    .navbar .separator .right-side {
        margin: 0;
        justify-content: flex-end;
    }
    .navbar .rear.menu-language {
        padding: 0 15px 0 0 !important;
    }
    .navbar .separator .left-side {
        margin-left: 15px;
    }
    .navbar .rear.navbar-menu-clickable {
        margin: 0;
        padding-right: 0;
        border: 0;
    }
    .navbar .center-nav {
        padding: 0;
    }
    .navbar .navbar-body {
        padding: 15px;
    }
    #title-menu {
        display: none;
    }
    .navbar .rear i {
        display: block;
        margin: 0;
    }
    .navbar .rear i.fa-caret-down {
        display: inline-block;
    }
    .navbar .middle .logo img {
        height: 45px;
    }
    .navbar .middle .logo {
        margin-left: 18px;
        margin-right: 20px;
        width: 100%;
        text-align: left;
    }
    .toggleMobileSearch,
    .toggleMobileSearch:focus,
    .toggleMobileSearch:active,
    .toggleMobileSearch:hover {
        display: block;
        border: 0;
        padding-right: 0;
        outline: none !important;
        background: none !important;
        color: #444 !important;
        box-shadow: none !important;
    }
    .m-fsearch {
        display: none;
    }
    .navbar .middle .form {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #ccc;
        padding: 15px;
    }
    .navbar .middle .form form {
        width: 100%;
    }
    .r-nav {
        display: inline-flex;

    }
    .navbar .middle .pane .btn-login.navbar-user-clickable {
        margin-left: 15px;
        width: auto;
    }
    .navbar .middle .link {

    }
    .mb-20-m {
        margin-bottom: 20px !important;
    }
    .navbar .middle .pane .cart-box {
        top: 60px;
    }
    .btn-product {
        padding: 10px 15px;
    }
    .navbar .separator .left-side svg {
        width: 15px;
    }
    .navbar .separator .left-side, .navbar .separator .right-side {
        padding: 7px 0;
    }
    .navbar .separator .right-side {
        padding-right: 70px;
    }
    .navbar .rear .language {
        padding-right: 0;
        padding-left: 15px;
    }
    .navbar-body .menu-list-nav {
        top: 77px;
    }
    .fm-form {
        padding: 20px;
    }
    body {
        padding-top: 112px;
    }
    .container-product .list-recomended-item .product-list .product-item, .container-product .list-hot-item .product-list .product-item {
        width: 31%;
    }
    .ads-container .ads-body {
        flex-wrap: wrap;
    }
    .ads-container .ads-body .stand-image {
        width: 100%;
        height: auto;
    }
    .ads-container .ads-body .square-image-big {
        width: 100%;
        height: auto;
    }
    .ads-container .ads-body .f-sim {
        width: 100%;
        height: auto;
        min-width: auto
    }
    .container-product .list-category .item-category a {
        position: relative;
    }
    .container-product .list-category .item-category h3 {
        font-size: 18px;
        text-shadow: none;
        left: 0;
        bottom: 15px;
        right: 0;
        padding: 0 15px;
    }
    .container-product .list-category .item-category .separator {
        position: relative;
        left: auto;
        display: inline-block;
        bottom: 15px;
        margin: 0 auto;
    }
    .container-product .list-recomended-item .separator-bottom, .container-product .list-hot-item .separator-bottom {
        display: none;
    }
    .container-product .list-hot-item .product-list {
        border: .5px #dbdbdb solid;
        padding: 20px 0;
    }
    .navbar .middle .pane .btn-login.navbar-user-clickable ~ .expand-menu {
        bottom: -87px;
    }
    .navbar .middle .pane .cart-box {
        width: 100vw;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
        overflow: auto;
        display: none;
        padding: 15px;
        z-index: 99;
        padding-bottom: 110px;
        padding-top: 45px;
    }
    .navbar .middle .pane .cart-box.active {
        display: block;
    }
    .navbar .middle .pane .cart-box .subtotal {
        position: fixed;
        bottom: 0;
        left: 15px;
        right: 15px;
        background: #fff;
        border-top: .5px solid #ccc;
        padding: 0 15px 15px;
        display: block;
    }
    .navbar .middle .pane .cart-box .subtotal h4 {
        text-align: right;
        border: 0;
        background: none;
    }
    .navbar .middle .pane .cart-box .box-inner {
        border-bottom: 0;
        border-color: #ccc;
    }
    .navbar .middle .pane .cart-box .product-item img {
        margin-bottom: 0;
    }
    .cp-card, .cb-sm, .cp-card .tab-content, .desc-order-user {
        padding: 20px;
    }
    .cb-sm .form-sm .mb-4 {
        margin-bottom: 15px !important;
    }
    .cp-card .card-header {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .px-10-m {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .px-20-m {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .cp-card .nav-tabs .nav-link {
        padding-left: 20px;
        padding-right: 20px;
    }
    .calc-table thead tr th,
    .table-order thead tr th, .calc-table tbody tr td:first-child, .calc-table tbody tr td, .table-order tbody tr td:first-child, .table-order tbody tr td  {
        font-size: 12px !important;
    }
    .jumlah-data {
        font-size: 14px;
    }
    .pagination-page .pagination li a {
        margin: 0 2px;
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .calc-table tbody tr td img {
        width: auto;
        height: auto;
        max-width: 65px;
        max-height: 65px;
        margin-right: 5px;
    }
    .forms .check-out thead tr th {
        font-size: 12px !important;
        padding-left: 5px;
        padding-right: 5px;
    }
    .forms .check-out tbody tr td h2 {
        font-size: 12px;
        padding: 0;
    }
    .forms .check-out tbody tr td {
        padding: 15px 5px;
    }
    .row-card {
        display: block;
    }
    #accordionCart.accordion {
        margin-bottom: 30px;
    }
    #accordionCart.accordion>.card {
        margin-right: 0;
    }
    .sect-right {
        width: 100%;
    }
    #accordionCart.accordion>.card .card-header .btn {
        font-size: 16px;
        padding: 7px 15px !important
    }
    #accordionCart.accordion>.card .card-body {
        padding: 15px;
        max-width: 100% !important;
    }
    .list-address label {
        padding: 15px;
    }
    .list-address label .desc p, .forms .progress-tab ul li .tab-detail p {
        font-size: 14px;
    }
    .sec-card, .sect-right {
        min-width: auto;
    }
    .sec-card .sec-card-header, .forms .progress-tab ul li label {
        font-size: 16px;
        padding: 10px 15px;
    }
    .sec-card .sec-card-body, .forms .progress-tab ul li .tab-detail {
        padding: 15px;
    }
    .mb-0-m {
        margin-bottom: 0 !important;
    }
    .pr-0-m {
        padding-right: 0 !important;
    }
    .show-mb {
        display: block;
    }
    .show-dt {
        display: none;
    }
    .of-none-m {
        order: inherit;
    }
    .form-payment h2 {
        font-size: 18px;
    }
    .image-thumbnails {
        margin-top: 0 !important;
    }
    .sort {
        display: block;
    }
    .sort .h-list-product-title {
        background: #ffaf05;
        color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
        margin-bottom: 20px;
    }
    .w-100-m {
        width: 100% !important;
    }
    .fd-product {
        flex-direction: column;   
    }
    .details .display-product .preview-image {
        min-width: 100%;
        margin: 0;
        overflow: hidden;
    }
    .details .display-product .preview-primary {
        margin: 0;
        margin-bottom: 50px;
    }
    .details .display-product .preview-primary h2 {
        font-size: 22px;
    }
    .details .section-list-product .product-item img {
        height: 185px !important;
    }
    .navbar .middle .pane .cart-box .navbar-cart-clickable {
        display: block;
    }
    .cb-cart {
        margin-left: 5px;
        margin-bottom: 5px;
    }
    .calc-table thead tr th .cb-cart {
        margin-top: 0;
        margin-bottom: 0;
    }
    .menu-list-nav li.parent.active .submenu,
    .menu-list-nav li:hover .submenu {
        height: auto;
        display: block;
        position: relative;
        left: auto;
        top: auto;
        padding-left: 0;
    }
    .navbar-body .menu-list-nav {
        width: 100% !important;
        top: 0;
        position: fixed;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        background: #fff;
        z-index: 9999;
    }
    .navbar-body .menu-list-nav ul {
        max-height: none;
        overflow: visible;
        flex: 1;
        padding-bottom: 50px;
    }
    ul.menu-s {
        width: 100%;
        height: auto;
        max-height: none;
    }
    ul.menu-s li ul {
        position: relative;
        width: 100%;
        left: 0;
        height: auto;
        padding-left: 0 !important;
        max-height: none;
    }
    .navbar-body .menu-list-nav ul li:hover i, 
    .navbar-body .menu-list-nav ul li.active i {
        transform: rotate(90deg);
    }
    .navbar-body .menu-list-nav ul li .submenu i {
        transform: rotate(0deg);
    }
    .navbar-body .menu-list-nav ul li .submenu li:hover i {
        transform: rotate(90deg);
    }
    .navbar-body .menu-list-nav ul li {
        padding: 0 !important
    }
    .navbar-body .menu-list-nav ul li a {
        padding: 15px;
    }
    .navbar-body .menu-list-nav ul i, .home-banner .banner-sidebar-menu .menu-list ul i {
        margin-top: 0;
        margin-right: 20px;
        margin-left: 15px;
    }
    .navbar-body .menu-list-nav ul.menu-s li a {
        padding-left: 25px !important;
    }
    .navbar-body .menu-list-nav .submenu li ul li a {
        padding-left: 40px !important;
    }
    .navbar-body .menu-list-nav ul li a {
        font-size: 14px;
    }
    .calc-table-confirm tbody tr td, .calc-table thead tr th {
        padding: 10px;
    }
    .calc-table-confirm tbody tr td .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .calc-table tbody tr td .price-cart,
    .calc-table-confirm tbody tr td h2 {
        font-size: 14px;
    }
    .calc-table-confirm tbody tr td h3,
    .calc-table-confirm tbody tr td h5 {
        font-size: 12px;
    }
    .menu-list-nav .navbar-menu-clickable {
        display: block;
    }
    .menu-list-nav .navbar-menu-clickable .btn-product {
        padding: 15px;
        justify-content: flex-end;
        background: #ffad00;
        color: #fff;
    }
    .fs-18-m {
        font-size: 18px !important;
    }
    .table-desc-order {
        margin-top: 15px;
    }
    .desc-order {
        padding: 15px;
    }
}

@media screen and (max-width: 575px) {
    .cart-empty {
        height: 250px;
    }
    .categories .card-bs tr td {
        padding: 10px;
    }
    .forms .fg-card .btn {
        padding: 7px 15px !important;
        font-size: 12px;
    }
    .container-product .list-recomended-item .product-list .product-item, .container-product .list-hot-item .product-list .product-item {
        width: 48%;
    }
    body {
        padding-top: 90px;
    }
    .fm-form {
        padding: 20px 0 0 0;
    }
    .navbar .middle .pane .btn-login, .navbar .middle .pane .btn-register {
        padding: 8px 15px;
    }
    .navbar .navbar-body {
        padding: 5px 15px;
    }
    .btn-product {
        padding: 0;
        background: none;
        box-shadow: none;
    }
    .toggleMobileSearch, .toggleMobileSearch:focus, .toggleMobileSearch:active, .toggleMobileSearch:hover {
        padding-left: 8px;
    }
    .navbar .middle .pane .btn-login {
        margin-right: 8px;
    }
    .navbar .middle .logo {
        margin-left: 13px;
        margin-right: 15px;
    }
    .navbar .middle .form {
        padding-top: 10px;
        padding-bottom: 10px;   
    }
    .container-product .list-hot-item .product-list .product-item:last-child {
        display: none;
    }
    .navbar .middle .pane .btn-login.navbar-user-clickable ~ .expand-menu {
        bottom: -77px;
    }
    .sm-sidebar .nav-item .nav-link span {
        display: none;
    }
    .sm-sidebar .nav-item .nav-link {
        text-align: center;
        width: auto;
        padding: 5px 10px;
    }
    .sidebar .nav-item {
        margin-right: 5px;
    }
    .cp-card, .cb-sm, .cp-card .tab-content, .desc-order-user {
        padding: 15px;
    }
    .cp-card .nav-tabs .nav-link {
        padding-left: 15px;
        padding-right: 15px;
    }
    .col-address {
        padding-bottom: 15px;
    }
    .c-address p, #default-address {
        font-size: 12px;
    }
    .cp-card .nav-tabs .nav-link {
        font-size: 12px;
    }
    .c-address .card-body {
        padding: 15px;
    }
    .cp-card .nav-tabs.nt-order {
        display: flex;
        flex-wrap: inherit;
    }
    .cp-card .nav-tabs.nt-order .nav-link {
        white-space: inherit;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .calc-table tbody tr td .price-cart span {
        display: block;
    }
    .forms .check-out tbody tr td .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .payment-list {
        display: block;
        margin-bottom: 20px;
    }
    .btn-act-payment .btn {
        padding: 9px 20px !important
    }
    .f-sort-filter span {
        display: none;
    }
    .col-owl {
        padding-left: 30px;
        padding-right: 30px;
    }
    .section-list-product .product-item a h6:first-child {
        font-size: 14px;
    }
    .section-list-product .product-item h5.item-cost.t-price {
        font-size: 16px;
    }
    .section-list-product .product-item h5.item-cost {
        font-size: 12px;
    }
    .tt-order {
        flex-direction: column;
        align-items: flex-start;
    }
    .categories tbody tr td .thumb-order img {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .card-bs {
        padding: 15px;
    }
    .categories .card-bs tr th, .categories .card-bs tr td {
        font-size: 12px !important;
    }
    .categories .card-bs tr th:first-child, .categories .card-bs tr td:first-child {
        padding-left: 0 !important;
    }
    .categories .card-bs tr th:last-child, .categories .card-bs tr td:last-child {
        padding-right: 0 !important;
    }
    .categories .card-bs tr td h3 {
        font-size: 14px !important;
    }
    .container-product .card-bs .col-form-label, .container-product .card-bs p {
        font-size: 12px !important;
    }
    .table-desc-order .calc-table.calc-table-confirm tr th,
    .table-desc-order .calc-table.calc-table-confirm tr td,
    .table-address td {
        padding: 5px !important;
        font-size: 12px !important;
    }
    .table-address td p,
    .calc-table-confirm tbody tr td h2 {
        font-size: 12px !important;
    }
    .img-order {
        height: 20px !important;
    }
    .px-5-sm {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .desc-order table td, .upload-payment p {
        font-size: 12px !important;
    }
    .desc-order {
        padding: 10px;
    }
    #desc_filter {
        padding: 15px;
    }
    #desc_filter .btn-filter-mb {
        top: 17px;
    }
}
@media screen and (max-width: 399px) {
    .sm-sidebar .nav-item .nav-link {
        font-size: 12px;
        padding: 5px;
    }
    .calc-table tbody tr td img {
        max-width: 80px;
        max-height: 80px;
        margin-right: 0;
        padding-bottom: 0;
        margin-bottom: 5px;
    }
    .forms tbody tr .c-qty h3 i {
        font-size: 8px;
    }
    .forms .check-out thead tr th,
    .forms .check-out tbody tr td {
        padding: 10px 2px;
    }
    .forms .check-out thead tr th {
        font-size: 10px !important;
    }

}
@media screen and (max-width: 340px) {
    .footer .form input[type=text] {
        width: 185px;
    }
    #otp .form-control {
        margin: 2px !important;
    }
    .navbar .middle .pane .btn-login, .navbar .middle .pane .btn-register {
        padding: 5px 8px
    }
    .navbar .middle .logo img {
        height: 40px;
    }
    .cp-card .nav-tabs .nav-link {
        font-size: 11px;
    }
    body {
        padding-top: 88px;
    }
}
