/*
 Theme Name:   Eglantine Mariages Ceremonies Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Enjin
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* ================================================== 
PRIX MASQUES HORS FRANCE (voir functions.php)
================================================== */

body.emc-hide-prices .price,
body.emc-hide-prices .woocommerce-Price-amount,
body.emc-hide-prices .woocommerce-Price-currencySymbol {
	display: none !important;
}


/* ================================================== 
STYLES GENERAUX
================================================== */

::marker {
    color: var(--main-color);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

#brx-header * {
    transition: all 0.3s ease;
}

::-moz-selection {
    background-color: var(--second-color);
    color: var(--dark);
}

::selection {
    background-color: var(--second-color);
    color: var(--dark);
}

::-moz-placeholder {
    color: var(--dark);
    opacity: 0.85;
}

::placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--dark);
    opacity: 0.85;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

#brx-content .button {
    transition: all 0.3s;
}

main .brxe-text-link {
    font-family: var(--typo-titres);
    font-weight: 400;
    color: var(--dark);
    font-size: var(--text-s);
    text-transform: none;
    line-height: var(--lineheight-small);
    letter-spacing: 0;
    font-variation-settings: var(--wght-regular);
    transition: all 0.3s;
    text-decoration: none;
}

main .brxe-text-link:hover .icon {
    transform: translateX(8px);
}

main .brxe-text-link .icon {
    transition: all 0.3s;
    flex-shrink: 0;
}

.ico-solo {
    transition: all 0.3s;
}
:is(.bloc-lien:hover, .cat-soeur-lien:hover) .ico-solo{
    transform: translateX(8px);
}

main .brxe-text-link .icon:only-child {
    display: none;
}

:is(.brxe-text, .brxe-text-basic, .brxe-post-content, .brxe-icon-box .content) strong {
    font-variation-settings: var(--wght-semibold);
    font-weight: 600;
}

#brx-content .bricks-button:has(i) {
    position: relative;
    gap: 10px;
}

.brxe-post-meta:has(.item:empty) {
    display: none;
}
#brx-content .offset-sidebar .brxe-slider-nested a.cat-soeur-lien:is(:not([href]), [href=""]) {
    pointer-events: none;
}
#brx-content .offset-sidebar .brxe-slider-nested a.cat-soeur-lien:is(:not([href]), [href=""]) .ico-solo {
    display: none;
}

/* Listes
--------------------------------------------- */
:is(#brx-content, #brx-footer) *:is(.brxe-text, .brxe-text-basic, .brxe-icon-box, .accordion-content-wrapper, .wc-item-meta, .contenu-pdt, .brxe-product-short-description) *:is(ul:not(.brxe-image-gallery, .crop), ol) {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    line-height: var(--lineheight-normal);
}

:is(#brx-content, #brx-footer) *:is(ul.brxe-image-gallery, ul.brxe-image-gallery li) {
    padding: 0 !important;
}

:is(#brx-content, #brx-footer) *:is(.brxe-text, .brxe-text-basic, .brxe-icon-box, .accordion-content-wrapper, .wc-item-meta, .contenu-pdt, .brxe-product-short-description) *:is(ul) {
    padding-left: 0;
}

:is(#brx-content, #brx-footer) *:is(.brxe-text, .brxe-text-basic, .brxe-icon-box, .accordion-content-wrapper, .wc-item-meta, .contenu-pdt, .brxe-product-short-description) *:is(ul li) {
    list-style: none;
    position: relative;
    padding-left: var(--space-2xs);
}

:is(#brx-content, #brx-footer) *:is(.brxe-text, .brxe-text-basic, .brxe-icon-box, .accordion-content-wrapper, .wc-item-meta, .contenu-pdt, .brxe-product-short-description) *:is(ul li):before {
    content: '';
    position: absolute;
    top: 14px;
    width: 4px;
    height: 4px;
    left: 0;
    background-color: var(--main-color);
    border-radius: 0;
}

/* :is(#brx-content) *:is(.slider-cats .brxe-text) *:is(ul li):before {
    background-color: var(--dark);
} */

:is(#brx-content, #brx-footer) .brxe-accordion>.accordion-item:before {
    display: none;
}

:is(#brx-content, #brx-footer) .bricks-color-light blockquote {
    color: #fff;
}

#brx-content blockquote {
    position: relative;
}

/* 
#brx-content blockquote:before {
    background: transparent;
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: var(--space-l);
    height: var(--space-s);
} */

:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-accordion) :where(ul, ol) {
    margin: var(--space-2xs) 0;
}


:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-text-basic, .brxe-accordion) :where(blockquote:first-child),
:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-text-basic, .brxe-accordion, .contenu-pdt) :where(ul:first-child),
:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-text-basic, .brxe-accordion) :where(ol:first-child) {
    margin-top: 0;
}

:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-text-basic, .brxe-accordion) :where(blockquote:last-child),
:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-text-basic, .brxe-accordion, .contenu-pdt) :where(ul:last-child),
:is(#brx-content, #brx-footer) :is(.brxe-text, .brxe-text-basic, .brxe-accordion) :where(ol:last-child) {
    margin-bottom: 0;
}

#brx-content *:is(.brxe-text, .brxe-text-basic, .brxe-post-content, .brxe-icon-box, .accordion-content-wrapper) ol > li::marker {
    list-style-type: decimal;
}

#brx-content *:is(.brxe-text, .brxe-text-basic, .brxe-post-content, .brxe-icon-box, .accordion-content-wrapper) ol {
    counter-reset: nombre;
    list-style: none;
    padding-left: 0;
}

#brx-content *:is(.brxe-text, .brxe-text-basic, .brxe-post-content, .accordion-content-wrapper) ol > li {
    counter-increment: nombre;
    position: relative;
    padding-left: 36px;
}

#brx-content *:is(.brxe-text, .brxe-text-basic, .brxe-post-content, .accordion-content-wrapper) ol > li:before {
    color: var(--main-color);
    content: counter(nombre, decimal-leading-zero);
    position: absolute;
    top: 7px;
    left: 0;
    font-weight: 400;
    font-size: var(--text-s);
    font-family: var(--typo-titres);
    line-height: 1;
    font-variation-settings: var(--wght-regular), var(--wdth-narrow);
}



/* #brx-content .brxe-block .brxe-text.big-list ul {
    gap: var(--space-2xs);
} */

.brxe-icon-box svg {
    overflow: visible;
}



/* FAQ, accordéons
--------------------------------------------- */
#brx-content *:is(.accordion-title-wrapper .title, .brxe-accordion-nested .accordion-title-wrapper .brxe-heading, .brxe-accordion-nested .accordion-title-wrapper .brxe-icon) {
    transition: all 0.3s;
}

#brx-content .accordion-title {
    gap: var(--space-3xs);
}

#brx-content :is(.brxe-accordion-nested, .brxe-accordion) {
    display: flex;
    flex-direction: column;
}

#brx-content *:is(.brxe-accordion-nested .accordion-title-wrapper .brxe-icon, .accordion-title-wrapper .icon) {
    background: transparent;
    width: var(--space-s);
    height: var(--space-s);
    border: none;
    border-radius: 0;
    padding: 0;
    line-height: var(--space-s);
    text-align: center;
    transition: all 0.3s;
    font-size: var(--text-s);
    color: var(--main-color);
    flex-shrink: 0;
}

#brx-content .brxe-accordion .accordion-title .title,
#brx-content .brxe-accordion-nested .accordion-title-wrapper .brxe-heading {
    line-height: var(--lineheight-small);
    font-size: var(--text-m);
    font-weight: 400;
    font-variation-settings: var(--wght-regular);
    font-family: var(--typo-titres);
    color: var(--dark);
    transition: all 0.3s ease;
}

/* #brx-content .accordion-item.brx-open .accordion-title .title,
#brx-content .brxe-accordion-nested>.brxe-block.brx-open .accordion-title-wrapper .brxe-heading {
    font-variation-settings: var(--wght-extrabold);
} */

#brx-content .accordion-title-wrapper,
#brx-content .brxe-accordion-nested .accordion-title-wrapper {
    padding-block: var(--space-2xs);
    flex-wrap: nowrap;
}

#brx-content .brxe-block :where(.brxe-accordion, .brxe-accordion-nested) .accordion-content-wrapper {
    padding: 0 0 var(--space-s);
    row-gap: var(--space-xs);
}

#brx-content :where(.brxe-accordion) .accordion-item,
#brx-content .brxe-accordion-nested>.brxe-block {
    margin-top: -1px;
    border: 1px solid var(--bordure);
    border-inline: none;
    border-right: none;
    padding-inline: 0;
    gap: 0;
}

#brx-content :is(.brxe-accordion-nested, .brxe-accordion) .brx-open .accordion-title-wrapper :is(.brxe-heading, .title) {
    font-weight: 500;
}

#brx-content .brxe-accordion-nested>.brxe-block.brx-open .accordion-title-wrapper .brxe-icon,
#brx-content .accordion-item.brx-open .icon.expanded {
    transform: none;
}

#brx-content .accordion-title-wrapper:hover :is(.brxe-heading, .title) {
    font-weight: 500;
}



/* sliders, carrousels
--------------------------------------------- */
#brx-content .brxe-carousel .swiper-button {
    transform: none;
}

:is(#brx-content) :is(.brxe-carousel .swiper-pagination, .brxe-slider-nested .splide__pagination) {
    display: flex;
    gap: var(--space-3xs);
    align-items: center;
    bottom: 0;
}

#brx-content .splide__pagination .splide__pagination__page,
#brx-content .brxe-carousel .swiper-pagination-bullet {
    height: 8px;
    width: 8px;
    border: none;
    background-color: var(--second-color);
    border-radius: 50%;
    opacity: 0.5;
    margin: 0;
    transition: all 0.3;
}

:is(#brx-content) .splide__pagination>li:only-child,
:is(#brx-content) .swiper-pagination>.swiper-pagination-bullet:only-child {
    display: none;
}

/* Masquer les boutons si prev ET next sont disabled */
:is(#brx-content) .brxe-carousel:has(.bricks-swiper-button-prev.swiper-button-disabled):has(.bricks-swiper-button-next.swiper-button-disabled) .swiper-button {
    opacity: 0;
}

:is(#brx-content) .brxe-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active,
:is(#brx-content) .splide__pagination .splide__pagination__page.is-active,
#brx-content .sb-feed-posts .sbr-owl-dot.active span {
    width: 10px;
    height: 10px;
    opacity: 1;
    background-color: var(--dark);
}


:is(#brx-content) .brxe-carousel .swiper-pagination-bullet:hover,
#brx-content .splide__pagination .splide__pagination__page:hover {
    opacity: 1;
}

:is(#brx-content) .splide__pagination {
    bottom: 0;
}

:is(#brx-content) .brxe-slider-nested,
:is(#brx-content) .brxe-carousel,
:is(#brx-content) .brxe-testimonials .bricks-swiper-container {
    padding-bottom: var(--space-xl);
}

/* #brx-content .brxe-slider-nested:has(.splide__list > .splide__slide:not(:empty)):not(:has(.splide__list > .splide__slide:not(:empty) ~ .splide__slide:not(:empty))) {
    padding-bottom: 0 !important;
}

#brx-content .brxe-carousel:has(.swiper-wrapper > .swiper-slide:not(:empty)):not(:has(.swiper-wrapper > .swiper-slide:not(:empty) ~ .swiper-slide:not(:empty))) {
    padding-bottom: 0 !important;
}

#brx-content .brxe-testimonials:has(.swiper-wrapper > .swiper-slide:not(:empty)):not(:has(.swiper-wrapper > .swiper-slide:not(:empty) ~ .swiper-slide:not(:empty))) {
    padding-bottom: 0 !important;
} */

#brx-content .brxe-slider-nested:has(.splide__pagination li:only-child),
#brx-content .brxe-carousel:has(.swiper-pagination .swiper-pagination-bullet:only-child),
#brx-content .brxe-testimonials:has(.swiper-pagination .swiper-pagination-bullet:only-child) {
    padding-bottom: 0 !important;
}

#brx-content .brxe-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 10px;
}

.slider-overflow .splide__track {
    overflow: visible;
}

.slider-overflow .splide__slide:not(.is-visible) {
    opacity: 0.5;
}

#brx-content .bloc-lien {
    height: 100%;
}


#brx-content .brxe-carousel.carrousel-inside {
    padding-bottom: 0;
}

