/* 800 × 387 : format paysage de présentation le plus fréquent. */
.pc-apron-frame,
body.pc-apron-product .woocommerce-product-gallery__image:first-child>a {
 display:block!important;position:relative!important;width:100%!important;height:auto!important;
 aspect-ratio:800 / 387!important;padding:0!important;background:#fff!important;overflow:hidden!important;
}
.pc-apron-frame::before,.pc-apron-frame::after{padding:0!important;content:none!important}
.pc-apron-frame>img.pc-apron-image,
body.pc-apron-product .pc-product-media .woocommerce-product-gallery__image:first-child>a>img {
 display:block!important;position:absolute!important;inset:auto!important;left:50%!important;top:50%!important;
 width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
 max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;
 object-fit:contain!important;object-position:center!important;background:#fff!important;opacity:1!important;
 transform:translate(calc(-50% + var(--pc-ap-pan-x,0px)),calc(-50% + var(--pc-ap-pan-y,0px))) scale(var(--pc-ap-zoom,0.98))!important;
 transform-origin:center!important;
}
body.pc-apron-product .woocommerce-product-gallery__image:first-child>img.zoomImg {display:none!important}
body.pc-apron-product .pc-apron-frame{cursor:zoom-in}
body.pc-apron-product .pc-apron-frame.pc-apron-zoomed{cursor:crosshair}
body.pc-apron-product .woocommerce-product-gallery .flex-viewport{height:auto!important}
article.pc-apron-card .img-border:has(.pc-apron-frame){height:auto!important;aspect-ratio:800 / 387;padding:0!important}

/* Conserver la photo de mise en situation au survol, entière elle aussi. */
article.pc-apron-card .pc-apron-frame>img.back-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important;background:#fff!important;transform:none!important}
