/*------------
*  CUSTOM CSS FOR WAREHOUSE CHILD THEME
*------------*/
/* wishlist-page, custom-jolisearch, custom-mobile-menu : chargés via theme.yml (pas de @import ici — incompatible CCC) */

/*-------- INSTALL --------*/
.ps-shoppingcart.dropdown #blockcart-content {
    z-index: 1000;
}

/*------------------------
* ------- GÉNÉRAL --------
*-------------------------*/

/* Espacement latéral aéré (header + contenu) — style type */
:root {
    --cex-page-pad-x: 1.25rem;
    /* 20px — mobile / petite tablette */
}

@media (min-width: 768px) {
    :root {
        --cex-page-pad-x: 1.75rem;
        /* 28px — tablette */
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    :root {
        --cex-page-pad-x: 2rem;
        /* 32px — laptop : zone où ça colle le plus */
    }
}

@media (min-width: 1400px) {
    :root {
        --cex-page-pad-x: 1.5rem;
        /* 24px — grands écrans (max-width joue déjà) */
    }
}

#header .container,
#wrapper .container,
#footer .container,
.elementor-section.elementor-section-boxed>.elementor-container {
    padding-left: var(--cex-page-pad-x);
    padding-right: var(--cex-page-pad-x);
}

/*--- Back to top ---*/
#back-to-top.-back-to-top-visible {
    border-radius: 50px;
}

/*--- Boutons ---*/
.btn-primary,
.btn-secondary {
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
}

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

/*----- TOP BAR -----*/
#header .header-nav .cex-topbar-right {
    text-align: right;
}

#header .header-nav .cex-topbar-utils {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 1.25rem;
    max-width: 100%;
}

.cex-topbar-usps {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cex-topbar-usps__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    white-space: nowrap;
}

.cex-topbar-usps__icon {
    font-size: 0.875rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.cex-topbar-links__list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cex-topbar-links__link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity 0.15s ease;
}

.cex-topbar-links__link:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Sélecteur de langue moderne */
.cex-lang-selector__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.cex-lang-selector__toggle:hover,
.cex-lang-selector__toggle:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    color: inherit;
}

.cex-lang-selector__flag {
    border-radius: 2px;
    object-fit: cover;
}

.cex-lang-selector__code {
    letter-spacing: 0.04em;
}

.cex-lang-selector__caret {
    font-size: 0.75rem;
    opacity: 0.8;
}

.cex-lang-selector__menu {
    min-width: 10rem;
    padding: 0.35rem 0;
    border-radius: 8px;
    margin-top: 0.35rem;
}

.cex-lang-selector__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
}

.cex-lang-selector__item.is-current .cex-lang-selector__option {
    font-weight: 600;
}

/* Masquer devise et compare résiduels dans la top bar */
#header .header-nav .currency-selector,
#header .header-nav #currency_selector {
    display: none !important;
}

/* Wishlist header : icône seule */
#header-wishlist-btn {
    position: relative;
}

#header-wishlist-btn .header-wishlist-btn .title {
    display: none !important;
}

#header-wishlist-btn .header-wishlist-btn>.icon {
    position: relative;
    font-size: 1.25rem;
}

/* Pastilles quantité (wishlist + panier) — chiffre petit et centré */
#header .cart-products-count-btn,
#header .js-iqitwishlist-nb,
#mobile-header .cart-products-count-btn,
#mobile-header .js-iqitwishlist-nb,
.col-mobile-btn-wishlist .js-iqitwishlist-nb,
#header-wishlist-btn .js-iqitwishlist-nb {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    line-height: 1 !important;
    border-radius: 50%;
    min-width: 16px;
    width: auto;
    height: 16px;
    padding: 0 4px !important;
    font-size: 0.62rem !important;
    font-weight: 700;
    position: absolute;
    top: -4px;
    right: -4px;
}

/* Masquer uniquement si vide (pas de d-none) */
#header-wishlist-btn .js-iqitwishlist-nb:empty,
.col-mobile-btn-wishlist .js-iqitwishlist-nb:empty,
#header .js-iqitwishlist-nb:empty,
#mobile-header .js-iqitwishlist-nb:empty {
    display: none !important;
}

#header-wishlist-btn .js-iqitwishlist-nb,
.col-mobile-btn-wishlist .js-iqitwishlist-nb {
    background: #60c700;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    #header .header-nav .cex-topbar-utils {
        justify-content: center;
        gap: 0.5rem 0.75rem;
    }

    .cex-topbar-usps {
        display: none !important;
    }

    .cex-topbar-usps__item {
        white-space: normal;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .cex-topbar-usps__item span {
        font-size: 0.75rem;
    }

    .cex-topbar-links__link,
    .cex-lang-selector__toggle {
        font-size: 0.75rem;
    }
}

/* #header .header-nav {
    font-size: 1rem;
} */

/* Wishlist mobile : pastille au-dessus de l'icône */
.col-mobile-btn-wishlist {
    position: relative;
}

.col-mobile-btn-wishlist .m-nav-btn {
    position: relative;
    display: inline-block;
}

.col-mobile-btn-wishlist .m-nav-btn>i {
    position: relative;
}

#mobile-header .col-mobile-logo {
    padding: 0;
}

/*------- SEARCH BAR -------*/
/* Joli Search v5 : plus de classe jQuery UI ui-autocomplete-input sur l'input */
#desktop-header .search-widget .form-control.form-search-control,
#mobile-header .search-widget .form-control.form-search-control,
.form-control.form-search-control.ui-autocomplete-input {
    border-radius: 200px !important;
    padding-left: 50px;
}

#desktop-header .search-widget .search-btn,
#mobile-header .search-widget .search-btn,
.search-widget .search-btn {
    left: 0;
    right: unset;
}

/* Spinner Joli Search v5 : à droite pour ne pas chevaucher la loupe à gauche */
#desktop-header .search-widget .form-search-control.jolisearch-loading,
#mobile-header .search-widget .form-search-control.jolisearch-loading {
    background-position: calc(100% - 1rem) center !important;
}

/* Recherche desktop : occupe davantage l’espace restant du header */
@media (min-width: 992px) {
    #desktop-header .header-top .col-header-search {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding-left: 0.35rem;
        padding-right: 0.5rem;
    }

    #desktop-header .header-top .col-header-search .search-widget {
        width: 100%;
        max-width: none;
    }

    #desktop-header .header-top .col-header-left,
    #desktop-header .header-top .col-header-menu {
        flex: 0 0 auto;
    }

    #desktop-header .header-top .col-header-menu {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    #desktop-header .header-top .col-header-left {
        padding-right: 0.35rem;
    }

    /* Légère réduction du logo pour laisser plus de place à la recherche */
    #desktop-header #desktop_logo img.logo {
        max-width: 340px;
        width: auto;
        height: auto;
    }
}

/*------------
*  STUCK HEADER
*------------*/

.stuck .iqit-megamenu-container {
    padding-bottom: 10px;
}

.stuck img.logo {
    width: 80%;
}

/*------------
*  MENU
*  REVERT note (2026-09) :
*  Ancien style du menu vertical « Navigation » (iqitmegamenu) conservé ci-dessous en commentaire.
*  Méga-menu catalogue : module cexcatalogmenu + assets/css/catalog-megamenu.css
*  Rollback instantané : php scripts/cexcatalogmenu/rollback.php --apply
*  (restaure aussi l’override FrontController historique avec buildCexCatalogMenu)
*------------*/

