/* Fix iOS Safari Modal Full Height - 700cf8a0 */

/* iOS Safari does not support 100vh correctly — the address bar and toolbar
   are not subtracted, so modals appear shorter than the visible viewport.
   We use dvh (dynamic viewport height) with a -webkit-fill-available fallback. */

.elementor-popup-modal {
    height: 100vh !important;
    height: 100dvh !important;
    height: -webkit-fill-available !important;
}

.elementor-popup-modal .dialog-widget-content {
    max-height: 100vh !important;
    max-height: 100dvh !important;
    max-height: -webkit-fill-available !important;
}

.elementor-popup-modal .dialog-message {
    max-height: 100vh !important;
    max-height: 100dvh !important;
    max-height: -webkit-fill-available !important;
}

/* Ensure the popup container itself stretches to full height */
.elementor-popup-modal .dialog-widget-content {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: -webkit-fill-available !important;
}

/* Target the inner Elementor section/container inside the popup */
.elementor-popup-modal .elementor-section-wrap,
.elementor-popup-modal > .dialog-widget-content > .dialog-message > .elementor {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: -webkit-fill-available !important;
}

/* Fix for popups set to full screen layout */
.elementor-popup-modal .dialog-widget-content[style*="height"] {
    height: 100vh !important;
    height: 100dvh !important;
    height: -webkit-fill-available !important;
}