#brx-content .brxe-carousel.carrousel-inside .swiper-slide:before {
    z-index: 1;
}

#brx-content .brxe-carousel.carrousel-inside .swiper-pagination {
    bottom: 0;
    width: 100%;
    justify-content: center;
    padding: var(--space-xs);
}

#brx-content .brxe-carousel.carrousel-inside .swiper-pagination-bullet,
#brx-content .slider-cats .slider-overflow .splide__pagination .splide__pagination__page {
    background-color: #fff;
}

#brx-content .brxe-carousel:has(.swiper-wrapper > .swiper-slide:not(:empty)):not(:has(.swiper-wrapper > .swiper-slide:not(:empty) ~ .swiper-slide:not(:empty))):before {
    opacity: 0;
}


#brx-content .carrousel-inside:has(.swiper-pagination .swiper-pagination-bullet:only-child) .swiper-slide::before {
    opacity: 0;
}

#brx-content .carrousel-fullheight,
#brx-content .carrousel-fullheight :is(.image, .bricks-swiper-container, .swiper-slide) {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}




/* A VOIR SI CONSERVE */
#brx-content .splide__slide {
    height: auto !important;
}

#brx-content .splide__list {
    height: auto !important;
    align-items: stretch;
}



/* Compteurs
--------------------------------------------- */
#brx-content .brxe-counter {
    display: flex;
    -moz-column-gap: 5px;
    column-gap: 5px;
    align-items: baseline;
}

/* 
#brx-content .brxe-counter .suffix {
    -ms-flex-item-align: end;
    align-self: flex-end;
    font-size: var(--text-m);
} */
#brx-content .brxe-counter :is(.prefix, .suffix) {
    align-self: center;
    font-size: var(--text-m);
    font-weight: 400;
}

/* ================================================== 
HEADER
================================================== */
#brx-header .bricks-link-wrapper:has(.menu-wishlist, .menu-compte) {
    line-height: 1;
}

/* Hover icônes header (search + wishlist) �?? aligné sur menu-compte */
#brx-header .x-header-search_toggle-open svg,
#brx-header .x-header-search_toggle-open svg path,
#brx-header .brxe-xfavorite .x-favorite_icon svg,
#brx-header .brxe-xfavorite .x-favorite_icon svg path {
    transition: fill 0.3s ease, color 0.3s ease;
}

#brx-header .x-header-search_toggle-open:hover svg,
#brx-header .x-header-search_toggle-open:hover svg path,
#brx-header .brxe-xfavorite .x-favorite:hover .x-favorite_icon svg,
#brx-header .brxe-xfavorite .x-favorite:hover .x-favorite_icon svg path {
    fill: var(--main-color);
    color: var(--main-color);
}

/* Live search header
--------------------------------------------- */
#brx-header:has(.x-header-search_toggle-open[aria-expanded="true"]) {
    overflow: visible;
}

#brx-header .brxe-xheadersearch .x-search-form {
    max-height: none !important;
}

#brx-header .x-header-search_toggle-close {
    --ls-field-pad: var(--space-m);
    position: absolute;
    top: 0;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 80px;
    margin: 0;
    padding: 0;
    transform: none;
    right: calc((100% - min(100%, var(--container-width))) / 2 + var(--ls-field-pad));
}

#brx-header .x-header-search_toggle-close i {
    display: block;
    line-height: 1;
}

#brx-header .brxe-xheadersearch .brxe-filter-search input {
    max-width: calc(100% - 30px);
}

#brx-header .x-search-form .bricks-posts-nothing-found {
    width: 100%;
    max-width: var(--container-width) !important;
    margin-inline: auto;
    padding: var(--space-xs) var(--space-m);
}

#brx-header .brxe-xheadersearch .x-search-form > .brxe-container {
    padding: 0;
    width: 100%;
    max-width: none;
}

#brx-header .x-search-form:has(.header-ls-item) .brxe-filter-search {
    border-bottom: 1px solid var(--bordure);
}

#brx-header .header-ls-results-wrap .header-ls-item:first-child {
    border-top-color: transparent;
}

#brx-header .header-ls-results-wrap {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    overflow: hidden;
    max-height: calc(100vh - var(--header-height) - 80px);
    max-height: calc(100dvh - var(--ls-panel-top, calc(var(--header-height) + 80px)));
}

#brx-header .header-ls-results-wrap > .brxe-block {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#brx-header .header-ls-see-all {
    display: none;
}

#brx-header .header-ls-results-wrap:has(.header-ls-item) a.header-ls-see-all {
    display: flex;
}

#brx-header a.header-ls-see-all:hover .icon {
    transform: translateX(8px);
}

#brx-header .menu-home .text,
#brx-header .brx-nav-nested-items li.menu-item:has(.menu-hidden) {
    display: none;
}

#brx-header .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle>a,
#brx-header .brx-nav-nested-items>li>.brxe-text-link {
    position: relative;
}

#brx-header .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle:before,
#brx-header .brx-nav-nested-items>li>.brxe-text-link:before {
    position: absolute;
    height: 10px;
    width: 10px;
    background: var(--main-color);
    content: '';
    top: 0;
    transform: translateY(-11px);
    left: calc(50% - 5px);
    opacity: 0;
    transition: all 0.3s ease;
}

#brx-header .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle.aria-current:before,
#brx-header .brx-nav-nested-items>li>.brxe-text-link[aria-current="page"]:before,
#brx-header .brx-nav-nested-items>li:hover>.brx-submenu-toggle:before,
#brx-header .brx-nav-nested-items>li:hover>.brxe-text-link:before {
    opacity: 1;
}

#brx-header .brx-nav-nested-items .sous-menu .brxe-text-link[aria-current="page"] {
    color: var(--dark);
    font-weight: 600;
}

/* #brx-header .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle.aria-current>a:before {
    position: absolute;
    bottom: 2px;
    left: -3px;
    content: '';
    width: calc(100% + 6px);
    height: 8px;
    z-index: -1;
    background: var(--main-color);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
} */

/* #brx-header .brx-nav-nested-items .sous-menu .brxe-text-link[aria-current="page"] {
    color: var(--dark);
    font-variation-settings: var(--wght-semibold);

} */

.sous-menu .brxe-text-link {
    width: 100%;
}

#brx-header .brxe-dropdown>.brx-submenu-toggle>a+button {
    display: none;
}

/* Sous-menu
--------------------------------------------- */
#brx-header .brx-nav-nested-items .brx-dropdown-content>.menu-item {
    border: none;
}

#brx-header .brx-nav-nested-items .brxe-dropdown:not(.brx-has-megamenu) .sous-menu .menu-item>a {
    padding-block: var(--space-4xs);
}

#brx-header .brx-nav-nested-items .brx-dropdown-content>.brxe-block:last-child>.brxe-text-link {
    border-bottom: 0;
}

#brx-header {
    height: var(--header-height);
}

:is(#brx-header, #brx-footer) .sous-menu>.menu-item:last-child {
    border-bottom: 0;
}

:is(#brx-header, #brx-footer) .sous-menu>.menu-item:last-child>a {
    border-bottom: 0;
}

:is(#brx-header, #brx-footer) .brx-dropdown-content>li:not(.brxe-dropdown) {
    border-bottom: 1px solid var(--bordure);
}



/* Megamenu
--------------------------------------------- */
#brx-header .col-img-megamenu .brxe-text-link {
    flex-direction: column-reverse;
    gap: 0;
    align-items: flex-start;
}

#brx-header .col-img-megamenu a.brxe-block .brxe-text-link .icon {
    display: flex;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease,
        transform 0.3s ease, visibility 0.3s ease;
}

#brx-header .col-img-megamenu a.brxe-block:hover .brxe-text-link .icon,
#brx-header .col-img-megamenu a.brxe-block:focus-visible .brxe-text-link .icon {
    max-height: 10px;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    #brx-header .col-img-megamenu a.brxe-block .brxe-text-link .icon {
        transform: none;
        transition-duration: 0.01ms;
    }
}

/* Sticky header
--------------------------------------------- */
#brx-header.scrolling,
#brx-header.scrolling>.brxe-section {
    height: var(--sticky-header-height);
}

#brx-header.scrolling .header-top {
    padding-top: 10px;
}

#brx-header.scrolling .header-milieu {
    padding-block: 4px;
}

#brx-header.scrolling {
    --logo-width: 170px;
    /* --text-xs: 16px;
    --text-2xs: var(--text-3xs); */
}

#brx-header.scrolling .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle.aria-current:before,
#brx-header.scrolling .brx-nav-nested-items>li>.brxe-text-link[aria-current="page"]:before {
    transform: translateY(-9px);
}

#brx-header.scrolling .brx-nav-nested-items>li.brxe-dropdown.open .sous-menu {
    transform: translateY(4px)
}

/* ================================================== 
FOOTER
================================================== */
#brx-footer :is(.col-liens, .copyright, .col-contact) a {
    transition: all 0.3s;
}

/* #brx-footer .brxe-social-icons a i {
    color: var(--white);
} */

#brx-footer .col-liens a:hover {
    text-decoration: underline;
}

#brx-header {
    overflow-x: clip;
}

/* ================================================== 
Breadcrumbs
================================================== */

#brx-content .brxe-breadcrumbs>* {
    display: none;
}

/* Page courante masquée dans Bricks : le dernier item est le parent. */
#brx-content .brxe-breadcrumbs>.item:last-child {
    display: inline-flex;
    align-items: center;
    gap: inherit;
    order: 2;
}

#brx-content .brxe-breadcrumbs>.separator:nth-last-child(2) {
    display: inline-flex;
    align-items: center;
    order: 1;
}

#brx-content .brxe-breadcrumbs>.item:only-child::before {
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e64a";
    display: inline-block;
    font-family: themify;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    font-size: 10px;
}



/* ================================================== 
ELEMENTS
================================================== */

/* Boutons
--------------------------------------------- */
body .bricks-button, #brx-content .gform_footer .gform_button {
    min-height: 56px;
}

body .bricks-button.sm {
    min-height: 43px;
}

#brx-content :is(.gform_footer, .gform_page_footer) .gform_button,
#brx-content .gform-button--width-full,
#brx-content .gform_next_button,
#brx-content .gform_previous_button {
    background: transparent;
    padding: var(--space-3xs) var(--space-xs);
    box-shadow: none;
    /* width: 100%; */
    font-family: var(--typo-tx);
    color: var(--dark);
    font-weight: 400;
    letter-spacing: var(--spacing-middle);
    font-size: var(--text-xs);
    border: none;
    border-radius: 0;
    transition: all 200ms ease;
    line-height: var(--lineheight-extraxs);
    text-transform: uppercase;
    border: 1px solid var(--main-color);
    border-left-color: transparent;
    border-right-color: transparent;
}


body .bricks-button.outline,  #brx-content :is(.gform_footer, .gform_page_footer) .gform_button,  #brx-content .gform_next_button {
    border-left-color: transparent;
    border-right-color: transparent;
    display: flex;
    flex-direction: column;
    padding-inline: 10px;
    position: relative;
}

body .bricks-button.outline:hover, #brx-content .gform_footer .gform_button:hover,  #brx-content .gform_next_button:hover {
    border-left-color: var(--main-color);
    border-right-color: var(--main-color);
    background: transparent !important;
}

