.elementor-popup-modal.mmit-popup-gated .dialog-close-button,
.elementor-popup-modal.mmit-popup-gated .dialog-lightbox-close-button {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

html.mmit-popup-gated-open,
body.mmit-popup-gated-open {
	overflow: hidden !important;
	height: 100%;
}

body.mmit-popup-gated-open {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
}

.elementor-popup-modal.mmit-popup-gated .dialog-widget-content {
	max-height: calc( 100vh - 40px );
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/*
 * Keep the Elementor floating bar visible while the gated popup is open, but
 * stop it from being able to dismiss the popup. The bar's close button AND a
 * full-width .e-floating-bars__overlay layer both fire elementor/popup/hide
 * for the popup when clicked, so hiding only the X isn't enough — clicking
 * anywhere the X used to be still hits the overlay and closes the popup.
 * Making the whole bar non-interactive while gated blocks every close path;
 * hiding the X keeps it looking clean. Both reset once the popup is dismissed
 * and this class is removed.
 */
html.mmit-popup-gated-open .e-floating-bars {
	pointer-events: none !important;
}

html.mmit-popup-gated-open .e-floating-bars__close-button {
	display: none !important;
}
