/* Estilos Específicos do Checkout */

.checkout-page {
    background-color: #fff;
    margin-top: 40px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 40px;
}

/* Coluna da Esquerda (Formulário) */
.checkout-form {
    flex: 2;
}
.checkout-form h1 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* Navegação do Processo */
.checkout-steps {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-weight: bold;
}
.step {
    color: #000;
}
.step.active {
    color: var(--jbl-orange);
}
.step span {
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 50%;
    margin-right: 5px;
    transition: all 0.3s;
}
.step.active span {
    border-color: var(--jbl-orange);
    background-color: var(--jbl-orange);
    color: white;
}

/* Campos do Formulário */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.two-cols {
    display: flex;
    gap: 20px;
}
.two-cols > div {
    flex: 1;
}

.continue-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--jbl-orange); 
    color: white;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 30px;
}

/* Coluna da Direita (Resumo do Pedido) */
.order-summary {
    flex: 1;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    height: fit-content;
}
.order-summary h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.order-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}
.item-thumb {
    width: 60px; 
    height: 60px;
}
.item-details {
    font-size: 0.9em;
}
.item-details p {
    margin: 0 0 5px 0;
}
.item-price {
    font-weight: bold;
}

.summary-header {
    margin-top: 30px;
}

.summary-line {
    display: flex; 
    justify-content: space-between; 
    font-size: 0.9em;
    margin-top: 5px;
}

.summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
}
.total-line {
    display: flex; 
    justify-content: space-between;
}

.promo-input {
    width: 100%; 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px;
}