:root {
  --cor-principal: #ff6b35;
  --cor-secundaria: #ff855c;
  --cor-destaque: #ff4c00;
  --cor-preco: #f9c74f;
  --bg-body: #fdf6f0;
  --bg-carrinho: #fff3e0;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Corpo da página */
body {
  background: var(--bg-body);
  color: #333;
  line-height: 1.5;
  padding: 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  text-align: center;
}
.header h1 {
  font-size: 2.2rem;
  color: var(--cor-principal);
  text-shadow: 1px 1px 2px #ffa65c;
}
.header img {
  width: 40px;
  height: auto;
}

/* Cardápio */
.cardapio h2, .delivery h2 {
  font-size: 1.8rem;
  color: var(--cor-principal);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--cor-principal);
  text-align: center;
  padding-bottom: 5px;
}

/* Filtros */
.filtros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.filtros button {
  background: var(--cor-principal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s;
}
.filtros button:hover {
  background: var(--cor-secundaria);
  transform: scale(1.05);
}

/* Itens */
.itens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.item {
  flex: 0 0 220px;
  max-width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.item h3 {
  font-size: 1.2rem;
  color: var(--cor-destaque);
  margin-bottom: 6px;
}
.item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

/* Preço e quantidade */
.linha-preco {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.preco {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--cor-preco);
}
.quantidade-box {
  display: flex;
  align-items: center;
  gap: 3px;
}
.quantidade-box button {
  width: 25px;
  height: 25px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background: var(--cor-principal);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.quantidade-box button:hover {
  background: var(--cor-secundaria);
}
.quantidade-box .quantidade {
  min-width: 20px;
  text-align: center;
  font-weight: bold;
}

/* Botões */
.item > button, #finalizar-pedido {
  width: 100%;
  background: var(--cor-principal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s;
}
.item > button:hover, #finalizar-pedido:hover {
  background: var(--cor-secundaria);
  transform: scale(1.03);
}

/* Delivery */
.delivery label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: var(--cor-destaque);
}
.delivery select, .delivery textarea, .delivery input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.delivery select:focus, .delivery textarea:focus, .delivery input:focus {
  outline: none;
  border-color: var(--cor-principal);
  box-shadow: 0 0 5px rgba(255,107,53,0.5);
}

/* Carrinho */
.carrinho-container {
  background: var(--bg-carrinho);
  border-radius: 12px;
  padding: 15px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.carrinho-container h3 {
  font-size: 1.3rem;
  color: var(--cor-destaque);
  margin-bottom: 10px;
}
.carrinho-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--cor-secundaria);
}
.carrinho-item button {
  background: var(--cor-destaque);
  padding: 2px 6px;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Total e taxa */
#total, #taxaEntrega {
  font-weight: bold;
  margin-top: 10px;
  color: var(--cor-destaque);
}

/* Observações */
#observacao {
  resize: none;
  margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 900px) { .item { flex: 0 0 45%; } }
@media (max-width: 600px) { .item { flex: 0 0 90%; } }
