/* 🛒 Produtos no carrinho */
.produto-carrinho {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.foto-carrinho {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.detalhes-produto {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detalhes-produto h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.detalhes-produto p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

/* Botões de quantidade */
.btn-menor, .btn-maior {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    margin: 0 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-menor:hover, .btn-maior:hover {
    background-color: #0056b3;
}

/* Botão remover */
.btn-remover {
    margin-top: 8px;
    color: #fff;
    background: #dc3545;
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    width: fit-content;
    transition: background 0.3s ease;
}

.btn-remover:hover {
    background: #c82333;
}

/* Total e Finalizar */
h2 {
    text-align: center;
    margin-top: 30px;
    color: #333;
}

.btn-finalizar {
    display: block;
    width: fit-content;
    margin: 20px auto;
    background: #28a745;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-finalizar:hover {
    background: #218838;
}