/* Popup scroll hardening (works with Magnific Popup + Lenis) */
.mfp-wrap{ -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
/* On touch devices, allow vertical panning inside the popup */
.mfp-wrap, .mfp-container, .mfp-content{ touch-action: pan-y; }

/*
  IMPORTANT:
  The site's .popup element sets `overscroll-behavior: contain` in main.css.
  On modern Chromium/Edge this prevents "scroll chaining":
  when you wheel over the popup (which is NOT the scroll container), the
  scroll will NOT propagate to .mfp-wrap (which *is* the scroll container).

  Result: the popup only scrolls when your mouse is outside the popup.
  Fix: allow scroll chaining inside the popup.
*/
.mfp-wrap .popup{
  overscroll-behavior: auto !important;
  overscroll-behavior-y: auto !important;
  -ms-scroll-chaining: chained; /* legacy EdgeHTML */
}
