/*
 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
*/


/* ----
GLOBAL SITE
---- */

.grecaptcha-badge {
    visibility: hidden
}

body {
    overflow-x: hidden;
}

body * {
    transition: all .3s ease-in-out;
}

[id] {
    scroll-margin-top: 60px;
}

/* Highlight des liens sur les textes */
:where(.brxe-accordion .accordion-content-wrapper) a, #brx-content :where(.brxe-icon-box .content) a, :where(.brxe-list) a, :where(.brxe-post-content):not([data-source="bricks"]) a, :where(.brxe-posts .dynamic p) a, :where(.brxe-tabs .tab-content) a, :where(.brxe-team-members) .description a, :where(.brxe-testimonials) .testimonial-content-wrapper a, #brx-content :where(.brxe-text) a, :where(a.brxe-text), :where(a.brxe-text-basic), :where(.brxe-post-comments) .comment-content a {
    text-decoration: underline;
}

/* Listes à puces */
.brxe-text ol, .brxe-text ul,
.brxe-text-basic ol, .brxe-text-basic ul {
    list-style-position: inside;
    padding: 0;
}
.brxe-text ul,
.brxe-text-basic ul {
    list-style: none;
    padding-left: 0;
}
.brxe-text ul li,
.brxe-text-basic ul li {
    padding-left: 11px;
    position: relative;
}
.brxe-text ul li::before,
.brxe-text-basic ul li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: var(--dark-color);
    display: block;
    top: 9px;
    position: absolute;
    left: 0;
}
.brxe-text ul li:not(:first-child),
.brxe-text-basic ul li:not(:first-child) {
    margin-top: 10px;
}
.brxe-text > ul:first-child,
.brxe-text-basic > ul:first-child {
    margin-top: 0;
}

/* Slider overflow */
.slider-overflow .splide__track,
.slider-overflow .bricks-swiper-container {
    overflow: visible
}

/* .slider-overflow .splide__slide:not(.is-visible) {
    opacity: .25
} */

/* Filtre n&b */
.image-nb img {
    filter: saturate(0);
}


.bricks-button.sm {
    font-size: var(--text-xsmaller);
    font-weight: 400;
}

div.brxe-heading:not(.no-headingstyle) {
    font-weight: 700;
    line-height: var(--lineheight-small);
}


#brx-content .brxe-text-link:not(.no-underline) {
    text-decoration: underline;
    text-underline-offset: 3px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    font-size: var(--text-smaller);
    font-weight: 600;
}


#brx-content .brxe-heading:not(h1) + .brxe-text.bricks-type-hero {
    margin-top: var(--gap-xs);
}
#brx-content .brxe-heading + .brxe-text.bricks-type-hero + .brxe-text {
    margin-top: var(--gap-m);
}


.brxe-breadcrumbs {
    font-size: var(--text-xsmaller);
    gap: 4px;
    font-weight: 300;
    opacity: 0.6;
}


#brx-content .text-to-style > *:is(h2,h3,h4,h5,h6):not(:last-child) {
    margin-bottom: var(--gap-m);
}
#brx-content .text-to-style > *:is(h2,h3,h4,h5,h6):not(:first-child) {
    margin-top: var(--gap-xl);
}
#brx-content .text-to-style > p:not(:last-child) {
    margin-bottom: var(--gap-s);
}


#brx-content input:focus,
#brx-content textarea:focus,
#brx-content select:focus {
    outline: none;
}



/* COMPLIANZ */

#cmplz-cookiebanner-container .cmplz-cookiebanner {
    max-width: calc(100% - 20px);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner::before {
    content: '';
    position: absolute;
    background: white;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 0px;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: rgba(0,0,0,.5);
    overflow: hidden
}

#cmplz-cookiebanner-container .cmplz-cookiebanner>* {
    z-index: 2
}

#cmplz-document {
  max-width: 100% !important;
}

/* Ajout style btn Refus */

#cmplz-cookiebanner-container .cmplz-deny {
	position: absolute;
    top: -26px;
    right: 0;
    padding: 0;
    height: auto;
    background: transparent;
    border: none;
    color: #ccc;
    display: inline-block;
    width: auto;
    font-weight: 300;
}
#cmplz-cookiebanner-container .cmplz-deny::after {
	content: "";
	width: 8px;
    height: 8px;
    display: inline-block;
    border-top: 1px solid white;
    border-right: 1px solid white;
    position: relative;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    margin-left: 5px;
	top: 1px;
}

.cmplz-document #brx-content {
    margin-bottom: 60px;
    margin-top: 200px;
    color: var(--dark-color);
    max-width: calc(100% - 20px) !important;
}


/* ---------------------------
   HEADER / FOOTER
---------------------------- */

