/* Product media only. Original pixels and full source composition stay intact. */
.card .c-media,
.card .ph,
.pdp2 .gal,
.pdp2 .gal .imgwrap,
.pdp2 .relcard,
.results .ph,
.pdp2 .upsrow .ph,
.ob-slot .thumb,
.ob-up .im,
.cartsheet .line > a:first-child,
.sheet.cartsheet.krm-minimal .line > a:first-child,
.cartsheet .line .ph,
.cartsheet.krm-minimal .line .ph,
.cartsheet .xsell .ph,
.ccx-t,
.ccx-img,
.ccb .bb-card,
.ccb-col {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.card .ph,
.pdp2 .gal .imgwrap {
  aspect-ratio: 4 / 5 !important;
  min-height: 0 !important;
}
.card .ph > img,
.card .ph.img-cover > img,
.pdp2 .gal .imgwrap > img,
.pdp2 .gal .imgwrap.img-cover > img,
.pdp2 .relcard > img,
.pdp2 .relcard.img-cover > img,
.results .ph > img,
.results .ph.img-cover > img,
.pdp2 .upsrow .ph > img,
.pdp2 .upsrow .ph.img-cover > img,
.ob-slot .thumb > img,
.ob-up .im > img,
.cartsheet .line .ph > img,
.cartsheet .line .ph.img-cover > img,
.cartsheet .xsell .ph > img,
.cartsheet .xsell .ph.img-cover > img,
.cartsheet .krm-upsell > img,
.ccx-img > img,
.ccb-col > img {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}
.pdp2 .relcard > img {
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
}
.cartsheet .line .ph {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
}
/* This upsell is a fixed thumbnail inside a horizontal text row. */
.cartsheet .krm-upsell > img {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
}
.pdp2 .thumbs img {
  width: 54px !important;
  height: 54px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 54px !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: .64;
}
.pdp2 .thumbs img.sel {
  opacity: 1;
  box-shadow: inset 0 -2px 0 #111 !important;
}
