#modal-whatsapp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

#modal-whatsapp-overlay.show {
    opacity: 1;
    pointer-events: all;
}

#modal-whatsapp {
    background: white;
    border-radius: 16px;
    padding: 44px 36px 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.35s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#modal-whatsapp-overlay.show #modal-whatsapp {
    transform: translateY(0);
}

#modal-whatsapp-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #000000;
    line-height: 1;
    transition: color 0.2s ease;
}

#modal-whatsapp-close:hover {
    color: #474747;
}

#modal-whatsapp-icon {
    width: 72px;
    height: 72px;
    background: #22ca00;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

#modal-whatsapp h2 {
    font-size: 20px;
    color: #000000;
    margin: 0 0 10px;
    font-weight: 700;
}

#modal-whatsapp p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin: 0 0 24px;
}

#modal-whatsapp-btn {
    display: block;
    background-color: rgb(0, 0, 0);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-bottom: 12px;
}

#modal-whatsapp-btn:hover {
    text-decoration: none;
    color: white;
    background-color: #474747;
}

#modal-whatsapp-dismiss {
    background: none;
    border: none;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

#modal-whatsapp-dismiss:hover {
    color: #555;
}

@media (max-width: 480px) {
    #modal-whatsapp-overlay {
        align-items: flex-end;
    }

    #modal-whatsapp {
        padding: 36px 24px 32px;
        border-radius: 20px 20px 0 0;
        max-width: 100%;
        width: 100%;
        transform: translateY(100%);
    }

    #modal-whatsapp-overlay.show #modal-whatsapp {
        transform: translateY(0);
    }

    #modal-whatsapp-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    #modal-whatsapp-icon svg {
        width: 38px;
        height: 38px;
    }

    #modal-whatsapp h2 {
        font-size: 18px;
    }

    #modal-whatsapp p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    #modal-whatsapp-btn {
        font-size: 14px;
        padding: 13px 16px;
    }

    #modal-whatsapp-dismiss {
        font-size: 12px;
    }
}