/*
#desktop-header-container .cbp-vertical-title {
    height: 50px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
}

.cbp-horizontal>ul>li>a {
    border-radius: 200px !important;
}

#cbp-hrmenu1 .cbp-vertical-title {
    border-radius: 100px;
}

.cbp-vertical-on-top {
    margin-right: 10px;
}

.cbp-vertical-on-top {
    margin-right: 0;
    width: 230px;
}

.cbp-vertical-on-top #cbp-hrmenu1-ul {
    border-radius: 5px;
    margin-top: -52px;
    padding-top: 52px;
    background-color: #0091c8;
    margin-left: -2px;
}

.cbp-hrmenu.cbp-vertical>ul>li {
    background-color: #f2f3f9;
}

.cbp-hrmenu.cbp-vertical .cbp-hrsub-inner {
    border-radius: 0 5px 5px 5px;
}

#cbp-hrmenu1>ul>li>a,
#cbp-hrmenu1>ul>li>span.cbp-main-link,
.cbp-hrmenu .cbp-hrsub-inner .cbp-column-title,
.cbp-hrmenu .cbp-hrsub-inner a.cbp-column-title:link {
    font-weight: 600;
}

.cbp-vertical-on-top .cbp-hrsub-inner .cbp-menu-column {
    margin-top: 0;
}

.cbp-vertical-on-top .cbp-hrsub-inner .row.cbp-categories-row>div {
    margin-top: 0;
    padding: 0;
}

.cbp-vertical-on-top .cbp-hrsub-inner .row.cbp-categories-row>div .cbp-category-link-w,
.cbp-vertical-on-top .cbp-hrsub-inner .row.cbp-categories-row>div a.cbp-column-title {
    display: block;
}

.cbp-vertical-on-top .cbp-hrsub-inner .row.cbp-categories-row>div a.cbp-column-title {
    padding: 0.75rem 1rem;
    margin-bottom: 0;
}

.cbp-vertical-on-top .cbp-hrsub-inner {
    padding-left: 0;
    padding-right: 0;
}

.cbp-vertical-on-top .cbp-hrsub-inner .row.menu_row {
    padding: 0;
    margin: 0;
}

.cbp-vertical-on-top .cbp-hrsub-inner .row.cbp-categories-row>div:hover {
    background-color: #0091c8;
}

.cbp-vertical-on-top .cbp-hrsub-inner .row.cbp-categories-row>div:hover a.cbp-column-title {
    color: #fff !important;
}
*/

/*------- HORIZONTAL MENU (pill) — conservé désactivé avec l’ancien menu -------*/
/*
.cbp-horizontal>ul>li>a {
    border-radius: 200px !important;
}
*/


/*------------
*  BREADCRUMB
*------------*/

#wrapper .breadcrumb {
    padding-top: 25px;
    padding-bottom: 0;
}

#wrapper .breadcrumb li::after {
    content: ">";
}

.breadcrumb li span {
    color: #666666;
}

.breadcrumb li a span {
    color: #22262a;
}

/*------- BELOW BREADCRUMB -------*/
.h1.page-title.title-below-breadcrumb {
    margin-bottom: 0;
    font-size: 2.8571428571rem;
    display: inline-block;
}

.nbproduits-nexttitle {
    margin-left: 10px;
    margin-bottom: 0;
    display: inline-block;
    background-color: #f2f3f9;
    color: #666666;
    padding: 5px 10px;
    border-radius: 100px;
    font-weight: 600;
}

/*------- ENCART CONSEIL (catégorie) -------*/
.category-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.category-header-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 4px;
    min-width: 0;
}

.category-header-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    min-width: 0;
}

.cex-category-count {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.cex-category-meta-sep {
    color: #c4c7ce;
    font-weight: 700;
    line-height: 1;
}

#js-product-list-header {
    margin-bottom: 0;
}

.category-advice-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: #1f1f1f;
    background-color: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 28px;
    padding: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.category-advice-btn:hover,
.category-advice-btn:focus {
    color: #0091c8;
    border-color: #0091c8;
    text-decoration: none;
}

.category-advice-btn__title {
    color: #666666;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    margin: 0 16px 0 22px;
}

.category-advice-btn:hover .category-advice-btn__title {
    color: #0091c8;
}

.category-advice-btn__avatars {
    display: flex;
    align-items: center;
    padding: 3px;
}

.category-advice-btn__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 3px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef6fa;
    color: #0091c8;
    font-size: 1rem;
}

.category-advice-btn__avatar:first-child {
    margin-left: 0;
}

.category-advice-btn__avatar:nth-child(2) {
    background: #e8f4f0;
    color: #2a9d8f;
}

.category-advice-btn__avatar:nth-child(3) {
    background: #f3f0f8;
    color: #6b5b95;
}

@media (max-width: 991.98px) {
    .category-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        margin-bottom: 0.55rem;
    }

    .category-header-title {
        width: 100%;
    }

    .h1.page-title.title-below-breadcrumb {
        font-size: 1.75rem;
        line-height: 1.15;
    }

    .category-header-meta {
        width: 100%;
        gap: 0.35rem 0.5rem;
        margin-top: 0.1rem;
    }

    .cex-category-count {
        font-size: 0.88rem;
    }

    /* Service client façon « Conseil » */
    .category-advice-btn {
        gap: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .category-advice-btn:hover,
    .category-advice-btn:focus {
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .category-advice-btn__avatars {
        display: none;
    }

    .category-advice-btn__title {
        margin: 0;
        padding: 0;
        font-size: 0.88rem;
        font-weight: 500;
        color: #858585;
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }

    .category-advice-btn:hover .category-advice-btn__title {
        color: #0091c8;
    }

    /* Barre Filtres + tri sur une ligne */
    #js-product-list-top.cex-listing-toolbar {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        margin-bottom: 0.85rem;
    }

    .cex-listing-toolbar__row {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.45rem 0.75rem;
        min-height: 0;
        margin: 0 !important;
        padding: 0.7rem 0;
        border-top: 1px solid #e6e8ec;
        border-bottom: 1px solid #e6e8ec;
    }

    .cex-listing-toolbar__row>[class*="col"] {
        flex: 0 0 auto;
        width: auto !important;
        max-width: none;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .cex-listing-toolbar__row>.facated-toggler:empty,
    .cex-listing-toolbar__row>.view-switcher {
        display: none !important;
    }

    .cex-listing-toolbar__row .filtresurmobile.has-as5-filters {
        display: flex !important;
        flex: 1 1 auto;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.4rem;
        width: auto !important;
        /* max-width: calc(100% - 7.5rem); */
        margin: 0;
    }

    .cex-listing-toolbar__row .filtresurmobile .cex-as5-filters-trigger {
        flex: 0 0 auto;
    }

    /* Chips sous la barre, pleine largeur, alignés à gauche */
    #js-product-list-top>.cex-as5-active-chips {
        position: relative;
        display: flex;
        flex: none;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        margin: 0.45rem 0 0;
        padding: 0;
        order: unset;
    }

    #js-product-list-top>.cex-as5-active-chips.is-empty,
    #js-product-list-top>.cex-as5-active-chips[hidden] {
        display: none !important;
    }

    #js-product-list-top>.cex-as5-active-chips .PM_ASSelections,
    #js-product-list-top>.cex-as5-active-chips ul {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start !important;
        margin: 0 !important;
    }

    .cex-listing-toolbar__row .col.col-auto:has(.cex-sort-order),
    .cex-listing-toolbar__row .col-left-sort {
        margin-left: auto;
    }

    .cex-listing-toolbar__row .cex-sort-order .select-title {
        min-height: 2.35rem;
        padding-right: 0 !important;
        font-size: 0.92rem;
    }
}

@media (max-width: 767px) {
    .h1.page-title.title-below-breadcrumb {
        font-size: 1.65rem;
    }
}

/*------------------------
* ------- PRODUCTS LIST -------
*-------------------------*/

