.filter-widget-container-5e38ea11 {
    display: inline-block;
}

.filter-btn-5e38ea11 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #111111;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}

.filter-btn-5e38ea11:hover {
    opacity: 0.9;
}

.filter-btn-5e38ea11 svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Sidebar Drawer Style */
.filter-sidebar-overlay-5e38ea11 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-sidebar-overlay-5e38ea11.is-active {
    opacity: 1;
    visibility: visible;
}

.filter-sidebar-5e38ea11 {
    position: fixed;
    top: 0;
    width: 350px;
    max-width: 90%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    z-index: 100000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Gestione lato sinistro o destro */
.filter-sidebar-overlay-5e38ea11.side-right .filter-sidebar-5e38ea11 {
    right: 0;
    transform: translateX(100%);
}
.filter-sidebar-overlay-5e38ea11.side-left .filter-sidebar-5e38ea11 {
    left: 0;
    transform: translateX(-100%);
}

.filter-sidebar-overlay-5e38ea11.is-active.side-right .filter-sidebar-5e38ea11,
.filter-sidebar-overlay-5e38ea11.is-active.side-left .filter-sidebar-5e38ea11 {
    transform: translateX(0);
}

.sidebar-header-5e38ea11 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eeeeee;
}

.sidebar-title-5e38ea11 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-close-5e38ea11 {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    color: #333;
}

.sidebar-content-5e38ea11 {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Scrollbar invisibile (scroll comunque funzionante) */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE / Edge legacy */
}

.sidebar-content-5e38ea11::-webkit-scrollbar {
    display: none;                /* Chrome / Safari / Edge */
    width: 0;
    height: 0;
}

.placeholder-text-5e38ea11 {
    color: #666;
    font-style: italic;
}

/* Color group styles */
.filter-groups-wrapper-5e38ea11 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group-5e38ea11 {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.group-title-5e38ea11 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

.group-items-5e38ea11 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-label-5e38ea11 {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    background-color: #f7f7f7;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.filter-label-5e38ea11:hover {
    background-color: #e0e0e0;
}

/* Pulsanti Azione */
.filter-action-wrapper-5e38ea11 {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eeeeee;
}

.apply-filter-btn-5e38ea11 {
    flex-grow: 1;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.reset-filter-btn-5e38ea11 {
    background-color: #f0f0f0;
    color: #333333;
    border: none;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.apply-filter-btn-5e38ea11:hover {
    opacity: 0.9;
}

.reset-filter-btn-5e38ea11:hover {
    background-color: #e0e0e0;
}

/* ------------------------------------------------------------------ */
/* MODALITA' COMPATTA — pallini colore                                 */
/* ------------------------------------------------------------------ */
.filter-swatches-wrapper-5e38ea11 {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 14px;
    margin-bottom: 20px;
}

.filter-swatch-5e38ea11 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    font: inherit;
    width: 64px;
}

.swatch-dot-5e38ea11 {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #dddddd;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.filter-swatch-5e38ea11:hover .swatch-dot-5e38ea11 {
    transform: scale(1.08);
}

.swatch-name-5e38ea11 {
    font-size: 0.78rem;
    line-height: 1.1;
    color: #333;
    text-align: center;
    word-break: break-word;
}

/* Stato selezionato: anello attorno al pallino + spunta */
.filter-swatch-5e38ea11.is-selected .swatch-dot-5e38ea11 {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111111;
    border-color: #ffffff;
}

.filter-swatch-5e38ea11.is-selected .swatch-dot-5e38ea11::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 46%;
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.6));
}

.filter-swatch-5e38ea11.is-selected .swatch-name-5e38ea11 {
    font-weight: 700;
    color: #111;
}

/* ------------------------------------------------------------------ */
/* BARRA DI RICERCA                                                    */
/* ------------------------------------------------------------------ */
.filter-search-5e38ea11 {
    margin: 10px 0 24px;
}

.filter-search-5e38ea11 input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font-size: 0.95rem;
    color: #111111;
    background: #f7f7f7;
    border: 1px solid #dddddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.filter-search-5e38ea11 input[type="search"]:focus {
    border-color: #111111;
    background: #ffffff;
}

.filter-search-5e38ea11 input[type="search"]::placeholder {
    color: #999999;
}

/* ------------------------------------------------------------------ */
/* FILTRO TIPO CAPELLO — pillole                                       */
/* ------------------------------------------------------------------ */
.filter-hair-wrapper-5e38ea11 {
    margin: 10px 0 24px;
}

.filter-hair-pills-5e38ea11 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-hair-5e38ea11 {
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #cccccc;
    background: #f7f7f7;
    color: #333333;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-hair-5e38ea11:hover {
    border-color: #999999;
}

.filter-hair-5e38ea11.is-selected {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* ------------------------------------------------------------------ */
/* FILTRO LUNGHEZZA — pillole                                          */
/* ------------------------------------------------------------------ */
.filter-length-wrapper-5e38ea11 {
    margin: 10px 0 24px;
}

.filter-length-pills-5e38ea11 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-length-5e38ea11 {
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #cccccc;
    background: #f7f7f7;
    color: #333333;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-length-5e38ea11:hover {
    border-color: #999999;
}

.filter-length-5e38ea11.is-selected {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* ------------------------------------------------------------------ */
/* FILTRO PREZZO — slider a doppio cursore                            */
/* ------------------------------------------------------------------ */
.filter-price-5e38ea11 {
    margin: 10px 0 24px;
}

.section-title-5e38ea11 {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.price-values-5e38ea11 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 14px;
}

.price-sep-5e38ea11 {
    opacity: 0.5;
    font-weight: 400;
}

.price-slider-5e38ea11 {
    position: relative;
    height: 34px;
    padding: 0 9px; /* meta' del pollice, per non far uscire i cursori */
}

.price-track-5e38ea11 {
    position: absolute;
    top: 50%;
    left: 9px;
    right: 9px;
    transform: translateY(-50%);
    height: 4px;
    background: #dddddd;
    border-radius: 2px;
}

.price-fill-5e38ea11 {
    position: absolute;
    height: 100%;
    background: #111111;
    border-radius: 2px;
}

.price-slider-5e38ea11 input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.price-slider-5e38ea11 input[type="range"]:focus {
    outline: none;
}

.price-slider-5e38ea11 input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111111;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.price-slider-5e38ea11 input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111111;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.price-slider-5e38ea11 input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
}
