/* Menu + section screens */
.cat-nav {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; background: #fff;
  border-bottom: 1px solid var(--border); position: sticky; top: 36px; z-index: 50; -webkit-overflow-scrolling: touch;
}
.cat-nav button {
  flex: 0 0 auto; border: 1px solid var(--border); background: #fff; border-radius: 999px;
  padding: 10px 14px; min-height: var(--tap); font-size: 14px; font-weight: 600; color: var(--ink);
}
.cat-nav button.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.category { margin-bottom: 20px; scroll-margin-top: 110px; }
.category h2 { margin: 8px 0 4px; font-size: 18px; }

.item-card {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px; margin-bottom: 10px; min-height: 72px; font: inherit; color: inherit; cursor: pointer;
}
.item-card .thumb { width: 64px; height: 64px; border-radius: 10px; flex: 0 0 64px; }
.item-card .item-main { flex: 1 1 auto; min-width: 0; }
.item-card .name { font-weight: 700; font-size: 15px; }
.item-card .desc {
  color: var(--muted); font-size: 12px; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-card .price { font-weight: 800; color: var(--pink); white-space: nowrap; flex: 0 0 auto; }

.merch-row { margin: 0 0 18px; }
.merch-row h2 { margin: 4px 0 8px; font-size: 18px; }
.merch-row .merch-note { color: var(--muted); font-size: 12px; margin: -4px 0 8px; }
.merch-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.merch-card {
  flex: 0 0 160px; scroll-snap-align: start; text-align: left; border: 1px solid var(--border); background: #fff;
  border-radius: var(--radius); padding: 0 0 10px; overflow: hidden; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
}
.merch-card .merch-photo { width: 100%; aspect-ratio: 4 / 3; height: auto; }
.merch-card .name, .merch-card .price, .merch-card .badge { margin: 0 10px; }
.merch-card .name { font-weight: 700; font-size: 14px; }
.merch-card .price { font-weight: 800; color: var(--pink); font-size: 14px; }
.merch-card .badge {
  display: inline-block; background: var(--yellow); color: #111; font-size: 10px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px; width: fit-content;
}

.menu-mode-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: 13px; font-weight: 700;
}
.menu-mode-bar button {
  border: 1px solid var(--pink); background: var(--pink-soft); color: var(--pink);
  border-radius: 999px; padding: 8px 12px; min-height: 40px; font-weight: 700; font-size: 12px;
}

.section-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.section-head h2 { margin: 0; font-size: 20px; }
.back-link {
  border: 1px solid var(--border); background: #fff; border-radius: 999px; min-height: 40px; padding: 0 12px;
  font-weight: 700; font-size: 14px; color: var(--ink);
}
