/*
 * Czerweny 9335 -> existing verified medium 10361.
 * The native photo is a 1366 x 768 white canvas with the full pump at
 * x=637..691, y=112..652. These rules remove white lateral margins only.
 * Both the server-issued canvas flag and the exact active src must match.
 * Elementor Home images and unrelated uses of attachment 10361 are excluded.
 * Append after product-quote.css; no image pixels are changed.
 */
body:not(.home) #bcn-catalogo-v1 .bcn-product-img .bcn-card-media > img.bcn-verified-photo[data-bcn-quality-canvas="czerweny-75qj"][src="https://bombascen.com.ar/wp-content/uploads/bcn-catalogo-importado/2026/11/czerweny-75qj-galeria-oficial-original.webp"],
body.woocommerce:not(.home) ul.products li.product .bcn-card-media > img.bcn-verified-photo[data-bcn-quality-canvas="czerweny-75qj"][src="https://bombascen.com.ar/wp-content/uploads/bcn-catalogo-importado/2026/11/czerweny-75qj-galeria-oficial-original.webp"],
body:not(.home) .wc-block-grid__product .bcn-card-media > img.bcn-verified-photo[data-bcn-quality-canvas="czerweny-75qj"][src="https://bombascen.com.ar/wp-content/uploads/bcn-catalogo-importado/2026/11/czerweny-75qj-galeria-oficial-original.webp"],
body:not(.home) .wc-block-product .bcn-card-media > img.bcn-verified-photo[data-bcn-quality-canvas="czerweny-75qj"][src="https://bombascen.com.ar/wp-content/uploads/bcn-catalogo-importado/2026/11/czerweny-75qj-galeria-oficial-original.webp"] {
  /* Existing card boxes retain aspect-ratio:1.2 and padding:5px. */
  object-fit: cover !important;
  object-position: 45.7% 50% !important;
}

body.single-product:not(.home) .woocommerce-product-gallery .bcn-verified-slide > a > img.bcn-verified-photo[data-bcn-quality-canvas="czerweny-75qj"][src="https://bombascen.com.ar/wp-content/uploads/bcn-catalogo-importado/2026/11/czerweny-75qj-galeria-oficial-original.webp"] {
  /* A bounded square prevents a wide gallery from cropping the pump vertically. */
  box-sizing: border-box;
  width: min(100%, 66vh, 540px) !important;
  width: min(100%, 66svh, 540px) !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: 46.82% 50% !important;
}

@media (min-width: 1025px) and (max-height: 800px) {
  body.single-product:not(.home) .woocommerce-product-gallery .bcn-verified-slide > a > img.bcn-verified-photo[data-bcn-quality-canvas="czerweny-75qj"][src="https://bombascen.com.ar/wp-content/uploads/bcn-catalogo-importado/2026/11/czerweny-75qj-galeria-oficial-original.webp"] {
    /* Preserve the existing short-screen height budget through the square width. */
    width: min(100%, 66vh, 540px, max(220px, calc(100vh - 302px))) !important;
    width: min(100%, 66svh, 540px, max(220px, calc(100svh - 302px))) !important;
  }
}
