/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
    width: 81px;
    height: 21px;
    padding: 0;
}
.slick-prev.slick-arrow {
    left: -60px;
}
.slick-next.slick-arrow {
    right: -60px;
}
.slick-prev.slick-arrow::before,
.slick-next.slick-arrow::before {
    content: ' ';
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 81px;
    height: 21px;
    display: block;
}
.slick-prev.slick-arrow::before {
    background-image: url(/themes/warehouse/assets/img/arrow-left.svg);
}
.slick-next.slick-arrow::before {
    background-image: url(/themes/warehouse/assets/img/arrow-right.svg);
}
.slick-prev.slick-arrow:hover::before {
    background-image: url(/themes/warehouse/assets/img/arrow-left-hover.svg);
}
.slick-next.slick-arrow:hover::before {
    background-image: url(/themes/warehouse/assets/img/arrow-right-hover.svg);
}

#product .images-container .product-cover {
    border-radius: 5px;
    overflow: hidden;
}
.images-container-bottom .product-images .thumb-container {
    border-radius: 5px;
    overflow: hidden;
}


/** Page CMS spéciale "Nos engagements RSE" */
/** Préfixe "#cms" quand on veut pas que le style soit appliqué sur l'admin dans la preview elementor */
#cms .elementor-section.cards-row {
    margin-top: -150px;
}
#cms .elementor-section.cards-row.first {
    margin-top: 50px;
}
.elementor-column.card {
    border: 0 none;
}
#cms .elementor-column.card > .elementor-column-wrap > .elementor-widget-wrap > .elementor-section > .elementor-container > .elementor-row {
    height: 390px;
    transition: transform 0.25s ease-in-out;
    -webkit-transition: transform 0.25s ease-in-out;
    -moz-transition: transform 0.25s ease-in-out;
    -ms-transition: transform 0.25s ease-in-out;
    -o-transition: transform 0.25s ease-in-out;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
}
/*@media (max-width: 1200px) {
    #cms .elementor-column.card > .elementor-column-wrap > .elementor-widget-wrap > .elementor-section > .elementor-container > .elementor-row {
        height: 430px;
    }
}*/
#cms .elementor-column.card:hover > .elementor-column-wrap > .elementor-widget-wrap > .elementor-section > .elementor-container > .elementor-row {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}
#cms .elementor-column.card .elementor-column.front,
#cms .elementor-column.card .elementor-column.back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 390px;
    /*backface-visibility: hidden;
    -webkit-backface-visibility: hidden;*/
    -webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    visibility:visible;
    backface-visibility: hidden;
    background-color: #fff;
}
/*@media (max-width: 1200px) {
    #cms .elementor-column.card .elementor-column.front,
    #cms .elementor-column.card .elementor-column.back {
        height: 430px;
    }
}*/
#cms .elementor-column.card .elementor-column.back {
    transform: rotateY(180deg);
}
@media (max-width: 1200px) {
    #cms .elementor-column.card .elementor-column.back {
        font-size: 14px;
    }
    #cms .elementor-column.card .elementor-column.back .elementor-heading-title {
        font-size: 22px;
    }
}
@media (max-width: 991px) {
    #cms .elementor-column.card .elementor-column.back {
        font-size: 13px;
        line-height: 18px;
    }
    #cms .elementor-column.card .elementor-column.back > .elementor-column-wrap {
        padding: 0 20px !important;
    }
    #cms .elementor-column.card .elementor-column.back .elementor-heading-title {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    #cms .elementor-column.card .elementor-column.back {
        font-size: 14px;
        line-height: 19px;
    }
    #cms .elementor-column.card .elementor-column.back > .elementor-column-wrap {
        padding: 0 20px !important;
    }
    #cms .elementor-column.card .elementor-column.back .elementor-heading-title {
        font-size: 20px;
    }
}
.elementor-section.cards-row::before {
    display: block;
    content: '';
    width: 10px;
    height: 100%;
    background-color: #f7e165;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}
.elementor-column.center::before {
    display: block;
    content: '';
    width: 50%;
    height: 10px;
    background-color: #f7e165;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.card-left .elementor-column.center::before {
    left: 0;
}
.card-right .elementor-column.center::before {
    right: 0;
}
.elementor-widget.number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.elementor-widget.number a {
    cursor: default !important;
}
.elementor-widget.arbre {
    position: absolute;
    bottom: calc(50% + 3px);
}
.elementor-widget.arbre.left {
    left: -15px;
}
.elementor-widget.arbre.right {
    right: -15px;
}
.elementor-widget.distance {
    position: absolute;
    top: 0;
    left: calc(50% - 50px);
}

@media (max-width: 767px) {
    #cms .elementor-section.cards-row {
        padding: 15px 0;
        margin-top: 0;
    }
    #cms .elementor-section.cards-row.card-left > .elementor-container > .elementor-row {
        flex-direction: row-reverse;
    }
    #cms .elementor-column.card {
        width: 75%;
    }
    #cms .elementor-column.center {
        width: 25%;
    }
    .elementor-section.cards-row::before {
        left: 12.5%;
    }
    .card-left .elementor-column.center::before {
        right: 0;
        left: auto;
    }
    .elementor-widget.arbre {
        display: none;
    }
    .elementor-widget.distance {
        left: calc(50% - 30px);
    }
}


