
/* Section products*/
.section--products{
    margin-bottom:0;
}
.section--products .section__title {
    width: 100%;
    text-align: center;
}
.section--products .section__description {
    width: 100%;
    text-align: center;
}

/** Block CTA - Private catalogue **/
.cta--private-catalogue {
    width: 100%;
    max-width: 1200px;
    margin:  32px auto 0 auto;
    background: var(--color-yellow);
    padding: 34px 5%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cta--private-catalogue .cta__title {
    font-size: clamp(20px, 3.5vw, 30px);
    line-height: 1.3;
    font-weight: 700;
    color:var(--color-blue);
    text-decoration: none;
    text-align: center;
}
.cta--private-catalogue .cta__title:hover{
    text-decoration: underline;
}
.cta--private-catalogue .cta__text {
    font-size: clamp(20px, 3.5vw, 30px);
    line-height: 1.3;
    font-weight: 400;
    color:var(--color-blue);
    margin: 0;
}

.cta--private-catalogue .cta__text  a {
    color:var(--color-blue);
    font-weight: 550;
}


/** Block products **/

.wrapper--products {
    margin:64px 0 0 0;

}
.wrapper--products .row--products{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.wrapper--products .products-list__header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size:14px;
    padding: 0 8px;
}

.wrapper--products .column {
    width: calc(100% - 250px - 16px);
}
.products-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
}



/** Block Filtres - Catégories */
.wrapper--products .row--filters{
    margin:0 0 92Px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrapper--products .row--products .filters  {
    margin-bottom:200px;
}
.wrapper--products .filters {
    width: 250px;
}
.wrapper--products .filters.filters--top {
    width: calc(100% - 250px - 16Px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.wrapper--products .block-firm {
    width: 250px;
}
.wrapper--products .block-firm .block-firm__logo {
    width: 134px;
    height: 134px;
    border-radius: 50%;
    border:1px solid rgba(189, 189, 189, 1);
    overflow: hidden;
}
.wrapper--products .block-firm .block-firm__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wrapper--products .filters .filters--radio {
    width: 100%;
}
.wrapper--products .filters .filters--radio .fabulous-user-filter{
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrapper--products .filters .filters--radio label{
    width: 50%;
    cursor:pointer;
}
.wrapper--products .filters .filters--radio label span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(18px, 2.7vw, 25px);
    line-height: 1.3;
}
.wrapper--products .filters .filters--radio label span::before {
    content:'';
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:rgba(217, 217, 217, 1);
    margin: 0 15px 0 0;
    border:1px solid var(--color-blue);
}
.wrapper--products .filters .filters--radio label:hover {
    text-decoration: underline;
}
.wrapper--products .filters .filters--radio label input {
    display: none;
}

.wrapper--products .filters .filters--radio label input:checked + span::after {
    content:'';
    position: absolute;
    top:12px;
    left:12px;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-blue);
}
.wrapper--products .filters .filters__title{
    font-size:18px;
    font-weight: 550;
    text-transform: uppercase;
}
.wrapper--products .filters .filters__title:not(:first-child){
    margin-top:16px;
}
.wrapper--products .filters .filters__subtitle{
    font-size:16px;
    font-weight: 500;
    margin: 10px 0 0 0;
}
.fabulous-category-tree {
    list-style: none;
    padding-left: 0;
    margin: 16px 0 0 0 ;
}

.fabulous-category-tree li {
    margin: 4px 0;
}

.fabulous-category-tree li input {
    display: none;
}

.fabulous-category-tree li label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.fabulous-category-tree li label:hover {
    text-decoration: underline;
    font-weight: 700;
}

.fabulous-category-tree ul {
    list-style: none;
    padding-left: 10px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.fabulous-category-tree input[type="checkbox"] {
    accent-color: #0073aa;
    cursor: pointer;
}

.submenu.hidden {
    display: none;
}

.toggle-submenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.fabulous-cat-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fabulous-cat-icon.active .fabulous-cat-label{
    color:var(--color-blue-light);
    font-weight: 700;
}
.toggle-submenu.empty {
    visibility: hidden;
}


.wrapper--products .loader {
    width: 100%;
    text-align: center;
    font-size: clamp(20px, 3vw, 25px);
    line-height: 1.3;
}


@media all and (max-width: 1080px) {
    .wrapper--products .row--products {
        flex-direction: column;
    }
    .wrapper--products .column {
        width: 100%;
    }
    .wrapper--products .row--products .filters {
        width: 100%;
        margin-bottom: 24px;
    }

    .wrapper--products .block-firm {
        width: calc(134px + 24px);
    }
    .wrapper--products .filters.filters--top {
        width: calc(100% - (134px + 24px) - 24px);
    }
    .wrapper--products .filters .filters--radio .fabulous-user-filter {
        flex-direction: column;
        align-items: flex-start;
        justify-content:flex-start;
        gap:24px;
    }
    .wrapper--products .filters .filters--radio label {
        width: 100%;
    }
}

@media all and (max-width: 550px){
    .wrapper--products .row--filters {
        flex-direction:column;
        gap:24px;
        margin: 0 0 32px 0;
    }
    .wrapper--products .block-firm{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .wrapper--products .filters.filters--top {
        width:100%;
    }
}

/* grille des couleurs */
.fabulous-colors-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 8px 0 16px;
}

/* le bouton pastille */
.fab-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    background: var(--swatch, #e5e7eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform .08s ease;
    outline: none;
}
.fab-swatch:hover { transform: scale(1.06); }
.fab-swatch:focus-visible { box-shadow: 0 0 0 2px #111, 0 0 0 4px #fff; }

/* check au centre (masqué par défaut) */
.fab-swatch .fab-check {
    position: absolute;
    width: 18px;
    height: 18px;
    opacity: 0;
    transition: opacity .12s ease;
    /* lisible même sur clair/foncé */
    filter: drop-shadow(0 0 2px rgba(0,0,0,.6));
    pointer-events: none;
}

/* état sélectionné */
.fab-swatch.is-selected .fab-check { opacity: 1; }

/* input caché (on garde le mécanisme existant) */
.fab-color-input { display: none; }

/* bordure spéciale pour blanc/ultra clair */
.fab-swatch.is-light { border-color: rgba(0,0,0,.35); }


.fabulous-reset-btn{
    margin-top:12px;display:inline-block;padding:8px 12px;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer
}
.fabulous-reset-btn:hover{background:#f6f6f6}