#brx-header .dgwt-wcas-search-wrapp {
    min-width: 300px;
}
#brx-header .dgwt-wcas-sf-wrapp {
    padding: 0;
    border-radius: 0;
}
#brx-header .dgwt-wcas-search-input {
    border: none;
    border-radius: 0;
    padding: 11px 50px 11px 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: var(--text-smaller);
}
#brx-header .dgwt-wcas-search-input:hover {
    background-color: var(--light-color);
}
#brx-header .dgwt-wcas-search-input::placeholder {
    color: var(--dark-color);
    font-weight: 400;
}
#brx-header .dgwt-wcas-search-submit {
    left: auto;
    right: 10px;
    top: 6px;
}
#brx-header .dgwt-wcas-close {
    margin-top: 0;
}

#brx-header .wpml-ls-legacy-dropdown {
    width: auto;
}
#brx-header .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    border: none;
    background: transparent;
    margin-right: 9px;
    padding-left: 5px;
}
#brx-header .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    width: 10px;
    height: 10px;
    border: none;
    border-bottom: 2px solid var(--dark-color);
    border-right: 2px solid var(--dark-color);
    transform: rotate(45deg);
    top: 7px;
}

#brx-header:not(.scrolling) #menu-principal > ul > li > .brx-submenu-toggle,
#brx-header:not(.scrolling) #menu-principal > ul > li > a {
    color: var(--white);
}
#brx-header #menu-principal > ul > li.brxe-dropdown {
    justify-content: center;
}
#brx-header #menu-principal > ul > li.menu-item:not(:last-child) {
    display: flex;
    justify-content: center;
}
#brx-header #menu-principal > ul > li > .brx-dropdown-content > li:not(:last-child) {
    border-bottom: 1px solid var(--green-color);
    padding-bottom: 9px;
    margin-bottom: 9px;
}


/* ---------------------------
   PAGE D'ACCUEIL
---------------------------- */

.home #brx-content .autres-articles:last-child {
    border-top: 1px solid var(--green-color);
    padding-top: var(--gap-m);
}


/* ---------------------------
   PRODUITS
---------------------------- */

.single-product #brx-content .woocommerce-product-gallery__image {
    overflow: hidden;
    border-radius: 15px;
}
.single-product #brx-content .flex-control-thumbs img {
    overflow: hidden;
    border-radius: 15px;
}

.single-product #brx-content .avantages ul {
    column-count: 2;
    column-gap: 15px;
}
.single-product #brx-content .avantages ul li {
    padding-left: 30px;
    break-inside: avoid;
    margin-bottom: 15px;
}
.single-product #brx-content .avantages ul li::before {
    width: 20px;
    height: 20px;
    border-radius: 0px;
    background: url(https://suteauanver.enjin-dev.fr/wp-content/uploads/2026/01/icon-check-bleu.svg) center / contain no-repeat;
    display: block;
    top: 1px;
    position: absolute;
    left: 0;
}
.single-product #brx-content .avantages ul li:not(:first-child) {
    margin-top: 0px;
}

.single-product #brx-content .onglets-produits .tab-menu > .tab-title:first-child {
    border-left: none;
    padding-left: 0;
}

.single-product #brx-content .marquee {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: none;
}
.single-product #brx-content .marquee .brxe-heading {
    white-space: nowrap;
    color: var(--blue-color);
    text-shadow:
    1px 0 #fff,
    -1px 0 #fff,
    0 1px #fff,
    0 -1px #fff;
    transition: none;
    flex: 0 0 auto;
}


/* ---------------------------
   ARCHIVES PRODUITS
---------------------------- */

#brx-content .filtres-archive input, #brx-content .filtres-archive select {
    border: none;
    padding-right: 36px;
}
#brx-content .filtres-archive select {
    background: var(--white);
}
#brx-content .filtres-archive input::placeholder,
#brx-content .filtres-archive select.is-placeholder {
    color: rgba(29,29,27,0.5);
}
#brx-content .filtres-archive .brxe-filter-search::after {
    content: "";
    width: 23px;
    height: 23px;
    border-radius: 0px;
    background: url(/wp-content/uploads/2026/02/search.svg) center / contain no-repeat;
    display: block;
    top: 9px;
    position: absolute;
    right: 8px;
}
#brx-content .filtres-archive .filter-select-wrapper {
    position: relative;
}
#brx-content .filtres-archive .filter-select-wrapper::after {
    content: "";
    width: 19px;
    height: 10px;
    border-radius: 0px;
    background: url(/wp-content/uploads/2026/02/select-down.svg) center / contain no-repeat;
    display: block;
    bottom: 14px;
    position: absolute;
    right: 10px;
}