
/* Keep complete detail panels legible at phone and tablet widths. */
@media(max-width:1100px){
 html body.kirsanov-product-standard main .pd-layout .pd-gallery,
 html body.kirsanov-product-standard main.pd-page .pd-gallery,
 html body main.k-product-visual-v3 .k-product-media .pd-gallery {
  grid-template-columns:minmax(0,1fr)!important;
  gap:22px!important;
 }
 html body.kirsanov-product-standard main .pd-layout .pd-gallery img,
 html body.kirsanov-product-standard main.pd-page .pd-gallery img,
 html body main.k-product-visual-v3 .k-product-media .pd-gallery img {
  width:100%!important;height:auto!important;max-height:none!important;
  object-fit:contain!important;grid-column:1 / -1!important;
 }
}
/* Standalone screen catalogue: native pixel heights must not become CSS heights. */
html body.screen-catalogue main article.product > .product-link {
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;height:auto!important;aspect-ratio:4 / 3!important;
 overflow:hidden!important;
}
html body.screen-catalogue main article.product > .product-link > img {
 display:block!important;width:100%!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;object-fit:contain!important;
 object-position:center!important;transform:none!important;margin:0!important;
}
