/* Keep the image footprint while only exposing fully loaded product images. */
#modalImageWrap[data-image-state="loading"] #modalImage,
#modalImageWrap[data-image-state="empty"] #modalImage { visibility:hidden; }
#modalImageWrap[data-image-state="loading"]::after {
 content:""; position:absolute; top:50%; left:50%; width:22px; height:22px;
 margin:-12px 0 0 -12px; border:2px solid rgba(160,170,180,.2);
 border-top-color:rgba(210,220,230,.8); border-radius:50%; pointer-events:none;
 animation:modal-image-loading .85s linear infinite;
}
@keyframes modal-image-loading { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { #modalImageWrap[data-image-state="loading"]::after { animation:none; } }
