<!-- /partials/_navbar.html -->
<nav class="navbar navbar-expand-lg navbar-light bg-white border-bottom fixed-top">
  <div class="container-fluid">
    <a class="navbar-brand brand-mini" href="/">SuiteCoffee</a>

    <!-- Links principales (colapsables en mobile) -->
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#scNav" aria-controls="scNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span> <!-- hamburguesa principal -->
    </button>

    <div class="collapse navbar-collapse" id="scNav">
      <ul class="navbar-nav me-auto mb-2 mb-lg-0 small">
        <li class="nav-item"><a class="nav-link" href="/comandas">Comandas</a></li>
        <li class="nav-item"><a class="nav-link" href="/estadoComandas">Estado</a></li>
        <li class="nav-item"><a class="nav-link" href="/productos">Productos</a></li>
        <li class="nav-item"><a class="nav-link" href="/usuarios">Usuarios</a></li>
        <li class="nav-item"><a class="nav-link" href="/reportes">Reportes</a></li>
        <li class="nav-item"><a class="nav-link" href="/compras">Compras</a></li>
        <!-- <li class="nav-item"><a class="nav-link" href="/reportes">Reportes</a></li> -->
        <!-- agrega las que necesites -->
      </ul>

      <!-- Botón “hamburguesa” para abrir el menú contextual (sidebar derecha) -->
      <button class="btn btn-outline-secondary btn-sm d-flex align-items-center" type="button"
              data-bs-toggle="offcanvas" data-bs-target="#scSidebar" aria-controls="scSidebar">
        <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" class="me-1" viewBox="0 0 24 24" fill="none" stroke="currentColor"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
        Opciones
      </button>
    </div>
  </div>
</nav>
