/* =============================================
   TAJIRI CAFFE — menu.css
   ============================================= */
 
/* ── Menu page body override ─────────────── */
body.menu-page {
  background-color: var(--bg-color);
}
 
/* ── Menu Hero ───────────────────────────── */
.menu-hero {
  padding-top: 100px; /* clear fixed nav */
  background-color: #1A1A1A;
  text-align: center;
  padding-bottom: 60px;
  color: white;
}
 
.menu-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
 
.menu-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}
 
.menu-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}
 
.menu-hours {
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.65;
  letter-spacing: 1px;
}
 
/* ── Tab Bar ─────────────────────────────── */
.menu-tabs-wrap {
  position: sticky;
  top: 78px; /* sits below the fixed nav */
  z-index: 900;
  background: var(--bg-color);
  border-bottom: 1px solid rgba(26,26,26,0.1);
}
 
.menu-tabs {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10%;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
 
.tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,26,26,0.45);
  padding: 18px 20px;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
 
.tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
 
.tab:hover { color: var(--text-color); }
 
.tab.active {
  color: var(--text-color);
}
.tab.active::after {
  transform: scaleX(1);
}
 
/* ── Main content ────────────────────────── */
.menu-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 10% 80px;
}
 
/* ── Section / category ──────────────────── */
.menu-section { }
.menu-section.hidden { display: none; }
 
.menu-category {
  margin-bottom: 52px;
}
 
.cat-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--accent);
  display: inline-block;
}
 
.cat-note {
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
  margin-bottom: 18px;
  margin-top: 4px;
}
 
/* ── Sized header (S / M / L / In house) ─── */
.sized-header {
  display: grid;
  grid-template-columns: 1fr 52px 52px 52px 72px;
  gap: 0;
  padding: 6px 0;
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,26,26,0.4);
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
 
.sized-header span { text-align: center; }
.sized-header span:first-child { text-align: left; }
 
/* ── Menu Items ──────────────────────────── */
.menu-items {
  display: flex;
  flex-direction: column;
}
 
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(26,26,26,0.07);
}
.menu-item:last-child { border-bottom: none; }
 
/* Sized items use a grid matching the header */
.menu-item.sized {
  display: grid;
  grid-template-columns: 1fr 52px 52px 52px 72px;
  align-items: center;
}
 
.menu-item.sized span:not(.item-name) {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(26,26,26,0.6);
  font-weight: 500;
}
 
.item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-color);
  display: block;
  margin-bottom: 2px;
}
 
.item-desc {
  display: block;
  font-size: 0.8rem;
  color: #888;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 3px;
  max-width: 520px;
}
 
.item-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
 
/* has-desc: price sits inline with name */
.menu-item.has-desc {
  align-items: flex-start;
}
 
.menu-item.has-desc > div {
  flex: 1;
}
 
.menu-item.has-desc .item-name {
  display: inline;
  margin-right: 8px;
}
 
.menu-item.has-desc .item-price {
  display: inline;
  font-size: 0.82rem;
}
 
 
 
/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .menu-main { padding: 40px 6% 60px; }
  .menu-tabs  { padding: 0 6%; }
 
  .sized-header,
  .menu-item.sized {
    grid-template-columns: 1fr 44px 44px 44px 60px;
  }
}
 
@media (max-width: 480px) {
  /* On very small screens, drop the In-house column */
  .sized-header,
  .menu-item.sized {
    grid-template-columns: 1fr 40px 40px 40px;
  }
 
  .sized-header span:last-child,
  .menu-item.sized span:last-child {
    display: none;
  }
}