/* body .bricks-button.outline::before, body .bricks-button.outline::after {
    content: '';
    width: calc(100% - var(--space-s));
    height: 1px;
    display: flex;
    background-color: var(--main-color);
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
}
body .bricks-button.outline::after {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
}
body .bricks-button.outline:hover::before {
    transform: translateX(var(--space-s));
}
body .bricks-button.outline:hover::after {
    transform: translateX(calc(var(--space-s) * -1));
}
body .bricks-button.outline.bricks-color-dark:before, body .bricks-button.outline.bricks-color-dark:after {
    background-color: var(--white);
} */
body .bricks-button.outline.bricks-color-dark:hover {
    color: #fff !important;
}

body .brxe-favorite.brxe-button .x-favorite {
    gap: var(--space-xs);
}

/* Titrailles, textes
--------------------------------------------- */
#brx-content .titre-h1 h1 {
    font-size: var(--text-5xl);
    line-height: var(--lineheight-xs);
    font-weight: 400;
}

#brx-content .titre-h1 h1 em {
    font-style: normal;
    font-weight: 600;
}

#brx-content .brxe-text.bricks-color-dark * {
    color: var(--white);
}
#brx-content .titre-special  * {
    font-weight: 400;
}
#brx-content .titre-special h2 {

    font-size: var(--text-4xl);
}

#brx-content .titre-special * em {
    font-style: normal;
    font-weight: 600;
}

body :where(h2, h3, h4, h5, h6) {
    text-wrap: balance;
}

/* body :where(h1, h2, h3, h4, h5, h6) {
    letter-spacing: var(--spacing-neg-small);
} */
body :where(.brxe-text-basic, .brxe-text) {
    text-wrap: pretty;
}

#brx-content .section-marque:last-child {
    margin-bottom: var(--flow-l);
}

/* Sections home
--------------------------------------------- */
/* #brx-content .section-marques .marque:nth-of-type(even) {
    flex-direction: row-reverse;
}
#brx-content .section-marques .marque:nth-of-type(even) .col-tx-marque {
    align-items: flex-end;
}
#brx-content .section-marques .marque:nth-of-type(even) .col-tx-marque > .brxe-block:before {
    top: calc(50% - 90px);
  right: auto;
  left: calc(100% - var(--space-3xs));
}
#brx-content .section-marques .marque:last-child {
    margin-bottom: 0;
} */
/* #brx-content .section-accessoires .brx-grid > a.brxe-block {
    grid-column: span 2;
  min-width: 0;
}
#brx-content .section-accessoires .brx-grid > a.brxe-block:nth-child(-n + 2) {
  grid-column: span 3;
}
#brx-content .section-accessoires .brx-grid > a.brxe-block:nth-child(-n + 2) .brxe-image img {
    aspect-ratio: 16/9;
} */
/* #brx-content .section-marques .marque:nth-of-type(even) .col-tx-marque > .brxe-block {
    padding-left: 0;
    padding-right: var(--space-3xs);
} */

#brx-content .template-reassurance+.section-faq {
    margin-top: 0;
}

#brx-content .brxe-slider-nested .splide__arrows {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: var(--space-s);
    margin-left: auto;
    max-width: calc(120px + var(--space-s));
    padding-bottom: var(--space-xs);
}

#brx-content .brxe-slider-nested .splide__arrows .splide__arrow {
    transform: none;
    position: relative;

}

#brx-content .brxe-slider-nested .splide__arrows:before, #brx-content .brxe-carousel:not(.carrousel-inside):before {
    content: '';
    position: absolute;
    background: var(--light-bg);
    width: 28vw;
    height: 16vw;
    bottom: 0;
    left: calc(50% - 14vw);
    z-index: -1;
}

#brx-content .brxe-carousel:not(.carrousel-inside):has(> .swiper-button) {
    display: flex;
    flex-wrap: wrap;
}

#brx-content .brxe-carousel:not(.carrousel-inside):has(> .swiper-button) > .bricks-swiper-container {
    flex: 1 1 100%;
}

#brx-content .brxe-carousel:not(.carrousel-inside) > .swiper-button {
    position: relative;
    inset: auto;
    transform: none !important;
    background: transparent;
}

#brx-content .brxe-carousel:not(.carrousel-inside) > .bricks-swiper-button-prev {
    margin-left: auto;
    margin-right: var(--space-2xs);
}

#brx-content .brxe-carousel:not(.carrousel-inside) > .bricks-swiper-button-next {
    margin-left: var(--space-2xs);
    margin-right: auto;
}

#brx-content .section-categories .categorie:nth-of-type(even) {
    flex-direction: row-reverse;
}

#brx-content .section-categories .categorie:nth-of-type(even) .col-tx-categorie>.brxe-block {
    align-items: flex-end;
}

#brx-content .section-categories .categorie:nth-of-type(even) .splide__arrows {
    margin-inline: 0 auto;
}

:is(#brx-content) .brxe-slider-nested:has(.splide__arrows),
:is(#brx-content) .brxe-carousel:not(.carrousel-inside):has(> .swiper-button) {
    padding-bottom: 0;
}

:is(#brx-content) .brxe-slider-nested:has(.splide__arrows) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
#brx-content .brxe-slider-nested .splide__arrows {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

/* ================================================== 
COMPOSANT BLOC PRODUIT
================================================== */
/* Images au survol et videos du listing produits. Pas de prefixe ".listing-produits" : ce composant
   (product-visual / product-visual-secondary) est reutilise ailleurs (ex. produits lies sur la fiche
   produit), qui n'a pas cette classe sur son conteneur. Noms de classes deja assez specifiques pour
   etre scopes globalement sans risque de collision. */
.product-visual {
    position: relative;
    overflow: hidden;
}

/* Image secondaire superposee a l'image principale. */
.product-visual>.product-visual-secondary {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Bricks peut envelopper l'image dans un lien ou une figure. */
.product-visual-secondary img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.product-visual:hover>.product-visual-secondary {
    opacity: 1;
}

.listing-produits .listing-produit-video {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.listing-produits .listing-produit-video video {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#brx-content .brxe-xfavorite .x-favorite, .single-product #brx-content .brxe-xfavorite .x-favorite .x-favorite_text {
    width: 100%;
}

:is(#brx-header,#brx-content)  .tippy-content {
    border-radius: 0;
    padding: 10px;
    font-style: italic;
    font-size: var(--text-3xs);
}

#brx-content .intro-pdt [data-x-favorite] .tippy-content {
    font-size: var(--text-xs);
}

#brx-content .brxe-xfavorite:has(.x-favorite:disabled, .x-favorite[disabled]) {
    cursor: not-allowed;
}

/*
 * TEMP �?? CSS de l'override tooltip favoris (JS commenté dans custom.js).
 * Utile seulement si Tippy est remonté sur document.body.
 * Si BricksExtras corrige le bug "disabled tooltip", supprimer ce bloc
 * et le JS associé (eglantine*Favorite* dans custom.js).
 */
/*
body > [data-tippy-root] .tippy-box[data-theme~="extras"] {
    color: inherit;
    background: transparent;
    max-width: min(200px, calc(100vw - 24px)) !important;
}

body > [data-tippy-root] .tippy-box[data-theme~="extras"] .tippy-content {
    padding: 10px;
    background: var(--x-favorite-background, #fff);
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
    border-radius: 0;
    text-align: center;
    font-style: italic;
    font-size: var(--text-3xs);
    max-width: 100%;
    box-sizing: border-box;
}

body > [data-tippy-root] .tippy-box[data-theme~="extras"] .tippy-arrow {
    color: var(--x-favorite-background, #fff);
}

body > [data-tippy-root] .eglantine-favorite-account-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

body > [data-tippy-root] .tippy-box[data-theme~="intro-pdt"] .tippy-content {
    font-size: var(--text-xs);
}
*/

/* Favoris : vue partagée (lecture seule) + actions masquées si liste vide */
body.favoris-partage .js-partager-favoris,
body.favoris-partage .brxe-xfavorite[data-x-type="clear"],
body.favoris-empty .js-partager-favoris,
body.favoris-empty .brxe-xfavorite[data-x-type="clear"],
.favoris-listing:empty ~ .favoris-actions .js-partager-favoris,
.favoris-listing:empty ~ .favoris-actions .brxe-xfavorite[data-x-type="clear"] {
	display: none !important;
}

.favoris-actions .js-partager-favoris {
	align-self: center;
	justify-content: center;
    cursor: pointer;
}

.js-partager-favoris.is-loading {
	pointer-events: none;
	opacity: 0.75;
}

/* Spinner dans le label (row) — n'altère pas le flex-column du bouton outline */
.js-partager-favoris.is-loading .bricks-button-text {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 0.45em;
}

.js-partager-favoris.is-loading .bricks-button-text::before {
	content: "";
	width: 0.85em;
	height: 0.85em;
	box-sizing: border-box;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	flex-shrink: 0;
	animation: favoris-share-spin 0.7s linear infinite;
}

.js-partager-favoris .favoris-share-spinner {
	display: none !important;
}

@keyframes favoris-share-spin {
	to {
		transform: rotate(360deg);
	}
}


#brx-content .bloc-pdt[data-brx-variant] .product-visual:before {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#brx-content .bloc-pdt[data-brx-variant="iekvjx"] :is(.bloc-titre-pdt, .bloc-survol) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#brx-content .bloc-pdt[data-brx-variant="iekvjx"]:hover .product-visual:before {
    opacity: 1;
}

#brx-content .bloc-pdt[data-brx-variant="iekvjx"]:hover :is(.bloc-titre-pdt, .bloc-survol) {
    opacity: 1;
}

/* ================================================== 
FILTRES
================================================== */
#brx-content .filtres .brxe-filter-select:not(:has(option)) {
    display: none;
}
/* @layer bricks {
    #brx-content .filtres .bricks-choices__inner
    > .bricks-choices__input--cloned {
        width: 1ch !important;
    }
} */
#brx-content .filtres :is(input, select, .brxe-filter-submit) {
    text-overflow: ellipsis;
    font-size: var(--text-2xs);

    outline: none;
}

#brx-content .filtres .bricks-choices__inner>.bricks-choices__placeholder--multiple {
    position: static;
    min-height: 40px;
    font-size: var(--text-2xs);
    letter-spacing: var(--spacing-middle);
    text-transform: uppercase;
}

#brx-content .filtres :is(input, select, .brxe-filter-submit)::-moz-placeholder {
    letter-spacing: var(--spacing-middle);
    text-transform: uppercase;
}

#brx-content .filtres :is(input, select, .brxe-filter-submit)::placeholder {
    letter-spacing: var(--spacing-middle);
    text-transform: uppercase;
}

#brx-content .bloc-filtres-actifs:has(.brxe-filter-active-filters:empty):not(:has(.active-categories a)) {
    display: none;
}

#brx-content .bloc-filtres-actifs .bricks-button:has(i):before {
    display: none;
}

#brx-content .filtres .bricks-choices .bricks-choices__inner,
#brx-content .filtres .brxe-filter-search input,
#brx-content .tri .brxe-filter-select {
    padding: 0 var(--space-xs) 0 0;
    position: relative;
    border-radius: 0;
    background: transparent;
    border: none;
}

#brx-content .filtres .brxe-filter-search input {
    padding-left: 40px;
}

#brx-content .filtres .brxe-filter-search .ti-close {
    margin-inline: 0 2px;
}

#brx-content .filtres .brxe-filter-select {
    padding: 0;
    width: auto;
}

#brx-content .filtres .brxe-filter-select .bricks-choices__inner:before,
#brx-content .tri>.brxe-block:before {
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    content: "\e64b";
    display: inline-block;
    font-family: themify;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    right: calc(var(--space-3xs));
    top: 15px;
    font-size: 11px;
    color: var(--dark);
    width: 11px;
    height: 11px;
    right: 2px;
}

#brx-content .filtres .bricks-choices__list--multiple .bricks-choices__item {
    padding: 0;
    border: none;
    line-height: 36px;
    margin: 0;
    white-space: nowrap;
    background: none;
    color: var(--dark);
    font-size: var(--text-2xs);
    display: flex;
    gap: 5px;
}

#brx-content .filtres .bricks-choices * {
    white-space: nowrap;
}

