@media (max-width:1024px) {
    body.page-index .owl-carousel .owl-item {
        width: 100%;
        min-width: 100%;
        text-align: center;
    }
    body.page-index .box-list-category .list-category .block-carousel-container {
        width: calc((100vw / 3) - 30px);
        display: inline-block
    }
}

@media (max-width: 991px) {
    .ApMegamenu>.sidebar {
    display: none;
}
    body .category-products.module-samecollection.block .products article {
        width: calc(100% / 3 - 10px);
    }
    html body#product .product-caracteristiques,
    html body#product .product-caracteristiques+section {
        max-width: 100%;
        margin: 0;
    }
    html body .category-products.block .products article {
        width: calc(100% / 4 - 10px);
    }
    .box-header .group-center-header {
        width: 80px!important;
    }
    .box-header .group-right-header {
        float: right;
    }
    .header-top .col-md-12 {
        padding: 0px!important;
    }
    #cart-block {
        border: none!important;
    }
    .box-header .group-left-header .logo {
        padding: 15px!important;
    }
    .dropdown-menu.dropdown-sub.mega-cols>.dropdown-menu-inner>.row>.mega-col>.inner>ul>li {
        padding: 0 0 0 10px;
    }
    #block-categories>.link-show-categ {
        display: none;
    }
    .iviewSlider * {
        max-width: 100%;
    }
    .owl-wrapper-outer * {
        max-width: 100%;
    }
    body.page-product .product-features {
        min-width: 100%;
    }
    body.page-product .product-add-to-cart {
        display: none;
    }
    #header .group-center-header.ApColumn.full {
        width: 100% !important;
        text-align: center;
        display: inline-block;
        padding: 10px 0;
    }
    #page.full-width-page #content-wrapper #main.full {
        width: 100%!important;
        min-width: 100%!important;
    }
    .off-canvas-nav-megamenu .navbar-nav>li>a,
    .off-canvas-nav-megamenu .offcanvas-mainnav {
        background: #2B3D51!important;
    }
    .off-canvas-button-megamenu {
        background: #2B3D5133!important;
    }
    .off-canvas-nav-megamenu .dropdown-menu .row {
        margin-right: 0px!important;
        margin-left: 0px!important;
    }
}

@media (max-width: 768px) {
    .row.box-list-category.ApRow.has-bg.bg-boxed {flex-direction: column;}

body#index .ApSlideShow {
    /* min-height: 300px; */
    background: #f1f1f1;
}
    .box-header .group-right-header {
        width: auto;
    }
    body.page-product #main .col-md-6 {
        min-width: 100%;
    }
    .dropdown-menu.dropdown-sub.mega-cols>.dropdown-menu-inner>.row>.mega-col>.inner>ul>li {
        padding: 10px 0px;
    }
    #footer.full {
        padding-bottom: 20px;
    }
    #footer .toggle-footer.collapse.full {
        display: inline-block!important;
    }
    .bloccontactinfo.full .block-contact ul li {
        width: 100%;
        min-width: 100%;
    }
    #main.full section.bloc_informations .cnt_blocs_droite .sbloc {
        width: 40%;
    }
    #search_filter_toggler {
        display: none!important;
    }
    #main .block-toggler.accordion_small_screen .collapse {
        display: block!important;
    }
}

