/* Fluid visual galleries for portrait and landscape tablets. */
@media (min-width: 601px) and (max-width: 1100px) {
  .store-shell .visual-gallery-section {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .store-shell .visual-gallery {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .store-shell .visual-gallery.gallery-banner {
    aspect-ratio: 3.45 / 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .store-shell .visual-gallery.gallery-duo {
    aspect-ratio: 2.05 / 1 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  .store-shell .visual-gallery.gallery-mosaic,
  .store-shell .visual-gallery.gallery-puzzle {
    aspect-ratio: 2.05 / 1 !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }

  .store-shell .visual-gallery > div {
    min-width: 0 !important;
    min-height: 0 !important;
  }
}