.wpppp-no-scroll { overflow: hidden; }

#wpppp-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

#wpppp-modal[aria-hidden="false"] { display: block; }

.wpppp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.wpppp-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wpppp-header {
  display: none !important;
}

.wpppp-title { display: none; }     


.wpppp-close {
  position: absolute;
  right: 17px;
  top: 17px;
  z-index: 2;

  width: 35px;
  height: 35px;
  border-radius: 999px;

  padding: 0;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.95);
  box-sizing: border-box;
  overflow: hidden;
  
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  color: #333;

  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.wpppp-close:hover { background: rgba(245,245,245,0.98); }
.wpppp-close:focus { outline: 2px solid #2684ff; outline-offset: 2px; }

.wpppp-body {
  position: relative;
  flex: 1 1 auto;
  background: #fff;
  /* Si quieres un padding alrededor del iframe (marco blanco), descomenta:
  padding: 15px;
  box-sizing: border-box;
  */
}

.wpppp-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;                        /* por debajo del botón cerrar */
  border-radius: 0;                  /* se puede redondear si usas padding en .wpppp-body */
}


@media (max-width: 1024px) {
  .wpppp-dialog {
    width: 92vw;      /* fallback */
    height: 82vh;     /* fallback */
  }
}

@media (max-width: 480px) {
  .wpppp-close {
    right: 8px;
    top: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 32px;
  }
}

/*
#wpppp-modal[aria-hidden="false"] .wpppp-dialog {
  animation: wpppp-zoom-in 160ms ease-out;
}
@keyframes wpppp-zoom-in {
  from { transform: translate(-50%, -50%) scale(0.98); opacity: 0.96; }
  to   { transform: translate(-50%, -50%) scale(1);     opacity: 1; }
}
*/