/* ---------------- GALERIE DE PRODUITS ---------------- */
.componentGalerie {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.componentGalerie::-webkit-scrollbar {
    display: none;
}

.componentGalerie img {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    height: 418px;
    object-fit: cover;
    border-radius: 40px;
    transition: flex-grow .25s ease-out;
}

.componentGalerie:focus-visible {
    outline: 2px solid var(--color-footer);
    outline-offset: 5px;
}

@media (min-width: 768px) and (hover: hover) {
    .componentGalerie img:hover {
        flex-grow: 2.1;
    }
}

@media (max-width: 767px) {
    .componentGalerie {
        margin-inline: -30px;
        padding-inline: 12px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 12px;
    }

    .componentGalerie img {
        flex: 0 0 var(--largeur-carte-mobile);
        width: var(--largeur-carte-mobile);
        height: 372px;
        border-radius: 30px;
        scroll-snap-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .componentGalerie img {
        transition: none;
    }
}
