/* Noor Naksha v1.11.22 - contained product-image stage only.
 * Original asset pixels/aspect ratio, saved image height, grid columns/gaps,
 * premium card border/background, text and transactions remain unchanged.
 * CONTAIN can legitimately leave space for differently proportioned artwork;
 * paint that space white instead of the legacy beige stage, without cropping.
 */
body.nn-v1122-image-contain .nn-product-card .nn-product-image,
body.nn-v1122-image-contain .nn-empty-product-image-v1112,
body.nn-v1122-image-contain .nn-shop-product-image-v18 {
  background-color:#ffffff!important;
  background-size:contain!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
/* Shop and Empty Cart use real <img> rather than homepage backgrounds. */
body.nn-v1122-image-contain .nn-shop-product-image-v18 img,
body.nn-v1122-image-contain .nn-empty-product-image-v1112 img {
  object-fit:contain!important;
  object-position:center center!important;
  background-color:#ffffff!important;
  transform:none!important;
}
/* Honor the existing automatic no-crop fix for 1-4 Auto Fit cards too.
 * Do not change count/width/height, or affect non-contained category/hero art.
 */
.nn-product-section-v17.nn-product-auto-fit-v1120.nn-v1121-fit-few.nn-product-layout-grid .nn-product-grid-v17 .nn-product-image {
  background-color:#ffffff!important;
}
/* A hover zoom must not turn explicitly contained artwork into a crop. */
body.nn-v1122-image-contain .nn-product-card .nn-product-image:hover,
body.nn-v1122-image-contain .nn-empty-product-image-v1112:hover {
  background-size:contain!important;
}
