/* Real image elements avoid background resets from the global brand styles. */
.portal-product-photo {
  position:relative;
  width:100%;
  aspect-ratio:4 / 3;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
  border-radius:12px;
  box-sizing:border-box;
  padding:16px;
}
.portal-product-photo > img {
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  object-fit:contain;
  object-position:center;
}
.portal-product-photo > b {position:absolute;right:12px;bottom:10px;padding:5px 9px;border-radius:20px;background:#f2f5fa;color:#243b74;font-size:11px;}
.portal-product-photo-detail {aspect-ratio:1 / 1;border:1px solid #e4e8ef;}
.portal-photo-placeholder {color:#7c879b;font-size:13px;text-align:center;}
@media(max-width:600px){.portal-product-photo{padding:10px;}.portal-product-photo-detail{max-height:320px;}}
