/* Product gallery zoom: JTL emits fixed 400px width/height attributes for the
   normal image slot. In fullscreen, let the selected large source use the viewport. */
#image_wrapper.fullscreen #gallery img.product-image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(100vh - 7.5rem) !important;
    object-fit: contain;
}