/* Listing produit */
.product-description-short.text-muted {
    white-space: nowrap;
}
.products-selection {
    border-top: 0;
    border-bottom: 0;
    text-transform: uppercase;
}
.iqitreviews-simple {
    color: #669648;
    font-size: .8rem;
}
.iqitreviews-simple .fake-link {
    text-decoration: underline;
    display: inline-block;
    margin-left: 15px;
}
.product-miniature .iqitreviews-nb {
    display: inline;
}

/* Fiche produit */
.row.extra-small-gutters.product-quantity {
    padding: 20px;
}
.def_packing {
    width: 100%;
    position: relative;
}
.def_packing .d-flex {
    width: 100%;
}
.def_packing input {
    border: 2px solid #e2e2e2;
    border-radius: 5px !important;
    padding: 15px;
    max-width: 100px;
    max-height: 45px;
    margin: 0 13px;
    font-weight: 900;
}
.def_packing input.is-invalid {
    border-color: #dc3545;
}
.def_packing .p-top {
    display: block;
    padding-top: 10px;
}
.def_packing .text-muted {
    font-style: italic;
    margin-top: 10px;
    font-size: .7rem;
    margin-left: 13px;
}
.def_packing .col-add-btn {
    margin-top: 15px;
}
.def_packing .add-to-cart {
    text-transform: uppercase;
    margin-top: 0px;
}
.category-products .section-title {
    margin-top: 100px;
    text-align: center;
    display: inline-block;
    font-size: 2.5rem !important;
    padding-bottom: 0.3em !important;
}
.category-products .slick-next, .category-products .slick-prev {
    top: 27%;
}

#back-to-top {
    margin-bottom: 40px;
    z-index: 1000;
}

/* GENERAL */
/* Boutons */
.btn {
    text-transform: uppercase;
}
.product-add-cart .btn {
    padding: .5rem .7rem;
}
/* Fil d'ariane */
#wrapper .breadcrumb li:last-child {
    text-decoration: underline;
}
/* Bouton rechercher (visible en mobile) */
.fa-search:before {
    color: #669648;
}

/* HEADER */
.fa-shopping-bag::before {
  display: block;
  background-image: url("/themes/warehouse/assets/img/picto-panier.svg");
  background-position: center;
  background-repeat: no-repeat;
  content: '' !important;
  width: 19px;
  height: 19px;
}
.fa-user::before {
  display: block;
  background-image: url("/themes/warehouse/assets/img/picto-compte.svg");
  background-position: center;
  background-repeat: no-repeat;
  content: '' !important;
  width: 19px;
  height: 19px;
}

/* FOOTER */
.block-links ul>li,
.contact-rich>* {
    margin-bottom: 1rem;
}

