/* Scope the factory photo presentation to explicitly marked anvil image slots. */
.product-plinth.anvil-photo-frame {
  background: transparent;
  border: 0;
  border-radius: 20px;
  transform: none;
}
.product-plinth.anvil-photo-frame img.anvil-factory-photo,
.product-panel-main .product-panel-media.anvil-photo-frame img.anvil-factory-photo,
.related-card img.anvil-factory-photo {
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  transform: none;
  mix-blend-mode: normal;
}
.product-panel-main .product-panel-media.anvil-photo-frame {
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  align-self: center;
}
body.premium-detail .page-hero-media.anvil-photo-frame {
  display: block;
  width: min(520px, 42vw);
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  background: transparent;
}
body.premium-detail .page-hero-media.anvil-photo-frame > img.anvil-factory-photo {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 20px;
  transform: none;
}
@media (max-width: 760px) {
  body.premium-detail .page-hero-media.anvil-photo-frame { width: min(330px, 84vw); }
}

.product-panel-main.anvil-photo-panel { height: auto; min-height: 0; }
