.category-bar{
  position:sticky;
  top:var(--header-height,72px);
  z-index:49;
  width:100%;
  padding:.55rem clamp(1rem,4vw,2rem);
  background:var(--yellow);
  border-bottom:2px solid rgba(0,0,0,.08);
  box-shadow:0 4px 10px rgba(0,0,0,.04);
  box-sizing:border-box;
}

.category-track{
  display:flex;
  gap:.6rem;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.category-track::-webkit-scrollbar{
  display:none;
}

.category-track a{
  text-decoration:none;
  padding:.55rem 1rem;
  border-radius:12px;
  background:#fff;
  border:2px solid transparent;
  color:var(--dark);
  font-weight:600;
  font-size:.9rem;
  transition:.25s ease;
  flex-shrink:0;
}

.category-track a.active,
.category-track a:hover{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

main section{
  scroll-margin-top:calc(var(--header-height,72px) + 70px);
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}

.cards.is-loading{
  min-height:420px;
  position:relative;
}

.cards.is-loading::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.6),rgba(255,255,255,.3));
  border-radius:18px;
  opacity:.6;
}

.menu-card{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}

.menu-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}

.menu-info{
  padding:.9rem;
}

.menu-info h3{
  margin:.2rem 0;
  text-align:center;
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  display:none;
  justify-content:center;
  align-items:center;
  padding:1rem;
  z-index:999;
}

.lightbox img{
  max-width:90%;
  max-height:90vh;
  border-radius:var(--radius);
}

.menu-container{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
  padding-top:2rem;
}

.menu-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.language-switch{
  display:inline-flex;
  gap:.4rem;
  padding:.35rem;
  border-radius:999px;
  background:rgba(17,17,17,.06);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.language-switch a{
  text-decoration:none;
  font-weight:600;
  color:var(--muted);
  padding:.4rem .85rem;
  border-radius:999px;
  transition:background .2s ease,color .2s ease, transform .2s ease;
}

.language-switch a:hover{
  color:var(--dark);
  transform:translateY(-1px);
}

.language-switch a.is-active{
  background:#fff;
  color:var(--dark);
  box-shadow:0 10px 18px rgba(0,0,0,.08);
}

@media (max-width:600px){
  .cards.is-loading{
    min-height:260px;
  }
  .menu-card img{
    height:150px;
  }
}

@media (max-width:720px){
  .menu-header{
    flex-direction:column;
    align-items:flex-start;
    gap:.8rem;
  }
}
