.container_filtres_commerces {
    width: 100%;
    margin: 20px 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Lignes de filtres */
.filtre-types-fiche,
.filtre-mois,
.filtre-espaces {
    font-family: "Poppins";
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Fond léger pour le 2e niveau */
.filtre-mois,
.filtre-types-fiche {
    background-color: #f8f8f8;
    padding: 18px;
    border-radius: 999px;
}

/* Chips */
.filtre-types-fiche span,
.filtre-mois span {
    cursor: pointer;
    padding: 10px 22px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: all 0.2s ease;
}

/* Niveau 1 */
.filtre-types-fiche span {
    color: #ffffff;
    background: #191f39;
}

/* Niveau 2 */
.filtre-mois span,
.filtre-types-fiche span {
    color: #191f39;
    background: #ffffff;
    font-weight: 300;
}

/* Hover */
.filtre-types-fiche span:hover,
.filtre-mois span:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Inputs cachés */
.filtre-types-fiche input,
.filtre-mois input {
    display: none;
}

/* Checked */
.filtre-types-fiche input:checked + span,
.filtre-mois input:checked + span {
    background: #1cbade !important;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,118,201,0.25);
}


.btn-reset-commerces {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F4F7FB;
    border: 2px solid #E5ECF5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2576C9;
    transition: all .2s ease;
}

.btn-reset-commerces:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-reset-commerces:not(.visible) {
    display: none !important;
}

.btn-reset-commerces svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.2;
}

/* Loader */
.loader-mini-svg {
    width: 22px;
    height: 22px;
    margin-left: 12px;
    display: flex;
    align-items: center;
}

.loader-mini-svg[hidden] {
    display: none !important;
}

.svg-loader {
    animation: rotate 1.4s linear infinite;
}

.path {
    stroke: #2576C9;
    stroke-linecap: round;
    animation: dash 1.4s ease-in-out infinite;
}

.container_commerces.grid-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container_commerces.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .container_commerces.grid-4 {
        grid-template-columns: 1fr;
    }
}

.single_commerce {
    position: relative;
    /* aspect-ratio: 2.11 / 1; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 236px;
}

.single_commerce:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Overlay gradient */
.single_commerce::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.25) 35%,
        rgba(0,0,0,0) 100%
    );
}

/* Contenu */
.single_commerce .container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.single_commerce .titre_commerce {
    display: none;
    font-family: "Poppins";
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

