/*
Theme Name: BMP Theme
Author: BMP @ Saint-Camille
Description: Theme for default site deploiement, whcich allow default customization for client who wants a speed and easy deployment of personnal website style 
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Version: 1.1
Template: Divi
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bmp-theme
Domain Path: /languages
*/
/*
* Theme Name: BMP Theme
* Author: BMP @ Saint-Camille
* Text Domain: bmp-theme
* Domain Path: /languages
*/
/* HIDE ADMIN BAR */

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}
#main_menu li a{
    font-size: 1.3em!important;
}
.main_menu_container #main_menu li:nth-of-type(4) a{
    background-color: #e20414!important;
    color: white!important;
    border-radius: 4px!important;
    display: flex;
    transition: all .2s;

}
.main_menu_container #main_menu li:nth-of-type(4) a::after{
    content: "\F285";
    font-size: 1.2em;
    opacity: 0;
    max-width: 0;
    font-weight: 1000;
    font-family: bootstrap-icons;
}
.main_menu_container #main_menu li:nth-of-type(4) a:hover{
    color: white!important;
    padding-right: 1.7rem!important;
    padding-left: .5rem!important;
    transition: all .2s;
}
.main_menu_container #main_menu li:nth-of-type(4) a:hover::after{
    opacity: 1;
    transform: translateX(1.2rem)!important;
    max-width: 50px;
    transition: all .2s;
}

/* ADMIN DIVI */

/* Titres h1 et h2 médiathéque */
html .media-modal.wp-core-ui .media-frame-title h1,
html .media-modal.wp-core-ui .media-frame-title h2, 
html .media-modal.wp-core-ui .media-sidebar h1, 
html .media-modal.wp-core-ui .media-sidebar h2 {
    font-size: 22px!important;
    color: inherit!important;
    font-style: normal!important;
    text-decoration: none!important;
    text-transform: none!important;
    font-family: inherit!important;
    font-weight: inherit!important;
    letter-spacing: inherit!important;
}
/* Onglets médiathéque */
.media-frame-router{
    top: 65px !important;
}
/* Conteneur médiathéque */
.media-frame-content {
    top: 100px !important;
}

/* Filtres médiathéque */
.media-modal-content .media-frame select.attachment-filters {
    margin-top: 42px !important;
}

/* END ADMIN DIVI */

