/* V104 — enquadramento real da PDP sem mudar banners/cards/Quick Shop.
 * O V103 repetia object-fit:contain, já presente desde V083, e por isso não
 * alterava a aparência da galeria. Aqui a proporção da moldura segue a foto
 * REAL (atualizada no onLoad), sem zoom/crop; a PDP EU NÃO tem header-overlay.
 */
body.template-product:not(.header-overlay)[data-bj-market="PT"] #MainContent,
body.template-product:not(.header-overlay)[data-bj-market="ES"] #MainContent,
body.template-product:not(.header-overlay)[data-bj-market="IT"] #MainContent {
  margin-top: 0 !important;
}
body.template-product .product-gallery__main {
  aspect-ratio: var(--bj-gallery-ratio, 9 / 16) !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}
body.template-product .product-gallery__main [data-gallery-slide] > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
/* O Brasil retém seu layout V88 original, inclusive overlay e navegação. */
