/* VEL-20261105-GALERIE-STICKY (variant B): on desktop the gallery runs along
   with the purchase box until the product section ends. The containing column
   is as tall as the row, so sticky stops exactly at the end of the right
   column; with a shorter right column it never engages. */
@media (min-width: 1025px) {
  body.single-product .elementor-widget-woocommerce-product-images {
    position: sticky;
    top: var(--velur-sticky-media-top, 92px);
  }
}

/* The diamond stone media column (stage up to 706 px incl. its tab bar) only
   sticks when it fits below the header as a whole, so the tab bar can never
   be held below the window edge, even without the script. */
@media (min-width: 1025px) and (min-height: 820px) {
  .vd.vd-stone .vd-s-media {
    position: sticky;
    top: var(--velur-sticky-media-top, 92px);
  }
}