/* PAGE D'ACCUEIL */
/* Slider page d'accueil */
.homeslider-container .caption {
    background-color: transparent;
    padding: 30px;
}
.homeslider-container p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    text-align: right;
}
.homeslider-container p.underline {
    font-weight: 800;
    text-decoration: underline;
}
.homeslider_nav {
    background: #fff9d8;
    border-radius: 4px;
    opacity: 0.9;
    width: 16px;
    height: 16px;
    transition: all .2s linear;
}
.homeslider_nav:hover {
    background: #f7e165;
}
.homeslider_nav.prev {
    background: #f7e165;
    opacity: 1;
    top: unset;
    left: 30px;
    bottom: 30px;
    right: unset;
}
.homeslider_nav.next {
    top: unset;
    left: 55px;
    bottom: 30px;
    right: unset;
}
/* Bloc vert à droite du slider */
.elementor-column.elementor-element.elementor-element-lad3j6o.elementor-col-50.elementor-top-column {
    height: 390px;
}
.elementor-column.elementor-element.elementor-element-lad3j6o.elementor-col-50.elementor-top-column > .elementor-element-populated {
    margin-bottom: 0;
}
.elementor-element.elementor-element-z0puxvy .elementor-widget-container {
    margin-top: 196px !important;
}
.elementor-element.elementor-element-z0puxvy .elementor-widget-container * {
    font-size: 20px !important;
    font-weight: 800 !important;
}
/* Module Découvrez notre gamme */
.def_category .content .menu-cat ul.choice-cat.scrollable-content li.nav-item .link-line {
    right: -70px;
}
/* Module Découvrez notre atelier */
.elementor-element.elementor-element-d7h6pq2 {
    display: none;
}
.section-decouvrez-notre-atelier {
    position: relative;
    margin-top: 60px;
    min-height: 550px;
}
#video-youtube {
    position: relative;
    width: 50%;
    z-index: 2;
}
#decouvrez-notre-atelier {
    position: absolute;
    top: 80px;
    right: 0;
    background-color: #b7e39a;
    background-image: url(../img/background-pin-2.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 60px 100px 60px 160px;
    width: 58%;
    z-index: 1;
}
#decouvrez-notre-atelier h4 {
    display: block;
    box-shadow: none;
    color: #669648;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 40px;
}
#decouvrez-notre-atelier h4 strong {
    box-shadow: inset 0px -34px 0 #FCF3C1;
}
#decouvrez-notre-atelier p {
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 40px;
}
.btn-voir-plus {
    border: solid 2px #fff;
    color: #669648;
    font-weight: 600;
    padding: 14px 30px;
}
.btn-voir-plus:hover {
    background-color: #fff;
    color: #669648;
}

/* PAGE CATALOGUE */
.subcategory-image {
    max-width: 250px;
}
.product-list-subcategories .subcategory-image {
    border: none;
}
.subcategory-name {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
}
.product-list-subcategories .row {
    justify-content: space-evenly;
}
.subcategory-name,
.product-list-subcategories .block-subcategory {
    transition: none;
}
.product-list-subcategories .block-subcategory:hover .subcategory-name {
    border-bottom: solid 2px #f7e165;
    color: #669648;
    font-weight: bold;
}

/* PAGE PRODUIT */
.def_packing .d-flex {
    flex-wrap: wrap;
}
#product-images-large button {
    display: none !important;
}
.img-fluid {
    border-radius: 10px;
}
#iqithtmlandbanners-block-7 img[width="21"] {
    display: none;
}
.product-available {
    background-color: #669648;
}
.def_packing .add-to-cart {
    width: 250px;
}
.def_packing .add-to-cart:hover {
    font-weight: 700;
}

/* PAGE CONTACT */
.contact-page-info .fa.fa-map-marker,
.contact-page-info .fa.fa-phone,
.contact-page-info .fa.fa-envelope-o,
.contact-page-info .fa.fa-youtube::before {
    color: #679648;
}
.contact-page-info hr {
    border-color: hsla(0,0%,63%,.25);
}
.contact-form {
    width: 66.666666%;
    padding: 0 15px;
}
.contact-form .input-group .input-group-btn>.btn {
    border: solid 1px hsla(0,0%,63%,.25);
}
.form-control {
    border-color: hsla(0,0%,63%,.25);
}
.form-control-comment {
 padding-top: .7rem;
}

