/* Candidate only: expanded product dialog. Compact cards retain their r01 rules. */
.product-detail-dialog > .catalog-card > .product-photo {
  height: 320px;
  max-height: 320px;
  min-height: 0;
  flex: 0 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-dialog > .catalog-card > .product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