#brx-content .filtres .bricks-choices__list--multiple .bricks-choices__item .bricks-choices__button,
#brx-content .filtres .bricks-choices__list--multiple .bricks-choices__item:hover {
    color: var(--main-color);
}

#brx-content .filtres button[type="reset"] .ion-ios-refresh {
    background: transparent;
    /* width: 28px;
    height: 28px;
    border-radius: 50%; */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#brx-content .filtres :is(input, select)::-moz-placeholder {
    opacity: 1;
}

#brx-content .filtres :is(input, select)::placeholder,
#brx-content .bricks-choices__placeholder {
    opacity: 1;
}



#brx-content .filtres .bricks-choices__list:not(:empty).bricks-choices__list--multiple {
    margin-top: 0;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 0;
    min-height: 40px;
    flex-direction: column;
}

#brx-content .filtres .bricks-choices__list--multiple:not(:empty)+.bricks-choices__input {
    display: none;
}

#brx-content .filtres .bricks-choices__list--multiple .bricks-choices__item .bricks-choices__button {
    position: relative;
    margin: 0;
    order: -1;
    font-size: 0;
    position: relative;
    background: var(--main-color);
    border-radius: 50%;
    color: #fff;
    -webkit-mask: none;
    mask: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    top: 10px;
    text-indent: 0;
    vertical-align: middle;
}

#brx-content .filtres .bricks-choices__list--multiple .bricks-choices__item .bricks-choices__button:before {
    width: 100%;
    height: 100%;
    content: "\e646";
    font-size: 10px;
    font-family: themify;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

#brx-content .filtres .bricks-choices__list.bricks-choices__list--dropdown {
    margin-top: 5px;
    border-radius: 0;
    padding: 10px 0;
    width: -moz-max-content;
    width: max-content;
    min-width: 100%;
    border: 1px solid var(--second-color);
}

#brx-content .filtres .bricks-choices__list.bricks-choices__list--dropdown .bricks-choices__item {
    padding: 5px var(--space-2xs);
}

#brx-content .filtres .bricks-choices__list.bricks-choices__list--dropdown>.bricks-choices__list {
    gap: 0;
    flex-direction: column;
}

#brx-content .filtres .brxe-filter-search input {
    color: var(--dark);

}

#brx-content .filtres .brxe-filter-search .ti-close:hover {
    color: var(--main-color);
}

#brx-content .filtres .bricks-choices:after {
    display: none;
}

#brx-content .filtres .bricks-choices * {
    margin-inline-end: 0;
    padding: 0;
}

#brx-content .bricks-pagination .page-numbers i {
    font-size: var(--text-3xs);
}

/* ================================================== 
MODELE PRODUIT
================================================== */

.single-product #brx-content .product_meta a {
    font-weight: 400;
}

/* Slide video dans la galerie produit (single product), en premiere position si presente.
   aspect-ratio fixe car, contrairement aux vraies photos, la video n'a pas de hauteur
   naturellement proportionnee dans la colonne de vignettes verticale (sinon elle occupe
   toute la hauteur visible et repousse les autres vignettes hors du cadre). */
.woocommerce-product-gallery__video {
    aspect-ratio: 2 / 3;
}

.woocommerce-product-gallery__video video {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

/* Repere "lecture" sur la vignette video. Deux modes :
   - sans carrousel : FlexSlider genere .flex-control-thumbs li:first-child depuis data-thumb
   - avec carrousel : product-gallery-video.php injecte .woocommerce-product-gallery__video
     en 1ere position dans .brx-product-gallery-thumbnail-slider
   .has-video-gallery est posee sur <body> uniquement si video_produit est renseignee. */
body.has-video-gallery .flex-control-thumbs li:first-child,
body.has-video-gallery .brx-product-gallery-thumbnail-slider .woocommerce-product-gallery__video {
    position: relative;
}

body.has-video-gallery .flex-control-thumbs li:first-child::after,
body.has-video-gallery .brx-product-gallery-thumbnail-slider .woocommerce-product-gallery__video::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
}

body.has-video-gallery .flex-control-thumbs li:first-child::before,
body.has-video-gallery .brx-product-gallery-thumbnail-slider .woocommerce-product-gallery__video::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    pointer-events: none;
    z-index: 1;
}

.single-product #brx-content .brxe-product-gallery .flex-control-nav {
    align-content: flex-start;
}

.single-product #brx-content .brxe-product-gallery img {
    aspect-ratio: 2/3;
    -o-object-fit: cover;
       object-fit: cover;
}

/* Carrousel vignettes left/right : FlexSlider vertical est capricieux
   (itemWidth inline, translateY → vignettes coupees / "slide vers le haut").
   On garde une pile CSS (clics asNavFor OK) + on borne la colonne a la hauteur
   de l'image principale (--gallery-main-height pose par custom.js) avec scroll. */
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="left"],
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="right"] {
    align-items: flex-start;
}

.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="left"] .brx-product-gallery-thumbnail-slider,
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="right"] .brx-product-gallery-thumbnail-slider {
    max-height: var(--gallery-main-height, none);
    overflow: hidden;
}

.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="left"] .brx-product-gallery-thumbnail-slider .flex-viewport,
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="right"] .brx-product-gallery-thumbnail-slider .flex-viewport {
    height: 100% !important;
    max-height: inherit;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="left"] .brx-thumbnail-slider-wrapper,
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="right"] .brx-thumbnail-slider-wrapper {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
}

.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="left"] .brx-thumbnail-slider-wrapper > .woocommerce-product-gallery__image,
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="right"] .brx-thumbnail-slider-wrapper > .woocommerce-product-gallery__image {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
}

/* Fleches FlexSlider inutiles : le scroll remplace le translateY casse */
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="left"] .brx-product-gallery-thumbnail-slider .flex-direction-nav,
.single-product #brx-content .brxe-product-gallery.thumbnail-slider[data-pos="right"] .brx-product-gallery-thumbnail-slider .flex-direction-nav {
    display: none !important;
}

#brx-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
    border-radius: 0;
}

/* ==================================================
COPIER LE LIEN (Instagram / TikTok, element Social Share)
================================================== */
#brx-content .brxe-xsocialshare .x-social-share_link {
    gap: var(--space-4xs);
    overflow: visible;
}

.x-social-share_link .x-social-share_label {
    display: none;
}

.x-social-share_link.is-copied .x-social-share_label {
    display: inline-flex;
}


/* ================================================== 
TIMELINE
================================================== */

#brx-content .lt-item:nth-child(even) {
    margin-left: calc(50% + var(--lt-item-spacing));
    margin-top: calc(-1 * var(--flow-xl));
}

#brx-content .lt-item .brxe-icon {
    box-sizing: content-box;
}

#brx-content .lt-item .brxe-icon:before {
    content: '';
}

#brx-content .lt-item:nth-child(odd) i.brxe-icon {
    right: 0;
    transform: translateX(calc(var(--lt-item-spacing) + 50%));
}

#brx-content .lt-item:nth-child(even) i.brxe-icon {
    position: absolute;
    left: 0;
    top: 22px;
    transform: translateX(calc(-1 * var(--lt-item-spacing) - 50%));
}

#brx-content .lt-item:nth-child(odd) .brxe-block {
    align-items: flex-end;
    text-align: right;
}

/* Ligne colorée qui remonte au scroll (par-dessus la grise) */
#brx-content .timeline {
    --tl-progress: 0;
}

#brx-content .lt-item:nth-child(odd) .brxe-divider {
    justify-content: flex-end
}

#brx-content .timeline::before {
    content: '';
    width: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    /* opacity: 0.6; */
    transform: translateX(-50%);
    background: var(--second-color);
}

#brx-content .timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: calc(var(--tl-progress) * 100%);
    background: var(--main-color);
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.25s ease-out;
    opacity: 0;
}

/* �?tat initial : items cachés et décalés vers leur côté */
body:not([data-builder-mode]) #brx-content .lt-item {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#brx-content .lt-item:nth-child(odd) {
    transform: translateX(-30px);
}

#brx-content .lt-item:nth-child(even) {
    transform: translateX(30px);
}

/* Activation : retour en place + apparition */
body:not([data-builder-mode]) #brx-content .lt-item.is-active {
    opacity: 1;
    transform: translateX(0);
}



/* ================================================== 
SOMMAIRE
================================================== */

#brx-content :is(.sommaire, .wrap-toc) .titre-special em {
    display: block;
    padding-left: var(--space-m);
    font-family: var(--typo-titres);
    font-weight: 400;
    font-size: var(--text-m);
}
#brx-content .toc-offcanvas .titre-special em {
    font-family: var(--typo-titres);
    font-weight: 400;
    font-size: var(--text-m);
}
#brx-content .sommaire.is-fixed,
#brx-content .wrap-toc.is-fixed {
    position: fixed !important;
    z-index: 20;
    margin: 0;
}

#brx-content:has(.toc-list-item:only-child) .wrap-toc,
#brx-content:has(.toc-list-item:only-child) .btn-toc {
    display: none;
}

/* Dernière .section-offset d'une série : pas de marge basse. */
#brx-content .brxe-section.section-offset:not(:has(+ .brxe-section.section-offset)) {
    margin-bottom: 0;
}
#brx-content .wrap-toc .titre-special * {
    font-weight: 600;
}


/* ================================================== 
BLOG
================================================== */
#brx-content .listing-blog > .bloc-lien:first-child {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: stretch;
    gap: 0;
    height: 100%;
    min-height: 0;
}

#brx-content .listing-blog .bloc-lien > a:first-child {
    overflow: hidden;
}

#brx-content .listing-blog > .bloc-lien:first-child > a:first-child {
    position: relative;
    min-height: 0;
}

#brx-content .listing-blog > .bloc-lien:first-child .brxe-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

#brx-content .listing-blog > .bloc-lien:first-child > .brxe-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background-color: var(--light-bg);
    padding: var(--space-m);
}
#brx-content .listing-blog > .bloc-lien:first-child .brxe-heading {
    font-size: var(--text-l);
}
#brx-content .listing-blog .bloc-lien .brxe-image {
    transform: scale(1);
    transform-origin: center center;
    transition: transform 1.2s ease;
}

#brx-content .listing-blog .bloc-lien:hover .brxe-image {
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    #brx-content .listing-blog .bloc-lien .brxe-image {
        transform: none;
        transition: none;
    }
}
/* #brx-content .listing-blog > .bloc-lien:first-child > div.brxe-block > a.brxe-block  {
    row-gap: var(--space-s);
} */

#brx-content .wrap-toc.is-fixed {
    max-width: var(--offset-sidebar);
    width: 100%;
    padding-left: var(--space-xs);
    min-width: auto;
    /* left: 0 !important; */
}

.brxe-post-content :is(.brxe-heading:empty, .brxe-text:empty, .brxe-button:empty) {
    display: none;
}

.brxe-post-content .brxe-block:not(:has(img, svg, video, iframe, picture, :not(:empty))) {
    display: none;
}
#brx-content :is(.brxe-post-content) :where(h2, h3, h4, h5, h6):not(.brxe-heading) {
    margin-block: var(--space-s) var(--space-2xs);
}
#brx-content :is(.brxe-post-content) :where(h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
}
#brx-content :is(.brxe-post-content) h2:not(.brxe-heading) {
    font-size: var(--text-xl);
    font-weight: 600;
}
#brx-content :is(.brxe-post-content) h3:not(.brxe-heading) {
    font-size: var(--text-l);
}
#brx-content :is(.brxe-post-content) h4:not(.brxe-heading) {
    font-size: var(--text-m);
}
#brx-content :is(.brxe-post-content) h5:not(.brxe-heading) {
    font-size: var(--text-s);
}
#brx-content :is(.brxe-post-content) h6:not(.brxe-heading) {
    font-size: var(--text-xs);
}
#brx-content .brxe-post-content > .brxe-section {
    margin-block: var(--flow-2xs);
}
/* #brx-content .brxe-post-content > .brxe-section > .brxe-container {
    padding-block: var(--flow-2xs);
} */
#brx-content .brxe-post-content .brxe-slider-nested .splide__arrows {
    margin-inline: 0 auto;
    padding-top: var(--space-xs);
}
#brx-content .brxe-post-content .brxe-slider-nested .splide__arrows:before {
    min-height: 300px;
}



