/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

@media (min-width: 767px) {
    .trp-language-switcher.trp-floating-switcher {
        display: none;
    }
}



/*** GLOBAL CSS **/
body:not(.admin-bar){--wp-admin--admin-bar--height:0px}
a.brxe-text-basic:hover{text-decoration:underline}
:where(.brxe-image):before{z-index:1}
.role-administrator .block-dev{display:none}
.effect-img img {transition: all 0.3s ease-in-out;}
.effect-img:hover img {transform: scale(1.1, 1.1);}
.brxe-button {cursor: pointer;}
body:not([data-builder-mode]) .bloc-ota-bandeau {opacity: 0;}
.center{align-items:center;align-self:center;text-align:center}
.brx-animated .perfmatters-lazy.pmloaded,
.brx-animated .perfmatters-lazy.pmloaded>img,
.brx-animated .perfmatters-lazy>img.pmloaded,
.brx-animated .perfmatters-lazy[data-ll-status=entered],
.no-animation {
	animation:inherit !important;
}

/** CUSTOM SLIDER MULTIPLE IMAGE **/
.brxe-slider-nested .custom-slide-a{width:100%;height:100%}
.brxe-slider-nested .custom-slide-img{position:absolute;width:100%;height:100%;object-fit:cover}

/** POUR ANIMATION GSAP **/
body.bricks-is-frontend .fadein {opacity: 0;transform: translateY(50px);transition: none;}
/****/


/** HEADER CLASSIC 
@keyframes fade-in {0% {opacity: 0;}100% {opacity: 1;}}
header nav ul.bricks-nav-menu>li.current-menu-item:not(.menu-item-has-children,.btn-header) a::after,header nav ul.bricks-nav-menu>li:hover:not(.menu-item-has-children,.btn-header) a::after{content:"";width:100%;height:3px;background-color:var(--primary);position:absolute;bottom:-7px;animation:fade-in .3s ease}
header div.brx-offcanvas-inner nav ul.bricks-nav-menu>li a::after{display:none}
header nav ul.bricks-nav-menu li a{position:relative}
header .header-menu nav li:hover .brx-submenu-toggle button{transform:rotate(180deg)}
header nav ul.bricks-nav-menu>li.menu-item-has-children ul.sub-menu a:before{content:"-";margin-right:10px;transition:margin .3s ease}
header nav ul.bricks-nav-menu>li.menu-item-has-children ul.sub-menu a:hover:before{margin-right:15px}
header nav ul.bricks-nav-menu>li.menu-item-has-children ul.sub-menu li{padding:15px 10px}
header nav ul.bricks-nav-menu>li.menu-item-has-children ul.sub-menu a{width:fit-content}

**/


/* BANDEAU COOKIE - PLUGIN YESCOOKIE */
.cky-btn{flex:initial!important}
.cky-btn-revisit-wrapper{display:none!important}
.cky-notice-group{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center !important;gap:32px !important}
.cky-notice-btn-wrapper{justify-content:flex-start!important;margin-top:0!important;flex-wrap:nowrap!important;flex-direction:row !important;white-space:nowrap !important;gap:10px !important}
.cky-notice-btn-wrapper .cky-btn{margin:0!important}
@media (max-width:800px){.cky-notice-group{flex-direction:column!important;align-items:flex-start!important}}
@media (max-width:440px){.cky-notice-btn-wrapper{flex-direction:row!important;align-items:stretch!important;white-space:normal!important}}
/* COOKIE */

/** HEADER **/


header.brx-sticky .bloc-img-header #header-logo {
	transition: max-width 0.3s ease-in-out;
}

header.brx-sticky.scrolling .section-header,
body.header-fixe header:is(.sticky, .brx-sticky):not(.scrolling),
body:has(article.post-password-required) header:is(.sticky, .brx-sticky):not(.scrolling) {
	border-bottom: 1px solid var(--bricks-border-color);
}
header.brx-sticky.scrolling .bloc-img-header #header-logo {
	filter: brightness(0) saturate(100%) invert(25%) sepia(0%) saturate(1846%) hue-rotate(138deg) brightness(87%) contrast(106%);
}

body.header-fixe header.brx-sticky:not(.scrolling) #header-logo,
body:has(article.post-password-required) header.brx-sticky:not(.scrolling) #header-logo {
	filter: brightness(0) saturate(100%) invert(25%) sepia(0%) saturate(1846%) hue-rotate(138deg) brightness(87%) contrast(106%);
}

