/* Estilos para a página do carrinho */
.carrinho-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carrinho-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #343a40;
    color: #ffffff; /* Corrigido para branco */
    border-radius: 10px;
}

.carrinho-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1fr 0.5fr;
    gap: 15px;
    padding: 20px;
    background: #e9ecef;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1fr 0.5fr;
    gap: 15px;
    padding: 25px 20px;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.produto-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.produto-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 5px;
}

.produto-detalhes h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

.carrinho-header p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 1; /* Alterado para 1 para garantir branco total */
}

.checkin-status {
    font-size: 0.9rem;
    color: #666;
    font-style: normal; /* Removido o itálico */}

.data-visita {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.data-visita i {
    color: #28a745;
}

.quantidade-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-quantidade {
    width: 35px;
    height: 35px;
    border: 2px solid #28a745;
    background: white;
    color: #28a745;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quantidade:hover {
    background: #28a745;
    color: white;
}

.quantidade-valor {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.valor-info {
    text-align: center;
}

.valor-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000000; /* Corrigido para preto */
}

.desconto-info {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 5px;
}

.btn-remover {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent; /* Fundo transparente */
    color: #dc3545; /* Cor do ícone vermelho */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remover:hover {
    background: rgba(220, 53, 69, 0.1); /* Leve fundo vermelho no hover */
    transform: scale(1.1);
}

.carrinho-resumo {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resumo-valores {
    text-align: right;
    margin-bottom: 20px;
}

.total-geral {
    font-size: 1.8rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
}

.promocao-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #28a745;
    font-weight: 500;
}

.promocao-info i {
    font-size: 1.2rem;
}

.carrinho-acoes {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinhado à direita */
    gap: 15px;
}

.btn-finalizar {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-finalizar:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.termos-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.termos-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.termos-checkbox a {
    color: #007bff;
    text-decoration: none;
}

.termos-checkbox a:hover {
    text-decoration: underline;
}

.carrinho-vazio {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carrinho-vazio h3 {
    font-size: 2rem;
    color: #666;
    margin-bottom: 15px;
}

.carrinho-vazio p {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 25px;
}

.carrinho-vazio .btn {
    background: #28a745;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.carrinho-vazio .btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        padding: 20px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    .table-row > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f1f1f1;
    }
    
    .table-row > div:last-child {
        border-bottom: none;
    }
    
    .table-row > div::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.8rem;
        color: #666;
    }
    
    .produto-info {
        flex-direction: column;
        text-align: center;
    }
    
    .carrinho-header h2 {
        font-size: 2rem;
    }
    
    .total-geral {
        font-size: 1.5rem;
    }
}


/* Garantindo que o texto MINHA COMPRA esteja branco */
.carrinho-header h2 {
    color: #ffffff !important;
}

.carrinho-header p {
    color: #ffffff !important;
}

