/* Keep the first product photo area at the approved height at each viewport. */
html body.fctel-detail-unified main:is(#fct-detail-final.fct-detail-final[data-buyer-first-screen], .product3400, .product-3188-detail) {
  --product-hero-photo-height: clamp(230px, 22vw, 306px);
}
html body.fctel-detail-unified main:is(#fct-detail-final.fct-detail-final[data-buyer-first-screen], .product3400, .product-3188-detail)
  :is(.buyer-hero-gallery, .mini-hero [data-gallery="product"])
  :is(#f6300-photo-link.buyer-hero-photo, .buyer-hero-photo, .mini-view-main) {
  height: var(--product-hero-photo-height) !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

@media (max-width: 760px) {
  html body.fctel-detail-unified main:is(#fct-detail-final.fct-detail-final[data-buyer-first-screen], .product3400, .product-3188-detail) {
    --product-hero-photo-height: clamp(158px, 49vw, 244px);
  }
}