@media (max-width: 601px) {
    body.page-authentication .col-xs-12 {
        margin: 0 0 40px;
    }
    body.page-index .box-list-category .list-category .block-carousel-container {
        margin: 20px 0;
        width: 100%;
        text-align: left;
        padding: 10px;
        box-sizing: border-box;
    }
    body.page-product .col-md-6 {
        width: 60%;
        min-width: 50%;
    }
    body.page-index .all-product-link {
        margin: 30px auto;
        float: none!important;
        display: block;
    }
    body#checkout section.checkout-step .payment-options label {
        display: inline-block;
        vertical-align: top;
        padding: 0;
        margin: 1px 0 0 0;
    }
    body#checkout section.checkout-step .payment-options label[for="payment-option-3"] {
        width: 70%;
    }
    body#checkout section.checkout-step .payment-options .custom-radio {
        display: inline-block;
    }
    body#checkout section.checkout-step .payment-options .payment-option {
        width: 100%;
    }
    body#checkout .modal-dialog {
        margin: 5px!important;
    }
    body#checkout .modal-content {
        padding: 0px!important;
    }
    body.page-order-confirmation .card-block {
        padding: 5px;
    }
    body.page-order-confirmation .card-block .h1 {
        font-size: 16px;
        padding: 0;
    }
    body.page-identity h1 {
        font-size: 16px!important;
    }
    body.page-identity .page-content {
        display: inline-block!important;
        width: 100%!important;
        padding: 0!important;
        background-color: transparent;
    }
    body.page-identity .page-subheading,
    body.page-identity h1.page-heading {
        display: none;
    }
    body.page-identity .btn.btn-primary {
        display: block;
        margin: 20px auto;
        float: none!important;
    }
    body.page-product .product-features dl.data-sheet dt {
        width: 100%;
        background-color: #CCC!important;
    }
    .product-features dl.data-sheet dd.value,
    .product-features dl.data-sheet dt.name {
        min-width: 100%;
    }
    body.page-product .products-section-title {
        font-size: 22px;
        text-align: center;
        width: 100%;
        padding: 0;
    }
    .category-products.block .products article {
        min-width: 100%;
    }
    body.page-product .product-description {
        padding: 20px 0px!important;
    }
    body.page-product .col-xl-7-2 .h1,
    body.page-product .col-xl-7-2 .product-prices {
        text-align: center;
    }
    body.page-product .social-sharing {
        display: block;
        width: 100%;
        text-align: center;
    }
    body.page-product .social-sharing {
        display: block;
        width: 100%;
        text-align: center;
    }
    body.page-product .social-sharing span {
        padding: 0 0 10px;
        color: #666;
        width: 100%;
        display: inline-block;
    }
    body.page-product .social-sharing span {
        padding: 0 0 10px;
        color: #666;
        width: 100%;
        display: inline-block;
    }
    body.page-product .social-sharing ul {
        color: #666;
        width: 100%;
        display: inline-block;
    }
    body.page-authentication .col-xs-12.full {
        margin: 0!important;
        display: inline-block;
    }
    body.page-authentication .submit {
        margin-bottom: 30px;
    }
    .cnt_blocs_droite .sbloc {
        width: 100%!important;
        float: none!important;
    }
    body.page-authentication .container {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .cnt_blocs_droite .sbloc.droite1,
    .cnt_blocs_droite .sbloc.droite2,
    .cnt_blocs_droite .sbloc.droite3,
    .cnt_blocs_droite .sbloc.droite4 {
        height: 175px!important;
    }
    .cnt_blocs_droite {
        margin-top: 20px;
    }
    section.bloc_informations .cnt_blocs_droite .sbloc {
        margin: 0!important;
    }
}

