/* CS Theme 0.14.0 — utilities/responsive
 * Ordre de cascade conservé depuis la 0.13.0. Voir docs/CSS-0.14.0.md.
 */

html,
body {
    width: 100%;

    overflow-x: hidden;
}

img,
video,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}

main,
section,
article,
.container,
.row,
[class*="col-"] {
    min-width: 0;
}

.container {
    width: 100%;

    max-width:
        var(--cs-container-max);

    margin-left: auto;
    margin-right: auto;

    padding-left:
        var(--cs-page-gutter);

    padding-right:
        var(--cs-page-gutter);
}

@media (max-width: 767.98px) {

    :root {
        --cs-page-gutter: 16px;
    }

}

@media (max-width: 374.98px) {

    :root {
        --cs-page-gutter: 12px;
    }

}

.page-title,
.page-title-section {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {

    .page-title,
    .page-title-section {
        font-size: 21px;
        line-height: 1.25;
    }

}

@media (max-width: 575.98px) {

    .page-title,
    .page-title-section {
        font-size: 19px;
    }

}

@media (max-width: 767.98px) {

    .cs-header-main,
    .cs-header-main__container,
    .cs-header-main__row {
        width: 100%;
    }


    .cs-header-main__row {
        min-height:
            var(--cs-mobile-header-height);
    }


    .cs-header-main__logo {
        min-width: 0;
    }


    .cs-header-main__logo img {
        width: auto;
        height: auto;

        max-width: min(125px, 100%);
        max-height: 46px;

        object-fit: contain;
    }


    .cs-header-main__search,
    .cs-header-mobile__account,
    .cs-header-mobile__cart {
        min-width: 0;
    }

}

@media (max-width: 374.98px) {

    .cs-header-main__logo img {
        max-width: 90px;
    }

}

@media (max-width: 991.98px) {

    .cs-megamenu-mobile {
        max-height: 100vh;
        max-height: 100dvh;

        overflow-y: auto;

        overscroll-behavior: contain;
    }


    .cs-megamenu-mobile__body {
        min-height: 0;
    }

}

body.cs-menu-open {
    overflow: hidden;
}

.cs-hero,
.cs-hero__viewport,
.cs-hero__media {
    max-width: 100%;
}

.cs-hero__media img,
.cs-hero__media video {
    display: block;

    width: 100%;
}

@media (max-width: 767.98px) {

    .cs-hero__content-inner {
        max-width: 100%;
    }


    .cs-hero__copy {
        max-width: 100%;
    }

}

@media (max-width: 767.98px) {

    .cs-reassurance__list {
        min-width: 0;
    }


    .cs-reassurance__item,
    .cs-reassurance__content,
    .cs-reassurance__text {
        min-width: 0;
    }

}

#new-products .products,
#best-sales .products,
#prices-drop .products,
#manufacturer .products,
#supplier .products,
#search .products {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        48px
        28px;
}

#new-products .products .product-miniature,
#best-sales .products .product-miniature,
#prices-drop .products .product-miniature,
#manufacturer .products .product-miniature,
#supplier .products .product-miniature,
#search .products .product-miniature {
    width: 100%;
    min-width: 0;

    margin: 0;
}

@media (
    min-width: 768px
)
and (
    max-width: 1199.98px
) {

    #new-products .products,
    #best-sales .products,
    #prices-drop .products,
    #manufacturer .products,
    #supplier .products,
    #search .products {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}

@media (max-width: 767.98px) {

    #new-products .products,
    #best-sales .products,
    #prices-drop .products,
    #manufacturer .products,
    #supplier .products,
    #search .products {
        grid-template-columns:
            minmax(0, 1fr);

        gap:
            36px
            0;
    }

}

.cs-catalog-toolbar,
.cs-catalog-toolbar__info,
.cs-catalog-toolbar__actions,
.cs-catalog-filters,
#search-filters {
    min-width: 0;
}

@media (max-width: 767.98px) {

    #search-filters {
        width: 100%;

        overflow: visible;
    }


    .cs-sort__menu {
        max-width:
            calc(
                100vw
                -
                2 * var(--cs-page-gutter)
            );
    }

}

.cs-product-card,
.cs-product-card__inner,
.cs-product-card__media,
.cs-product-card__image-stack {
    min-width: 0;
}

@media (hover: none) {

    

    .cs-product-card__image--secondary {
        display: none !important;
    }

}

@media (max-width: 767.98px) {

    .cs-product-card__sizes-overlay {
        max-width: 100%;
        padding: 3px;
    }

}

@media (
    min-width: 768px
)
and (
    max-width: 991.98px
) {

    #product .cs-product-main {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 34px;
    }

}

.cs-product-main
.product-variant,
.cs-product-main
.product-variant__attributes {
    min-width: 0;
}