.products-selection {
    margin: 0 0 1rem;
    border-top: 0;
    padding-bottom: 0;
}

.products-selection.cex-listing-toolbar {
    padding: 0.55rem 0.85rem;
    background: #fff;
    /* border: 1px solid #e6e8ec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(38, 42, 50, 0.04); */
}

.products-selection {
    border-bottom: none;
}

.cex-listing-toolbar__row {
    min-height: 2.5rem;
}

.cex-listing-meta {
    align-items: center;
}

.cex-listing-count {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 100px;
    border: solid 1px #d5d5d5;
}

/* Tri listing — style : sans contour, flèches ↑↓, texte entier */
.cex-sort-order {
    width: auto;
    max-width: none;
}

.cex-sort-order .select-title.form-control,
.cex-sort-order .select-title.expand-more,
.products-selection .cex-sort-order .select-title {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    height: auto !important;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.25rem 0.15rem 0.25rem 0.35rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #262a32 !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
}

.cex-sort-order .select-title:hover,
.cex-sort-order .select-title:focus,
.cex-sort-order .select-title:active,
.cex-sort-order.show .select-title {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0091c8 !important;
    outline: none !important;
}

.cex-sort-order .select-title-name {
    flex: 0 1 auto;
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
    max-width: none;
}

.cex-sort-order .select-title>.fa-angle-down,
.cex-sort-order .select-title>.fa {
    display: none;
}

.cex-sort-order__arrows {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0.65;
    color: #6b7280;
}

.cex-sort-order__arrows .fa {
    display: block !important;
    font-size: 0.72rem;
    line-height: 1;
    margin: 0 !important;
    padding: 0 !important;
}

.cex-sort-order .select-title:hover .cex-sort-order__arrows,
.cex-sort-order.show .cex-sort-order__arrows {
    color: #0091c8;
}

.cex-sort-order .dropdown-menu {
    min-width: 100%;
    width: max-content;
    max-width: min(90vw, 22rem);
    padding: 0.35rem 0;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(38, 42, 50, 0.12);
}

.cex-sort-order .dropdown-item {
    white-space: nowrap;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    color: #262a32;
}

.cex-sort-order .dropdown-item.current,
.cex-sort-order .dropdown-item:hover {
    background: #f4f6f8;
    color: #0091c8;
}

.cex-listing-active-filters:empty,
.cex-listing-active-filters:not(:has(*)) {
    display: none;
}

.cex-listing-active-filters {
    margin: 0 0 0.85rem;
}

/*
 * Tablette seule (768–991) : colonne gauche Bootstrap (col-md) alors que
 * les filtres AS5 sont déjà en mode mobile (≤991). On aligne le layout
 * sur le mobile — sans toucher <768 ni ≥992.
 */
@media (min-width: 768px) and (max-width: 991.98px) {

    body#category #left-column,
    body#best-sales #left-column,
    body#new-products #left-column,
    body#prices-drop #left-column,
    body#search #left-column,
    body#module-ambjolisearch-jolisearch #left-column,
    body#module-pm_advancedsearch4-advancedsearch4 #left-column,
    body#module-pm_advancedsearch4-searchresults #left-column,
    body#module-pm_advancedsearch4-seo #left-column {
        display: none !important;
    }

    body#category #content-wrapper,
    body#best-sales #content-wrapper,
    body#new-products #content-wrapper,
    body#prices-drop #content-wrapper,
    body#search #content-wrapper,
    body#module-ambjolisearch-jolisearch #content-wrapper,
    body#module-pm_advancedsearch4-advancedsearch4 #content-wrapper,
    body#module-pm_advancedsearch4-searchresults #content-wrapper,
    body#module-pm_advancedsearch4-seo #content-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

/* Alignement colonne filtres / barre listing (desktop) */
@media (min-width: 992px) {

    body#category #left-column,
    body#module-pm_advancedsearch4-searchresults #left-column,
    body#module-pm_advancedsearch4-seo #left-column {
        padding-top: 0;
    }

    body#category #left-column .PM_ASBlockOutputVertical,
    body#module-pm_advancedsearch4-searchresults #left-column .PM_ASBlockOutputVertical,
    body#module-pm_advancedsearch4-seo #left-column .PM_ASBlockOutputVertical {
        margin-top: 0;
    }

    body#category #content-wrapper,
    body#module-pm_advancedsearch4-searchresults #content-wrapper,
    body#module-pm_advancedsearch4-seo #content-wrapper {
        padding-top: 0;
    }

    body#category #js-product-list-top.cex-listing-toolbar,
    body#module-pm_advancedsearch4-searchresults #js-product-list-top.cex-listing-toolbar,
    body#module-pm_advancedsearch4-seo #js-product-list-top.cex-listing-toolbar {
        margin-top: 0;
    }

    /* Le titre du moteur AS aligne le rythme avec la barre listing */
    body#category #left-column .PM_ASBlockOutputVertical .card-header,
    body#module-pm_advancedsearch4-searchresults #left-column .PM_ASBlockOutputVertical .card-header,
    body#module-pm_advancedsearch4-seo #left-column .PM_ASBlockOutputVertical .card-header {
        min-height: calc(2.5rem + 1.1rem);
        display: flex;
        align-items: center;
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
}

#js-product-list .products.products-grid {
    margin-top: 0.25rem;
}

/* Filet CSS : le preloader Warehouse attend window.load (bloqué par Brevo).
   Après 2s, on le masque même sans JS / si JS du footer n'a pas tourné.
   NB : on n'anime PAS opacity sur #main-page-content — cela créerait un contexte
   d'empilement permanent qui piège les modals Bootstrap à l'intérieur de <main>.
   Le fallback JS dans layout-both-columns.tpl suffit. */
@keyframes cex-hide-page-preloader {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

#page-preloader {
    animation: cex-hide-page-preloader 0.3s ease 2s forwards;
}

/* ---------- Preloader AJAX listing (même style que #page-preloader) ---------- */
#products {
    position: relative;
}

#products .products {
    transition: opacity 0.3s ease;
}

#products #facets-loader-icon {
    display: none;
    pointer-events: none;
}

#products.-facets-loading .products {
    opacity: 0.35;
}

#products.-facets-loading #facets-loader-icon,
#facets-loader-icon.cex-facets-loader--elevated {
    display: block;
    position: fixed;
    /* top/left positionnés en JS sur la zone listing visible */
    top: 50%;
    left: 50%;
    z-index: 1200;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
}

/* Voile pendant le rechargement filtres (mobile inclus) */
html.cex-listing-ajax-loading::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

html.cex-listing-ajax-loading,
html.cex-listing-ajax-loading body {
    cursor: wait;
}

#facets-loader-icon.cex-facets-loader--elevated .loader-wrapper {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    font-size: 54px;
}

#facets-loader-icon.cex-facets-loader--elevated .loader-1 {
    border-color: rgba(0, 145, 200, 0.2);
    border-top-color: #0091c8;
    width: 3em;
    height: 3em;
    margin: 0 auto;
}

/* Même taille / couleur que le preloader principal (iqitthemeeditor) */
#products #facets-loader-icon .loader-wrapper {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    font-size: 54px;
}

#products #facets-loader-icon .loader-1 {
    border-color: rgba(0, 145, 200, 0.2);
    border-top-color: #0091c8;
    width: 3em;
    height: 3em;
    margin: 0 auto;
}

/* AS5 : masquer son spinner natif, on réutilise #facets-loader-icon */
.as4-loader {
    display: none !important;
}

