/* GGF S4 MEDIA-PRO-R3 — staging-only visual correction built from the accepted D24 V27M1 structure. */
body#product .gallery { min-height:0 !important; max-height:none !important; align-self:start !important; }
body#product .gallery__stage { height:auto !important; aspect-ratio:4/5; background:#f5f3ef; }
body#product .gallery__stage > img[data-gallery-main] { object-fit:cover !important; object-position:center; transform:scale(1.04) !important; }
body#product .gallery__stage > img[data-gallery-main][src*="no_picture"] { object-fit:contain !important; transform:none !important; }
body#product .gallery__stage > .gallery__video { object-fit:cover !important; transform:none !important; }
body#product .lightbox { padding:clamp(8px,1.5vw,20px); }
body#product .lightbox__panel { width:100%; height:100%; background:transparent; overflow:hidden; }
body#product .lightbox__image { width:min(80vw,calc((100dvh - 72px)*.8),720px); height:auto; max-width:calc(100vw - 32px); max-height:calc(100dvh - 72px); aspect-ratio:4/5; object-fit:cover; object-position:center; background:transparent; border-radius:4px; box-shadow:0 24px 70px rgba(0,0,0,.48); }
body#product .lightbox__image[src*="no_picture"] { object-fit:contain; }
body#product .lightbox__video { width:min(80vw,calc((100dvh - 72px)*.8),720px); height:auto; max-width:calc(100vw - 32px); max-height:calc(100dvh - 72px); aspect-ratio:4/5; object-fit:contain; background:#080808; }
@media (min-width:1101px) {
  body#product .d24-pdp-main .product { align-items:start !important; }
  body#product .gallery { grid-template-rows:auto; }
  body#product .gallery__stage { align-self:start !important; }
}
@media (min-width:721px) and (max-width:1100px) {
  body#product .gallery__stage { width:min(100%,800px); margin-inline:auto; aspect-ratio:4/5; }
}
@media (max-width:720px) {
  body#product .gallery__stage { aspect-ratio:4/5; }
  body#product .lightbox__image, body#product .lightbox__video { width:min(94vw,540px); max-width:94vw; max-height:calc(100dvh - 88px); }
}
:is(body#category,body#search,body#manufacturer,body#supplier,body#new-products,body#prices-drop,body#best-sales) .product-miniature__image-container,
:is(body#category,body#search,body#manufacturer,body#supplier,body#new-products,body#prices-drop,body#best-sales) .product-miniature__image-link,
:is(body#category,body#search,body#manufacturer,body#supplier,body#new-products,body#prices-drop,body#best-sales) .product-miniature__image-link picture { display:block; width:100%; height:100%; }
:is(body#category,body#search,body#manufacturer,body#supplier,body#new-products,body#prices-drop,body#best-sales) .product-miniature__image-link { position:relative; aspect-ratio:4/5; overflow:hidden; background:#f5f3ef; }
:is(body#category,body#search,body#manufacturer,body#supplier,body#new-products,body#prices-drop,body#best-sales) .product-miniature__image:not([src*="no_picture"]) { display:block; width:100%; height:100%; padding:0; object-fit:cover !important; object-position:center; background:#f5f3ef; transform:none !important; }
:is(body#category,body#search,body#manufacturer,body#supplier,body#new-products,body#prices-drop,body#best-sales) .product-miniature__image[src*="no_picture"] { width:100%; height:100%; object-fit:contain !important; transform:none !important; }
