/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f6f8;
  color: #222;
}

/* CONTENEDOR PRINCIPAL */
.container {
  max-width: 900px;
  margin: auto;
  padding: 30px 20px;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.header h1 {
  font-size: 30px;
  font-weight: bold;
}

/* BOTÓN VOLVER */
.volver {
  text-decoration: none;
  color: #fff;
  background-color: #111;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.volver:hover {
  background-color: #333;
}

/* LISTADO */
.lista {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ITEM DE COMIDA */
.item {
  background-color: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* NOMBRE DEL PLATO */
.item h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #111;
}

/* DESCRIPCIÓN */
.item p {
  font-size: 15px;
  line-height: 1.4;
  color: #555;
}

/* PRECIO (OPCIONAL) */
.precio {
  margin-top: 8px;
  font-weight: bold;
  color: #111;
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .header h1 {
    font-size: 24px;
  }

  .item h3 {
    font-size: 18px;
  }

  .item p {
    font-size: 14px;
  }
}