#wrapper.as4-loader-blur,
main.as4-loader-blur,
.as4-loader-blur {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Pendant AS5, si -facets-loading n'est pas encore posé, dimmer via le blur flag.
   AS5 pose as4-loader-blur sur #content-wrapper (search_results_selector), pas #wrapper. */
body:has(#wrapper.as4-loader-blur) #products .products,
body:has(main.as4-loader-blur) #products .products,
body:has(#content-wrapper.as4-loader-blur) #products .products {
    opacity: 0.35;
}

body:has(#wrapper.as4-loader-blur) #products #facets-loader-icon,
body:has(main.as4-loader-blur) #products #facets-loader-icon,
body:has(#content-wrapper.as4-loader-blur) #products #facets-loader-icon {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1200;
    transform: translate(-50%, -50%);
}

/* Carte produit : image blanche + infos gris clair + contour unifié */
:root {
    --cex-pl-surface: #f7f7f7;
    --cex-pl-image: #ffffff;
    --cex-pl-border: #ebebeb;
    --cex-pl-radius: 12px;
}

.products-grid .product-miniature-default.product-miniature-grid,
.cex-ph article.product-miniature.product-miniature-grid {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    background-color: var(--cex-pl-surface);
    border: 1px solid var(--cex-pl-border);
    border-radius: var(--cex-pl-radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {

    .products-grid .product-miniature-default.product-miniature-grid:hover,
    .cex-ph article.product-miniature.product-miniature-grid:hover {
        border-color: #d8d8d8;
        background-color: var(--cex-pl-surface);
        box-shadow: 0 10px 28px rgba(38, 42, 50, 0.07);
        color: inherit;
    }
}

/* Zone image — fond blanc pur (packshots cordes / accessoires) */
.products-grid .product-miniature-default .thumbnail-container,
.cex-ph article.product-miniature .thumbnail-container {
    padding: 18px;
    margin: 0;
    background-color: var(--cex-pl-image);
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--cex-pl-border);
}

/* Fallback si thumbnail-container hors grille */
.thumbnail-container {
    padding: 18px;
    background-color: var(--cex-pl-image);
    border-radius: var(--cex-pl-radius);
}

/* Zone infos — fond blanc-gris, collé au contour de la carte */
.products-grid .product-miniature-layout-1 .product-description,
.cex-ph article.product-miniature .product-description {
    padding: 14px 16px 16px !important;
    margin: 0;
    background-color: var(--cex-pl-surface);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

/* ——— Vue liste (productListView=list) — même langage carte ——— */
.products-list .js-product-miniature-wrapper {
    margin-bottom: 1rem;
}

.products-list .product-miniature-default.product-miniature-list {
    padding: 0;
    background-color: var(--cex-pl-surface);
    border: 1px solid var(--cex-pl-border);
    border-radius: var(--cex-pl-radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .products-list .product-miniature-default.product-miniature-list:hover {
        border-color: #d8d8d8;
        background-color: var(--cex-pl-surface);
        box-shadow: 0 10px 28px rgba(38, 42, 50, 0.07);
        color: inherit;
    }
}

/* Supprime les gutters Bootstrap qui créaient une bande entre image et texte */
.products-list .product-miniature-list-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin: 0;
    padding: 0;
    align-items: stretch;
}

.products-list .product-miniature-list-row.medium-gutters {
    margin-left: 0;
    margin-right: 0;
}

.products-list .product-miniature-list-row.medium-gutters>[class*="col-"],
.products-list .product-miniature-list-row>[class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.products-list .product-miniature-list .col-list-thumb {
    display: flex;
    background-color: var(--cex-pl-image);
}

.products-list .product-miniature-list .thumbnail-container {
    width: 100%;
    height: 100%;
    padding: 18px;
    margin: 0;
    background-color: var(--cex-pl-image);
    border-radius: 0;
    border: 0;
    border-right: 1px solid var(--cex-pl-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-list .product-miniature-list .col-description,
.products-list .product-miniature-list .col-buy {
    background-color: var(--cex-pl-surface);
    padding: 16px 18px !important;
}

.products-list .product-miniature-list .col-buy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 160px;
}

.products-list .product-miniature-list .product-functional-buttons-bottom {
    position: static;
    transform: none;
    margin-top: 0.75rem;
}

/* Typo vue liste — réglages indépendants de la grille */
.products-list .product-miniature-list .product-title {
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.products-list .product-miniature-list .product-manufacturer-name.in-products-list,
.products-list .product-miniature-list .product-reference.in-products-list {
    font-size: 0.95rem;
}

.products-list .product-miniature-list .product-description-short {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0.4rem 0 0.6rem;
}

.products-list .product-miniature-list .product-price,
.products-list .product-miniature-list .pricefrom-miniature .pricefrom-price {
    font-size: 1.35rem;
}

.products-list .product-miniature-list .pricefrom-miniature {
    font-size: 0.8rem;
}

@media (max-width: 575.98px) {
    .products-list .product-miniature-list .thumbnail-container {
        border-right: 0;
        border-bottom: 1px solid var(--cex-pl-border);
    }
}

.product-manufacturer-and-sku {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.6rem;
    margin-bottom: 0.25rem;
}

.product-manufacturer-name.in-products-list,
.product-reference.in-products-list {
    background: none;
    padding: 0;
    font-size: 1.1rem;
    color: #454545;
}

.product-miniature-grid .product-title {
    font-size: 1.1rem;
    /* height: 3.8rem; */
}

/*--- LISTE - lien titre et lien image ---*/
#category .products .product-miniature a:link:not(.nav-link):not(.btn),
#category .products .product-miniature a:visited:not(.nav-link):not(.btn),
body.as4-search-results .products .product-miniature a:link:not(.nav-link):not(.btn),
body.as4-search-results .products .product-miniature a:visited:not(.nav-link):not(.btn),
body#module-pm_advancedsearch4-searchresults .products .product-miniature a:link:not(.nav-link):not(.btn),
body#module-pm_advancedsearch4-searchresults .products .product-miniature a:visited:not(.nav-link):not(.btn),
body#module-pm_advancedsearch4-seo .products .product-miniature a:link:not(.nav-link):not(.btn),
body#module-pm_advancedsearch4-seo .products .product-miniature a:visited:not(.nav-link):not(.btn) {
    color: #262a32;
}

@media (hover: hover) {

    #category .products .product-miniature:hover a:link:not(.nav-link):not(.btn),
    #category .products .product-miniature:hover a:visited:not(.nav-link):not(.btn),
    #category .products .product-miniature:hover .product-manufacturer-name.in-products-list,
    #category .products .product-miniature:hover .product-reference.in-products-list,
    body.as4-search-results .products .product-miniature:hover a:link:not(.nav-link):not(.btn),
    body.as4-search-results .products .product-miniature:hover a:visited:not(.nav-link):not(.btn),
    body.as4-search-results .products .product-miniature:hover .product-manufacturer-name.in-products-list,
    body.as4-search-results .products .product-miniature:hover .product-reference.in-products-list,
    body#module-pm_advancedsearch4-searchresults .products .product-miniature:hover a:link:not(.nav-link):not(.btn),
    body#module-pm_advancedsearch4-searchresults .products .product-miniature:hover a:visited:not(.nav-link):not(.btn),
    body#module-pm_advancedsearch4-searchresults .products .product-miniature:hover .product-manufacturer-name.in-products-list,
    body#module-pm_advancedsearch4-searchresults .products .product-miniature:hover .product-reference.in-products-list,
    body#module-pm_advancedsearch4-seo .products .product-miniature:hover a:link:not(.nav-link):not(.btn),
    body#module-pm_advancedsearch4-seo .products .product-miniature:hover a:visited:not(.nav-link):not(.btn),
    body#module-pm_advancedsearch4-seo .products .product-miniature:hover .product-manufacturer-name.in-products-list,
    body#module-pm_advancedsearch4-seo .products .product-miniature:hover .product-reference.in-products-list {
        color: #0091c8;
    }
}

/* ------- LISTE - DISPONIBILITÉ / DÉLAIS -------*/
.products-grid .product-miniature-default .product-available {
    display: unset;
}

.product-availability-cex .badge,
.products-list .product-availability .badge,
.products .product-availability-cex .badge.product-available,
.products .product-availability-cex .badge.product-unavailable,
.products .product-availability-cex .badge.product-unavailable-allow-oosp,
.products .badge.product-available,
.products .badge.product-unavailable,
.products .badge.product-unavailable-allow-oosp {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
}

.product-availability-cex .badge {
    padding: 0;
    font-weight: 400;
    font-size: 0.9rem;
    white-space: unset;
    text-align: left;
    line-height: 1.1rem;
}

/*------- LISTE - PRIX A PARTIR DE -------*/
/* Masque le prix standard dès qu'un prix "à partir de" est présent
   (évite le flash au switch grille/liste via AJAX, sans attendre le JS pricefrom) */
.js-product-miniature:has(.pricefrom-miniature.only) .product-price-and-shipping>*:not(.pricefrom-miniature),
.pricefrom-miniature-only .product-price-and-shipping>*:not(.pricefrom-miniature) {
    display: none !important;
}

#category .products .pricefrom-miniature,
.crossselling-products .pricefrom-miniature,
.products-grid .pricefrom-miniature {
    text-transform: unset;
    font-size: 0.8rem;
}

.products-grid .pricefrom-miniature .pricefrom-price,
body#category .products .pricefrom-miniature .pricefrom-price,
body.as4-search-results .products .pricefrom-miniature .pricefrom-price,
body#module-pm_advancedsearch4-searchresults .products .pricefrom-miniature .pricefrom-price,
body#module-pm_advancedsearch4-seo .products .pricefrom-miniature .pricefrom-price,
.crossselling-products .pricefrom-miniature .pricefrom-price {
    font-size: 1.8rem;
}

@media (max-width: 767.98px) {

    .products-grid .pricefrom-miniature .pricefrom-price,
    .products-list .product-miniature-list .pricefrom-miniature .pricefrom-price,
    body#category .products .pricefrom-miniature .pricefrom-price,
    body.as4-search-results .products .pricefrom-miniature .pricefrom-price,
    body#module-pm_advancedsearch4-searchresults .products .pricefrom-miniature .pricefrom-price,
    body#module-pm_advancedsearch4-seo .products .pricefrom-miniature .pricefrom-price,
    .crossselling-products .pricefrom-miniature .pricefrom-price,
    .cex-ph__prices .pricefrom-miniature .pricefrom-price {
        font-size: 1.4rem;
    }
}

/*---- LISTE - bouton ajouter au panier -------*/
.btn-product-list {
    padding: 8px;
    background: #ffffff;
    color: #262a32;
    border: solid 1px #262a32;
    border-radius: 100px;
    font-size: 18px;
    line-height: 24px;
}

.btn-product-list:hover {
    color: #0091c8;
    border-color: #0091c8;
}

/*---- LISTE - regroupement prix et bouton ajouter au panier -------*/
.cex-prix-container {
    display: flex;
    /* aligné verticalement en bas */
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.cex-price {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

.cex-add-cart-container {
    margin-left: auto;
    /* pousse le bloc panier à droite */
}

/*---- LISTE - Pagination -------*/
.pagination .page-list li {
    border-radius: 50px;
}




/*------------------------
* ------- PM ADVANCED SEARCH - SIDEBAR LAYOUT -------
*------------*/

/*------ FILTRES ------*/
/* Styles AS5 déplacés dans assets/css/custom-as5-filters.css */


/*------------
*-------- PAGE PRODUIT --------
*-------------*/

/*---- TITLE ----*/
#content-wrapper .page-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

@media (max-width: 991.98px) {
    #product #content-wrapper h1.page-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    #product #content-wrapper h1.page-title {
        font-size: 2rem;
    }
}

.product-manufacturer-name {
    display: inline-block;
    background: #F7F7F7;
    color: #454545;
    padding: 10px;
    border-radius: 100px;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 0;
}

.product-reference {
    display: inline-block;
    font-size: 1.5rem;
    margin-left: 5px;
    margin-bottom: 0;
    margin-top: 10px;
    color: #454545;
}


/*---------
 *---- PRODUIT - COL GAUCHE ----
 *--------*/

/*---- IMAGE ----*/
#product .images-container .product-cover {
    padding: 18px;
}

#product-images-thumbs .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*---------
 *---- PRODUIT - COL DROITE ----
 *--------*/

/*---- PRIX ----*/
.product-price {
    font-family: 'Barlow Semi Condensed', sans-serif;
}

.container-prix {
    display: inline-block;
}

.tax-shipping-delivery-label {
    display: inline-block;
}

.apres-tax-label {
    /*display : inline-block;*/
}

/*---- PRIX A PARTIR DE ----*/
.pricefrom {
    color: #262a32;
    padding: 15px;
    border: solid 1px #ccc;
    border-radius: 5px;
    display: inline-block;
    margin-top: 15px;
}

.pricefrom .pricefrom-price {
    font-size: 2rem;
}

.product_p_price_container {
    border: none;
}

.product_header_container #product-availability,
.product_p_price_container #product-availability {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 18px;
    padding-left: 0;
    padding-bottom: 0;
    white-space: normal;
    text-align: left;
}

.product_header_container #product-availability .product-stock-beside-delay,
.product_p_price_container #product-availability .product-stock-beside-delay {
    display: block;
    margin-top: 8px;
    margin-left: 0;
    padding: 8px 12px;
    border: solid 1px #ddd;
    border-radius: 5px;
    /* background-color: #f8f8ff; */
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.35;
    color: #5c616b;
}

.product_header_container #product-availability .product-stock-now,
.product_p_price_container #product-availability .product-stock-now {
    display: block;
    font-weight: 500;
    color: #00b27d;
}

.product_header_container #product-availability .product-restock-hint,
.product_p_price_container #product-availability .product-restock-hint {
    display: block;
    margin-top: 2px;
    margin-left: 0;
    font-size: 0.8em;
    font-weight: 400;
    color: #5c616b;
}

.col-md-6 .product_p_price_container {
    margin-top: 0;
    padding-top: 10px;
}

/*--- AJOUTER AU PANIER ---*/
.input-group #quantity_wanted {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.input-group-btn-vertical {
    width: 35px !important;
}

.bootstrap-touchspin .input-group-btn-vertical i {
    font-size: 14px;
    top: 20%;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-bottom-right-radius: 50px;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    border-top-right-radius: 50px;
    border-bottom: none;
}

.btn.btn-primary.btn-lg.add-to-cart {
    text-transform: uppercase;
    font-weight: 600;
}

/* Panier détaillé : le thème limite .bootstrap-touchspin à 75px (cart.scss), ce qui ne
   laisse que ~35-40px pour le champ quantité une fois les boutons +/- (35px, cf.
   .input-group-btn-vertical ci-dessus) déduits. Trop juste pour 3 chiffres. */
.cart-item .bootstrap-touchspin {
    max-width: 100px;
}

/*----- WISHLIST et COMPARE ------*/
#iqit-wishlist-product-btn,
#iqit-compare-product-btn {
    border-radius: 100px;
}

