/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: EcloLINK
 Author URI: https://eclolink.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');


img {
    user-drag: none;
    -webkit-user-drag: none;
}
html {
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

.section-flex {
    display: flex;
}
.section-flex-bottom{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ligne-hrzntl-align.center{
    justify-content:center;
}
.ligne-hrzntl-align,
.ligne-hrzntl-align-special .et_pb_row{
    display: flex;
    flex-direction: row;
    align-items:center;
}
.ligne-vrtcl-align {
    display: flex;
    flex-direction: column;
    align-items:center;
}
.ligne-flex {
    display: flex;
}
.ligne-vrtcl{
    isplay: flex;
    flex-direction: column;
}

.ligne-flex.bottom {
    align-items: flex-end;
}

.gap-20{
    gap:20px;
}
.gap-5{
    gap:5px;
}
.gap-10{
    gap:10px;
}
.full-height-img,
.full-height-img .et_pb_image_wrap,
.full-height-img .et_pb_image_wrap img,
.full-height-module,
.full-height-module .et_pb_code_inner{

    height:100%
}
.full-height-img .et_pb_image_wrap img{
    object-fit: cover;
}

@media screen and (max-width:980px){
    .ligne-hrzntl-align,
    .ligne-flex {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .gap-20{
        gap:10px;
    }
}

.h1,.h2,.h3,.h4,.h5,.h6{
    font-family: 'Montserrat', sans-serif;
}
.h1{
    font-size: clamp(1.75rem, 2vw + 1rem, 3rem); !important;
    text-transform: uppercase;
}

.h2{
    font-size: clamp(2rem, 2.5vw + 1rem, 3.4375rem); !important;
    font-family:"Dancing Script", cursive;
    line-height: 1.3em;
}
.h2.montserrat{
    font-size: clamp(1.5rem, 1.5rem + 1.25vw, 3rem);
    font-family:"Montserrat", sans-serif;
    text-transform: uppercase;
}
.h3{
    font-size: clamp(1.5rem, 1.5rem + 1.25vw, 3rem); !important;
    line-height: 1.3em;
}
.h4{
    font-size: clamp(1.25rem, 0.9606rem + 1.1574vw, 2.8125rem) !important;
    line-height: 1.3em;
}
.h5{
    font-size: clamp(1.0625rem, 0.8889rem + 0.6944vw, 2rem) !important;
    line-height: 1.3em;
}
.h6{
    font-size: clamp(0.9375rem, 0.8493rem + 0.353vw, 1.414rem) !important;
    line-height: 1.3em;
}


.h2.rs {
    color: #3A554E;
}

.nom-latin{
    text-transform: uppercase;
    font-style: italic;
    font-size: clamp(0.9375rem, 0.8493rem + 0.353vw, 1.414rem) !important;
}

.upper.h6{
    font-weight: 800;
    text-transform: uppercase;
}


.infos-aliment b {
    text-transform: uppercase;
    color:#407F00;
}

.badge-text{
    padding: 7px 14px !important;
    background-color: #B38900;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    width: fit-content;
}
.badge-text.black{
    color: #000;
}
a.btn-be-boutique.et_pb_button {
    padding: 0 !important;
}
a.btn-be-boutique.et_pb_button:after{
    content: "";
    display: block;
    opacity: 1;
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    margin: 0;
    right: 0;
    background-color: #3A554E;
    transition: all 700ms ease-in-out ;
}
a.btn-be-boutique.et_pb_button:hover{
    background-color: transparent;
    font-weight: 600;
    padding: 0 !important;
}
a.btn-be-boutique.et_pb_button:hover:after{
    width: 0;
}
a.btn-be-boutique.blanc.et_pb_button:after{
    background-color: #fff;
}





    /*accueil*/

/*page de la boutique*/

.le-saviez-vous .h6 {
    text-transform: uppercase;
    color: #B38900;
    font-weight: 800;
}

/*actualites*/

.actu-category-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #EAEAEA;
    border-top: 1px solid #EAEAEA;
    flex-wrap: wrap;

    button.actu-category-title {
        padding: 5px 10px;
        background: transparent;
        cursor: pointer;
        border: none;
        border-radius: 2px;
        display: flex;
        align-items: center;
        gap: 10px;
        svg{
            height: 15px;
        }
    }
    button.actu-category-title:hover,
    button.actu-category-title.active{
        background: #B38900;
        color: #ffffff;
        svg path{
            stroke: #ffffff;
        }
    }
}

.actu-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    a.actu-item {
        width: calc(33.33% - 20px);
        background: #F7F7F7;
        color: #000000;

        img.actu-image {
            height: 17vw;
            width: 100%;
            object-fit: cover;
        }

        .categories-date-wrapper {
            display: flex;
            gap: 5px;
            margin-bottom: 20px;
            text-transform: uppercase;
            color:#407F00;
            flex-wrap: wrap;
        }

        .actu-textes {
            padding: 40px;

            h3{
                font-family: 'Dancing Script', cursive;
                color: #B38900;
                font-size: clamp(1.5rem, 1.5rem + 1.25vw, 3rem); !important;
            }
            
            .actu-btn-wrapper{
                margin-top: 30px;

                .actu-btn {
                    width: fit-content;
                    padding: 5px 10px;
                    color: white;
                    background-color: #407F00;
                    transition: all 500ms ease-in-out;
                }
                .actu-btn:hover {
                    background-color: #363E45;
                }
            }
        }
    }

    a.actu-item.inactive{
        display: none;
    }
    a.actu-item.active{
        display: block;
    }

}

@media screen and (max-width:1100px){
    .actu-wrapper a.actu-item {
        width: calc(50% - 20px);

    }
}
@media screen and (max-width:700px){
    .actu-wrapper a.actu-item {
        width: 100% ;
        img.actu-image {
            height: 30vw;
        }
    }
}

/* contact*/

.contact-form {
    .flex {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .flex.column {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    label.half {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

    label.full {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    label.half.tel {
        max-width: 140px;
    }

    label.half.nom-prenom {
        max-width: 240px;
    }

    label input,
    label.full textarea{
        width: 100%;
        padding: 15px;
        background: #F7F7F7;
        border :none;
    }

    .wpcf7-list-item input{
        width: fit-content;
    }
    span:has(.rgpd) {
        margin: 0 0 20px;
        font-size: 14px;
        line-height: 1.4em;
    }
    .infos-supp{
        color: #777B80;
        font-size: 12px;
        line-height: 1.4em;
        margin-bottom: 20px;
    }
    .btn-send-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    button.btn-send {
        width: fit-content;
        border-radius: 0;
        text-transform: uppercase;
        padding: 12px;
        background: #fff;
        cursor: pointer;
        color: #3A554E;
    }

    button.btn-send:disabled {
        color: #b8b8b8;

    }
    button.btn-send:hover {
        border-radius: 0;
        padding: 12px;
        color: #3A554E;
        background: #fff;

    }


    button.btn-send:after{
        content: "";
        display: block;
        opacity: 1;
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: 0;
        margin: 0;
        right: 0;
        background-color: #3A554E;
        transition: all 700ms ease-in-out ;
    }
    button.btn-send:hover:not(:disabled){
        background-color: transparent;
        font-weight: 600;
    }
    button.btn-send:hover:not(:disabled):after{
        width: 0;
    }

    span.option-message {
        font-style: italic;
    }


}

/*ajax buttons cart*/
.xoo-cp-btns {
    display: flex
;
    align-items: center;
}
a.xcp-btn{
    padding: 8px;
}


a.xoo-cp-btn-vc.xcp-btn {
    background: #3A554E;
    border: none;
}

a.xoo-cp-btn-ch.xcp-btn{
    background: #C39910;
    border: none;

}
a.xoo-cp-close.xcp-btn{
    background: #407F00;
    border: none;
}

.xoo-cp-qtybox, input[type=number].xoo-cp-qty {
    border: none;
    background: #F7F7F7;
}

span.xcp-plus, span.xcp-minus{
    border: none;
}

@media screen and  (max-width:1200px){
    .btn-chalon .et_pb_button_module_wrappers.et_pb_button_alignment_left{
        text-align: center !important;
    }
    body #page-container .et_pb_section .btn-chalon .et_pb_button_module_wrappers.et_pb_button_alignment_left .et_pb_button_two{
        margin-left: 0 !important;
    }

    .double-column-tablet,
    .double-column-tablet .et_pb_row{
        display: block !important;

        .et_pb_column_1_2{
            width: 100% !important;
            margin-bottom: 3%;
        }
    }
    .triple-column-tablet {
        display: block !important;

        .et_pb_column_1_3{
            width: 100% !important;
            margin-bottom: 3%;
        }
    }
    .four-column-tablet,
    .four-column-tablet.et_pb_gutters2.et_pb_row{
        flex-wrap: wrap;

        .et_pb_column_1_4 {
            width: calc(47%);
            margin-bottom: 3%;
        }
    }
}

@media screen and (max-width:1300px){

    .et_pb_row_0{
        background-image: none !important;
    }
}
@media screen and (max-width:960px){
    .contact-form .flex {
        flex-direction: column;
    }
    .contact-form label.half {
        width: 100%;
    }
}

@media screen and (min-width:980px) and (max-width: 1100px){
    #top-page-header.tablet-on    {
        display: block;
        .et_pb_column.et_pb_column_1_2.et_pb_column_0 .full-height{
            display: block!important;
        }
        .et_pb_column.et_pb_column_1_2.et_pb_column_0{
            width: auto;
        }

        .deco-left {
            justify-content: flex-start;
        }
        .et_pb_column_1{
            display: none !important;
        }
    }
}



@media screen and (max-width:980px){
    .et_pb_row.ligne-hrzntl-align  .et_pb_column_1_2:has(.et_pb_text){
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .ligne-hrzntl-align-special .et_pb_row{
        flex-direction: column;

        .ligne-hrzntl-align .et_pb_column_1_4{
            width: 100%;
        }
    }

    body.theme-Divi #page-container .et_pb_section .dsm_button_0 .et_pb_button_two.et_pb_button {
        margin-left: 0 !important;
    }

    .et_pb_row_0{
        background-size: 100%!important;
    }

}


@media screen and (max-width:500px){

    .xoo-cp-btns {
        flex-direction: column;
    }
}


.wp-block-woocommerce-cart-order-summary-shipping-block.wc-block-components-totals-wrapper {
    display: none;
    visibility: hidden;
    opacity: 0;
}


