/* ── MP Suscripción Modal ──────────────────────────────────────────────────── */

.mps-wrap {
    display: inline-block;
}

/* Trigger button */
.mps-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #009EE3;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.01em;
}
.mps-open-btn:hover  { background: #0086c3; transform: translateY(-1px); }
.mps-open-btn:active { transform: translateY(0); }

/* ── Modal overlay ── */
.mps-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.mps-modal.is-open {
    display: flex;
}

.mps-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    animation: mps-fadein .2s ease;
}

/* ── Dialog card ── */
.mps-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 420px;
    margin: 16px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    text-align: center;
    animation: mps-slidein .28s cubic-bezier(.34,1.35,.7,1);
}

.mps-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.mps-close:hover { color: #333; background: #f0f0f0; }

.mps-icon {
    margin: 0 auto 16px;
    width: 48px;
    height: 48px;
}

.mps-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.25;
}

.mps-description {
    font-size: 15px;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.55;
}

.mps-price {
    font-size: 28px;
    font-weight: 800;
    color: #009EE3;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}
.mps-price:empty { display: none; }

/* Features list */
.mps-features {
    text-align: left;
    margin: 0 0 24px;
}
.mps-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mps-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}
.mps-features li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e6f7ff;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23009EE3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* CTA button */
.mps-cta {
    display: block;
    background: #009EE3;
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    transition: background .2s, transform .15s;
    letter-spacing: 0.01em;
}
.mps-cta:hover  { background: #0086c3; transform: translateY(-1px); }
.mps-cta:active { transform: translateY(0); }

.mps-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    margin: 14px 0 0;
}

/* ── Animations ── */
@keyframes mps-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes mps-slidein {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .mps-dialog { padding: 32px 20px 24px; }
    .mps-title  { font-size: 19px; }
    .mps-price  { font-size: 24px; }
}
/* =========================================
   BLOQUEO DARK MODE ASTRA - MODAL MP
   ========================================= */

.astra-dark-mode-enable .mps-dialog {
    background: #ffffff !important;
    color: #333 !important;
}

.astra-dark-mode-enable .mps-title {
    color: #1a1a2e !important;
}

.astra-dark-mode-enable .mps-description {
    color: #555 !important;
}

.astra-dark-mode-enable .mps-price {
    color: #009EE3 !important;
}

.astra-dark-mode-enable .mps-features li {
    color: #333 !important;
}

.astra-dark-mode-enable .mps-secure {
    color: #999 !important;
}

/* Inputs dentro del dialog MP (por si el plugin agrega alguno) */
.astra-dark-mode-enable .mps-dialog input,
.astra-dark-mode-enable .mps-dialog select,
.astra-dark-mode-enable .mps-dialog textarea {
    background: #ffffff !important;
    color: #0F172A !important;
    border: 1px solid #dbeafe !important;
    -webkit-text-fill-color: #0F172A !important;
    color-scheme: light !important;
}