/*---- REMISE PAR QUANTITE ----*/
#produit-remise-par-quantite {
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #f8f8ff;
    margin-top: 15px;
    margin-bottom: 15px;
    display: inline-block;
}

.titre-remise-par-quantite {
    font-size: 18px;
    margin-bottom: 5px;
}

.produit-remise-par-quantite-manufacturer-name-reference {
    font-weight: 600;
}

.remise-par-quantite-item {
    /*margin-left: 10px;*/
}

.produit-remise-par-quantite-discount {
    font-size: 1.5rem;
    font-family: barlow semi condensed;
    font-weight: 600;
}

.produit-remise-par-quantite-discount-per-unit {
    font-size: 1.2rem;
    font-family: barlow semi condensed;
    font-weight: 600;
}

/*---- SOUS REMISE PAR QTE ----*/
.productreferencebelowprice {
    margin-left: 0;
    font-size: 1.2rem !important;
}

.product-additional-info {
    border-top: none;
}

/*======== HOMEPAGE CORDES EXPRESS ========*/

/* USP / reassurance bar under hero */
.cex-usp-wrap .elementor-widget-container {
    overflow: visible;
}

.cex-usp {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 18px;
    align-items: stretch;
    margin: 0;
    padding: 4px 0;
}

.cex-usp__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 6px 4px;
}

