/* =========================================================
   NULUYAFIT - PAGE PRODUIT
   Galerie produit uniforme, images collées, crop léger premium
   ========================================================= */

/* Supprime les espaces de la galerie produit */
.single-product-page .woocommerce-product-gallery,
.single-product-page .woocommerce-product-gallery__wrapper,
.single-product-page .woocommerce-product-gallery .wd-gallery-images,
.single-product-page .woocommerce-product-gallery .wd-grid,
.single-product-page .woocommerce-product-gallery .wd-carousel,
.single-product-page .woocommerce-product-gallery .wd-carousel-wrap,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .wd-gallery-images,
.single-product .woocommerce-product-gallery .wd-grid,
.single-product .woocommerce-product-gallery .wd-carousel,
.single-product .woocommerce-product-gallery .wd-carousel-wrap {
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    --wd-gap-lg: 0px !important;
    --wd-gap-md: 0px !important;
    --wd-gap-sm: 0px !important;
}

/* Bloc image fiche produit */
.single-product-page .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product-page .woocommerce-product-gallery .product-image-wrap,
.single-product-page .woocommerce-product-gallery .wd-carousel-item,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .product-image-wrap,
.single-product .woocommerce-product-gallery .wd-carousel-item {
    aspect-ratio: 3 / 4;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-radius: 0 !important;
}

/* Lien image fiche produit */
.single-product-page .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.single-product-page .woocommerce-product-gallery .product-image-wrap a,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery .product-image-wrap a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-radius: 0 !important;
}

/* Image fiche produit */
.single-product-page .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.single-product-page .woocommerce-product-gallery .product-image-wrap img,
.single-product-page .woocommerce-product-gallery img.wp-post-image,
.single-product-page .woocommerce-product-gallery .wd-gallery-images img,
.single-product-page .woocommerce-product-gallery .wd-carousel-item img,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .product-image-wrap img,
.single-product .woocommerce-product-gallery img.wp-post-image,
.single-product .woocommerce-product-gallery .wd-gallery-images img,
.single-product .woocommerce-product-gallery .wd-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

.single-product-page .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery {
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .single-product-page .woocommerce-product-gallery .woocommerce-product-gallery__image,
    .single-product-page .woocommerce-product-gallery .product-image-wrap,
    .single-product-page .woocommerce-product-gallery .wd-carousel-item,
    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
    .single-product .woocommerce-product-gallery .product-image-wrap,
    .single-product .woocommerce-product-gallery .wd-carousel-item {
        aspect-ratio: 4 / 5;
    }
}