/**
 * Product images — blend with white page/card backgrounds site-wide.
 */

/* Card grids: category, home, related, legacy product-card */
.p-img,
.p-img a,
.product-card .p-img,
.product-card .p-img a {
  background: #fff;
}

.p-img img,
.product .p-img img,
.product-card .p-img img,
.related-grid .product .p-img img,
.related-grid .product-card .p-img img,
.product-grid .product .p-img img,
.product-area .product .p-img img,
.woocommerce ul.products li.product .p-img img,
.woocommerce .cfix-product-card .p-img img,
img.attachment-woocommerce_thumbnail,
img.size-woocommerce_thumbnail {
  background: #fff;
  object-fit: contain;
  filter: none;
  box-shadow: none;
}

/* Single product gallery */
body.single-product-page .gallery,
.woocommerce-single .gallery,
body.single-product-page .main-image,
.woocommerce-single .main-image,
body.single-product-page .cfix-gallery-frame,
.woocommerce-single .cfix-gallery-frame,
body.single-product-page .cfix-gallery-main,
.woocommerce-single .cfix-gallery-main {
  background: #fff;
}

body.single-product-page .main-image img,
.woocommerce-single .main-image img,
body.single-product-page .cfix-gallery-image,
.woocommerce-single .cfix-gallery-image,
body.single-product-page .main-image .woocommerce-product-gallery__image img,
.woocommerce-single .main-image .woocommerce-product-gallery__image img,
.gallery .thumb,
.gallery .thumb img {
  background: #fff;
  object-fit: contain;
  filter: none;
  box-shadow: none;
}

/* Sidebar upsells */
.mini-product img {
  background: #fff;
  object-fit: contain;
  filter: none;
}

/* Mini cart + wishlist drawers */
.cart-item img,
.wishlist-item img {
  background: #fff;
  object-fit: contain;
  filter: none;
}

/* Full cart page */
.cart-row img,
.woocommerce-cart-form .product-thumbnail img {
  background: #fff;
  object-fit: contain;
  filter: none;
}
