/* Product detail composer gallery – actual rendered structure, November 2026.
   The older .product-detail > .gallery rules never matched this DOM. */
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery > .gallery.panel {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:12px!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery > .gallery.panel > .gallery-main {
  position:relative!important;
  display:block!important;
  flex:none!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  background:var(--field,#f7f9fc)!important;
}
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery > .gallery.panel > .gallery-main > img,
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery > .gallery.panel > .gallery-main > img#gallery-main {
  position:static!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  min-width:0!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0 auto!important;
  padding:0!important;
  transform:none!important;
}
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery > .gallery.panel > .gallery-thumbs {
  position:relative!important;
  display:flex!important;
  flex:none!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery .gallery-thumb {
  width:82px!important;
  height:75px!important;
  flex:0 0 82px!important;
}
body.kt-store-mode .kt-detail-layout .kt-detail-block-gallery .gallery-thumb img {
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
