/* Layout da Barra de Progresso (Stepper) */
.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
    white-space: nowrap;
}

.step {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.step.completed {
    color: white;
}
.step.active {
    color: var(--primary-yellow);
}
.step-arrow {
    font-size: 0.7rem;
    color: var(--border-color);
}

/* Área do Formulário */
.checkout-form-section {
    flex: 2;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.checkout-form-section h2 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.link-cep {
    color: var(--primary-yellow);
    text-decoration: none;
    font-size: 0.75rem;
}
.link-cep:hover {
    text-decoration: underline;
}

.form-group input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}
.form-group input:focus {
    border-color: var(--primary-yellow);
    background: rgba(240, 185, 11, 0.05);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 30px 0;
}
.form-checkbox input {
    accent-color: var(--primary-yellow);
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-checkbox label {
    font-size: 0.85rem;
    color: #ccc;
    cursor: pointer;
}

/* Botão de Pagamento */
.btn-continuar-pagamento {
    width: 100%;
    background: var(--primary-yellow);
    color: #000;
    border: none;
    padding: 18px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-continuar-pagamento:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 185, 11, 0.3);
}
.btn-continuar-pagamento:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Mini Cart no Checkout (Lateral Direita) */
.mini-cart-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}
.mini-cart-item {
    display: flex;
    gap: 10px;
    align-items: center;
}
.mini-cart-img {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 4px;
    object-fit: contain;
}
.mini-cart-info {
    flex: 1;
}
.mini-cart-title {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.mini-cart-price {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsividade do Form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group {
        width: 100% !important;
    }
}
/* =======================================
   ESTILOS DA TELA DE PAGAMENTO (CUSTOM)
   ======================================= */

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.pay-method-box {
    flex: 1;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.2);
    padding: 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: 0.3s;
}

.pay-method-box:hover {
    background: rgba(255,255,255,0.05);
}

.pay-method-box.active {
    border-color: var(--primary-yellow);
    background: rgba(240, 185, 11, 0.1);
    color: white;
}

.pay-method-box i {
    font-size: 1.3rem;
}

/* Estilo do Dropdown de Parcelas para combinar com o input */
.custom-select {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
    width: 100%;
    appearance: none; /* Remove seta padrão em alguns navegadores */
}

.custom-select:focus {
    border-color: var(--primary-yellow);
}

.custom-select option {
    background: var(--bg-card); /* Fundo escuro nas opções abertas */
    color: white;
}