/* Galerie d'images */
.produit-product-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.produit-product-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.produit-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.produit-product-image.active {
    opacity: 1;
    z-index: 1;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #232323;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.produit-product-card:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Petits indicateurs pour montrer le nombre d'images (optionnel) */
.gallery-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.indicator.active {
    background-color: white;
}