/* ================================================== 
CONTACT - Gravity formulaires
================================================== */

/* Styles formulaires
--------------------------------------------- */
#brx-content .gform_description:empty {
    display: none;
}

#brx-content .gform_confirmation_wrapper .gform_confirmation_message,
#brx-content .gform_validation_errors>* {
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--text-s);
    line-height: 1.6em;
    font-family: var(--typo-titres);
    font-weight: 400;
    color: var(--dark);
}

#brx-content .gform_confirmation_wrapper,
#brx-content .gform_wrapper .gfield {
    position: relative;
}

#brx-content :is(.gform_wrapper, .woocommerce-input-wrapper, .form-group, .woocommerce-form-row, .woocommerce-form-register .form-row, .woocommerce-EditAccountForm .form-row) *:is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], input[type="file"], textarea, select, .chosen-container, .select2-container) {
    font-size: var(--text-xs);
    font-variation-settings: var(--wght-regular);
    line-height: 1.5em;
    text-transform: none;
    color: var(--dark-lighter);
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    min-height: 42px;
    text-overflow: ellipsis;
    border: none;
    border-bottom: 1px solid var(--second-color);
    border-radius: 0;
    font-family: var(--typo-tx);
    outline: none;
}

#brx-content .gform_wrapper .gfield_label_before_complex {
    text-transform: none;
}

#brx-content .gform_wrapper .ginput_container ul.chosen-choices,
#brx-content .gform_wrapper .ginput_container .chosen-search-input {
    border: none;
    box-shadow: none;
    padding: 0;
    height: auto;
    min-height: auto;
    margin: 0;
}

#brx-content .gform_wrapper .gform_drop_area::before {
    color: var(--dark);
}

#brx-content .gform_wrapper .gform_drop_area {
    box-shadow: none;
    border: 1px solid var(--second-color);
    border-radius: 0;
}

#brx-content .gform_wrapper .ginput_container textarea {
    padding: var(--space-xs);
    border: 1px solid var(--second-color);
}


#brx-content .gform_wrapper .ginput_container select {
    padding: 0;
    line-height: 42px;
}

#brx-content .gform_wrapper .ginput_container .chosen-container {
    padding: 8px var(--space-xs);
}

#brx-content .chosen-drop .chosen-results li {
    padding: var(--space-2xs) var(--space-xs);
}

#brx-content .chosen-choices li.search-choice {
    padding: 6px var(--space-xs) 4px var(--space-2xs);
    font-size: var(--text-2xs);
}

#brx-content .chosen-drop .chosen-results .result-selected {
    box-shadow: none;
    background-color: var(--main-color);
    color: #fff;
}

#brx-content .brxe-block .gform-theme--framework.gform-theme {
    --gf-color-primary: var(--main-color);
    --gf-ctrl-multiselect-selected-item-bg-color: var(--main-color);
    --gf-ctrl-select-dropdown-option-bg-color-hover: var(--light-bg);
    --gf-ctrl-accent-color: var(--main-color);
    --gf-ctrl-choice-check-color: var(--dark);
}

#brx-content .gform_wrapper select option {
    font-weight: 400;
    font-variation-settings: var(--wght-regular);
    font-family: var(--typo-tx), sans-serif;
}

#brx-content .gform_wrapper :is(input, button, textarea, select):focus,
#brx-content .gform_wrapper .ginput_container .chosen-container-active,
#brx-content .woocommerce-form-row input:focus,
#brx-content .woocommerce-input-wrapper :is(input, textarea, select):focus,
#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm, .woocommerce-form-login) :is(input, textarea, select):focus {
    border-color: var(--main-color);
    box-shadow: none;
    outline: none;
}

#brx-content .gform_wrapper label,
#brx-content .gform_wrapper .gfield_label,
#brx-content .woocommerce-form-row label,
#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row > label,
#brx-content .woocommerce fieldset:not(.gfield) legend  {
    font-weight: 600;
    line-height: var(--lineheight-small);
    font-size: var(--text-xs);
    text-align: left;
    font-family: var(--typo-titres);
    color: var(--dark);
    margin-bottom: 5px;
    text-transform: none;
    letter-spacing: 0;
    font-variation-settings: var(--wght-medium);
}


#brx-content .gform_wrapper .ginput_container_radio label,
#brx-content .gform_wrapper .ginput_container_checkbox label {
    font-weight: 400;
    font-variation-settings: var(--wght-regular);
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--text-2xs);
    font-family: var(--typo-tx);
    color: var(--dark-lighter);
}
#brx-content .gform_wrapper .gfield-choice-input, #brx-content .gform_wrapper input[type="checkbox"] {
    box-shadow: none;
    border-radius: 0;
    border-color: var(--second-color);
    position: relative;
    top: 2px;
}
#brx-content .gform_wrapper .gfield--type-consent input[type="checkbox"] {
    position: relative;
    top: 4px;
}
#brx-content .gform_wrapper .gchoice label {
    margin-block: 0;
    margin-left: var(--space-2xs);
}
#brx-content .gform_wrapper :is(.gfield--type-checkbox, .gfield--type-radio) .gfield_label {
    margin-bottom: var(--space-xs);
}
#brx-content .gform_wrapper :is(.gfield--type-checkbox, .gfield--type-radio) .gchoice label::after {
    display: none;
}
#brx-content .gform_wrapper .ginput_container_consent label {
    font-size: var(--text-3xs);
    text-transform: none;
    opacity: 1;
    letter-spacing: 0;
    font-weight: 400;
    font-variation-settings: var(--wght-regular);
    display: inline;
    font-family: var(--typo-tx);
    color: var(--dark-lighter);
    margin-bottom: 0;
}
#brx-content .gform_wrapper .ginput_container_consent label a {
    text-decoration: underline;
}
#brx-content .gform_wrapper .ginput_container_consent label a:hover {
    text-decoration: none;
}
#brx-content .gform_wrapper .gform_required_legend,
#brx-content .gform_wrapper .gfield--type-html small,
#brx-content .woocommerce .required,
#brx-content .woocommerce-form .required {
    color: var(--dark-lighter);
    margin: 0 0 10px;
    font-size: var(--text-2xs);
    font-style: italic;
}
#brx-content .gform_wrapper .gform_required_legend {
    margin-bottom: var(--space-s);
}

#brx-content .gform_wrapper .gfield_required,
#brx-content .gform_wrapper fieldset.gfield_contains_required:not(.gfield--type-consent) label::after {
    color: var(--main-color);
    font-size: var(--text-xs);
}

#brx-content .gform_wrapper fieldset.gfield_contains_required:not(.gfield--type-consent) label::after {
    content: '*';
    margin-left: 5px;
}

#brx-content .gform_footer {
    position: relative;
    padding: 0 !important;
    margin: var(--space-m) 0 0;
    justify-content: center;
}


#brx-content .gform-button--width-full {
    width: auto;
    /* text-transform: uppercase;
    letter-spacing: var(--spacing-middle); */
}

/* #brx-content .gform_previous_button {
    background: transparent;
    color: var(--main-color);
} */

#brx-content .gform_footer .gform_button:hover,
#brx-content .gform-button--width-full:hover,
#brx-content .gform_next_button:hover,
#brx-content .gform_previous_button:hover {
    box-shadow: none;
    background-color: transparent;
    color: var(--dark);
    border-color: var(--main-color);
}

#brx-content .gform_previous_button:hover {
    color: var(--main-color);
    border-color: var(--main-color);
    background: transparent;
}

#brx-content .gform_wrapper .gform_fields, #brx-content .gform_wrapper .ginput_complex {
    row-gap: var(--space-m);
    -moz-column-gap: var(--space-m);
         column-gap: var(--space-m);
}


#brx-content .gform_wrapper input[type="checkbox"]:checked:before {
    /* content: var(--gf-icon-ctrl-checkbox);
    top: 2px; */
    color: var(--dark);
}

#brx-content .gform_wrapper :is(input[type="checkbox"], input[type="radio"]):hover {
    cursor: pointer;
}

#brx-content .gform_wrapper .ginput_complex {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#brx-content .gform_wrapper .ginput_complex>span {
    padding: 0;
    width: 100%;
}

#brx-content .gform_wrapper .gf_clear.gf_clear_complex {
    display: none;
}

#brx-content .gform_wrapper .gfield--type-address .ginput_container_address>span {
    flex-grow: 1;
}

#brx-content .gform_wrapper .gfield--type-address .ginput_container_address>span.ginput_address_line_1 {
    grid-column: 1/-1;
}


#brx-content .gform_validation_errors * {
    font-size: var(--text-xs);
}
#brx-content .gform_wrapper .ginput_complex.ginput_container_address {
    grid-template-columns: repeat(3, 1fr);
}
 

/* 
#brx-content .gform_wrapper input[type="radio"],
#brx-content .gform_wrapper input[type="checkbox"] {
    border-color: var(--second-color);
    background-color: var(--light-bg);
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 24px;
    height: 24px;
}


#brx-content .gform_wrapper .gfield_radio,
#brx-content .gform_wrapper .gfield_checkbox {
    display: -ms-grid;
    display: grid;
    row-gap: var(--space-xs);
    -webkit-column-gap: var(--space-s);
    -moz-column-gap: var(--space-s);
    column-gap: var(--space-s);
    grid-template-columns: repeat(auto-fit, minmax(150px, -webkit-max-content));
    grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
}

#brx-content .gform_wrapper .gfield_radio label:after,
#brx-content .gform_wrapper .gfield_checkbox label:after {
    display: none;
}

#brx-content .gform_wrapper :is(.gfield_radio label, .gfield_checkbox label) {
    margin-bottom: 0;
}

#brx-content .gform_wrapper :is(.gfield_radio label, .gfield_checkbox label):hover {
    cursor: pointer;
} */

#brx-content .gform_page_footer {
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
}

#brx-content .gform_wrapper .ginput_password .gform_show_password {
    top: 8px;
    border: none;
    transform: none;
}

#brx-content .gform_wrapper .ginput_password .show-password-input {
    display: none;
}

#brx-content .gform_wrapper input[type="file"]::file-selector-button,
#brx-content .gform_wrapper .gform_button_select_files {
    background: var(--main-color);
    color: #fff;
    min-height: 42px;
    font-weight: 400;
    border-radius: 0;
    border: 1px solid var(--main-color);
    box-shadow: none;
}

#brx-content .gform_wrapper .gform_button_select_files:hover {
    background: transparent;
    color: var(--dark);

}

#brx-content .gform_wrapper input[type="file"] {
    padding-left: 0;
}


/* TROUVER MON STYLE
--------------------------------------------- */
#formulaire-style .gform_heading,
#formulaire-style .gform_required_legend,
#formulaire-style .gfield_required,
#formulaire-style .gf_progressbar_percentage span {
    display: none;
}
#formulaire-style:not(.style-steps-ready) .gform_fields > .gfield ~ .gfield,
#formulaire-style:not(.style-steps-ready) .gform_footer {
    display: none;
}
#formulaire-style.style-steps-ready .gfield.style-step-hidden {
    display: none !important;
}
#formulaire-style.is-style-fin .gform-field-label__text:where(:has(+ .gfield_required)) {
    padding-inline-end: var(--gf-label-req-gap);
}
#formulaire-style.is-style-fin .gfield_required {
    display: inline;
}
#formulaire-style .gform_wrapper fieldset.gfield_contains_required:not(.gfield--type-consent) label::after {
    content: none;
}

#formulaire-style .gform_wrapper {
    position: relative;
}

#formulaire-style form {
    position: relative;
}

#formulaire-style .gform_validation_errors {
    max-width: var(--container-width);
    margin: 0 auto var(--space-m);
}

#formulaire-style .gf_progressbar_wrapper {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto var(--space-l);
}