h1{
    font-family: "Roboto"!important;
    font-size: 60px!important;
    line-height: 79px!important;
    font-weight: 900!important;
    letter-spacing: 0.1rem !important;
    color: black!important;
}
h2{
    font-family: "Roboto"!important;
    font-size: 28px!important;
    font-weight: 900!important;
    color: black!important;
}
h3{
    font-family: "Roboto"!important;
    font-size: 20px!important;
    font-weight: 500!important;
    color: black!important;
}
p{
    font-family: "Roboto"!important;
    font-size: 16px!important;
    color: #707070!important;
    font-weight: 300!important;
}
a{
    font-family: "Roboto"!important;

}
.main-content{
    padding-top: 1.8rem;
}
@media (max-width: 1080px){
    .category-article{
        padding-left: .2rem!important;
    }
    .photo-gallery-section{
        margin-left: .2rem!important;
        width: calc(100% - .2rem) !important;

    }
    .product-container{
        padding-left: .2rem!important;
    }
}
@media (max-width: 900px){
    h1{
        font-size: 3rem!important;
    }
}
@media (max-width: 865px){
    .photo-gallery-section{
        margin: unset!important;
        width: 100%!important;
    }
}
@media (max-width: 700px){
    h1{
        font-size: 3rem!important;
        line-height: 3rem!important;
    }
}
@media (max-width: 600px){
    h1{
        font-size: 2.2rem!important;
        line-height: 2.2rem!important;
    }
    #featured_section{

    }
}
#main-content{
    min-height: calc(100vh - 260px);
}
#featured_section{
    min-height: calc(100vh - 114px)!important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.main-content{
    padding: .7rem;
    padding-block: 1.7rem;
    padding-inline: 2.4rem;
   
    display: flex;
    justify-content: center;
}
.main-content > div ~ div{
    max-width: min(100% , 1600px) ;
}
footer{
   z-index: 2200;
   position: relative;
}
footer img{
    width: auto!important;
}
.otgs-development-site-front-end{
    display: none;
}
hr{
    width: 100%;
    color: #d3d3d3!important;
    margin-block:.3rem!important;
    

}
footer p{
    font-family: "Roboto"!important;
    font-size: 16px!important;
    color: #d3d3d3!important;
    font-weight: 300!important;

}
footer div{
    font-family: "Roboto"!important;
    font-size: 16px!important;
    color: #d3d3d3!important;
    font-weight: 300!important;

}
.filter-list{
    justify-content: flex-start;
    height: auto;
}
.filter-list h2{
    width: 100%;
    text-align: left;
    padding-left: .5rem;
}
.filter-list li{
    margin: 0;
    width: 70px;
    height: 100px;
    filter: saturate(0%);
    flex-direction: column;
    display: flex;
    max-height: unset!important;

}
.filter-list li.active{
    filter: brightness(1);
}
.filter-list li.active:hover{
    filter: unset!important;
}
.filter-list li a{
    padding: .2rem;
    display: flex;
    flex-direction: column;
    margin: 0;
    cursor:pointer;
    width: 100%;
}
.filter-list li:hover{
    background-color: unset!important;
    filter: saturate(2);
    transition: filter .5s;
}
.filter-list li p{
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .8rem!important;

}
.filter-list li img{
    max-width: 56px;
    aspect-ratio: 1;
    border-radius: 12px;
}
.main_menu_container{
    width: 100%!important;
    margin-left: 2rem;
    justify-content: flex-start;

}
#theme-header > span{
    padding-block: .7rem!important;
    padding-inline: .4rem!important;
    gap:.4rem;
    width: 100%;
}
header ul .wpml-ls-item{
    display: none;
}
#page-container{
    padding: 0!important;
}
.language-selector{
    min-width: 95px;
    min-height: 40px;
    border-left: .2px solid black;
    display: flex;
    align-items: center;
    margin-left: auto;
}
.language-selector > div{
    padding: 0;
}
.language-selector ul{
    gap: 2px;
    
}
.language-selector .wpml-ls-legacy-list-horizontal .wpml-ls-item{
    min-height: 25px;
    align-items: center;
    display: flex;
    aspect-ratio: 1;
    justify-content: center;
}
.language-selector .wpml-ls-legacy-list-horizontal .wpml-ls-item-fr::after{
    content: "/";
    width: 0;
    color: #707070!important;
}
.language-selector ul li{
    display: flex;
    align-items: center;
}
.language-selector ul li a{
    padding: 0;
    padding-inline: .4rem;
}
.language-selector ul li span{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em!important;
}
#main_menu{
    justify-content: unset;
}
.searchform{
    background-color: white;
    height: 90px;
    display: flex;
    align-items: center;
    
}
.sub-menu li, a {
    margin: 0;
}
.first_container_list{
    height: auto;
}
.sub-menu.open{
    display: flex;
    flex-direction: column;
    padding: 0;
    position: absolute;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow: unset;
    min-width: 250px;

}
.sub-menu a{
    width: 100%;
}
.sub-menu.open li{
    width: 95%;

    padding: 0;
}
#frame-menu-form{
    position: absolute;
    top:0;
    left:0;
}
.frame-ico{
    width:80px;
    overflow: visible;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
#featured_section h1{
    text-transform: uppercase;
    line-height: 2.5rem;
}
.main_logo{

}
.toast-container{
    display: flex;
    justify-content: end;
    padding-inline: 6.4px!important;
}
.toast{
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: .7rem!important;
    border-radius: 12px;
    border: .7px solid white;
    color: white!important;
}
.toast-header{
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-family: "Roboto"!important;

}
.toast-header .bi-x{
    font-size: 35px!important;
    height: 35px;
    width: 35px;
    display: inline-block;
    position: absolute;
    margin-left: 120%;
    margin-top: -5px;
    cursor:pointer;
}
.toast h2{
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
.toast hr{
    color: white;
    margin-inline: auto;
    width: calc(100% + 1.4rem);
    margin-left: -.7rem;
    
}
.responsive-filter{
    display:none;
}
.flash-icons-container{
    display: flex;
    justify-content: center!important;
    align-items: center!important;
}
.contact-action{
    position: fixed;
    right: 0;
    flex-direction: column;
    display: flex;
    gap: 1.2rem;
    z-index: 2300;
}
.contact-action button{
    width: 60px;
    height: 48px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border: unset;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
    background-color: #F4F4F4;
}
#et_pb_contact_form_0 form{
    min-height: 650px;
    justify-content: space-evenly;
    display: flex;
    flex-direction: column;
}
#et_pb_contact_form_0 form::after{
    display: none!important;
}
#google-map{
   
}
#google-map iframe{
    border-radius: 12px;
    margin-inline: auto;
}
#et_pb_contact_form_0 form input,textarea{
    background-color: unset!important;
    border-bottom: .7px solid #707070!important;
    padding: .7rem!important;
    padding-inline: .2rem!important;
}
#et_pb_contact_form_0 textarea{
    min-height: 94px!important;
}
#et_pb_contact_form_0 .et_contact_bottom_container{
    float:left!important;

}
.category_card_list{
    line-height: 1.2rem;
    padding-left: 42px;
    width: 100%;
}
.category_card_list li{
    margin-bottom: .7rem;
    max-width: 1000px;
    margin-inline: auto;
}
.category_card_list li img{
    border-radius: 12px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.category_card_list li:nth-of-type(2n + 1){
    
    border-radius: 12px;
}
.category_card_list li:nth-of-type(2n + 1) img{
    border-radius: 12px 0 0 12px!important;
}
.category_card_list li:nth-of-type(2n + 1) .category_card{
    flex-direction: row-reverse;
}
.category_card_list li:nth-of-type(2n + 1) .category_card div{
    padding-inline: .7rem;
}
.category_card_list li:nth-of-type(2n + 1) .category_card div:has(img){
    padding: 0!important;
}
.category_card{
    display: flex!important;
    gap:1.2rem;
    max-height:350px;
}
.category_card > div{
    width: 50%;
    overflow: hidden;
    padding-inline: .7rem;
    padding-block: .7rem;
   

    display: flex;
    justify-content: center;
    flex-direction: column;
}
.category_card > div p{
    max-height: 120px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.category_card > div:has(img){
    padding: 0;
}
.category_card > div:first-of-type h2{
    margin-bottom: 1.5rem;
}
.category_card > div:first-of-type p{
    margin-bottom: 1.3rem;
}
.category_card > div:first-of-type a{
    width:fit-content;
}
.category_card img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;;

}
.product-container-img img{
    cursor: pointer!important;
}
.information-btn{
    cursor: pointer;
}
.page-action{
    position: fixed;
    right: 0;
    bottom: 92px!important;
    z-index: 20000;
    width: 60px;
    height: 45px;
    border-radius: 4px;

}
.page-action button{
    font-size: 32px;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    padding:0!important;
    background-color: #F4F4F4;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;

    border: 0;
    color: #e20414;
    transition: all .2s;
    pointer-events: none;
    opacity: 0;

}
.page-action button[data-open]{
    opacity: 1;
    transition: all .2s;
    pointer-events: auto;
}
.page-action button .bi-chevron-up{
    font-size: 45px;
    display: flex;
    max-height: 45px;
    justify-content: center;
    align-items: center;
}

.page-action button:hover{
    background-color: #e20414;
    color: white;
    transition: all .2s;
}
#page-container #theme-header-product{
    background-color: transparent!important;
    border-bottom: 0!important;
    min-width:300px!important;
    z-index: 400!important;
    height:min-content!important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: sticky;
    top: calc(120px + .7rem)!important;

}

