/* Only the inline gallery of standard NOVA detail pages, not its zoom dialog. */
@media (max-width: 575.98px) {
  body[data-page="1"] #buy_form > #product-offer > .product-gallery
    #image_wrapper:not(.fullscreen):not(.is-fullscreen) #gallery_wrapper {
    width: min(100%, 74vw, 300px);
    margin-inline: auto;
  }
}

@media (max-width:575.98px) {
  body[data-page="1"] #buy_form > #product-offer > .product-gallery
    #image_wrapper:not(.fullscreen):not(.is-fullscreen) {
    max-width: min(100%, calc(min(74vw, 300px) + 32px));
    margin-inline: auto;
    padding-top: 12px;
    margin-bottom: 20px;
  }
  body[data-page="1"] #buy_form > #product-offer > .product-gallery
    #image_wrapper:not(.fullscreen):not(.is-fullscreen) #gallery {
    margin-bottom: 12px;
  }
  body[data-page="1"] #buy_form > #product-offer > .product-gallery
    #image_wrapper:not(.fullscreen):not(.is-fullscreen) #gallery > .slick-dots {
    margin-top: 14px;
  }
}
