/* ======================================================
   POPUP MAKER CUSTOM STYLES
   BODY HARMONY
   ------------------------------------------------------
   Plugin: Popup Maker
   Purpose: Dise�o y personalizaci�n de popups
   Author: Karina
   ====================================================== */


/* ======================================================
   POPUP GENERAL
====================================================== */

/*.popup-banner {
  width: 100% !important;
  height: 70px!important;
  object-fit: cover !important;
  display: block !important;
  aspect-ratio: 3 / 2 !important;
  overflow: hidden !important;
}

.pum-container {
 /*position: flex !important;
  top: 50% !important;
  left: 50% !important;*/
/*transform: translate(-50%, -50%) !important;
  bottom: auto !important;
}
  
/* ======================================================
   OVERLAY / BACKGROUND
====================================================== */
.popup-content h2 {
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.popup-intro {
    margin-bottom: 1.5rem;
    overflow: auto;
}

.popup-intro strong {
    display: block;
    padding-top: 0.2rem;
}

.popup-thumb {
    width: 35%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 1rem;

    float: left;
    margin-right: 1rem;
    margin-bottom: 0.8rem;

    display: block;
}

.popup-text {
    display: block;
}

.popup-text p {
    margin-top: 0.6rem;
}

/* limpia el float */
.popup-intro::after {
    content: "";
    display: block;
    clear: both;
}

/* responsive */
@media (max-width:768px) {

    .popup-thumb {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* ======================================================
   CONTENEDOR DEL POPUP (ESTILOS SANEADOS)
====================================================== */
.pum-container {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 24px !important;
    border-radius: 12px !important;
    max-width: 700px !important;
    width: 90% !important;
    box-sizing: border-box !important;

    /* Nueva sombra ultra oscura y profunda */
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 15px 50px rgba(0, 0, 0, 0.55) !important;
}


.pum-content {
    overflow: hidden !important;
    display: block !important;
}

.popup-content h2 {
    font-size: clamp(1.6rem, 2vw, 2.1rem);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.popup-content p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #4a5568;
}

.popup-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.popup-content li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #4a5568;
}

.popup-content strong {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    color: #1a202c;
}

/* Solución definitiva para la imagen responsive */
.popup-thumb {
    width: 32% !important;
    /* Reducida un poco para que no compita con el texto */
    max-width: 220px;
    /* Evita que sea gigante */
    aspect-ratio: 1 / 1;
    /* Cuadrada para que sea más fácil de ubicar y más chica */
    object-fit: cover;
    border-radius: 8px;
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Limpieza absoluta de floats para que "Beneficios" no se monte arriba */
.popup-intro {
    margin-bottom: 1rem;
}

.popup-intro::after {
    content: "";
    display: table;
    clear: both;
}

/* ======================================================
   RESPONSIVE CELULARES (¡IMPECABLE!)
====================================================== */
@media (max-width: 768px) {
    .pum-container {
        padding: 16px !important;
        /* Menos padding en celular para ganar pantalla */
    }

    .popup-thumb {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 160px !important;
        /* Se vuelve un banner superior corto y prolijo */
        margin-right: 0 !important;
        margin-bottom: 1.2rem !important;
    }

    .popup-content p,
    .popup-content li {
        font-size: 14px;
        /* Tipografía altamente legible en móviles */
    }
}

/* ======================================================
   CONTENIDO INTERNO PARA SUREFORM
====================================================== */

/* Ajuste de los cuadros de texto e inputs */
.pum-container input[type="text"],
.pum-container input[type="email"],
.pum-container select,
.pum-container textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd5e1 !important;
    /* Borde gris sutil y limpio */
    border-radius: 6px !important;
    padding: 10px 12px !important;
    background-color: #ffffff !important;
}

/* Quitar la línea gris descolgada o el texto suelto inferior */
.pum-container textarea {
    margin-bottom: 0 !important;
}

/* Espaciado uniforme entre los bloques de preguntas */
.pum-container .sureforms-field,
.pum-container .form-group,
.pum-container p {
    margin-bottom: 1.5rem !important;
}

/* Estilo para las etiquetas de texto descriptivo */
.pum-container label,
.pum-container .field-label {
    font-weight: 600 !important;
    color: #1a202c !important;
    margin-bottom: 0.4rem !important;
    display: inline-block !important;
}

/* ======================================================
   REUBICACIÓN DEL BOTÓN DE CIERRE (X VERDE)
====================================================== */
.pum-theme-1979 .pum-close,
.pum-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 99999 !important;
}

/* ======================================================
   RESPONSIVE PARA DISPOSITIVOS MÓVILES
====================================================== */
@media (max-width: 768px) {
    .pum-container {
        padding: 25px 20px !important;
        /* Reduce márgenes en pantallas chicas */
    }
}

/* ======================================================
   BOTONES
====================================================== */









/* ======================================================
   RESPONSIVE
====================================================== */
/* CSS Document */