/* STORE APP Patch 565 — consistent white, uncropped category/subcategory images.
   Scoped to category cards: product listings and hero/header banners are untouched. */
body #site-main .mp-category-grid .mp-category-card .mp-card-media,
body #site-main .mp-related-collections-grid .mp-related-collection-card .mp-card-media,
body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid .mp-category-card .mp-card-media,
body.masterpalm-store-white.mp-category-detail-page .mp-related-collections-grid .mp-related-collection-card .mp-card-media,
body .mp-category-grid .mp-category-card .mp-card-media,
body .mp-related-collections-grid .mp-related-collection-card .mp-card-media {
  background-color: #fff !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  object-fit: contain !important;
}
/* Preserve a white background when a category has no eligible picture. */
body #site-main .mp-category-grid .mp-category-card.is-missing-image .mp-card-media,
body #site-main .mp-related-collections-grid .mp-related-collection-card.is-missing-image .mp-card-media,
body.masterpalm-store-white.mp-tool-collections-page .mp-category-grid .mp-category-card.is-missing-image .mp-card-media,
body.masterpalm-store-white.mp-category-detail-page .mp-related-collections-grid .mp-related-collection-card.is-missing-image .mp-card-media {
  background-color: #fff !important;
  background-image: none !important;
}