@media (max-width: 575.98px) {

    .cs-product-main
    .product-variant {
        flex-wrap: wrap;

        row-gap: 8px;
    }


    .cs-product-main
    .product-variant__legend {
        width: 100%;
        min-width: 0;

        padding-top: 0;
    }


    .cs-product-main
    .product-variant__attributes {
        width: 100%;
        flex-basis: 100%;
    }

}

.cs-product-gallery,
.cs-product-gallery__carousel,
.cs-product-gallery__slides,
.cs-product-gallery__slide {
    min-width: 0;
}

@media (max-width: 767.98px) {

    .cs-product-gallery {
        width: 100%;

        overflow: hidden;
    }


    .cs-product-gallery__main,
    .cs-product-gallery__carousel {
        width: 100%;
    }

}

@media (max-width: 767.98px) {

    .cs-product-modal__dialog {
        max-height: 100dvh;
    }


    .cs-product-modal__image {
        max-width: 100%;

        max-height:
            calc(
                100dvh
                -
                40px
            );
    }

}

@media (max-width: 767.98px) {

    .cs-product-main
    .product__add-to-cart-button {
        width: 100%;

        min-height: 50px;
    }

}

.cs-related-products,
.cs-related-products__track,
.cs-related-products__item {
    min-width: 0;
}

@media (max-width: 767.98px) {

    .cs-related-products__track {
        scroll-padding-left:
            var(--cs-page-gutter);
    }


    .cs-related-products__arrow {
        display: none;
    }

}

@media (max-width: 767.98px) {

    .cs-mini-cart__panel {
        max-height:
            calc(
                100dvh
                -
                var(--cs-mobile-header-height)
                -
                18px
            );

        overflow: hidden;
    }


    .cs-mini-cart__body,
    .cs-mini-cart__products {
        min-height: 0;

        overscroll-behavior: contain;
    }

}

@media (max-width: 575.98px) {

    .cs-mini-cart__actions {
        grid-template-columns:
            1fr;
    }

}

@media (max-width: 991.98px) {

    #checkout
    .checkout-grid__aside-wrapper {
        position: static;

        top: auto;
    }

}

@media (max-width: 575.98px) {

    #checkout
    .delivery-option,

    #checkout
    .payment-option {
        padding:
            12px
            10px;
    }


    #checkout
    .payment-option label {
        align-items: flex-start;
    }


    #checkout
    .payment-option img {
        max-width: 80px;
    }

}

.cs-footer-main__columns > *,
.cs-footer-column,
.cs-footer-main__account {
    min-width: 0;
}

.cs-footer-column__link,
.cs-footer-main__account a {
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {

    .cs-footer-main {
        padding-top: 28px;
    }


    .cs-footer-main__columns {
        gap: 5px;
    }

}

@media (max-width: 575.98px) {

    .cs-newsletter__field {
        grid-template-columns:
            minmax(0, 1fr);
    }


    .cs-newsletter__input {
        min-height: 48px;

        border-right:
            1px solid
            rgba(
                50,
                35,
                26,
                0.38
            );
    }


    .cs-newsletter__submit {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }

}

.account-menu--sidebar,
.page-content--customer {
    min-width: 0;
}

@media (max-width: 767.98px) {

    .account-menu--sidebar {
        width: 100%;
    }

}

@media (max-width: 374.98px) {

    #my-account
    .account-menu--main {
        grid-template-columns:
            minmax(0, 1fr);
    }

}

#history
.table-wrapper,

#order-detail
.table-wrapper,

#history
.table-responsive,

#order-detail
.table-responsive {
    max-width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling:
        touch;
}

@media (max-width: 767.98px) {

    #history
    table,

    #order-detail
    table {
        min-width: 680px;
    }

}

.page-content--cms {
    overflow-wrap: break-word;
}

.page-content--cms img,
.page-content--cms iframe,
.page-content--cms video {
    max-width: 100%;
}

.page-content--cms iframe {
    width: 100%;
}

@media (max-width: 767.98px) {

    .page-content--cms {
        overflow-x: hidden;
    }


    

    .page-content--cms
    .table-responsive {
        max-width: 100%;

        overflow-x: auto;
    }

}

@media (max-width: 767.98px) {

    .cs-mini-cart__close,
    .cs-mini-cart-product__remove,
    .cs-megamenu-mobile__trigger,
    .cs-header-mobile__account a,
    .cs-header-mobile__account button,
    .cs-header-mobile__cart a,
    .cs-header-mobile__cart button {
        min-width: 40px;
        min-height: 40px;
    }

}

@media (max-width: 767.98px) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

}

@media (
    prefers-reduced-motion:
    reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}

html {
    scroll-padding-top:
        110px;
}

@media (max-width: 767.98px) {

    html {
        scroll-padding-top:
            calc(
                var(--cs-mobile-header-height)
                +
                12px
            );
    }

}