.cex-usp__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(0, 145, 200, 0.18);
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cex-usp__item:hover .cex-usp__icon {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 145, 200, 0.24);
}

.cex-usp__item--blue .cex-usp__icon {
    background: linear-gradient(135deg, #00a7d9 0%, #0091c8 55%, #0077a8 100%);
}

.cex-usp__item--teal .cex-usp__icon {
    background: linear-gradient(135deg, #2bb7c4 0%, #1299ad 55%, #0b7f94 100%);
}

.cex-usp__item--navy .cex-usp__icon {
    background: linear-gradient(135deg, #3a6f8f 0%, #245978 55%, #163f58 100%);
}

.cex-usp__item--cyan .cex-usp__icon {
    background: linear-gradient(135deg, #35c2e8 0%, #0091c8 60%, #007fb0 100%);
}

.cex-usp__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cex-usp__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.2;
    color: #262a32;
}

.cex-usp__desc {
    display: block;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #6a737c;
}

@media (max-width: 991px) {
    .cex-usp {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
    }
}

@media (max-width: 575px) {
    .cex-usp {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cex-usp__item {
        min-height: 52px;
        padding: 4px 0;
    }
}

/* Hero slider */
.cex-hero-slider .elementor-image-carousel,
.cex-hero-slider .swiper-slide-inner img {
    width: 100%;
    height: auto;
    display: block;
}

.cex-hero-slider .swiper-container {
    border-radius: 0;
}

.cex-hero-slider .elementor-swiper-button {
    width: 42px;
    height: 42px;
}

/* Category grid intro (heading section) */
.cex-cats-intro {
    max-width: 680px;
    margin: 0 auto;
    color: #6a737c;
    font-size: 1.02rem;
    line-height: 1.55;
}

.cex-cats-wrap .elementor-widget-container {
    overflow: visible;
}

/* Legacy HTML category cards styles are now owned by
   modules/iqitelementor/views/css/cex-widgets.css (.cex-cb ...)
   to avoid FO conflicts with the CategoriesBoxes widget. */

/* Legacy image-box category styles */
.cex-cat-box .elementor-image-box-wrapper {
    transition: transform .35s ease, box-shadow .35s ease;
}

.cex-cat-box .elementor-image-box-img {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 14px !important;
    background: #101820;
}

.cex-cat-box .elementor-image-box-img img {
    width: 100%;
    aspect-ratio: 800 / 520;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

.cex-cat-box:hover .elementor-image-box-img img {
    transform: scale(1.045);
}

.cex-cat-box .elementor-image-box-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cex-cat-box .elementor-image-box-description {
    font-size: .92rem;
    color: #5a6570;
    margin: 0;
}

.cex-cat-box a,
.cex-cat-box a:hover {
    text-decoration: none;
}

/* ——— Brands carousel (inspired compact logos) ——— */
.cex-brands {
    --cex-brands-border: #e3e6ea;
    --cex-brands-bg: #ffffff;
    --cex-brands-name: #262a32;
    --cex-brands-accent: #0091c8;
    --cex-brands-progress: #262a32;
}

.cex-brands__carousel-wrap {
    position: relative;
    padding-bottom: 0;
}

.cex-brands__carousel {
    overflow: hidden;
}

.cex-brands__slide {
    height: auto !important;
    box-sizing: border-box;
    padding: 4px;
}

.cex-brands__item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 92px;
    height: 92px;
    padding: 14px 16px;
    margin: 0;
    background: var(--cex-brands-bg);
    border: 1px solid var(--cex-brands-border);
    border-radius: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cex-brands__carousel .swiper-slide {
    box-sizing: border-box;
}

.cex-brands__carousel-wrap .cex-brands__carousel {
    background: transparent;
}

.cex-brands__item:hover {
    border-color: var(--cex-brands-accent);
    z-index: 2;
    position: relative;
    box-shadow: inset 0 0 0 1px var(--cex-brands-accent);
}

.cex-brands__logo,
.cex-brands__item img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
}

.cex-brands__item--name {
    background: #fff;
}

.cex-brands__name,
.cex-brands .elementor-brand-name {
    font-family: 'Barlow Semi Condensed', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cex-brands-name);
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cex-brands__item--name:hover .cex-brands__name {
    color: var(--cex-brands-accent);
}

/* Hide default bullets — progress bar replaces them */
.cex-brands .cex-brands__dots,
.cex-brands .swiper-pagination-bullets {
    display: none !important;
}

.cex-brands__progress {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    height: 4px;
}

.cex-brands__progress-bar {
    display: block;
    width: 120px;
    max-width: 40%;
    height: 4px;
    background: var(--cex-brands-progress);
    transform-origin: left center;
    transform: scaleX(0.18);
    transition: transform .25s ease;
}

.cex-brands .elementor-swiper-button {
    width: 36px;
    height: 36px;
    opacity: 0.7;
}

.cex-brands .elementor-swiper-button:hover {
    opacity: 1;
}

/* Grid mode */
.cex-brands__grid {
    margin: 0;
    border: 1px solid var(--cex-brands-border);
}

.cex-brands__col {
    padding: 0 !important;
}

.cex-brands__grid .cex-brands__item {
    border-top: 0;
    border-left: 0;
    height: 88px;
}

/* Section polish: title underline accent when brands section is nearby */
.elementor-widget-prestashop-widget-Brands+.elementor-widget-button .elementor-button,
.cex-brands-cta .elementor-button {
    border-radius: 999px !important;
    background: #262a32 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px !important;
    font-weight: 600;
    text-transform: none;
}

.cex-brands-cta {
    text-align: center;
    margin-top: 8px;
}

.cex-brands-title .elementor-heading-title {
    text-align: center;
    font-weight: 700;
}

.cex-brands-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #5a6570;
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .cex-brands__item {
        min-height: 80px;
        height: 80px;
        padding: 10px 12px;
    }

    .cex-brands__logo,
    .cex-brands__item img {
        max-height: 42px;
    }
}

@media (max-width: 767px) {
    .cex-brands__item {
        min-height: 72px;
        height: 72px;
    }

    .cex-brands__name,
    .cex-brands .elementor-brand-name {
        font-size: 0.95rem;
    }

    .cex-brands__progress-bar {
        width: 88px;
    }
}

/* Legacy fallback (non cex markup) kept light */
.elementor-brands:not(.cex-brands) .elementor-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 8px;
    text-decoration: none;
}

.elementor-brands:not(.cex-brands) .elementor-brand img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.elementor-brands:not(.cex-brands) .elementor-brand--name {
    border: 1px solid #d9e2e8;
    background: #f7fafc;
    min-height: 56px;
    padding: 10px 12px;
}

.elementor-brands:not(.cex-brands) .elementor-brand-name {
    color: #262a32;
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
    line-height: 1.2;
}

/* Products Highlight — même langage carte que les listings produits */
.cex-ph__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 0;
    background-color: var(--cex-pl-surface);
    border: 1px solid var(--cex-pl-border);
    border-radius: var(--cex-pl-radius);
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .cex-ph__card:hover {
        border-color: #d8d8d8;
        box-shadow: 0 10px 28px rgba(38, 42, 50, 0.07);
    }
}

.cex-ph--align-center .cex-ph__card,
.cex-ph--align-center .cex-ph__body {
    text-align: center;
    align-items: center;
}

/* Zone image fluide (override taille fixe Elementor image_size) */
.cex-ph__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 18px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--cex-pl-image);
    border-bottom: 1px solid var(--cex-pl-border);
}

