.section-irPago {
    display: flex;
    align-items: center;
    height: 100vh;
    margin-top: 5em;
}

/* Estilos para ir-alPago.php */
.irAlPago--container {
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.irAlPago--productos {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 90%;
    height: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.irAlPago--productos h2 {
    text-align: center;
    margin-bottom: 5px;
}

.irAlPago-mensaje-carroVacio {
    font-size: 1.2em;
}

.irAlPago--lista-productos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.irAlPago--lista-productos .producto {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.pago-producto {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    padding: 1em 2em;
    border-radius: 20px;
    box-shadow: 0 8px 13px -9px #00000081;
    height: 115px;
    width: 60%;
}

.irAlPago--producto-imagen img {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

.irAlPago--producto-textos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-right: 2em;
    width: 80%;
}

.borrarDelPage {
    width: 25px;
    height: 25px;
}

.irAlPago--total {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

.irAlPago--metodos-pago {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.irAlPago--metodos-pago .btn-mercado-pago,
.irAlPago--metodos-pago .btn-Apple-Pay {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 35%;
    transition: background-color .4s ease;
}

.irAlPago--metodos-pago .btn-mercado-pago {
    background-color: #009ee3;
    color: white;
}

.irAlPago--metodos-pago .btn-Apple-Pay {
    background-color: #ffc439;
    color: black;
}

.btn-mercado-pago:hover {
    background-color: #016894;
}

.btn-Apple-Pay:hover {
    background-color: rgb(202, 154, 40);
}

@keyframes scale-out-btnPago {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0);
        opacity: 0;
    }
}

.hidden {
    display: none;
}

@media (max-width: 1440px) {
    .section-irPago {
        margin-top: 3.6em;
    }

    .irAlPago--container {
        padding: 30px;
    }

    .pago-producto {
        height: 55px;
    }

    .irAlPago--productos h2 {
        font-size: 1.1em;
        margin: 0;
    }

    .irAlPago--lista-productos {
        gap: .5em;
    }

    .irAlPago--producto-textos {
        font-size: .8em;
        gap: 0;
        margin: 0;
        height: 100%;
    }

    .borrarDelPage {
        width: 20px;
        height: 20px;
        font-size: .7em;
    }

    .irAlPago--producto-imagen img {
        height: 38px;
        width: 50px;
    }

    .irAlPago--metodos-pago .btn-mercado-pago,
    .irAlPago--metodos-pago .btn-Apple-Pay {
        font-size: .8em;
    }

    .irAlPago--total {
        margin-top: 10px;
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .section-irPago {
        margin-top: 4.5em;
    }

    .pago-producto {
        padding: .3em 2em;
    }

    .irAlPago--container {
        height: 100%;
        padding: 0;
    }

    .irAlPago--lista-productos {
        gap: .3em;
    }

    .irAlPago--productos {
        width: 100%;
        padding: 15px;
    }

    .irAlPago--productos h2 {
        font-size: .85em;
    }

    .irAlPago--producto-textos {
        font-size: .6em;
        width: 65%;
    }

    .borrarDelPage {
        top: 40%;
    }

    .pago-producto {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        height: auto;
    }

    .pago-producto .carro-producto-imagen {
        width: 100%;
        text-align: center;
    }

    .pago-producto .carro-producto-textos {
        width: 100%;
        text-align: center;
    }

    .irAlPago--metodos-pago .btn-mercado-pago,
    .irAlPago--metodos-pago .btn-Apple-Pay {
        width: 70%;
        font-size: .6em;
    }

    .irAlPago--total {
        font-size: .8em;
    }
}