/* CMS gallery extension. The base geometry stays entirely in the original main.css.
   Scrolling is enabled by JS only when thumbnails exceed the height of the
   designer's main image, so the normal 1 + 2/3 thumbnail layout is pixel-identical. */
@media (min-width:1025px){
  .product__galleryGroup.kapelli-gallery-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}

/* A product with no side images is a CMS-only edge case. */
.product__gallery.kapelli-single-image .product__cardgalleryMain{width:100%}
.product__galleryGroup[hidden],.product__scrollbar[hidden]{display:none!important}
