/* 4:5 for archive and shortcode product images; category cards excluded. */
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-shell:not(.is-list) .ncsm-catalog-image,
body.ncsm-theme .ncss-archive-card-section .ncsm-catalog-image,
body.ncsm-theme .ncss-home-product-image,
body.ncsm-theme .ncss-el-product-image {
 display:block!important;position:relative!important;box-sizing:border-box!important;
 width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 aspect-ratio:4/5!important;flex:0 0 auto!important;overflow:hidden!important;
}
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-shell:not(.is-list) .ncsm-catalog-image img,body.ncsm-theme .ncss-archive-card-section .ncsm-catalog-image img,body.ncsm-theme .ncss-home-product-image img,body.ncsm-theme .ncss-el-product-image img{display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-position:center center!important;object-fit:contain!important;transform:none!important;}
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-shell:not(.is-list) .ncsm-catalog-image.ncsm-fashion-square img,body.ncsm-theme .ncss-archive-card-section .ncsm-catalog-image.ncsm-fashion-square img,body.ncsm-theme .ncss-home-product-image.ncsm-fashion-square img,body.ncsm-theme .ncss-el-product-image.ncsm-fashion-square img{display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-position:center center!important;object-fit:cover!important;padding:0!important;transform:none!important;}
body.ncsm-theme .ncsm-shop-archive .ncsm-shop-shell:not(.is-list) .ncsm-catalog-image.ncsm-fashion-portrait img,body.ncsm-theme .ncss-archive-card-section .ncsm-catalog-image.ncsm-fashion-portrait img,body.ncsm-theme .ncss-home-product-image.ncsm-fashion-portrait img,body.ncsm-theme .ncss-el-product-image.ncsm-fashion-portrait img{display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-position:center center!important;object-fit:cover!important;padding:0!important;transform:scale(1.035)!important;transform-origin:center center!important;}

/* Keep hidden WooCommerce price labels inside the original plugin carousel.
   No width, margin, gap, padding or clipping overrides. */
body.home .ncss-home-products-section ul.products.ncss-archive-products.is-carousel,
body.page-template-template-home .ncss-home-products-section ul.products.ncss-archive-products.is-carousel {
 position:relative!important;
}