#theme-header-product > ul{
    width: 100%;
    height:auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: .7rem;
}
#theme-header-product #main_menu{
    flex-wrap: nowrap!important;
}
#theme-header-product a{
    padding:0!important;
    text-align: initial;
}
#theme-header-product li .product-category-icon ~ a, #theme-header-product .no-icon-link a{
    margin-left: .7rem;
    height:auto;
}
#theme-header-product .no-icon-link a{
    margin-left: .2rem;
}

.no-icon-link > a{
    width:calc(100% - 40px - .7rem );
}
#theme-header-product li{
    margin: 0;
    display:flex;
    width: 100%;
    min-height:40px;
    flex-wrap:wrap;
    height:auto!important;
    max-height:unset!important;
    margin-bottom:.6rem;
}
#theme-header-product > li > a{
    width: calc(100% - 40px - .7rem);
}
#theme-header-product li.first-no-icon{
    margin-top: .7rem;
}
.creation_types{
    padding-left: calc(40px + 2.2rem);
    max-height: 12rem;
    transition: max-height .3s ease;
    overflow: hidden;
    display: inline-block;
    height:min-content;

}
.creation_types[data-closed]{
    max-height:0;
    transition: max-height .3s ease;
    overflow: hidden;
}
.no-icon-link .creation_types{
    padding-left: 2rem!important;
}
#theme-header-product .main_menu_container{
    padding: .2rem!important;
    width: 100%;
}
.filter-action{
    height: 46px;
    width: 100px;
    font-size: 16px;
    margin: auto;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    display: none;

}
.filter-action:hover{
    transition: all .2s;
    filter: contrast(.8);
}
.filter-action:active{
    transition: all .2s;
    filter: contrast(.6);
}
.the-content .card-container-masonry{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        grid-template-rows: minmax(100px, 1fr);


}
.post-card{
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-bottom: .7rem;

}
.post-card p{
    font-weight: 500!important;
}
.post-card img{
    object-fit: cover;
    height: 100%;
    margin-bottom: .7rem;
    
}
.default-image{
    color: red;
    filter: brightness(.8);
    text-align: center;
    height: 30vh;
    max-height: 250px;

    width: 100%;
    margin-bottom: .7rem;
    

}
@media all and (max-width: 1287px ){
    .language-selector{
        padding-left: 1.4rem;
    }
}
@media all and (max-width: 970px ){
    .language-selector{
        padding-left: .5rem;
    }
}
@media (max-width: 410px){
    .language-selector .wpml-ls-legacy-list-horizontal .wpml-ls-item-fr::after{
        content: none;
    }
    .language-selector .wpml-ls-current-language{
        display: none!important;
    }
    .language-selector{
        justify-content: center;
    }
}
.bi-funnel{
    font-size: 1.5rem;
    margin-right: .7rem;
}
/* FOR RESPONSIVNESS */
#theme-header-responsive{
    display: none!important;
}
#theme-header-responsive .bi-x{
    display: none;
}
.responsive-placeholder{
    display: none;
}
.searchpannel{
    position: sticky!important;
    top: 0;
}
#searchform{
    width: 100%;
    max-width: unset!important;
    min-width: 320px;
    justify-content: center;
    border:0!important;
}
/* FOR RESPONSIVNESS */
@media (max-width: 345px){
    .searchlist .search-btn{
        padding: 0;
        width: auto;
    }
}
@media all and (max-width: 916px){
    .responsive-placeholder{
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: flex-end;
        padding-right: .1rem;
        align-items: center;
    }
    .responsive-placeholder .language-selector{
        padding-right: .1rem;
        padding-left: unset!important;
        border-left: unset!important;
        border-right: .2px solid black;
        width: max-content;
        min-width: 63px;
    }
    .nav_menu_container > .language-selector{
        display: none;
    }
    .responsive-action{
        min-height: 38px;
        max-height: 90px;
        padding-inline: .7rem;
        cursor: pointer;
        font-size: 1.3em;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .responsive-action .bi{
        margin-top: .1rem;
        margin-right: .3rem;
        font-size: 1.3em;
    }
    .responsive-action:hover{
        filter: contrast(88%);
    }
    .responsive-action:active{
        filter: contrast(80%);
    }
    #theme-header span{
        max-height: 150px!important;
    }
    #theme-header .main_menu_container{
        display: none!important;
    }
    #et-main-area #theme-header-responsive{
        display: flex!important;
        flex-direction: column!important;
        background-color: white;
        max-width: 300px;
        width: 100%;
        height: auto;
        max-height: unset!important;
        padding: 1.2rem;
        z-index: 4500!important;
        transition: all .5s;
        position: absolute;

    }
    .theme-header-responsive-container{
        width: 300px;
        height: 100vh;
        position: fixed;
        top: 0;
        z-index: 4500;
        transform: translateX(-100%);




    }
    .theme-header-responsive-container.open{
        transform: translateX(0);
        transition: all .5s;
        z-index: 4500!important;

    }
    #theme-header-responsive h3{
        width: 100%;
    }
    #theme-header-responsive .main_menu_container ul{
        flex-direction: column!important;
        height: 100vh;
        max-height: unset;
        justify-content: flex-start;
    }
    .main_logo{
        transform: translateY(0)!important;
        min-width: 135px;

    }

}
.filter-container{
   width: 305px;
    
}
.brand-filter-container{
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    height: auto;
    margin-bottom: .7rem;
}
.brand-filter-container li{
   
    height: auto!important;
    justify-content: flex-start;
    width: 100%;
    align-items: flex-start;
    
    filter: unset;
    
    
}
.brand-filter-container li a{
    align-items: flex-start;
    padding-inline: .7rem!important;
}
.brand-filter-container li a::before{
    font-family: 'bootstrap-icons';
    content: "\F285";
}
.main-content-inner{
    min-width: calc(100% - 300px);

}
.product-menu-container{
    display: contents;
}
.header-product-mobile{
    display: none!important;
}
@media all and (max-width: 865px){
    .product-menu-container{
        display: none!important;
    }
    .main-content{
        padding-inline: 1rem;
        flex-wrap: wrap;
    }
    .category_card_list{
        padding-left: 0;
    }
    .category-article{
        padding-left: 0!important;
    }
    .product-container{
        padding-left: 0!important;
    }
    body #theme-header-product.header-product-mobile{
        display: flex!important;
        position: static!important;
        margin-inline: auto!important;
        width: 100%;
        max-width: 845px!important;
        height: auto;
        max-height: 40px;
        margin-bottom: .7rem;
        transition: max-height .5s;
        justify-content: unset!important;
        top: unset!important;

    }
    body #theme-header-product.header-product-mobile h3{
        padding: .7rem;
        padding-inline: .7rem;
        user-select: none;
        height: 100%;
        min-height: 40px;
        display: flex;
        align-items: center;
        border: 1px solid #d3d3d3!important;
        border-radius: 12px;
        width: max-content;
        transition: all .3s;
        justify-content: space-between;


    }
    body #theme-header-product.header-product-mobile h3::after{
        font-family: 'bootstrap-icons';
        content: "\F479";
        font-weight: unset!important;
        color: #707070 !important;
        transition: all .1s;
        font-size: 18px;
        margin-left: .7rem;
        margin-top: .2rem;

    }
    body #theme-header-product.header-product-mobile h3:hover{
        cursor: pointer;
        transition: all .2s;
        padding-left: .35rem;
        padding-right: calc(.7rem + 10px);
        background-color: #e20414;
        border: 1px solid #e20414!important;

        color: white!important;
    }
    body #theme-header-product.header-product-mobile h3:hover::after{
        transform: translateX(10px);
        transition: all .2s;
        max-width: unset!important;
        opacity: 1;
        color: white!important;

    }

    body #theme-header-product.header-product-mobile hr{
        display: none;
    }
    body #theme-header-product.header-product-mobile[data-open]{
        max-height: 1200px;
        transition: all .5s;
    }
    body #theme-header-product.header-product-mobile[data-open] h3:hover::after{
        content: "\F659";
    }
    body #theme-header-product.header-product-mobile[data-open] h3::after{
        content: "\F659";
    }
    body #theme-header-product.header-product-mobile[data-open] h3{
        margin-bottom: .7rem;
        max-height: 40px;
    }

}
@media all and (max-width: 800px){

    .main-container .main-content .category_card_list .category_card > div{

        overflow:initial!important;
        justify-content: center;
    }
    .main-content-inner{
        width: 90%;
        margin-inline:auto!important;
        padding-inline: 0!important;
        min-width: calc(100% - 300px);
        
    }
    .responsive-filter{
        width: 90vw;
        margin-inline: auto!important;
        height: 45px;
        text-align: left;
        padding-inline: .7rem;
        cursor:pointer;
        transition: all .2s;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: .7rem;

    }

    .responsive-filter i{
        font-size: 1.4rem;
    }
    .responsive-filter:hover{
        transition: all .2s;
        filter: brightness(90%);
    }
    .responsive-filter:active{
        transition: all .1s;

        filter: brightness(85%);

    }
    .product-menu-container-with-filter{
        max-height: 0!important;
        overflow: hidden;
        transition: all .5s;

    }
    .product-menu-container-with-filter.active{
        max-height: 1000px!important;
        transition: all .5s;
    }
    .main-content{
        flex-wrap: wrap!important;
        flex-direction: column;
        justify-content: flex-start;
        
    }
    .main-content .product-menu-container-with-filter{
        position: static!important;
        min-width: calc(100vw - 2rem)!important;
        height: auto!important;
    }
    .product-menu-container-with-filter #theme-header-product{
        position: static!important;
        max-width: unset!important;
        width: calc(100% - 2rem)!important;
        margin: auto;
    }
}
@media all and (max-width: 680px){
    .main-container .main-content .category_card_list .category_card > div{
        justify-content: space-between!important;
    }
    #theme-header-responsive{
        max-width: 100vw!important;
    }
    .category_card_list li .category_card img{
        border-radius: 12px 12px 0 0!important;
        max-width: unset!important;
    }
    .responsive-placeholder{
        padding-right: .1rem!important;
    }
    .category_card{
        display: flex!important;
        gap:1.2rem;
        max-height:unset!important;

    }
    .category_card_list{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0!important;
       
    }
    .category_card_list li{
        max-width: 300px!important;
        width: 49%;
        min-width: 260px;
        margin-inline: auto;


    }
    .category_card{
        flex-direction: column-reverse!important;
        align-items: center;
        height: 100%!important;
    }
    .category_card div{
        align-items: center;
        height: 100%;
        width: 100%;
    }
    .category_card h2{
        margin-bottom:.7rem!important;
        text-align: center;
    }
    .category_card img{
        max-height: 200px;
        max-width: 200px;
    }
}
@media all and (max-width: 500px){
    .bi.bi-x{
        margin-left: 100%!important;
    }
}
@media all and (max-width: 450px){
    .bi.bi-x{
        margin-left: 80%!important;
    }
    #theme-header-responsive .bi-x{
        display: inline-flex;
        align-items: center;
        font-size: 2rem;
        margin: 0!important;
    }
    #theme-header-responsive > div{
        display: flex;
        justify-content: space-between;
    }
    .theme-header-responsive-container{
        width: 100%!important;
    }
}
@media all and (max-width: 400px){
    .bi.bi-x{
        margin-left: 50%!important;
    }
}
@media all and (max-width: 320px){
    .bi.bi-x{
        display:none;
    }
    #theme-header-responsive .bi-x{
        display: inline-flex;
        align-items: center;
        font-size: 2rem;
        margin: 0!important;
    }
    #theme-header-responsive > div{
        display: flex;
        justify-content: space-between;
    }
}
@media (max-width: 575px){
    .category_card_list{
        flex-direction: column;
    }
    .main-content .category_card_list li{
        max-width: 380px;
        width: 100%;
    }
    #page-container #theme-header-product{
        align-items: center!important;
        max-width: 300px!important;
        margin-inline: auto!important;
        min-width: 260px!important;
    }
    #page-container #theme-header-product h3{
        width: 100%;
    }
}
.overlay-pannel{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4400;
    backdrop-filter: blur(0);
    display: none;
    transition: all .2s;
    cursor: pointer;
}
.overlay-pannel.active{
display: unset;
}
@media all and (max-height:980px){
    .product-menu-container-with-filter #theme-header-product{
        position: static!important;
        padding-block: 0!important;
    }
}

