.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.resumo-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #ffffff2d;
    padding-bottom: 10px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: var(--ml-text);
}

.hidden {
    display: none !important;
}

.pix-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:999;
}

.pix-modal.hidden{
    display:none;
}

.pix-modal-content{
    background:#1f1f1f;
    padding:25px;
    border-radius:8px;
    max-width:350px;
    width:90%;
    text-align: left;
}

.pix-modal-content h2, p {
    font-weight: 500;
}

.pix-modal-content img{
    max-width:200px;
    margin:15px auto;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.pix-chave-box{
    display:flex;
    gap:10px;
    background:#08bfb029;
    color:#fff;
    padding:8px;
    border-radius:4px;
    align-items:center;
    justify-content:space-between;
}

.btn-pix {
    background-color: #08bfb1;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-pix:hover {
    background-color: #06968a;
}

.btn-outline {
    border: none;
    font-size: 14px;
    background-color: transparent;
    color: #ffffff97;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: 0.3s;
}
.btn-outline:hover {
    background-color: #ffffff1e;
    color: #fff;
}

.pixQrImage {
    border-radius: 10px;
    width: 110px;
    cursor: none;
}

#pixChaveTexto {
    color: #54fff1;
    margin-left: 8px;
}

/* Responsividade do Checkout */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    /* Traz o Resumo da Compra para o topo no celular */
    .card:nth-child(3) {
        order: -1;
    }

    .header h1 {
        font-size: 20px !important;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .resumo-item {
        flex-direction: column;
        gap: 5px;
    }

    .total-row {
        font-size: 18px;
    }

}