header.brx-sticky.scrolling .bloc-menu-header #menu-header svg,
header.brx-sticky.scrolling #container-pictos-header svg,
body.header-fixe header.brx-sticky:not(.scrolling) #menu-header svg,
body.header-fixe header.brx-sticky:not(.scrolling) #container-pictos-header svg,
body:has(article.post-password-required) header.brx-sticky:not(.scrolling) #menu-header svg,
body:has(article.post-password-required) header.brx-sticky:not(.scrolling) #container-pictos-header svg {
	fill: var(--base);
}


body.header-fixe header:is(.sticky, .brx-sticky):not(.scrolling),
body:has(article.post-password-required) header:is(.sticky, .brx-sticky):not(.scrolling) {
    position: static;
}

body.header-fixe header.brx-sticky.scrolling + main,
body:has(article.post-password-required) header.brx-sticky.scrolling + main {
    padding-top: var(--navigation-bar-offset);
}


.post-password-required {
    max-width: 1000px !important;
    padding: 32px;
    background-color: var(--fond);
    margin: 50px 0;
}

/** WOOCOMMERCE */
.add-to-cart .cart .quantity{width:90px;height:40px}
.add-to-cart form{height:40px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;border-radius:10px;width:fit-content;overflow:hidden;font-size:14px;padding-top: 1px;padding-bottom: 1px;}
.add-to-cart form div.quantity{border:1px solid var(--bricks-border-color);border-radius:10px;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}
.add-to-cart .quantity .qty{width:30px;border:0}
.add-to-cart .quantity .minus,.add-to-cart .quantity .plus{border:0;width:30px}
.add-to-cart .add_to_cart_button{min-width:auto;height:40px;background-color:var(--primary);color:var(--blanc);font-weight:400;padding:0 20px}
.add-to-cart button.button{margin: 0 !important;}
.bloc-product .woocommerce-Price-amount span,.brxe-product-price .woocommerce-Price-amount span{font-size:60%;vertical-align:text-top}

/** WOOCOMMERCE ORDER RECEIVED **/
.woocommerce-order-received p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received{margin:0!important}
.woocommerce-order-received .div-thank-you-order{text-align:center;margin-bottom:30px}
.woocommerce-order-received div.woocommerce {padding:30px}
.woocommerce-order-received h1{padding:30px;font-size:var(--text-h2);}
.woocommerce-order-received .woocommerce-order h2{margin-bottom:20px;font-size:var(--text-h3);}
.woocommerce-order-received .woocommerce-order h3,.woocommerce-order-received .woocommerce-order h4{margin-bottom:20px;font-size:var(--text-h4);}
.woocommerce-order-received .woocommerce-columns--addresses{gap:20px}


/* PANIER PLUS QUE */
@keyframes move {0% {background-position: 0 0;}100% {background-position: 50px 50px;}}
.shipping_bar{padding:20px;background-color:var(--fond);display:flex;flex-direction:column;gap:10px;text-align:center;}
.shipping_bar span{color:green;font-weight:600}
.shipping_bar i{color:green!important;font-size:20px!important;margin-left:8px!important}
.newprogress{position:relative;width:100%;height:22px;border-radius:15px;overflow:hidden;padding:6px 10px;border:1px solid #000}
.newprogress__fill{width:0%;height:100%;border-radius:15px;background-color:green;background-image:linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);animation:move 2s linear infinite;background-size:50px 50px;transition:width 1s ease}
/* FIN PANIER PLUS QUE */


/* FIBOSEARCH */
span.dgwt-wcas-si{width:65px!important;min-width:65px!important;height:65px!important;min-height:65px!important}
span.dgwt-wcas-si img{width:100%;height:100%;max-height:100%;object-fit:contain}
.dgwt-wcas-open-pirx .dgwt-wcas-details-wrapp,.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp{border-radius:5px!important;border:1px solid var(--bricks-border-color)}
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{box-shadow:0 0 0 1px var(--bricks-border-color)}
.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return path,.dgwt-wcas-style-pirx .dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) path,.dgwt-wcas-style-pirx .dgwt-wcas-voice-search svg path,.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path{fill:var(--primary-3)}
.dgwt-wcas-ico-magnifier-handler{fill:var(--base)}