.checkout-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.checkout-form-section {
    flex: 2;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.checkout-resumo-section {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group h3 {
    font-size: 1.2rem;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s;
}

.input-row input:focus {
    border-color: #000;
}

.metodos-pagamento {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metodo-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.metodo-label:hover {
    border-color: #000;
}

/* --- ESTILOS DO RESUMO --- */
.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 4px;
}

.checkout-item-info p {
    margin: 0;
    font-size: 13px;
}

.resumo-valores {
    margin-top: 20px;
}

.linha-valor {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.linha-valor.total {
    font-size: 18px;
    font-weight: bold;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
}

.frete-linha {
    color: #666;
}

.btn-pagar {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-pagar:hover {
    background: #333;
}

@media (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
    }
    .input-row {
        flex-direction: column;
    }
    .input-row input {
        width: 100% !important;
    }
}