.elementor-1317 .elementor-element.elementor-element-9fc7496{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:1;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1317 .elementor-element.elementor-element-9fc7496::before, .elementor-1317 .elementor-element.elementor-element-9fc7496 > .elementor-background-video-container::before, .elementor-1317 .elementor-element.elementor-element-9fc7496 > .e-con-inner > .elementor-background-video-container::before, .elementor-1317 .elementor-element.elementor-element-9fc7496 > .elementor-background-slideshow::before, .elementor-1317 .elementor-element.elementor-element-9fc7496 > .e-con-inner > .elementor-background-slideshow::before, .elementor-1317 .elementor-element.elementor-element-9fc7496 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-1317 .elementor-element.elementor-element-9fc7496.e-con{--align-self:center;}#elementor-popup-modal-1317{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-1317 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-1317 .dialog-close-button{display:flex;}#elementor-popup-modal-1317 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for container, class: .elementor-element-9fc7496 *//* =========================
   RESET BÁSICO
========================= */
html,
body{
  margin: 0 !important;
  padding: 0 !important;
}

/* bloquear scroll del fondo cuando el popup está abierto */
body.elementor-popup-modal-open{
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
}

/* =========================
   POPUP FULLSCREEN REAL
========================= */
.elementor-popup-modal{
  position: fixed !important;
  inset: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
}

.elementor-popup-modal .dialog-widget{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100vw !important;
  max-width: 100vw !important;

  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}

.elementor-popup-modal .dialog-widget-content{
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;

  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;

  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  overflow: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}

.elementor-popup-modal .dialog-message{
  width: 100vw !important;
  max-width: 100vw !important;

  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;

  padding: 0 !important;
  margin: 0 !important;

  overflow: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}

/* =========================
   FUERZA CONTENEDORES INTERNOS
========================= */
.elementor-location-popup,
.elementor-location-popup .elementor,
.elementor-location-popup .elementor-section-wrap,
.elementor-location-popup section,
.elementor-location-popup .elementor-section,
.elementor-location-popup .elementor-container,
.elementor-location-popup .elementor-column,
.elementor-location-popup .elementor-widget-wrap,
.elementor-location-popup .e-con,
.elementor-location-popup .e-child{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}

.elementor-location-popup .elementor-container{
  padding: 0 !important;
  margin: 0 !important;
}

.elementor-location-popup .elementor-widget-html,
.elementor-location-popup .elementor-widget-container{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}

/* =========================
   CONTENIDO DEL POPUP
========================= */
.cd-popup-inicio{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;

  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url('https://craedis.com/wp-content/uploads/2026/04/aurora-popup-escrit.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}

.cd-popup-inicio::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
  pointer-events: none;
}

/* =========================
   BOTÓN IMAGEN / SELLO
========================= */
.cd-img-entrar{
  position: relative;
  z-index: 2;
  width: 180px;
  max-width: 55vw;
  height: auto;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.cd-img-entrar:hover{
  transform: scale(1.04);
  opacity: .98;
}

.cd-img-entrar:active{
  transform: scale(0.98);
}

/* ocultar la X */
.elementor-popup-modal .dialog-close-button{
  display: none !important;
}

/* =========================
   MÓVIL
========================= */
@media (max-width: 767px){
  .cd-popup-inicio{
    background-image: url('https://craedis.com/wp-content/uploads/2026/04/popup-mov-aurora.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .cd-img-entrar{
    width: 145px;
    max-width: 46vw;
  }
}

/* =========================
   RESPALDO PARA NAVEGADORES
   SIN SOPORTE DE 100dvh
========================= */
@supports not (height: 100dvh){
  .elementor-popup-modal .dialog-widget,
  .elementor-popup-modal .dialog-widget-content,
  .elementor-popup-modal .dialog-message,
  .cd-popup-inicio{
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }
}/* End custom CSS */