#formulaire-style .gf_progressbar_title {
    font-size: 0;
    text-align: center;
    margin: 0 0 var(--space-2xs);
    font-family: var(--typo-titres);
    font-style: italic;
    font-weight: 300;
    line-height: 1;
}

#formulaire-style .gf_progressbar_title :is(.gf_step_current_page, .gf_step_page_count) {
    font-size: var(--text-xs);
    font-weight: 300;
    letter-spacing: var(--spacing-middle);
    color: var(--dark);
}
#formulaire-style .gf_progressbar_title :is(.gf_step_current_page) {
    font-weight: 500;
}
#formulaire-style .gf_step_current_page::after {
    content: "/";
}

#formulaire-style .gf_progressbar {
    height: 5px;
    background: var(--light-bg);
    border: none;
    border-radius: 0;
}

#formulaire-style .gf_progressbar_percentage {
    height: 5px;
    background: var(--main-color);
    border-radius: 0;
}

#formulaire-style .gform_previous_button {
    position: absolute;
    top: 0;
    left: max(0px, calc((100% - var(--container-width)) / 2 - 2.75rem));
    z-index: 2;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: transparent;
    font-size: 0;
    min-height: 0;
}

#formulaire-style .gform_previous_button::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-left: 1px solid var(--dark);
    border-bottom: 1px solid var(--dark);
    transform: rotate(45deg);
}

#formulaire-style .gform_previous_button:hover {
    background: transparent;
    color: transparent;
}

#formulaire-style :is(.gform_next_button, .gform_previous_button) .gform-loader {
    position: absolute;
    inset: auto;
    top: 50%;
    left: calc(100% + 0.75rem);
    margin: -0.875rem 0 0;
    translate: none;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-top-color: rgba(17, 35, 55, 0.15);
    border-radius: 50%;
    background: transparent;
    width: 1.75rem;
    height: 1.75rem;
}

#brx-content #formulaire-style .gform_next_button:is(:hover, :focus, :active, :disabled, .gform-theme-button--loading) {
    color: var(--dark);
    -webkit-text-fill-color: var(--dark);
}

#brx-content #formulaire-style .gfield:is(.gfield--type-image_choice, .gfield--type-radio) > .gfield_label {
    text-align: center;
    font-family: var(--typo-titres);
    font-size: var(--text-5xl);
    font-weight: 600;
    line-height: var(--lineheight-small);
    margin-bottom: var(--space-s);
    width: 100%;
}
#brx-content #formulaire-style .gfield_label span {
    padding: 0;
}
#formulaire-style .gfield--type-image_choice .gfield_radio {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: var(--space-s);
}

#formulaire-style .gfield--type-image_choice .gchoice {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 520px;
    width: auto;
    box-shadow: none;
    border: none;
    outline: none;
    border-radius: 0;
}

#formulaire-style .gfield-image-choice-wrapper-outer {
    display: flex;
    flex-direction: column;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    row-gap: var(--space-xs);
}

#formulaire-style .gfield-choice-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin: 0;
}

#formulaire-style .gfield-choice-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
}

#formulaire-style .gfield--type-image_choice .gfield-image-choice-wrapper-inner {
    display: block;
    text-align: center;
}

#formulaire-style .gfield--type-image_choice .gfield-choice-input,
#formulaire-style .gfield--type-image_choice .gfield-choice-input::before,
#formulaire-style .gfield--type-image_choice .gfield-choice-input::after {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#formulaire-style .gfield--type-image_choice .gchoice::after {
    content: none;
}

#formulaire-style .gfield--type-image_choice .gchoice {
    transition: opacity 0.35s ease, filter 0.35s ease;
}

#formulaire-style .gfield--type-image_choice .gfield_radio:has(input:checked) .gchoice:not(:has(input:checked)) {
    opacity: 0.4;
    filter: grayscale(1);
}

#formulaire-style .gfield--type-image_choice .gchoice:has(input:checked) {
    opacity: 1;
    filter: none;
}

#formulaire-style .gfield:not(.style-step-hidden) {
    animation: style-form-fade 0.4s ease;
}

@keyframes style-form-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

#formulaire-style .gfield--type-image_choice .gform-field-label--type-inline {
    display: block;
    margin-top: var(--space-2xs);
    text-align: center;
    cursor: pointer;
}

#formulaire-style .gfield--type-radio:not(.gfield--type-image_choice) .gfield_radio {
    display: flex;
    justify-content: center;
    gap: var(--space-s);
    flex-direction: row;
    margin-block: var(--space-xl);
}

#formulaire-style .gfield--type-radio:not(.gfield--type-image_choice) .gchoice {
    position: relative;
}

#formulaire-style .gfield--type-radio:not(.gfield--type-image_choice) .gfield-choice-input {
    position: absolute;
    opacity: 0;
}

#formulaire-style .gfield--type-radio:not(.gfield--type-image_choice) label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 88px;
    margin: 0;
    border: 1px solid var(--dark);
    background: #fff;
    cursor: pointer;
}

#formulaire-style .gfield--type-radio:not(.gfield--type-image_choice) .gchoice:has(input:checked) label {
    background: var(--dark);
    color: #fff;
}

#formulaire-style .gform_page_footer {
    justify-content: center;
    max-width: var(--container-width);
    margin: var(--space-xl) auto 0;
}
#brx-content #formulaire-style .gchoice label {
    margin-left: 0;
    font-size: var(--text-m);
    font-family: var(--typo-titres);
}
#formulaire-style.is-style-fin .brxe-heading {
    text-align: center;
    margin-bottom: var(--space-m);
}
#formulaire-style.is-style-fin .gform_fields {
    max-width: var(--container-reduced);
    margin-inline: auto;
}

/* PAGE PROFIL
--------------------------------------------- */
#brx-content .bloc-pdt .bloc-survol .profil-rejet {
    display: none;
}

#brx-content .page-profil .bloc-pdt .bloc-survol .profil-rejet {
    display: flex;
    border-radius: 50%;
}
#brx-content .page-profil {
    overflow-x: clip;
}

#brx-content .profil-reset:not(.profil-reset-visible) {
    display: none !important;
}

#brx-content .page-profil .brxe-slider-nested .splide__arrows:before {
    content: none;
}

#brx-content .page-profil .brxe-slider-nested.splide,
#brx-content .page-profil .splide__track {
    overflow: hidden;
    height: auto !important;
    touch-action: pan-y;
}

#brx-content .page-profil .splide__list {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    -moz-column-gap: 16px;
         column-gap: 16px;
    align-items: center;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
}

#brx-content .page-profil .splide__slide {
    grid-row: 1;
    grid-column: 6 / span 3;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 0;
    z-index: -1;
    filter: blur(6px);
    pointer-events: none;
    transition: opacity 0.45s ease, filter 0.45s ease;
}

#brx-content .page-profil .splide__slide.is-prev {
    grid-column: 1 / span 3;
    opacity: 0.7;
    z-index: 0;
}

#brx-content .page-profil .splide__slide.is-next {
    grid-column: 6 / span 3;
    opacity: 0.7;
    z-index: 0;
}

#brx-content .page-profil .splide__slide.is-active:not(.splide__slide--clone) {
    grid-column: 3 / span 4;
    opacity: 1;
    z-index: 1;
    filter: none;
    pointer-events: auto;
    cursor: grab;
}

#brx-content .page-profil .splide__slide:not(.is-active) :is(.profil-rejet, .brxe-xfavorite) {
    opacity: 0;
    pointer-events: none;
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .product-visual::before,
#brx-content .page-profil .bloc-pdt[data-brx-variant] :is(.bloc-titre-pdt, .bloc-survol) {
    opacity: 1;
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .bloc-survol :is( .brxe-block + .brxe-block, .brxe-post-sharing)  {
    display: none;
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .bloc-titre-pdt {
    text-align: center;
    padding-inline: 70px;
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .bloc-titre-pdt .brxe-heading {
    width: 100%;
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .bloc-titre-pdt  :is(.brxe-product-meta, .brxe-text-basic) {
    align-items: center;
    width: 100%;
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .bloc-survol{
    width: 100%;
    padding-inline: var(--space-3xs);
    padding-bottom: var(--space-xs);
}
#brx-content .page-profil .bloc-pdt[data-brx-variant] .bloc-survol .brxe-block {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
}

/* Robes moins hautes sur laptop : on réduit le carrousel, le ratio suit. */
#brx-content .page-profil .brxe-slider-nested.splide {
    max-width: min(100%, 900px);
    margin-inline: auto;
}

/* ================================================== 
PAGE UTILS
================================================== */
.page-utils #brx-content .brxe-text h2 {
    font-size: var(--text-l);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.page-utils #brx-content .brxe-text h2:only-child {
    margin-bottom: 0;
}

.page-utils #brx-content .brxe-text h3 {
    font-size: var(--text-m);
    margin-bottom: var(--space-xs);
    color: var(--dark);
    font-weight: 500;
    font-variation-settings: var(--wght-semibold);
}



/* ================================================== 
COMPLIANZ
================================================== */
#cmplz-cookiebanner-container {
    z-index: 1000;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner {
    overflow: visible;
}



#cmplz-cookiebanner-container .cmplz-cookiebanner::before {
    content: '';
    position: absolute;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 0;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    margin-top: -50vh;
    margin-left: -50vw;
    z-index: -1;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner>* {
    z-index: 2;
}

#cmplz-manage-consent .cmplz-manage-consent {
    right: auto !important;
    left: 20px;
}

#cmplz-document {
    max-width: 100% !important;
}

#cmplz-document ul {
    margin: 0;
    padding-left: 15px;
}

#cmplz-cookiebanner-container .cmplz-message {
    text-align: center;
}

#cmplz-cookiebanner-container {
    position: fixed;
}

#cmplz-cookiebanner-container .cmplz-title {
    font-size: var(--text-s);
    font-weight: 600;
    color: var(--dark);
    text-transform: none;
    font-family: var(--typo-titres);
    text-align: center;
}

#cmplz-cookiebanner-container .cmplz-btn {
    font-size: var(--text-2xs);
    transition: all 0.3s;
    border-color: transparent;
}

#cmplz-cookiebanner-container .cmplz-btn:hover {
    background: var(--second-color);
    color: var(--dark);
}

#cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences {
    border-color: var(--main-color);
}

#cmplz-cookiebanner-container .cmplz-links .cmplz-link:hover {
    text-decoration: none;
}

#cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences:hover {
    background: transparent;
}

.cmplz-cookiebanner {
    max-width: 600px !important;
}

#cmplz-cookiebanner-container .cmplz-categories,
#cmplz-cookiebanner-container .cmplz-message {
    width: 100%;
}


#wrapper #cmplz-document .cmplz-service-header h3 {
    color: var(--dark);
}

/* Ajout style btn Refus */

#cmplz-cookiebanner-container .cmplz-cookiebanner .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: 400;
    letter-spacing: 0;
    /* text-transform: none; */
    font-size: var(--text-2xs);
    padding-right: 15px;
    min-height: auto;
}

#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;
    transform: rotate(45deg);
    margin-left: 5px;
    top: 1px;
}


/* ================================================== 
COMPTE - WISHLIST
================================================== */
#brx-content .woocommerce-MyAccount-navigation {
    padding: 0 var(--space-xs);
}
#brx-content .woocommerce-form-row {
    margin-bottom: 0;   
}
#brx-content .woocommerce-form-row em {
    font-size: var(--text-2xs); 
    color: var(--dark-lighter);
    margin-top: 10px;
    display: flex;
}
#brx-content #account_display_name_field em {
    display: none;
}
#brx-content .woocommerce fieldset:not(.gfield) {
    border: 1px solid var(--second-color);
    border-radius: 0;
    margin: var(--space-l) 0 var(--space-s);
    padding: var(--space-2xs);
}

#brx-content .woocommerce fieldset:not(.gfield) legend {
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 0 var(--space-2xs);
}

/* �?tiquette dans le filet tant que le champ est vide, plus petite au-dessus dès qu�??il y a une valeur. */
#brx-content .bricks-floating-label .brxe-woocommerce-form-field {
    position: relative;
    margin-top: 1.15em;
}

