:root {
    --zen-primary: #e67e22;
    --zen-cta: var(--zen-primary);
    --zen-overlay: rgba(0, 0, 0, 0.85);
    --zen-radius: 14px;
}

/* --- Popup Overlay --- */
.zen-popup-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: var(--zen-overlay);
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 999999999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    height: 100% !important;
    width: 100% !important;
    backdrop-filter: blur(3px);
}

.zen-popup-overlay.is-active {
    display: flex !important;
    opacity: 1;
}

/* --- Modal Content --- */
.zen-content {
    background: white !important; /* Ensure background is white */
    padding: 2.5rem 2rem;
    border-radius: var(--zen-radius);
    max-width: 500px;
    width: 92%;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: visible;
}

.is-active .zen-content {
    transform: scale(1);
}

/* --- Close Button --- */
.zen-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}

/* --- Content Typography --- */
.zen-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222 !important;
}

.zen-body h2 {
    color: #1a1a1a !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
}

.zen-body p {
    color: #444 !important;
    margin-bottom: 20px !important;
}

/* --- CTA Button --- */
.zen-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #ff8c1a, #e65c00);
    box-shadow: 0 8px 20px rgba(230, 92, 0, 0.3);
    transition: all 0.3s ease;
}

/* --- Combined Mobile Fixes --- */
@media (max-width: 480px) {
    .zen-popup-overlay {
        padding: 10px;
        overflow-y: auto;
    }

    .zen-content { 
        padding: 1.5rem !important; 
        gap: 15px;
        width: 88% !important;
        min-height: auto;
        margin: auto;
    }

    .zen-body h2 {
        font-size: 20px !important;
        line-height: 1.2;
    }

    .zen-body p {
        font-size: 15px !important;
    }

    .zen-primary-button {
        width: 100%;
        font-size: 17px;
        padding: 15px;
    }

    .zen-close {
        top: 10px !important; 
        right: 10px !important;
        background: #f1f1f1;
        border: none;
    }
}