@media (max-width:480px) {
    /* #payment-option-1-additional-information {
        display: none!important;
    } */
    #payment-option-1-container img {
        top: 20px!important;
        margin-left: -100%!important;
        left: 0px !important;
        margin-top: 50px;
    }
    body#checkout section.checkout-step .payment-options label[for="payment-option-3"] {
        text-align: left;
    }
    #payment-option-1-container {
        height: 100px;
    }
    body .slick-row .slick-arrows{
        display: none;
    }
    body .thumbnail-container .box-label .label{
        height:auto;
    }
    body #back-top{
        display: none!important;
    }
    body .btn.align-right.bellow-link {
        background: #3387f2;
        color: #fff;
        border-radius: 4px;
        padding: 8px 10px;
        max-width: 200px;
        margin: 0 auto 15px auto;
        display: block;
        white-space: normal;
    }
    body .pagination .page-list li {
        float: none;
        margin-bottom: 4px;
    }
    
    body .pagination .page-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    body .pagination .page-list li>.spacer {
        line-height: 0;
        font-size: 13px;
    }
    body .h2, body h2, body .h1, body h1 {
        font-size: 28px;
        font-weight: normal;
    }
    .sort-by-row>.sort-by {
        display: block!important;
        text-align: left!important;
    }
    body .pagination a.previous>span, body .pagination a.next>span {
        display: none;
    }
    .product-quantity .qty {
        margin-right: -42px;
        background: #fff;
        padding-right: 42px;
        border-radius: 21px;
    }
    
    body .product-quantity #quantity_wanted {
        background: white;
        border-radius: 21px 0 0 21px;
        text-align: center;
        -webkit-appearance: none;
    }
    
    .product-quantity .input-group-btn-vertical>button {
        background: #fff;
        border: none;
    }
    
    button.btn.btn-comment {
        margin: auto;
        display: block;
    }
    
    .product-quantity {
        display: flex;
        justify-content: center;
    }

    .product-quantity .add {
        /* flex: 1; */
    }

    .product-quantity .add>button {
        font-size: 0;
        padding: 5px 10px;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        text-align: center;
    }

    .product-quantity .add>button>i {
        font-size: 21px;
    }
    #blockcart-modal .modal-title i.material-icons {
        display: none;
    }
    
    #blockcart-modal .modal-title {
        font-weight: normal;
        line-height: 1;
    }
    
    .modal-header .close {
        font-size: 36px;
        text-shadow: none;
    }
    
    body.page-product .modal-body .col-md-6 {
        width: 100%;
    }
    
    body.page-product .modal-body .col-md-6>img {
        height: 150px;
        object-fit: contain;
    }
    
    #blockcart-modal .product-name {text-align: center;font-weight: normal;font-size: 22px;}
    
    #blockcart-modal .product-name+p {
        text-align: center;
        margin-top: -5px;
    }
    #blockcart-modal .product-name+p+p>strong {
        display: none;
    }
    
    #blockcart-modal .product-name+p+p:before {content: "x";}
    
    #blockcart-modal .product-name+p+p {
        position: absolute;
        right: 15px;
        top: -30px;
        font-size: 24px;
    }
    #blockcart-modal .cart-content>p:not(.cart-products-count) {
        margin-bottom: 10px;
    }
    .product-information br+br {
        display: none;
    }
    body#product h1[itemprop="name"].h1+.ref{
        text-align: center;
    }
    .modal-body .cart-content-btn {
        text-align: center;
        margin-top: 20px;
    }
    body#checkout section.checkout-step .nav-inline>li.nav-item.active>a {font-size: 24px;color: #000;text-align: center;display: block;}

    body#checkout section.checkout-step .nav-inline>li.nav-item {
        display: block;
    }

    body#checkout section.checkout-step .nav-inline>li.nav-item>span {
        display: none;
    }

    body#checkout section.checkout-step .nav-inline>li.nav-item>a:first-letter {
        text-transform: uppercase;
    }
    body#checkout section.checkout-step .nav-inline>li.nav-item:not(.active)>a {
        display: block;
        text-align: center;
        font-size: 18px;
        margin-top: 6px;
        color: #3387f2;
    }
    html body .form-control-comment {
        top: 0;
        display: block;
        width: 100%;
        text-align: left;
    }
    body button[data-action=show-password] {
        font-size: 0!important;
        height: 37px;
        width: 37px;
        background-image:url(../img/eye.svg)!important;
        background-size:24px!important;
        background-repeat:no-repeat!important;
        background-position:center!important;
    }
    .block-promo .promo-code {
        padding: 1.6rem 10px;
    }
    body#checkout section.checkout-step .forgot-password {
        text-align: center;
        font-size:16px;
    }
    
    body#checkout section.checkout-step .form-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    body#checkout section.checkout-step .form-footer a{
        font-size:16px;
    }
    body#checkout section.checkout-step .form-footer>button{
        margin-bottom:15px;
    }
    body section#content .col-xl-9.col-lg-6.col-md-6.col-sm-6.col-xs-6.col-sp-6.col-rounded.ApColumn+.col-xl-3>.block {
        background: transparent;
        border-radius: 0;
    }
    body#index .row.box-list-category.ApRow.has-bg.bg-boxed>.ApColumn:last-child>.banner-banner {
        display: none;
    }
    html body.page-customer-account #content .no-account {
        font-size: 16px;
    }
    html body.page-customer-account #content .forgot-password {
        font-size: 16px;
        margin: 0;
    }
    html body.page-authentication #page.full-width-page #content-wrapper #main a {
        color: #3387f2;
    }
    .block-promo .promo-input+button {
        padding-left: 10px;
        padding-right: 10px;
    }
    body .product-line-actions>.row {
        display: flex;
        justify-content: space-between;
    }
    
    body .product-line-actions>.row>:empty {
        display: none;
    }
    
    body .product-line-actions>.row>* {
        width: initial;
    }
    body .product-line-grid-right .bootstrap-touchspin {margin: 0;}

    body .product-line-grid-right .price {
        text-align: left;
    }
    html body#checkout .form-control-comment{
        top:0;
    }
    body#checkout .form-group+p {
        margin-top: 25px;
    }
    .slick-slide .thumbnail-container {
        background: transparent;
        text-align: center;
    }
    
    body .thumbnail-container .product-meta {
        text-align: center;
    }
    
    body .thumbnail-container .box-media .product-price-and-shipping {
        padding: 0;
    }
    html body#checkout section.checkout-step .payment-options .payment-option {
        display: flex;
        align-items: center;
        text-align: left;
        height: auto;
    }
    
    html body#checkout section.checkout-step .payment-options label {
        text-align: left;
    }
    body .delivery-option {
        flex-wrap: nowrap;
    }
    .row.carrier-extra-content {
        text-align: center;
    }
    body#identity section#content.page-content>form {
        padding: 0 15px;
    }
    body .cart-grid-body {
        padding: 0;
        margin-top: -5px;
        border: none;
        margin-bottom: 0;
    }
    
    body .product-line-grid-right .qty {
        padding-left: 0;
    }
    
    body .product-line-grid-right .price {
        padding-left: 0;
    }
    
    body .cart-grid-right {
        margin: 0;
        padding: 0;
    }
    body#checkout section.checkout-step .address-item {
        /* flex: 1; */
        width: 100%;
    }
    
    body#checkout section.checkout-step .address-selector {flex-direction: column;}
}
@media(max-width:419px){
    body .slick-slide .thumbnail-container .product-image {
        height: calc(154 * (100vw / 419));
    }
    body .slick-slide .thumbnail-container .product-image>a>img {
        height: 100%;
        display: block;
        width: 100%;
        object-fit: contain;
        background-color:#fff;
        border-radius:4px;
    }
}

@media (max-width:360px) {
    body#checkout #page.full-width-page #content-wrapper #main {
        padding: 5px!important;
    }
    body#checkout section.checkout-step {
        padding: 5px!important;
    }
    body#checkout .h3 {
        font-size: 16px!important;
    }
    .product-line-grid-right .bootstrap-touchspin {
        float: none!important;
        margin: 0 auto;
    }
    .cart-grid-body.col-xs-12.col-lg-8 .btn.btn-primary {
        float: none!important;
        margin: 0 auto;
        display: block;
    }
}