.cex-ph__image {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.cex-ph__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 14px 16px 16px;
    background-color: var(--cex-pl-surface);
    box-sizing: border-box;
}

.cex-ph__meta {
    margin-bottom: 4px;
}

.cex-ph__meta--beside {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35em 0.55em;
}

.cex-ph__brand {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #6a737c;
}

.cex-ph__brand a {
    color: inherit;
    text-decoration: none;
}

.cex-ph__reference {
    font-size: 0.75rem;
    color: #8a939c;
}

.cex-ph__meta:not(.cex-ph__meta--beside) .cex-ph__brand+.cex-ph__reference {
    margin-top: 2px;
}

.cex-ph__prices.product-price-and-shipping {
    position: relative;
}

.cex-ph__prices .pricefrom-miniature {
    position: static;
    width: auto;
    left: auto;
    top: auto;
    text-transform: none;
    font-size: 1.05rem;
    font-weight: 400;
    color: #262a32;
    display: inline;
}

.cex-ph__prices .pricefrom-label {
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}

.cex-ph__prices .pricefrom-miniature .pricefrom-price {
    font-weight: 700;
}

.cex-ph__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #262a32;
}

.cex-ph__title a {
    color: inherit;
    text-decoration: none;
}

.cex-ph__delay {
    font-size: 0.9rem;
    line-height: 1.1rem;
    margin-bottom: 8px;
}

.cex-ph__delay .badge {
    padding: 0;
    font-weight: 400;
    font-size: inherit;
    line-height: inherit;
    white-space: unset;
    text-align: left;
    display: inline;
}

.cex-ph__delay-icon {
    margin-right: 0.35em;
    font-size: 14px;
    vertical-align: -0.05em;
}

.cex-ph__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.cex-ph--align-center .cex-ph__footer {
    justify-content: center;
    flex-wrap: wrap;
}

.cex-ph__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.cex-ph__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #262a32;
}

.cex-ph__price-regular {
    font-size: 0.85rem;
    color: #8a939c;
    text-decoration: line-through;
}

.cex-ph__cart {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #262a32;
    background: #fff;
    color: #262a32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.cex-ph__cart:hover {
    color: #0091c8;
    border-color: #0091c8;
}

.cex-ph {
    --cex-ph-gap: 16px;
    --cex-ph-gap-row: 16px;
}

.cex-ph--grid .cex-ph__list {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--cex-ph-gap, 16px));
    margin-right: calc(-1 * var(--cex-ph-gap, 16px));
}

.cex-ph--grid .cex-ph__col {
    padding-left: var(--cex-ph-gap, 16px);
    padding-right: var(--cex-ph-gap, 16px);
    margin-bottom: var(--cex-ph-gap-row, 16px);
}

.cex-ph-carousel {
    padding-bottom: 8px;
    margin-left: calc(-1 * var(--cex-ph-gap, 16px));
    margin-right: calc(-1 * var(--cex-ph-gap, 16px));
    width: calc(100% + (2 * var(--cex-ph-gap, 16px)));
}

.cex-ph-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch !important;
}

.cex-ph .cex-ph-carousel .swiper-slide {
    padding-left: var(--cex-ph-gap, 16px);
    padding-right: var(--cex-ph-gap, 16px);
    box-sizing: border-box;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch;
}

.cex-ph .cex-ph-carousel .swiper-slide>.cex-ph__card,
.cex-ph .cex-ph-carousel .swiper-slide>article.product-miniature {
    flex: 1 1 auto !important;
    align-self: stretch;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
}

.cex-ph--grid .cex-ph__col {
    display: flex;
}

.cex-ph--grid .cex-ph__col>.cex-ph__card {
    width: 100%;
    height: 100%;
}

.cex-ph--multi-row .cex-ph-carousel .swiper-slide {
    padding-bottom: var(--cex-ph-gap-row, 16px);
}

/* ——— Unified carousel navigation (Products + Brands Highlight) ——— */
.cex-ph .swiper-container-wrapper,
.cex-bh .swiper-container-wrapper {
    position: relative;
}

.cex-ph .elementor-swiper-button,
.cex-bh .elementor-swiper-button {
    width: 42px;
    height: 62px;
    margin-top: -31px;
    background: #333333;
    color: #ffffff;
    border: none;
    border-radius: 0;
    opacity: 1;
    transition: background .2s ease, opacity .2s ease;
}

.cex-ph .elementor-swiper-button:hover,
.cex-bh .elementor-swiper-button:hover {
    background: #262a32;
    opacity: 1;
}

.cex-ph .elementor-swiper-button:after,
.cex-bh .elementor-swiper-button:after {
    font-size: 16px;
    font-weight: 700;
}

/* ——— Brands Highlight widget ——— */
.cex-bh {
    --cex-bh-gap: 8px;
    --cex-bh-gap-row: 8px;
}

.cex-bh__wrap {
    position: relative;
}

.cex-bh-carousel {
    overflow: hidden;
    margin-left: calc(-1 * var(--cex-bh-gap, 8px));
    margin-right: calc(-1 * var(--cex-bh-gap, 8px));
    width: calc(100% + (2 * var(--cex-bh-gap, 8px)));
}

.cex-bh-carousel .swiper-slide {
    padding-left: var(--cex-bh-gap, 8px);
    padding-right: var(--cex-bh-gap, 8px);
    box-sizing: border-box;
    height: auto !important;
}

.cex-bh--multi-row .cex-bh-carousel .swiper-slide {
    padding-bottom: var(--cex-bh-gap-row, 8px);
}

.cex-bh__item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 92px;
    min-height: 92px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e3e6ea;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cex-bh__item:hover {
    border-color: #0091c8;
    position: relative;
    z-index: 2;
}

.cex-bh__logo {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.cex-bh__name {
    font-family: 'Barlow Semi Condensed', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #262a32;
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cex-bh__item--name:hover .cex-bh__name {
    color: #0091c8;
}

.cex-bh__progress {
    display: block;
    margin: 16px 0 0 auto;
    width: 120px;
    max-width: 40%;
    height: 4px;
    background: rgba(38, 42, 50, 0.12);
    overflow: hidden;
}

.cex-bh__progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: #262a32;
    transform-origin: left center;
    transform: scaleX(0.18);
    transition: transform .25s ease;
}

.cex-bh--grid .cex-bh__list {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--cex-bh-gap, 8px));
    margin-right: calc(-1 * var(--cex-bh-gap, 8px));
}

.cex-bh--grid .cex-bh__col {
    padding-left: var(--cex-bh-gap, 8px);
    padding-right: var(--cex-bh-gap, 8px);
    margin-bottom: var(--cex-bh-gap-row, 8px);
}

@media (max-width: 991px) {
    .cex-bh__item {
        height: 80px;
        min-height: 80px;
        padding: 10px 12px;
    }

    .cex-bh__logo {
        max-height: 42px;
    }
}

