/* =========================================================
   Spin Max Popup — spin-max-popup.css
   ========================================================= */

/* Overlay */
.smp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.82);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.smp-overlay.smp-visible {
    display: flex;
}

/* Modal container */
.smp-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

/* ── Header ── */
.smp-header {
    background: #000;
    padding: 16px 52px 16px 20px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
}

.smp-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

/* Close button */
.smp-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    font-weight: 700;
    transition: color 0.15s;
}

.smp-close:hover,
.smp-close:focus {
    color: #00ae9e;
    outline: none;
}

/* ── Body ── */
.smp-body {
    padding: 0;
}

.smp-image-link {
    display: block;
    line-height: 0;
}

.smp-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Learn More button ── */
.smp-btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: #fff;
    color: #000;
    border: 3px solid #000;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
    border-radius: 0;
}

.smp-btn:hover,
.smp-btn:focus {
    background: #000;
    color: #fff;
    outline: none;
}

/* ── Mobile ── */
@media (max-width: 540px) {
    .smp-modal {
        max-width: 90vw;
    }

    .smp-title {
        font-size: 14px;
    }

    .smp-close {
        font-size: 26px;
    }

    .smp-btn {
        font-size: 13px;
        padding: 15px 16px;
    }
}
