/* =========================================
   OVERLAY
========================================= */

.donation-modal-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .62);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 999999;

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease,
                visibility .25s ease;
}

.donation-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MODAL
========================================= */

.donation-modal {
    position: relative;
    width: 95%;
    max-width: 550px;
    /* max-width: 650px;
    max-height: 94vh; */
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 20px 21px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    transform: translateY(20px) scale(.97);
    transition: transform .25s ease;
}

.donation-modal-overlay.active .donation-modal {
    transform: translateY(0) scale(1);
}


/* =========================================
   BOTÓN CERRAR
========================================= */

.donation-close {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: #f0eee8;

    color: #183937;

    font-size: 31px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 5;

    transition: all .2s ease;
}

.donation-close:hover {
    background: #e5e2d9;
    transform: rotate(90deg);
}


/* =========================================
   ENCABEZADO
========================================= */

.donation-header {
    display: flex;
    align-items: flex-start;
    padding-bottom: 8px;
}

.donation-heart {
    width: 75px;
}

.donation-heart img {
    display: block;
    width: 100%;
}

.donation-header h2 {
    font-size: 23px;
    line-height: 25px;
    font-weight: 700;
}

.donation-description {
    margin-bottom: 12px;
    color: #263c3b;
    font-size: 14px;
    line-height: 14px;
}


/* =========================================
   TARJETAS / SECCIONES
========================================= */

.donation-section {
    margin: 0 0 7px;
    border: 1px solid #e9e6df;
    border-radius: 18px;
    background: #fff;
    padding: 15px 15px;
}

.donation-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 11px;
    color: #173a38;
}

.donation-icon {
    width: 27px;
    margin-right: 11px;
}

.donation-icon img{
    display: block;
    width: 100%;
}

.donation-section-title p{
    font-size: 16px;
    font-weight: 700;
}



/* =========================================
   NIUBIZ
========================================= */

.niubiz-button {
    width: 100%;
    border: none;
    padding: 11px 11px;
    margin-bottom: 16px;
    border-radius: 9px;
    background: #ed7426;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: background .2s ease,
                transform .2s ease;
}

.niubiz-button h2{
    font-size: 18px;
    color: #FFFFFF;
}

.niubiz-logo{
    display: flex;
    justify-content: center;
    width: 89px;
    color: #FFFFFF;
}

.niubiz-logo img{
    display: block;
    width: 100%;
    margin-right: 9px;
}

.niubiz-logo p{
    color: #FFFFFF;
}

.payment-cards{
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.payment-cards img{
    display: block;
    width: 100%;
}

/* DONATION PHONE */

.donation-phone .donation-icon{
    width: 15px;
}

.lg-yape{
    width: 100%;
}

.img-yape{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.lg-yape img{
    display: block;
    width: 48%;
    border-radius: 11px;
}

.yape-titular{
    width: 100%;
    margin-top: 11px;
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp-box {
    display: flex;
    margin-top: 0;
    padding: 15px 15px;
    border-radius: 18px;
    background: #f2f1ec;
}

.whatsapp-icon {
    width: 37px;
    margin-right: 11px;
}

.whatsapp-icon img{
    display: block;
    width: 100%;
}

.whatsapp-text {
    width: 80%;
    font-size: 14px;
    line-height: 14px;
}

.whatsapp-text strong {
    font-weight: 800;
}

.whatsapp-heart{
    display: none;
}

@media screen and (min-width: 768px){

    .donation-modal {
        padding: 43px 21px 20px;
    }

    .niubiz-button {
        flex-direction: row;
    }

    .niubiz-logo {
        justify-content: initial;
        margin: 0 0 0 15px;
    }

    .donation-heart {
        width: 165px;
        margin-right: 25px;
    }

    .donation-header h2 {
        width: 69%;
        font-size: 37px;
        line-height: 37px;
    }

    .whatsapp-heart{
        display: block;
        width: 15%;
    }

    .whatsapp-heart img{
        display: block;
        width: 100%;
    }

    .lg-yape{
        display: flex;
        justify-content: space-between;
    }

    .yape-titular {
        margin-top: 0;
    }

}

@media screen and (min-width: 1024px){

    .donation-modal {
        padding: 27px 21px 20px;
    }

    .donation-heart {
        width: 111px;
    }

    .donation-header h2 {
        width: 49%;
        font-size: 29px;
        line-height: 31px;
    }

    /* .yape-titular {
        display: flex;
        justify-content: center;
    } */

    .yape-titular p{
        margin: 0 11px;
    }

    .whatsapp-text {
        font-size: 13px;
        line-height: 16px;
    }

}

/* @media (max-width: 600px) {



    .donation-modal-overlay {
        padding: 8px;
        align-items: center;
    }

    .donation-modal {
        max-height: 96vh;
        border-radius: 17px;

        padding: 15px 8px 12px;
    }

    .donation-header {
        gap: 10px;
        padding: 5px 42px 5px 8px;
    }

    .donation-heart {
        width: 70px;
        flex-basis: 70px;
    }

    .donation-heart img{
        display: block;
        width: 100%;
    }

    .donation-header h2 {
        font-size: 28px;
    }

    .donation-description {
        margin: 5px 9px 14px;

        font-size: 15px;
    }

    .donation-section {
        border-radius: 15px;
        margin-bottom: 12px;
    }

    .donation-section-title {
        gap: 10px;

        padding: 13px 15px 9px;

        font-size: 20px;
    }

    .donation-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .donation-icon svg {
        width: 34px;
        height: 34px;
    }

    .niubiz-content,
    .mobile-content {
        padding: 0 12px 12px;
    }

    .niubiz-button {
        min-height: 65px;

        font-size: 17px;

        border-radius: 14px;
    }

    .niubiz-logo {
        font-size: 31px;
    }

    .niubiz-arrow {
        font-size: 25px;
    }

    .payment-cards {
        gap: 5px;
    }

    .mobile-payments {
        gap: 10px;
    }

    .mobile-payment {
        min-height: 80px;
        border-radius: 14px;
    }

    .yape-logo {
        font-size: 30px;
    }

    .plin-logo {
        font-size: 34px;
    }

    .whatsapp-box {
        padding: 15px;

        gap: 10px;

        min-height: 90px;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }

    .whatsapp-icon svg {
        width: 40px;
        height: 40px;
    }

    .whatsapp-text {
        font-size: 14px;
        line-height: 1.4;

        padding-right: 35px;
    }

    .whatsapp-heart {
        width: 65px;
        right: 5px;
    }

    .donation-close {
        width: 39px;
        height: 39px;

        font-size: 27px;
    }
}


@media (max-width: 380px) {

    .donation-header h2 {
        font-size: 24px;
    }

    .donation-description {
        font-size: 14px;
    }

    .donation-section-title {
        font-size: 18px;
    }

    .payment-cards {
        transform: scale(.9);
    }

} */