/* Phase 3L: reserve media geometry before images arrive on a hard reload.
   No page-hiding overlay, forced scroll, or transition delay. */
.market-listing-image{display:block;position:relative;overflow:hidden;background-color:#f1f5f9;}
.market-sale-home-card .market-listing-image{aspect-ratio:16/10;}
.market-sale-home-card .market-listing-image img{display:block;width:100%;height:100%;object-fit:cover;}
.market-detail-page .market-gallery-card-enhanced .market-media-viewer{aspect-ratio:4/3;min-height:260px;background-color:#f1f5f9;overflow:hidden;}
.market-detail-page .market-gallery-card-enhanced .market-media-main{width:100%;height:100%;object-fit:contain;}
@media(max-width:600px){.market-detail-page .market-gallery-card-enhanced .market-media-viewer{min-height:210px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}}