/* PAGE NOS ENGAGEMENTS */
/* Boutons numérotés */
body#cms .elementor-button-link.elementor-button.btn.elementor-size-medium.btn-secondary.btn-traditional {
    border: transparent;
    width: 50px;
}
/* Texte vertical */
.text-vertical {
    transform: rotate(270deg);
    padding-bottom: 50px;
}

/* PAGE FAQ */
body#module-faqs-display .faqs-card-block {
    border: none;
    box-shadow: none;
    padding: 0;
}
body#module-faqs-display .answer_faq {
    border: solid 10px #f7e165;
    border-radius: 10px;
    box-shadow: none;
}
body#module-faqs-display .m-link-2,
body#module-faqs-display .questions .left-side-icon,
body#module-faqs-display .m-arrow-point-to-right:before {
    color: #669648;
}
body#module-faqs-display .category_name_home_page {
    color: #669648 !important;
}
body#module-faqs-display .category_name_home_page:hover {
    opacity: 1;
}
body#module-faqs-display hr {
    border-color: #b7e39a;
}


/* ------------------------------ */
/* ----------RESPONSIVE---------- */
/* ------------------------------ */

@media screen and (min-width: 1390px) {
    #js-product-list-header .h1.page-title {
        padding: 20px 130px 20px 150px;
    }
    .category-description.category-description-top {
        border-radius: 0 0 10px 10px;
        border-bottom: solid 20px #f7e165;
        border-right: solid 20px #f7e165;
        border-left: solid 20px #f7e165;
        margin-right: auto;
        margin-left: -15%;
        padding: 20px 130px 20px 150px;
        width: 1390px;
    }
}
@media screen and (min-width: 1190px) and (max-width: 1389px) {
    .category-description.category-description-top {
        border-radius: 0 0 10px 10px;
        border-bottom: solid 20px #f7e165;
        border-right: solid 20px #f7e165;
        border-left: solid 20px #f7e165;
        margin-right: auto;
        margin-left: -4%;
        padding: 30px 90px 0px 90px;
        width: 1190px;
    }
}
@media screen and (min-width: 900px) and (max-width: 1189px) {
    .category-description.category-description-top {
        border-radius: 0 0 10px 10px;
        border-bottom: solid 20px #f7e165;
        border-right: solid 20px #f7e165;
        border-left: solid 20px #f7e165;
        padding: 30px 90px 0px 90px;
    }
}
@media screen and (max-width: 1200px) {
    /* Module Découvrez notre gamme */
    .def_category .content .menu-cat ul.choice-cat.scrollable-content li.nav-item .link-line {
        right: -20px;
    }
}
@media screen and (max-width: 1012px) {
    /* Page d'acceuil */
    /* Nos engagements RSE */
    .elementor-column.elementor-element.elementor-element-lad3j6o.elementor-col-50.elementor-top-column {
        height: 350px;
    }
    .elementor-element.elementor-element-z0puxvy .elementor-widget-container {
        margin-top: 116px !important;
    }
    /* Slider "notre catalogue" flèches */
    .elementor-element-3afh6s7 button.slick-arrow {
    display: none !important;
    }
    /* Ne pas afficher les slides précedentes et suivantes */
    .slick-slide {
    opacity: 0.01;
    transition: all .5s linear;
    }
    .slick-slide.slick-active {
    opacity: 1;
    }
    /* Titre des slides */
    .product-miniature-grid .product-title {
    font-size: 1.2rem;
    }
    .products-grid .product-miniature-default .product-title {
    padding-bottom: 0;
    }
    .product-miniature-grid .product-title {
    height: 4.5rem;
    }
    /* Module Découvrez notre gamme */
    .def_category .content .menu-cat ul.choice-cat.scrollable-content {
        flex-direction: column;
    }
    .def_category .content .menu-cat ul.choice-cat.scrollable-content li.nav-item {
        padding-top: 0;
    }
    .def_category .content .menu-cat ul.choice-cat.scrollable-content li.nav-item a {
        padding: 10px 0;
    }
    .def_category .content .menu-cat ul.choice-cat.scrollable-content li.nav-item .link-line {
        display: none;
    }
    /* Vidéo youtube */
    body#index iframe {
    max-width: 100%;
    }
    .section-decouvrez-notre-atelier {
        margin-top: 20px;
    }
    #video-youtube {
        width: 100%;
    }
    #decouvrez-notre-atelier {
        position: relative;
        right: 0;
        top: -50px;
        margin-left: 20%;
        width: 80%;
    }
    /* Page produit */
    /* Boutons livraison et retrait */
    #iqithtmlandbanners-block-7 td {
    width: 100%;
    }
}
@media screen and (max-width: 991px) {
    .def_category {
        margin-bottom: 20px;
    }
    .def_category .content .content-infos .all-infos .wrapper {
        position: relative;
        top: 0px;
        margin-top: 40px;
        margin-left: 60px;
        width: unset;
    }
    .def_category .content .content-infos .all-infos .wrapper .capsule-infos {
        position: absolute;
        top: -40px;
        left: -60px;
    }
    .def_packing .add {
        position: unset !important;
    }
}
@media screen and (max-width: 767px) {
    /* .elementor-element.elementor-element-d7h6pq2 {
    display: block !important;
    } */
    .elementor-element-jin2fc4 {
    margin: 15px;
    }
    /* Page d'acceuil */
    .section-decouvrez-notre-atelier {
        margin-top: 80px;
    }
    #video-youtube {
        margin-left: 15px;
        margin-right: 15px;
    }
    #decouvrez-notre-atelier {
        top: 40px;
        background-image: url(../img/background-pin.svg);
        margin-left: 15px;
        margin-right: 15px;
        padding: 60px;
        width: 100%;
    }
    /* Nos engagements RSE */
    .elementor-column.elementor-element.elementor-element-lad3j6o.elementor-col-50.elementor-top-column {
        height: 250px;
    }
    .elementor-element.elementor-element-z0puxvy .elementor-widget-container {
        margin-top: 60px !important;
    }
}

