/*!
 * GBZ420 - product photo framing (2026-10-16).
 * The catalogue originals are now recentred on white squares (subject ~86 % of the side) and every
 * product image type is square (cart 160, small 120, medium 452, home 480, large 600, thickbox
 * 1100, gbz_pdp 960). The old product-page calibration (cover + scale(1.26) in a 499/343 frame,
 * cover + scale(1.15) on 149/118 thumbs, scale(1.1) on mobile) cropped the product, so the gallery
 * now shows the whole square photo: square frame, `contain`, no zoom. This sheet is loaded after
 * the shared CSS bundle (head.tpl) and only touches image fitting on the product page.
 */
html body#product .gbz-product-page .product-cover {
    aspect-ratio: 1 / 1;
}

html body#product .gbz-product-page .product-cover .product-images-large img,
html body#product .gbz-product-page #product-images-thumbs img {
    object-fit: contain;
    transform: none;
}

/* the theme caps the slide image at 640 px, which left a white band under the photo in the
   square frame: the photo fills the frame instead */
html body#product .gbz-product-page .product-cover .product-images-large img {
    max-height: none;
}

html body#product .gbz-product-page #product-images-thumbs img {
    aspect-ratio: 1 / 1;
}
