/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
* {
    box-shadow: none !important;
}

img {
    width: 100%;
    height: auto;
}


/*
 Header
 */
#_desktop_logo {
    width: auto;
    margin: auto;
    float: none;
}

#_desktop_logo img {

}


.zone_menu {
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}
.row_menu {

}
.top-menu {

}

.js-top-menu-bottom {
    display: none;
}

@media (max-width: 767px) {

    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #fff;
    }
    #wrapper {
        margin-top: 120px;
    }
    .header-top .container .row {
        grid-template-columns: 100%;
    }

}

.header-banner {
    border-bottom: solid 1px rgb(210, 210, 210);
    width: 800px;
    max-width: 100%;
    margin: auto;
    text-align: center;
}

.header-banner img {
    max-width: 100%;
    margin: auto;
}

.banner {
    display: block;
    margin: auto;
    text-align: center;
}

.banner img {
    max-width: 100%;
    margin: auto;
}

#search_widget {
    margin-bottom: 10px;
}


.page-home .banner {
    border-top: solid 1px #1c2831;
    border-bottom: solid 1px #1c2831;
}

.page-home .banner img {
    width: fit-content;
    height: auto;
    margin: auto;
}


.search-widget form input[type=text] {
    min-width: 200px;
}

.search-widget form button[type=submit] {

}

/*
 Contenu
 */
#wrapper {
    background: #ffffff;
}
.tabs {
    padding: 0;
}

/*
 Fiche produit
 */
.tax-shipping-delivery-label {
    display: none;
}

.block-category {
    border: none;
    margin: 0 auto;
    padding: 0;
}

.block-category h1 {
    margin: 0 auto;
    text-align: center;
    display: none;
}

.block-category .block-category-inner .category-cover img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.category .js-sub-menu {
    border: solid 1px rgb(150, 150, 150);

}

#_desktop_logo {
    position: relative;
    top: -18px;
}

.h5, h5 {
    font-size: 1.5rem;
}

@media (max-width: 1000px) {

    #_desktop_logo {
        top: 0;
    }

}

#menu-icon {
    position: relative;
    top: 9px;
}

#menu-icon i {
    font-size: 30px;
}

@media (max-width: 767px) {

    #menu-icon {
        position: relative;
        top: 0;
    }

    #header .header-nav .top-logo {
        padding-top: 0;
    }

    .category .js-sub-menu {
        border: none;

    }
}

#block-newsletter-label {
    display: none;
}
.block_newsletter {
    float: none;
    margin: auto;
}
.block_newsletter .row {
    margin: auto;
}
.block_newsletter .row div {
    float: none;
    margin: auto;
    width: auto;
}



.block_content.cmcicpaiement {
    width: fit-content;
    margin: auto;
}


/* listes produits */
.products {
    display: flex;
    justify-content: space-around !important;
}

@media(max-width: 767px) {
    .products {
       /* display: grid !important;*/
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 10px;
    }

    .products .product-miniature {
        margin: 0 auto 10px;
    }

    .thumbnail-container {
        max-width: 42vw;
        height: 40vw;
    }

    .product-miniature .product-description {
        width: auto !important;
    }

    #custom-text {
        padding: 0;
    }
}

#left-column {
    padding: 0;
}


.block-categories {
    padding: 0;
}

.product-cover {
    margin: 0 0 20px auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: #000 solid 1px;
    overflow: hidden;
}

.mask {
    margin: 0 0 0 auto;
    text-align: right;
}

.diapo {
    display: inline-block;
    width: fit-content;
    height: fit-content;
    border: solid 1px #000;

}

.product-cover .layer {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 5%;
    width: 100%;
    height: 100%;
    text-align: center;
    cursor: pointer;
    background: #000;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
}
.product-cover .layer:hover {
    opacity: 1;
}
.product-cover .layer .zoom {
    color: rgb(180, 0, 0);
    background: transparent;
    font-size: 30px;
}

.dropdown-submenu {
    font-size: 1rem;
}