@media (max-width: 767px) {
    .cex-bh__item {
        height: 72px;
        min-height: 72px;
    }

    .cex-bh__name {
        font-size: 0.95rem;
    }

    .cex-bh__progress {
        width: 88px;
    }
}

/*------------
*  CHECKOUT
*------------*/

/* Récap panier : icône du lien show/hide selon état */
body#checkout [data-bs-target="#cart-summary-product-list"] .fa-angle-down {
    transition: transform 0.2s ease;
}

body#checkout [data-bs-target="#cart-summary-product-list"][aria-expanded="true"] .fa-angle-down {
    transform: rotate(180deg);
}

/* Modes de paiement : icône à gauche du libellé, après la checkbox */
body#checkout .payment-options .payment-option {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

body#checkout .payment-options .payment-option .custom-radio {
    order: 1;
    flex-shrink: 0;
}

body#checkout .payment-options .payment-option>form.ps-hidden-by-js {
    order: 99;
}

body#checkout .payment-options .payment-option .cex-payment-option-body {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
}

body#checkout .payment-options .payment-option .payment-option-logo {
    flex-shrink: 0;
    height: 2.75rem;
    width: auto;
    max-width: 7rem;
    object-fit: contain;
    margin: 0;
}

body#checkout .payment-options .payment-option .cex-payment-option-body>label {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    line-height: 1.35;
}

body#checkout .payment-options .payment-option [paypal-mark-container] {
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 2rem;
    overflow: hidden;
    margin: 0 !important;
}

body#checkout .payment-options .payment-option [paypal-mark-container]>div {
    transform: scale(0.9);
    transform-origin: left center;
}

body#checkout .payment-options .payment-option>label img {
    flex-shrink: 0;
    height: 2.75rem;
    width: auto;
    max-width: 7rem;
    object-fit: contain;
    margin: 0;
}

/* CGV : pastille gris très clair */
body#checkout #conditions-to-approve ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

body#checkout #conditions-to-approve .cex-conditions-pill {
    background: #f2f3f5;
    border-radius: 999px;
    padding: 0.85rem 1.15rem;
}

body#checkout #conditions-to-approve .cex-conditions-pill .custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

body#checkout #conditions-to-approve .cex-conditions-pill label {
    margin: 0;
    line-height: 1.45;
}

/* CGV : case à cocher plus visible (bord marqué + coche colorée). Par défaut le thème
   utilise une case de 16px avec un bord gris très clair, peu perceptible sur mobile une
   fois posée sur le fond gris clair de la pastille. */
body#checkout #conditions-to-approve .custom-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

body#checkout #conditions-to-approve .custom-checkbox input[type="checkbox"]+span {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 1px solid #8b95a1;
    border-radius: 4px;
    flex-shrink: 0;
}

body#checkout #conditions-to-approve .custom-checkbox input[type="checkbox"]:checked+span {
    background: #2fb5d2;
    border-color: #2fb5d2;
}

body#checkout #conditions-to-approve .custom-checkbox .checkbox-checked {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 14px;
    color: #fff;
}

/* Messages de validation inline */
body#checkout .cex-checkout-hint {
    display: none;
    margin-top: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fdba74;
    animation: cexCheckoutHintIn 0.25s ease;
}

body#checkout .cex-checkout-hint.is-visible {
    display: block;
}

body#checkout .cex-checkout-highlight {
    border-radius: 0.65rem;
    box-shadow: 0 0 0 2px #fdba74;
}

body#checkout #payment-confirmation button.disabled,
body#checkout #payment-confirmation button:disabled {
    pointer-events: none;
}

body#checkout .cex-payment-confirm-hitarea {
    cursor: pointer;
}

body#checkout .cex-payment-confirm-hitarea:has(button:not(.disabled):not(:disabled)) {
    cursor: default;
}

@keyframes cexCheckoutHintIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*------------
*  PASSWORD POLICY / GENERATOR
*------------*/
.cex-password-help {
    font-size: 0.875rem;
    line-height: 1.4;
}

.cex-generate-password {
    white-space: nowrap;
    font-size: 0.8125rem;
    text-transform: none;
    font-weight: 500;
}

.field-password-policy .password-strength-feedback .password-requirements p {
    margin-bottom: 0.25rem;
}

.field-password-policy .password-strength-feedback .password-requirements i.text-success {
    color: #28a745;
}

.renew-password .field-password-policy .input-group {
    flex-wrap: nowrap;
}

@media (max-width: 575.98px) {
    .cex-generate-password {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/*------------------------
* ------- MINI PANIER / PAGE PANIER — fabricant, référence et disponibilité (compact) -------
* Même info/logique que .product-manufacturer-and-sku et #product-availability
* (listing + fiche produit), condensée pour ne pas alourdir ces deux gabarits.
*------------*/
.product-manufacturer-and-sku-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.4rem;
    margin-bottom: 0.15rem;
    line-height: 1.15;
}

.product-manufacturer-name-compact,
.product-reference-compact {
    font-size: 0.7rem;
    color: #454545;
}

.product-availability-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.35rem;
    row-gap: 0;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    line-height: 1.2;
    color: #5c616b;
}

.product-availability-compact .fa {
    flex: 0 0 auto;
}

.product-stock-now-compact {
    font-weight: 500;
    color: #00b27d;
}

.product-restock-hint-compact {
    color: #5c616b;
    font-style: italic;
}

/* Mini panier : encore plus compact (panneau étroit), fabricant/référence en gras */
#blockcart-content .product-manufacturer-name-compact,
#blockcart-content .product-reference-compact {
    font-size: 0.65rem;
    font-weight: 700;
}

#blockcart-content .product-availability-compact {
    font-size: 0.6rem;
}

/* Page panier : un peu plus de place disponible, disponibilité toutefois réduite aussi */
.cart-overview .product-manufacturer-name-compact,
.cart-overview .product-reference-compact {
    font-size: 0.75rem;
}

.cart-overview .product-availability-compact {
    font-size: 0.68rem;
}

.cexquote-cart-footer {
    text-align: left !important;
}
/* Page panier : "Continuer mes achats" à gauche, "Demander un devis" à droite, même ligne
   (override templates/checkout/cart.tpl). Bouton devis en contour bleu pour ne pas le
   confondre avec "Continuer". */
.cex-cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0;
}

.cex-cart-actions > .btn {
    margin: 0;
}

.cex-cart-actions .cexquote-cart-footer {
    margin: 0 0 0 auto !important;
}

.cex-cart-actions .cexquote-cart-footer .btn {
    background-color: #fff;
    border-color: #0091c8;
    color: #0091c8;
}

.cex-cart-actions .cexquote-cart-footer .btn:hover,
.cex-cart-actions .cexquote-cart-footer .btn:focus,
.cex-cart-actions .cexquote-cart-footer .btn:active {
    background-color: #0091c8;
    border-color: #0091c8;
    color: #fff;
}

@media (max-width: 575.98px) {
    .cex-cart-actions > .btn,
    .cex-cart-actions .cexquote-cart-footer,
    .cex-cart-actions .cexquote-cart-footer .btn {
        width: 100%;
    }

    .cex-cart-actions .cexquote-cart-footer {
        margin-left: 0 !important;
    }
}

/*---- PAGES CMS : espace entre le titre et le contenu ----
 * Les pages 4 (À propos) et 7 (client pro) ont leur propre mise en page. */
body#cms:not(.cms-id-4):not(.cms-id-7) #content-wrapper .page-header {
    margin-bottom: 1.75rem;
}

@media (max-width: 767.98px) {
    body#cms:not(.cms-id-4):not(.cms-id-7) #content-wrapper .page-header {
        margin-bottom: 1.25rem;
    }
}