#brx-content .bricks-floating-label .brxe-woocommerce-form-field > label {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
    display: block;
    width: auto;
    line-height: 1.2;
    font-size: var(--text-xs);
    transform: none;
    opacity: 1;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: top 0.18s ease, font-size 0.18s ease;
    z-index: 1;
}

#brx-content .bricks-floating-label .brxe-woocommerce-form-field:has(.input-text:not(:-moz-placeholder)) > label {
    top: -1.15em;
    font-size: var(--text-2xs);
}

#brx-content .bricks-floating-label .brxe-woocommerce-form-field:focus-within > label,
#brx-content .bricks-floating-label .brxe-woocommerce-form-field:has(.input-text:not(:placeholder-shown)) > label {
    top: -1.15em;
    font-size: var(--text-2xs);
}

#brx-content .bricks-floating-label .brxe-woocommerce-form-field:has(.show-password-input) > label {
    right: 36px;
}

/* Champs compte injectes (inscription / details) : meme etiquette flottante. */
#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field, #date_mariage_field) {
    position: relative;
    margin-top: 1.15em;
    margin-bottom: 0;
    padding: 0;
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) :is(.eglantine-account-name-fields, .eglantine-account-profile-fields) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-m);
    row-gap: var(--space-m);
    width: 100%;
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) :is(.eglantine-account-name-fields, .eglantine-account-profile-fields) .form-row {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}
#brx-content .eglantine-account-profile-fields {
    margin-bottom: var(--space-s);
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field, #date_mariage_field) > label {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
    display: block;
    width: auto;
    line-height: 1.2;
    font-size: var(--text-xs);
    font-weight: 600;
    font-family: var(--typo-titres);
    color: var(--dark);
    transform: none;
    opacity: 1;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: top 0.18s ease, font-size 0.18s ease;
    z-index: 1;
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field, #date_mariage_field) > label .optional,
#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field, #date_mariage_field) > label .required {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    color: inherit;
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field):focus-within > label,
#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field):has(input:not(:placeholder-shown)) > label,
#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row#date_mariage_field > label {
    top: -1.15em;
    font-size: var(--text-2xs);
    overflow: hidden;
    text-overflow: ellipsis;
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row:is(#first_name_field, #last_name_field, #departement_field, #date_mariage_field) .woocommerce-input-wrapper input {
    width: 100%;
    box-shadow: none;
    outline: none;
}

#brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) .form-row#date_mariage_field .woocommerce-input-wrapper input[type="date"] {
    border: none;
    border-bottom: 1px solid var(--second-color);
    border-radius: 0;
    background: transparent;
    min-height: 42px;
    padding-right: 2rem;
}

#brx-content .woocommerce-form-row .woocommerce-input-wrapper,
#brx-content .woocommerce-form-row .password-input {
    display: block;
    position: relative;
    width: 100%;
}

#brx-content .woocommerce-form-row .show-password-input {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 30px;
}


/* Gravity : étiquette dans le champ, plus petite au-dessus dès qu�??il est actif ou rempli. Les zones de texte gardent leur étiquette au-dessus du cadre. */
#brx-content .gform_wrapper .gfield:is(.gfield--type-text, .gfield--type-email, .gfield--type-phone, .gfield--type-number, .gfield--type-website, .gfield--type-password, .gfield--type-date),
#brx-content .gform_wrapper .gfield--type-name .gform-grid-col {
    position: relative;
    margin-top: 1.15em;
}

#brx-content .gform_wrapper .gfield:is(.gfield--type-text, .gfield--type-email, .gfield--type-phone, .gfield--type-number, .gfield--type-website, .gfield--type-password, .gfield--type-date) > .gfield_label,
#brx-content .gform_wrapper .gfield--type-name .gform-field-label--type-sub {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
    display: block;
    width: auto;
    line-height: 1.2;
    font-size: var(--text-xs);
    transform: none;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: top 0.18s ease, font-size 0.18s ease;
    z-index: 1;
}

#brx-content .gform_wrapper .gfield.is-floated > .gfield_label,
#brx-content .gform_wrapper .gform-grid-col.is-floated > .gform-field-label--type-sub {
    top: -1.15em;
    font-size: var(--text-2xs);
}

#brx-content .gform_wrapper .gfield--type-date > .gfield_label {
    right: 2.5rem;
}

#brx-content .gform_wrapper .gfield--type-date:not(.is-floated) input::placeholder {
    color: transparent;
}

#brx-content .gform_wrapper .ginput_container_date > input.datepicker {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}
#brx-content  .gform-datepicker-calendar table.calendar td.day span {
    border-color: transparent;
    border-radius: 0;
}
#brx-content  .gform-datepicker-calendar table.calendar td.day span:hover {
    --gf-local-bg-color: var(--light-bg);
}
#brx-content  .gform-datepicker-calendar table.calendar td.day.selected span {
    --gf-local-bg-color: var(--main-color);
}
#formulaire-style .gfield:not(.gfield--type-text, .gfield--type-email, .gfield--type-phone, .gfield--type-number, .gfield--type-website, .gfield--type-password, .gfield--type-date, .gfield--type-name) > .gfield_label {
    position: static;
    top: auto;
    margin-bottom: var(--space-s);
    pointer-events: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    transform: none;
}

#brx-content .woocommerce-privacy-policy-text {
    font-size: var(--text-2xs);   
    margin-bottom: var(--space-2xs);
}

/* ================================================== 
MEDIA QUERIES
================================================== */
@media (max-width: 1920px) {
    :root body {
        --almost-full: 1800px;
    }
}
@media (max-width: 1800px) {
    :root body {
        --almost-full: 100%;
    }
}

@media (max-width: 1600px) {
    :root body {
        --offset-vw: var(--space-s);
    }

}

@media (max-width: 1400px) {
    :root body {
        --offset-vw: var(--space-xs);
        --logo-width: 250px;
        --header-height: 160px;
        --offset-sidebar: 250px;
        /* --text-8xl: var(--text-7xl);
        --text-7xl: var(--text-6xl);
        --text-6xl: var(--text-5xl);
        --text-5xl:var(--text-4xl); */
        --vignettes: 100px;
    }

    #brx-content .titre-h1 h1 {
        font-size: var(--text-4xl);
    }

    #brx-content .titre-special h2 {
        font-size: var(--text-3xl);
    }
    #brx-content .timeline {
        --lt-item-spacing: var(--space-xl);
    }
    #brx-content .listing-blog > .bloc-lien:first-child .brxe-heading {
        font-size: var(--text-m);
    }
    #brx-content .listing-blog > .bloc-lien:first-child > .brxe-block {
        padding-inline: var(--space-s);
    }

    #brx-content #formulaire-style .gchoice label {
        font-size: var(--text-s);
    }

    #brx-content #formulaire-style .gfield:is(.gfield--type-image_choice, .gfield--type-radio) > .gfield_label {
        font-size: var(--text-4xl);
    }

    #brx-header .x-header-search_toggle-close {
        --ls-field-pad: var(--space-s);
    }
}

@media (max-width: 1200px) {

    :root #brx-content {
        --container-reduced: 100%;
    }

    :root #brx-header,
    :root #brx-header.scrolling,
    :root body {
        --logo-width: 230px;
        --header-height: var(--sticky-header-height);
        --sticky-header-height: 106px;
        --offset-sidebar: 200px;
        --vignettes: 80px;
    }

    #brx-header .brxe-dropdown>.brx-submenu-toggle>a+button {
        display: flex;
        font-size: var(--text-xs);
        padding-bottom: var(--space-2xs);
    }

    #brx-header.scrolling .header-top {
        padding-top: 0;
    }


    #brx-header .brx-nav-nested-items li.brxe-dropdown.open>.brx-submenu-toggle>button {
        transform: rotate(180deg);
    }

    #brx-header.scrolling .brxe-dropdown .sous-menu {
        transform: translateY(0);
    }

    #brx-header .brx-nav-nested-items {
        overflow-y: auto;
    }

    #brx-header .brx-nav-nested-items>li {
        margin-bottom: -1px;
    }

    #brx-header .brx-nav-nested-items .sous-menu {
        border-bottom: 1px solid var(--bordure);
        min-width: auto !important;
        width: 100%;
        max-width: 100%;
    }

    #brx-header .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle::before,
    #brx-header .brx-nav-nested-items>li>.brxe-text-link::before {
        display: none;
    }

    #brx-header .menu-home .text,
    #brx-header .brx-nav-nested-items li.menu-item:has(.menu-hidden) {
        display: inline-block;
    }

    #brx-header .brx-nav-nested-items li.menu-item:has(.menu-hidden) {
        padding: var(--space-2xs);
        align-self: flex-start;
    }

    #brx-header .brx-nav-nested-items li.menu-item:has(.menu-hidden) a {
        /* border: none; */
    }

    #brx-header .brx-nav-nested-items li.menu-item:has(.menu-hidden) .brxe-button {
        margin-top: var(--space-3xs);
        padding: var(--space-3xs) 10px;
        border-top-color: var(--main-color);
        border-bottom-color: var(--main-color);
    }

    #brx-header .brxe-nav-nested .brxe-dropdown.caret>.brx-submenu-toggle>a+button {
        display: flex;
    }

    #brx-header .brx-nav-nested-items>li.brxe-dropdown>.brx-submenu-toggle.aria-current::before,
    #brx-header .brx-nav-nested-items>li>.brxe-text-link[aria-current="page"]::before {
        transform: none;
        left: 0;
        top: 0;
        height: 100%;
        width: 5px;
    }

    #brx-header .brx-nav-nested-items .brxe-dropdown:not(.brx-has-megamenu) .sous-menu .menu-item>a {
        padding-block: var(--space-6xs);
    }

    #brx-header .brx-nav-nested-items .brxe-dropdown:not(.brx-has-megamenu) .sous-menu {
        padding-block: var(--space-xs);
    }

    #brx-header .brx-nav-nested-items .brx-has-megamenu {}

    #brx-content .titre-h1 h1 {
        font-size: var(--text-3xl);
    }

    #brx-content .titre-special h2 {
        font-size: var(--text-2xl);
    }

    #brx-content .filtres .bricks-choices__inner>.bricks-choices__placeholder--multiple {
        font-size: var(--text-3xs);
    }

    #brx-content .section-categories .categorie:nth-of-type(2n) {
        flex-direction: column;
    }

    #brx-content .brxe-slider-nested .splide__arrows {
        margin-inline: auto !important;
        padding-inline: var(--space-xs);
        gap: var(--space-xs);
        max-width: calc(120px + var(--space-xs) + calc(2* var(--space-xs)));
    }
    #brx-content .timeline {
        --lt-item-spacing: var(--space-l);
    }
    #brx-content .sommaire .titre-special em {
        font-size: var(--text-s);
    }
    #brx-content .listing-blog > .bloc-lien:first-child .brxe-heading {
        font-size: var(--text-s);
    }

    #brx-content .listing-blog > .bloc-lien:first-child {
        grid-template-columns: 1fr 1fr;
    }

    #brx-content .listing-blog > .bloc-lien:first-child > a:first-child {
        aspect-ratio: 1 / 1;
    }
    #brx-content .wrap-toc.is-fixed {
        padding-left: var(--space-2xs);
    }

    #formulaire-style .gfield--type-image_choice .gfield_radio {
        gap: var(--space-xs);
    }
    #brx-content #formulaire-style .gchoice label {
        font-size: var(--text-xs);
    }
    #brx-content #formulaire-style .gfield:is(.gfield--type-image_choice, .gfield--type-radio) > .gfield_label {
        font-size: var(--text-3xl);
    }

    #brx-header .x-header-search_toggle-close {
        --ls-field-pad: var(--space-xs);
    }
}


