﻿/* =============================================
   BIRYANIWALA – Menu Page Styles
   ============================================= */

/* ---- Tags / Legend Badges ---- */
.mtag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  vertical-align: middle;
  line-height: 1.4;
}
.mtag-v  { background: rgba(34,139,34,0.2); color: #5cb85c; border: 1px solid rgba(34,139,34,0.35); }
.mtag-s  { background: rgba(200,80,20,0.2); color: #ff7043; border: 1px solid rgba(200,80,20,0.35); }
.mtag-cs { background: rgba(200,161,53,0.2); color: #e2c06a; border: 1px solid rgba(200,161,53,0.35); }
.mtag-gf { background: rgba(70,130,180,0.2); color: #64b5f6; border: 1px solid rgba(70,130,180,0.35); }

/* ---- Sticky Tab Bar ---- */
.menu-tab-bar {
  position: sticky;
  top: 62px;
  z-index: 100;
  background: var(--dark-bg);
  border-bottom: 2px solid var(--border-gold);
  margin-bottom: 44px;
  padding: 12px 0;
}
.menu-tab-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.menu-tab-scroll::-webkit-scrollbar { display: none; }

.menu-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
  background: transparent;
  white-space: nowrap;
}
.menu-tab:hover { color: var(--gold); border-color: var(--gold); }
.menu-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-bg);
}

/* ---- Menu Section ---- */
.msection { display: none; }
.msection.active { display: block; }

.msection-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-gold);
}
.msection-header h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}
.msection-note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Menu List ---- */
.mlist {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(200,161,53,0.1);
  transition: background 0.2s;
}
.mitem:hover { background: rgba(200,161,53,0.05); }
.mitem:last-child { border-bottom: none; }

.mitem-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.mitem-name {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
}
.mitem-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.mitem-price {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Biryani / Pulav Two-Price Table ---- */
.mlist-biryani-header {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200,161,53,0.1);
  border-radius: 6px 6px 0 0;
  border: 1px solid var(--border-gold);
  border-bottom: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
}
.mlist.mlist-biryani {
  border: 1px solid var(--border-gold);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}
.mitem.mitem-b {
  display: grid;
  grid-template-columns: 1fr 80px 80px;
  gap: 8px;
  padding: 12px 16px;
}
.mitem.mitem-b .mitem-price {
  text-align: center;
}

/* ---- Two-column side layout (Naans) ---- */
.mlist-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE (Menu Page)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .menu-tab-bar { top: 56px; }

  .mlist-two-col { grid-template-columns: 1fr; }

  .mlist-biryani-header {
    grid-template-columns: 1fr 64px 64px;
    font-size: 0.68rem;
  }
  .mitem.mitem-b {
    grid-template-columns: 1fr 64px 64px;
    gap: 6px;
    padding: 10px 12px;
  }
  .mitem { padding: 12px 12px; }
  .mitem-name { font-size: 0.9rem; }
  .mitem-price { font-size: 0.92rem; }
  .msection-header h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .mlist-biryani-header {
    grid-template-columns: 1fr 56px 56px;
    padding: 8px 10px;
  }
  .mitem.mitem-b {
    grid-template-columns: 1fr 56px 56px;
    padding: 10px 10px;
  }
  .mitem-name { font-size: 0.85rem; }
  .mitem-price { font-size: 0.88rem; }
  .menu-tab { font-size: 0.72rem; padding: 7px 12px; }
}