@media screen and (max-width: 576px) {
    /* Page d'accueil - Slider */
    .homeslider_nav {
    display: none;
    }
    .homeslider-container p {
    text-shadow: rgba(0, 0, 0, 0.5) 0 0 2px;
    }
    /* Page d'accueil - Autres */
    .subtitle{
    line-height: 1;
    margin: 0;
    padding: 20px 0 0;
    }
    .menu-cat h2 {
    line-height: 1;
    margin: 0;
    }
    .def_category .content .content-infos .all-infos .wrapper .capsule-infos {
    width: unset;
    }
    .def_category .content .content-infos .all-infos .wrapper {
    width: unset;
    height: 500px;
    }
    body#index .elementor-element.elementor-element-jin2fc4 > .elementor-element-populated {
    background-image: url(../img/background-pin.svg);
    }
    .def_category .content .menu-cat ul.choice-cat.scrollable-content li.nav-item a {
        font-size: .8rem;
    }
    #decouvrez-notre-atelier {
        padding: 60px 40px;
    }
    .def_category .content .content-infos .all-infos .wrapper {
        background-image: none !important;
        margin-left: 0;
    }
    .def_category .content .content-infos .all-infos .wrapper .capsule-infos {
        left: 0;
    }
    /* Page catalogue */
    .products-grid .product-miniature-default .product-title {
    padding-bottom: 0;
    }
    .products.row>.col, .products.row>[class*="col-"] {
    padding-bottom: 40px;
    }
    /* Page produit */
    .product-miniature-grid .product-title {
        height: 3.5rem;
    }
    /* Page contact */
    .contact-form {
        width: 100%;
    }
    /* Page nos engagements */
    #content-wrapper .page-title {
        font-size: 2rem;
    }
}
