/**
 * Scroll lock for the desktop product dialog only.
 * Elementor limits body.dialog-prevent-scroll to one viewport. Lagar scrolls
 * the HTML element, so that height limit shrinks the document and clamps a
 * scrolled page to zero. Preserve the document's natural height and lock its
 * actual scroll container instead. The adapter sets these classes before the
 * native popup handler runs, and removes them after its scroll lock is gone.
 */
html.fwr-mega-menu-scroll-lock {
  overflow: hidden !important;
  scrollbar-gutter: stable;
}
body.fwr-mega-menu-scroll-lock.dialog-prevent-scroll {
  max-height: none !important;
}
