.app-container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
    align-items: flex-start;
}

.menu-catalogo {
    flex: 3;
}

.filtros {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filtros button {
    background-color: var(--color-brown);
    color: var(--color-white);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.filtros button:hover { background-color: var(--color-orange); }

.lista-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.produto-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.produto-card h4 { color: var(--color-brown); margin-bottom: 5px; }
.produto-card .preco { color: var(--color-orange); font-weight: bold; font-size: 1.1em; margin-bottom: 15px; }
.produto-card button {
    background-color: var(--color-orange);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.carrinho-lateral {
    flex: 1;
    min-width: 300px;
    background: var(--color-light);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--color-honey);
    position: sticky;
    top: 180px;
}

.itens-carrinho { min-height: 150px; max-height: 400px; overflow-y: auto; margin-bottom: 15px; }
.item-carrinho { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #ccc; font-size: 0.9em; }
.item-carrinho button { background: red; color: white; border: none; padding: 2px 5px; cursor: pointer; border-radius: 3px; }

.checkout-form { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.checkout-form select, .checkout-form input { padding: 10px; border: 1px solid #ccc; border-radius: 4px; width: 100%; font-family: inherit;}
.btn-finalizar { background-color: #25D366; color: white; font-weight: bold; padding: 15px; border: none; border-radius: 5px; cursor: pointer; margin-top: 10px;}
.btn-finalizar:hover { background-color: #1ebe57; }

@media(max-width: 768px) {
    .app-container { flex-direction: column; }
    .carrinho-lateral { width: 100%; position: static; }
}
