/* =========================================
   JAGADHATRI MEDICARE - PROMO POPUP
========================================= */

.promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.promo-popup {
    position: relative;
    width: 760px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.30);
    animation: promoPopupIn 0.45s ease;
}

.promo-image {
    width: 45%;
    background: #f7f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.promo-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.promo-content {
    width: 55%;
    padding: 42px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-badge {
    display: inline-block;
    width: fit-content;
    background: #eaf6ff;
    color: #0878c9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 7px 12px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.promo-content h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
    color: #172b4d;
    font-weight: 700;
}

.promo-content h3 {
    margin: 7px 0 14px;
    font-size: 21px;
    color: #0878c9;
    font-weight: 600;
}

.promo-content p {
    margin: 0 0 16px;
    color: #687386;
    font-size: 15px;
    line-height: 1.7;
}

.promo-stock {
    color: #16834b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

.promo-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: #0878c9;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.promo-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.whatsapp-btn {
    background: #16834b;
}

.promo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.07);
    color: #333333;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: 0.2s ease;
}

.promo-close:hover {
    background: rgba(0, 0, 0, 0.14);
}

/* Popup Animation */
@keyframes promoPopupIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .promo-overlay {
        padding: 15px;
    }

    .promo-popup {
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        display: block;
        border-radius: 16px;
    }

    .promo-image {
        width: 100%;
        min-height: 210px;
        padding: 20px;
    }

    .promo-image img {
        max-width: 210px;
        max-height: 210px;
    }

    .promo-content {
        width: auto;
        padding: 25px 22px 28px;
    }

    .promo-content h2 {
        font-size: 25px;
    }

    .promo-content h3 {
        font-size: 18px;
    }

    .promo-content p {
        font-size: 14px;
    }

    .promo-buttons {
        flex-direction: column;
    }

    .promo-btn {
        width: 100%;
    }

    .promo-close {
        top: 9px;
        right: 9px;
    }
}