@media (max-width: 991px) {

    :root #brx-header,
    :root #brx-header.scrolling,
    :root body {
        --logo-width: 200px;
        --sticky-header-height: 94px;
    }

    /* #brx-content .titre-h1 h1 {
        font-size: var(--text-2xl);
    } */
    /* #brx-content .titre-special h2 {
        font-size: var(--text-4xl);
    } */
    body .bricks-button, #brx-content .gform_footer .gform_button {
        min-height: 48px;
    }

    /* #brx-content .section-accessoires .brx-grid > a.brxe-block {
    grid-column: span 3;
}
#brx-content .section-accessoires .brx-grid > a.brxe-block:not(:last-child) .brxe-image img {
    aspect-ratio: 4/3;
}
#brx-content .section-accessoires .brx-grid > a.brxe-block:last-child .brxe-image img {
    aspect-ratio: 21/9;

}
#brx-content .section-accessoires .brx-grid > a.brxe-block:last-child {
    grid-column: span 6;
} */

    #brx-content .filtres .brxe-filter-select {
        width: 100%;
    }

    #brx-content .filtres .brxe-filter-select,
    #brx-content .filtres .filtre-ico {
        padding-bottom: 8px;
    }

    #brx-content .brxe-accordion .accordion-title .title,
    #brx-content .brxe-accordion-nested .accordion-title-wrapper .brxe-heading {
        font-size: var(--text-s);
    }

    #brx-content .filtres .bricks-choices__inner>.bricks-choices__placeholder--multiple {
        font-size: var(--text-2xs);
    }

    #brx-content .timeline {
        --lt-item-spacing: var(--space-2xl);
    }

    #brx-content .timeline::before,
    #brx-content .timeline::after {
        left: 5px;
        transform: none;
    }

    #brx-content .lt-item:nth-child(even) {
        margin-left: 0;
        margin-top: 0;
    }

    #brx-content .lt-item:nth-child(odd) i.brxe-icon,
    #brx-content .lt-item:nth-child(even) i.brxe-icon {
        left: calc(-1 * var(--lt-item-spacing));
        right: auto;
        transform: none;
    }
    #brx-content .lt-item:nth-child(2n+1) .brxe-block {
        text-align: left;
        align-items: flex-start;
    }
    #brx-content .lt-item:nth-child(2n+1) .brxe-divider {
        justify-content: flex-start;
    }
    #brx-content .brxe-section:has(.btn-toc),
    #brx-content .brxe-container:has(> .btn-toc) {
        position: relative;
    }

    #brx-content .btn-toc {
        position: absolute !important;
        right: 0;
        bottom: 0;
        left: auto;
        top: auto;
        z-index: 20;
        margin: 0;
    }

    #brx-content .btn-toc.is-fixed {
        position: fixed !important;
        top: 50%;
        right: 0;
        bottom: auto;
        left: auto;
        transform: translateY(-50%);
    }


    #formulaire-style .gfield--type-image_choice .gfield_radio {
        flex-flow: row wrap;
        gap: var(--space-l);
    }

    #formulaire-style .gfield--type-image_choice .gchoice {
        flex: 0 0 calc((100% - var(--space-l)) / 2);
        max-width: calc((100% - var(--space-l)) / 2);
        min-width: 0;
    }
    #brx-content #formulaire-style .gfield:is(.gfield--type-image_choice, .gfield--type-radio) > .gfield_label {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 767px) {

    :root #brx-header,
    :root #brx-header.scrolling,
    :root body {
        --logo-width: 180px;
        --sticky-header-height: 90px;
        --vignettes: 70px;
    }

    #brx-content :is(.woocommerce-form-register, .woocommerce-EditAccountForm) :is(.eglantine-account-name-fields, .eglantine-account-profile-fields) {
        grid-template-columns: 1fr;
    }

    #brx-header .header-top .x-header-search_toggle-open svg,
    #brx-header :is(.menu-compte, .menu-wishlist) {
        width: 24px;
        height: 24px;

    }

    #brx-header .wpml-ls-legacy-dropdown .js-wpml-ls-item-toggle {
        gap: 5px;
    }

    #brx-header .wpml-ls-legacy-dropdown .js-wpml-ls-item-toggle::after {
        font-size: 10px;
        top: 2px;
    }

    #brx-header .wpml-ls-legacy-dropdown a {
        font-size: 15px;
    }

    /* #brx-content .titre-special h2 {
        font-size: var(--text-3xl);
    } */

    /* #brx-content .section-marques .marque:nth-of-type(2n) .col-tx-marque {
        align-items: flex-start;
    } */
    #brx-content .section-categories .categorie:nth-of-type(even) .col-tx-categorie>.brxe-block {
        align-items: flex-start;
    }

    /* #brx-content .section-marques .marque .col-tx-marque > .brxe-block, #brx-content .section-marques .marque:nth-of-type(2n) .col-tx-marque > .brxe-block {
        padding-right: 0;
        padding-left: var(--space-l);
    }
     #brx-content .section-marques .marque .col-tx-marque > .brxe-block::before, #brx-content .section-marques .marque:nth-of-type(2n) .col-tx-marque > .brxe-block::before {
        left: calc(-1 * var(--space-xs));
        right: auto;
        width: var(--space-l);
        height: 100%;
        top: 0;
     } */
    #brx-content .titre-h1 h1 {
        font-size: var(--text-2xl);
    }

    body.has-video-gallery .flex-control-thumbs li:first-child::before,
    body.has-video-gallery .brx-product-gallery-thumbnail-slider .woocommerce-product-gallery__video::before {
        border-width: 8px 0 8px 13px;
    }

    #brx-content .brxe-slider-nested .splide__arrows:before, #brx-content .brxe-carousel:not(.carrousel-inside):before {
        width: 60vw;
        left: calc(50% - 30vw);
        height: 100px;
    }
    #brx-content .timeline {
        --lt-item-spacing: var(--space-xl);
    }
    #brx-content .listing-blog > .bloc-lien:first-child {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    #brx-content .listing-blog > .bloc-lien:first-child .brxe-heading {
        font-size: var(--text-s);
    }
    #brx-content .listing-blog > .bloc-lien:first-child > .brxe-block {
        padding-block: var(--space-l);
    }


    #formulaire-style .gfield--type-image_choice .gfield_radio {
        -moz-column-gap: var(--space-s);
             column-gap: var(--space-s);
    }

    #formulaire-style .gfield--type-image_choice .gchoice {
        flex: 0 0 calc((100% - var(--space-s)) / 2);
        max-width: calc((100% - var(--space-s)) / 2);
        min-width: 0;
    }
    #brx-content #formulaire-style .gfield:is(.gfield--type-image_choice, .gfield--type-radio) > .gfield_label {
        font-size: var(--text-xl);
    }

    #formulaire-style .gf_progressbar_title :is(.gf_step_current_page, .gf_step_page_count) {
        font-size: var(--text-2xs);
    }

    #brx-content .page-profil .splide__list {
        grid-template-columns: minmax(0, 1fr);
        -moz-column-gap: 0;
             column-gap: 0;
    }

    #brx-content .page-profil .splide__slide,
    #brx-content .page-profil .splide__slide.is-prev,
    #brx-content .page-profil .splide__slide.is-next {
        grid-column: 1;
        opacity: 0;
        filter: none;
        pointer-events: none;
    }

    #brx-content .page-profil .splide__slide.is-active:not(.splide__slide--clone) {
        grid-column: 1;
        width: auto !important;
        opacity: 1;
        filter: none;
        pointer-events: auto;
    }

    #brx-content .gform_wrapper .gform_fields, #brx-content .gform_wrapper .ginput_complex {
        -moz-column-gap: var(--space-s);
             column-gap: var(--space-s);
    }
    #brx-content .woocommerce-MyAccount-navigation {
        padding: 0;
    }

    #brx-header .x-header-search_toggle-close {
        height: 70px;
    }

    #brx-header .header-ls-results-wrap {
        max-height: calc(100vh - var(--header-height) - 70px);
        max-height: calc(100dvh - var(--ls-panel-top, calc(var(--header-height) + 70px)));
    }
}

@media (max-width: 639px) {

    #brx-content .gform_wrapper .ginput_complex.ginput_container_address {
        grid-template-columns: repeat(2, 1fr);
    }
    #brx-content .gform_wrapper .ginput_complex.ginput_container_address .ginput_address_country {
        grid-column: 1 / -1;
    }
    #brx-content .gform_wrapper .gfield_checkbox  {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }   

}

@media (max-width: 478px) {

    :root #brx-header,
    :root #brx-header.scrolling,
    :root body {

        --sticky-header-height: 90px;
        --vignettes: 50px;
    }

    :root #brx-header,
    :root #brx-header.scrolling {
        --logo-width: 170px;
    }

    #brx-header .header-top .x-header-search_toggle-open svg,
    #brx-header :is(.menu-compte, .menu-wishlist) {
        width: 21px;
        height: 21px;

    }

    #brx-header .wpml-ls-legacy-dropdown a {
        font-size: 14px;
    }

    #brx-content .titre-special h2 {
        font-size: var(--text-xl);
    }

    /* #brx-content .titre-special h2 , #brx-content .titre-special em {
        font-size: var(--text-2xl);
    } */
    /* #brx-content .section-marques .marque .col-tx-marque > .brxe-block::before, #brx-content .section-marques .marque:nth-of-type(2n) .col-tx-marque > .brxe-block::before {
        width: var(--space-s);
    }
    #brx-content .section-marques .marque .col-tx-marque > .brxe-block, #brx-content .section-marques .marque:nth-of-type(2n) .col-tx-marque > .brxe-block {
        padding-left: var(--space-s);
    } */
    /* #brx-content .section-accessoires .brx-grid > a.brxe-block {
    grid-column: span 6 !important;
}
#brx-content .section-accessoires .brx-grid > a.brxe-block .brxe-image img {
    aspect-ratio: 16/9 !important;
} */
    #brx-content .titre-h1 h1 {
        font-size: var(--text-xl);
    }

    #brx-content .brxe-accordion .accordion-title .title,
    #brx-content .brxe-accordion-nested .accordion-title-wrapper .brxe-heading {
        font-size: var(--text-xs);
    }
    #brx-content .timeline {
        --lt-item-spacing: var(--space-l);
    }

    #brx-content .gform_wrapper .gform_fields, #brx-content .gform_wrapper .ginput_complex {
        -moz-column-gap: var(--space-xs);
             column-gap: var(--space-xs);
    }


    #brx-content .gform_wrapper .gfield_radio {
        flex-direction: column;
        gap: var(--space-2xs);
    }

    #brx-content .gform_wrapper .gfield_radio,
    #brx-content .gform_wrapper .gfield_checkbox {
        grid-template-columns: auto;
    }
    #brx-content .gform_wrapper .gfield_checkbox, #brx-content .gform_wrapper .ginput_complex.ginput_container_address  {
        display: flex;
        flex-direction: column;
    }
    .cmplz-cookiebanner .cmplz-links ul {
        flex-wrap: wrap;
    }
    #brx-content #formulaire-style .gfield--type-image_choice .gfield_radio {
        display: flex;
        flex-flow: row wrap;
        -moz-column-gap: var(--space-xs);
             column-gap: var(--space-xs);
        row-gap: var(--space-l);
    }

    #brx-content #formulaire-style .gfield--type-image_choice .gchoice {
        flex: 0 0 calc((100% - var(--space-xs)) / 2);
        max-width: calc((100% - var(--space-xs)) / 2);
        min-width: 0;
    }
    #brx-content #formulaire-style .gfield:is(.gfield--type-image_choice, .gfield--type-radio) > .gfield_label {
        font-size: var(--text-l);
    }
    #brx-content #formulaire-style .gchoice label {
        font-size: var(--text-2xs);
    }
    #formulaire-style .gfield--type-radio:not(.gfield--type-image_choice) .gfield_radio .gfield_label {
        font-size: var(--text-xs);
    }

    #brx-header .x-header-search_toggle-close {
        height: 60px;
    }

    #brx-header .header-ls-results-wrap {
        max-height: calc(100vh - var(--header-height) - 60px);
        max-height: calc(100dvh - var(--ls-panel-top, calc(var(--header-height) + 60px)));
    }
}
