/* Shopping pages only. Account, checkout and the batch tool do not set data-dx-responsive. */
html[data-dx-responsive="1"] .dx-filter-toggle {
    display: none;
}
@media (max-width: 1023px) {
    html[data-dx-responsive="1"] body {
        overflow-x: hidden;
    }
    html[data-dx-responsive="1"] .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    html[data-dx-responsive="1"] .main-container img,
    html[data-dx-responsive="1"] .footer-container img,
    html[data-dx-responsive="1"] .NC-home__top-carousel img {
        max-width: 100%;
        height: auto;
    }

    html[data-dx-responsive="1"] .header__container,
    html[data-dx-responsive="1"] .header__wrapper,
    html[data-dx-responsive="1"] .NC-home__top-carousel,
    html[data-dx-responsive="1"] .NC-home__top-three-btn-bg,
    html[data-dx-responsive="1"] .header-nav__collapse {
        min-width: 0 !important;
    }
    html[data-dx-responsive="1"] .header-top-container-js .container > .flex {
        flex-wrap: wrap;
        align-items: center;
    }
    html[data-dx-responsive="1"] .header-top-container-js .container > .flex > .lg-8:nth-child(1) {
        flex: 1 1 auto !important;
        max-width: 55% !important;
    }
    html[data-dx-responsive="1"] .header-top-container-js .container > .flex > .lg-8:nth-child(3) {
        flex: 0 0 auto !important;
        max-width: none !important;
    }
    html[data-dx-responsive="1"] .header-search-js {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        order: 3;
        margin-top: 10px;
        justify-content: stretch !important;
    }
    html[data-dx-responsive="1"] .header-search__input-container,
    html[data-dx-responsive="1"] .header-search__keyword-input {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    html[data-dx-responsive="1"] .header__container .mx-lg-20 {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
    html[data-dx-responsive="1"] .header-right-user-icon a,
    html[data-dx-responsive="1"] .header-right-user-bag-icon,
    html[data-dx-responsive="1"] .header-right-user-wishlist-icon a {
        min-width: 36px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    html[data-dx-responsive="1"] .header-right-collapse-container {
        right: 0;
        left: auto;
        max-width: calc(100vw - 24px);
    }
    html[data-dx-responsive="1"] .header-nav__list {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        line-height: 44px !important;
    }
    html[data-dx-responsive="1"] .header-nav__list li {
        flex: 0 0 auto;
        padding-right: 18px !important;
        line-height: 44px;
    }
    html[data-dx-responsive="1"] .header-nav__collapse {
        display: none !important;
    }

    html[data-dx-responsive="1"] .NC-home__top-carousel {
        min-height: 0 !important;
    }
    html[data-dx-responsive="1"] .slider-category {
        width: 100% !important;
    }
    html[data-dx-responsive="1"] .slider-category .slider-container {
        width: 100% !important;
        height: auto !important;
    }
    html[data-dx-responsive="1"] .slider-category .slide {
        padding: 8px 28px;
        height: auto !important;
    }
    html[data-dx-responsive="1"] .slider-category .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        height: auto !important;
    }
    html[data-dx-responsive="1"] .slider-category .product {
        height: auto !important;
    }
    html[data-dx-responsive="1"] .slider-category .product .image {
        max-height: 90px;
    }
    html[data-dx-responsive="1"] .upload-info,
    html[data-dx-responsive="1"] .parts-list .flex {
        flex-direction: column;
    }
    html[data-dx-responsive="1"] .upload-list .lg-15,
    html[data-dx-responsive="1"] .upload-list .lg-9,
    html[data-dx-responsive="1"] .parts-list .lg-8 {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100%;
    }
    html[data-dx-responsive="1"] .upload-info {
        padding: 0 !important;
    }

    html[data-dx-responsive="1"] .dx-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin: 0 0 12px;
        padding: 0 18px;
        border: 1px solid #353535;
        border-radius: 6px;
        background: #fff;
        color: #111;
        font-weight: 700;
        cursor: pointer;
    }
    html[data-dx-responsive="1"] .cate-filters-container {
        display: none;
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 12px;
    }
    html[data-dx-responsive="1"] .cate-filters-container.is-open {
        display: block;
    }
    html[data-dx-responsive="1"] .category-products-container {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    html[data-dx-responsive="1"] .category_product.product-item {
        width: 31% !important;
        margin: 1% !important;
    }
    html[data-dx-responsive="1"] .category-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    html[data-dx-responsive="1"] .cate-filter-top {
        flex-wrap: wrap;
    }

    html[data-dx-responsive="1"] .product-view-page {
        flex-direction: column;
    }
    html[data-dx-responsive="1"] .product-view-left-container {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 16px;
    }
    html[data-dx-responsive="1"] .image-info,
    html[data-dx-responsive="1"] .image-info .image-type {
        height: auto !important;
        min-height: 240px;
    }
    html[data-dx-responsive="1"] .image-info img {
        max-width: 100% !important;
    }
    html[data-dx-responsive="1"] .other-color-info {
        width: 100% !important;
    }
    html[data-dx-responsive="1"] .product-info__add-cart-btn-container,
    html[data-dx-responsive="1"] .product-info__add-cart-btn {
        width: 100%;
        min-height: 48px;
    }
    html[data-dx-responsive="1"] .product-view-info-block-outer .flex.mx-lg-n20 {
        flex-wrap: wrap;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    html[data-dx-responsive="1"] .product-view-info-block-outer .px-lg-20 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }

    html[data-dx-responsive="1"] .shopcart-header-container,
    html[data-dx-responsive="1"] .shopcart-header__step-container,
    html[data-dx-responsive="1"] .shopcart-main-container-js {
        flex-wrap: wrap;
    }
    html[data-dx-responsive="1"] .shopcart-header-js .border-bottom {
        height: auto !important;
        overflow: visible;
    }
    html[data-dx-responsive="1"] .shopcart-header-container {
        display: block !important;
        height: auto !important;
        min-height: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    html[data-dx-responsive="1"] .shopcart-header-container > .flex {
        width: 100%;
    }
    html[data-dx-responsive="1"] .shopcart-header-container > div:last-child {
        margin-top: 6px;
    }
    html[data-dx-responsive="1"] .shopcart-header-logo {
        width: 140px !important;
        min-width: 140px;
        flex: 0 0 140px;
        overflow: visible;
    }
    html[data-dx-responsive="1"] .shopcart-header-logo img {
        height: 36px !important;
        width: 140px !important;
        max-width: none !important;
    }
    html[data-dx-responsive="1"] .text-secure,
    html[data-dx-responsive="1"] .shopcart-header-secure-tips {
        height: auto !important;
        line-height: 1.4 !important;
        border: 0;
        margin-left: 10px !important;
    }
    html[data-dx-responsive="1"] .shopcart-main-container-js {
        min-height: 0 !important;
    }
    html[data-dx-responsive="1"] .shopcart__main-content--left,
    html[data-dx-responsive="1"] .shopcart__main-content--right,
    html[data-dx-responsive="1"] .shopcart-fixed-sidebar-container {
        width: 100% !important;
        max-width: 100%;
    }
    html[data-dx-responsive="1"] .shopcart__product-container--top {
        display: none;
    }
    html[data-dx-responsive="1"] .shopcart-product-list-item-js {
        flex-wrap: wrap;
        padding: 12px 0;
        gap: 8px;
    }
    html[data-dx-responsive="1"] .shopcart__product-item-container,
    html[data-dx-responsive="1"] .shopcart__product-price-container,
    html[data-dx-responsive="1"] .shopcart__product-qty-container,
    html[data-dx-responsive="1"] .shopcart__product-total-container,
    html[data-dx-responsive="1"] .shopcart__product-option-container {
        width: auto !important;
        max-width: 100%;
        justify-content: flex-start !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    html[data-dx-responsive="1"] .shopcart__product-item-container {
        flex: 1 1 100%;
    }
    html[data-dx-responsive="1"] .product-item-image-container {
        width: 88px !important;
    }

    html[data-dx-responsive="1"] .footer-content {
        padding: 24px 12px !important;
    }
    html[data-dx-responsive="1"] .footer-content .process .step {
        grid-template-columns: 1fr 1fr !important;
        max-width: 100%;
    }
    html[data-dx-responsive="1"] .footer-content .process .step .item .info .txt {
        line-height: 1.4 !important;
    }
    html[data-dx-responsive="1"] .common-footer__wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
    html[data-dx-responsive="1"] .common-footer__wrapper .container,
    html[data-dx-responsive="1"] .newsletter-container .control input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    html[data-dx-responsive="1"] .slider-category .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    html[data-dx-responsive="1"] .category_product.product-item {
        width: 48% !important;
    }
    html[data-dx-responsive="1"] .category-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    html[data-dx-responsive="1"] .footer-content .process .step {
        grid-template-columns: 1fr !important;
    }
    html[data-dx-responsive="1"] .header-top-container-js .langCurrency {
        display: none;
    }
}

@media (min-width: 1024px) {
    html[data-dx-responsive="1"] .dx-filter-toggle {
        display: none;
    }
}