.creation_type_container{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.product_category_image_label{
    background-color: #4362a3;
    color:white!important;
    padding:.4rem!important;
    text-align: center;
    margin-top:.7rem;
    max-width:300px!important;
    margin-inline:auto!important;
    margin-bottom:.7rem!important;
    cursor:pointer;
}
.icon_category_container{
    margin-bottom:.7rem;
}
#image_preview{
    margin-inline:auto;
    display: block;
    max-width:100%;
}
.icon_category_container{
    display:flex;
    align-items: center;
    font-weight: 1000;
}
.icon_category_container span{
    display: flex;
    margin-right:.7rem;
}
.icon_category_label{
    font-weight:1000!important;
}
#category_icon_preview{
    width:45px!important;
    aspect-ratio: 1;
    object-fit: cover;
}
.image_product_preview{
    width: 150px!important;
    aspect-ratio: 1;
    object-fit: cover;
}
.image_original_link{
    margin:auto;
    display: block;
    width:150px;
}
/* Le conteneur */
.switch {
    position: relative;
    display:flex;
    justify-content: space-between;
    width: 300px;
    flex-wrap: wrap;
    height: 28px;
    margin-inline:auto;
}
.switch-label{
    display:flex;
    justify-content: space-between;
}
.switch p{
    margin-top:.7rem;
    height:2rem;
}
/* Cacher le checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Le slider (le visuel) */
.slider {
    position: absolute;
    cursor: pointer;
    background-color: rgb(226, 4, 20);
    transition: 0.4s;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* La boule */
.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 50px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 12px
}

