.checkout-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 16px;
}

.checkout-container fieldset {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.checkout-container label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
}

.checkout-container input {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.checkout-erros {
    color: #c0392b;
    margin-bottom: 12px;
}

.checkout-campo-erro {
    color: #c0392b;
    font-size: 12px;
}

.checkout-resumo {
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
    margin-bottom: 16px;
}

.checkout-resumo-item,
.checkout-resumo-linha {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.checkout-resumo-total {
    font-weight: 700;
    font-size: 18px;
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
    padding-top: 8px;
}

.checkout-consentimento {
    margin-bottom: 16px;
    font-size: 13px;
}

.btn-finalizar {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.checkout-aviso {
    text-align: center;
    color: #777;
    font-size: 13px;
    margin-top: 12px;
}

.opcoes-pagamento {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.btn-pagamento {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
}

.btn-pix {
    background: #00b2a9;
}

.btn-boleto {
    background: #455a64;
}

.btn-cartao {
    background: #5e35b1;
    text-align: center;
    text-decoration: none;
}

/* Botão é um link: a regra global de <a> pintaria o texto ao passar o mouse
   ou focar. Mantém o mesmo comportamento dos botões Pix e Boleto. */
.btn-cartao,
.btn-cartao:hover,
.btn-cartao:focus,
.btn-cartao:visited {
    color: #fff;
    text-decoration: none;
}

.pix-copia-cola {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: monospace;
    margin-bottom: 16px;
}

.confirmacao-container h1 {
    color: #2e7d32;
}

.pedido-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.pedido-timeline-etapa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #aaa;
}

.pedido-timeline-etapa.concluida {
    color: #2e7d32;
    font-weight: 600;
}

.pedido-timeline-bola {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
}

.pedido-timeline-etapa.concluida .pedido-timeline-bola {
    background: #2e7d32;
}

.confirmacao-status {
    font-size: 18px;
}

/* Tipo de pessoa (física/jurídica) */
.checkout-tipo-pessoa {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkout-tipo-pessoa label {
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
