/* ==================== */
/* BLOC FILTRES - Selon maquette */
/* ==================== */

/* Container principal - FOND GRIS */
#amazzing_filter.block {
    background-color: #f5f5f5 !important;
    padding: 25px 20px !important;
    border: none !important;
}

#amazzing_filter .block_content {
    background-color: transparent !important;
}

/* Titre principal "Filtrer" - CACHER */
#amazzing_filter .title_block {
    display: none !important;
}

/* Chaque filtre - FOND GRIS avec bordure en bas */
#amazzing_filter .af_filter {
    background-color: transparent !important;
    margin-bottom: 0 !important;
    padding: 15px 0 !important;
    border: none !important;
    border-bottom: 1px solid #ddd !important;
}

#amazzing_filter .af_filter:last-child {
    border-bottom: none !important;
}

/* Titre de chaque filtre */
#amazzing_filter .af_subtitle {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #B78C1D !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* CACHER anciennes flèches */
#amazzing_filter .af_subtitle::before {
    display: none !important;
}

/* Flèche noire à droite */
#amazzing_filter .af_subtitle::after {
    content: "▼" !important;
    font-size: 14px !important;
    color: #000 !important;
}

#amazzing_filter .af_filter:not(.closed) .af_subtitle::after {
    content: "▲" !important;
}

/* Contenu du filtre */
#amazzing_filter .af_filter.closed .af_filter_content {
    display: none !important;
}

#amazzing_filter .af_filter_content {
    padding-top: 15px !important;
    background-color: transparent !important;
}

/* Liste */
#amazzing_filter .af_filter_content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#amazzing_filter .af_filter_content li {
    margin-bottom: 8px !important;
}

/* Checkbox */
#amazzing_filter .af-checkbox-label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #333 !important;
}

#amazzing_filter .af-checkbox-label input[type="checkbox"] {
    margin-right: 10px !important;
}

#amazzing_filter .af-checkbox-label .name {
    flex: 1 !important;
}

#amazzing_filter .af-checkbox-label .count {
    color: #999 !important;
    font-size: 13px !important;
}

/* Sliders */
#amazzing_filter .af-slider {
    padding: 20px 0 !important;
}

#amazzing_filter .slider-bar {
    height: 4px !important;
    background-color: #ddd !important;
    border-radius: 2px !important;
}

#amazzing_filter .selected-bar {
    background-color: #B78C1D !important;
}

#amazzing_filter .pointer {
    background-color: #B78C1D !important;
}

#amazzing_filter .slider_value .input-text {
    display: none !important;
}