/* Quand c’est coché */
input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider::before {
    transform: translateX(242px);
}
.switch-label p:first-of-type{
    color:rgb(226, 4, 20)!important;
}
.switch-label p:last-of-type{
    color:#2196F3!important;
}
.product-category-icon{
    max-width:40px;
    aspect-ratio: 1;
}
.category-article{
    display: flex;
    flex-wrap: wrap;
    width:100%;
    padding-left: 45px;
    max-height:381.6px;

}
@media (max-width: 580px){
    .category-article{
        display: flex;
        flex-direction: column!important;
        flex-wrap: wrap;
        width:100%;
        padding-left: 45px;
        max-height: unset!important;

    }
    .category-article-body{
        flex-direction: column;
        padding-inline:.7rem
    }
    .category-article-body img{
        width: 95%!important;
        margin-inline: auto;
        margin-bottom: .7rem;
    }
}
.product-article-header{
    display:inline-flex;
    width:100%;
    align-items: center;
    margin-bottom:.7rem;

}
.product-article-header h2{
    padding:0;
    margin-left:.7rem;
}
.product-article-header img{
    max-height:40px;
}
.category-article-body{
    display:flex;
    width:100%;
    background-color:#FaFaFa;
   overflow:hidden;
    border-radius:10px 10px 0 0;
}
.category-article-body > img{
    max-height: 300px;
    object-fit: cover;
    width:50%;
    max-width: unset!important;
}
.main-content.search .category_card{
    max-height: 190px;
}
.extra-article{

}
.article-details{

    width:55%;
    padding:.7rem;
    display:flex;
    flex-direction:column;
    justify-content: space-evenly;
}
.article-details h2{
    height:min-content;
}
.article-details button{
    margin-top:.7rem;
    max-width: 320px;

}
.article-details button i{
    margin-right:.7rem;
}
@media (max-width: 580px){
    .article-details{
        width:100%;
    }
    .category-article-body img{
        width: calc(100% + 1.4rem)!important;
        margin-left: -.7rem;
    }
}
.partner-list{
    height:min-content;
    margin-block:.7rem;
}
.partner-list > p{
    width: max-content;
}
.photo-gallery-section{
    background-color: #252525;
    width: calc(100% - 45px );
    padding:.7rem;
    margin-left: 45px;

}
.photo-gallery-section h2{
    color:white!important;
    margin-inline:auto;
    width:min-content;
    text-wrap:nowrap;
    margin-block: auto;
    padding:0;
    font-size:1.2rem!important;
    font-weight:300!important;
}
.product-container{
    padding-left: 45px;
    margin-top: .85rem;
}
@media (max-width: 480px){
   .et-db #et-boc .et-l .et_pb_image_0_tb_footer{
        transform: unset!important;
   }
    footer .et_pb_image_wrap  img{
        height:100%!important;
        margin-bottom:.7rem;
    }
}
.creation_type-container{
    min-height: 40px;
    padding: .7rem;
    width:min-content;
    text-wrap: nowrap;
    margin-inline:auto;
    margin-block:1rem;
}
@media (max-width: 400px){
    .creation_type-container{
        display: flex;
        flex-wrap: wrap;
        gap:.4rem;
    }
    .creation_type-container a{
        width:100%;
        text-align: center;
    }
}
.creation_type_button{
    border:2px solid #e20414;
    border-radius:10px;
    padding:.4rem;
    margin-inline: .2rem;
    color:black;
}
.creation_type_button:hover{
    background-color: #e20414;
    transition: background-color .4s;
    color: white;
}
.creation_type_button.active{
    background-color: #e20414;
    transition: background-color .4s;
    color: white;
}
.show_more_products{
    margin-inline:auto!important;
    display:block;
}
.large-screen-placeholder{
    display: none;
}
@media (min-width: 1350px){
    .large-screen-placeholder{
        width: calc(1600px - 1000px - 300px - 1.7rem);

        min-height: 100vh;
        top: 0;
        margin-left: .9rem;
        display: flex;
        flex-direction: column;
        pointer-events: none;
        opacity: 0;


    }
    .large-screen-placeholder .original-brand,.large-screen-placeholder .translated-brand, .large-screen-placeholder .no-brand{

        display: flex;
        flex-direction: column;
    }

    .large-screen-placeholder .brand-container{
        display: flex;
        flex-direction: column;
        min-height: calc(350px);
        justify-content: center;
        margin-bottom: .7rem;
        padding-left: .7rem;
    }
    .large-screen-placeholder .brand-container:has(.original-brand):nth-of-type(2n + 1){
        background-color: #f4f4f4;
        box-sizing: border-box;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 1.25px 3.75px;

    }
    .large-screen-placeholder .brand-container:has(.original-brand):nth-of-type(2n){
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 1.25px 3.75px;
    }
    .large-screen-placeholder .brand-container a{
        color: rgb(112, 112, 112);

    }
}
@media (max-width: 332px){
.nav_menu_container{
    min-width: 185px!important;
    max-height: 55px;
}
#theme-header span{
    flex-wrap: wrap!important;
    max-height: unset!important;
    justify-content: center;
}
.language-selector .wpml-ls-current-language{
    display: block!important;
}
.main_logo{
    max-height: 60px!important;
}
.responsive-placeholder{
    min-height: unset!important;
}
}
.product_image_card{
    transition: all .2s ease-in-out;
    background-color: #FaFaFa;
    gap: .4rem;
    border-radius: 7px;
    display: flex;
    flex-direction: column;

}
.product_image_card:hover{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.product_image_card img{
    max-height: 65%;
    box-shadow: none!important;
    border-radius: 0!important;
}
.product_image_card p{
    max-height: 35%;
    padding: .4rem;
}
@media (max-width: 445px){
    .product_image_card img{
        max-height: 45%;
        box-shadow: none!important;
        border-radius: 0!important;
    }
    .product_image_card p{
        max-height: 55%;
    }
}
@media (max-width: 345px){
    .product_image_card img{
        max-height: 45%;
        box-shadow: none!important;
        border-radius: 0!important;
    }
    .product_image_card p{
        max-height: 55%;
    }
}
.search-item{
    min-height: 130px;
    margin-bottom: .7rem;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    padding-right: .7rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.search-item .search-link{
    height: 130px;
}
.search-item a{
    display: flex;
    align-items: center;
}
.search-item h2{
    font-size: 1.4em!important;
    color: #707070 !important;
    height: fit-content;

}
.search-item .search-thumb{
    width: fit-content;
    max-width: 180px;
    height: 100%;
}
.search-item img, .search-item i{
    height: 100%;
    min-width: 180px;
    object-fit: cover;
}
.search-item h2{
    margin-left: .7rem;
}
.search-item .search-link:before{
    content: "\F369";
    font-family: "bootstrap-icons";
    width: 180px;
    height: 130px;
    background-color: #f6f6f6 !important;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    color: #707070 !important;

}
.search-item .search-link:has(.search-thumb)::before{
    content: none;
    display: none;
}

.main-content.search h1{
    width: max-content;
    font-size: 1.6em!important;
    color: #555454 !important;
    margin-right: .7rem;
    height: fit-content;

}
.search-item:nth-child(even){
    background-color: #FaFaFa;
}
.main-content.search h1{
    border-bottom: 1px solid #e20414 !important;
    margin: .7rem;

}
.main-content.search h1:first-letter{
    color: #a50612;
}
body{
    overflow-x: hidden!important;
}