<?php /* views/public/menu.php */ ?>
<!doctype html>
<html lang="es">
<head>
  <meta charset="utf-8">
  <title>Menú · Taquería</title>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <style>
    body{font-family:system-ui,Segoe UI,Roboto,Arial;margin:16px}
    h1{margin-bottom:6px}
    .cat{margin:22px 0}
    .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
    .card{border:1px solid #e5e7eb;border-radius:12px;padding:10px}
    .card img{width:100%;height:140px;object-fit:cover;border-radius:8px}
    .price{font-weight:700;margin-top:6px}
    .hdr{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
    input,select,button{padding:8px}
  </style>
</head>
<body>
  <h1>Menú</h1>
  <div class="hdr">
    <input id="q" placeholder="Buscar platillo...">
    <label>Precio:
      <input id="min" type="number" step="0.01" placeholder="min" style="width:110px"> —
      <input id="max" type="number" step="0.01" placeholder="max" style="width:110px">
      <button id="btnFiltrar">Filtrar</button>
    </label>
  </div>

  <div id="container"></div>

  <h2 style="margin-top:28px">Paquetes para eventos</h2>
  <div id="eventos" class="grid"></div>

  <script src="../js/menu_publico.js"></script>
</body>
</html>
