:root {
  --brand: #c05621;
  --brand-dark: #9c4215;
  --brand-soft: #fff7ed;
  --espresso: #1e100a;
  --slate: #1e293b;
  --body: #334155;
  --muted: #64748b;
  --bg: #fffbf7;
  --card: #ffffff;
  --border: #e2e8f0;
  --veg: #16a34a;
  --nonveg: #dc2626;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--espresso);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--espresso);
  font-weight: 800;
  font-size: 17px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.nav-links a.nav-cta {
  background: var(--brand);
  color: #fff;
}

.nav-links a.nav-cta:hover {
  background: var(--brand-dark);
  color: #fff;
}

/* Status & Announcement Bar */
.announcement {
  display: none;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin: 16px 0 0;
}

/* Hero Section */
.hero {
  margin: 22px 0 28px;
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #2c1810 0%, #1e100a 65%, #3b1d12 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 14px 32px rgba(30, 16, 10, 0.14);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fdba74;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 800;
}

.hero-desc {
  margin: 0 0 18px;
  color: #e2e8f0;
  font-size: 15.5px;
  max-width: 620px;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.pill-open {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.hero .pill-open {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.35);
}

.pill-closed {
  background: rgba(220, 38, 38, 0.14);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.28);
}

.hero .pill-closed {
  background: rgba(248, 113, 113, 0.22);
  color: #fecaca;
  border-color: rgba(254, 202, 202, 0.35);
}

.pill-subtle {
  background: #fff;
  color: var(--slate);
  border: 1px solid var(--border);
}

.hero .pill-subtle {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
}

.pill-sync {
  background: #fff7ed;
  color: var(--brand-dark);
  border: 1px solid #fed7aa;
}

.hero .pill-sync {
  background: rgba(251, 146, 60, 0.18);
  color: #fed7aa;
  border-color: rgba(253, 186, 116, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.badge-link {
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.15s ease;
}

.badge-link:hover {
  transform: translateY(-2px);
}

.badge-link img {
  height: 52px;
  width: auto;
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.qr-card-wrap {
  width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.qr-card-wrap img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* Sections & Cards */
.section {
  margin: 34px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--espresso);
}

.section-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #fdba74;
  box-shadow: 0 8px 22px rgba(30, 16, 10, 0.06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--slate);
}

.card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}

.card-link {
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-dark);
}

.card-link:hover {
  text-decoration: underline;
}

/* Prose / Editorial / Legal Pages */
.page-banner {
  margin: 24px 0 20px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--espresso);
}

.page-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.prose-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
}

.prose-card h2 {
  margin: 24px 0 10px;
  font-size: 20px;
  color: var(--espresso);
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p,
.prose-card li {
  color: var(--body);
  font-size: 15.5px;
}

.prose-card ul {
  padding-left: 20px;
}

/* Menu Page Toolbar & Cards */
.menu-toolbar {
  position: sticky;
  top: 63px;
  z-index: 30;
  background: rgba(255, 251, 247, 0.97);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.search-input-wrap {
  position: relative;
  flex: 1 1 240px;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14.5px;
  color: var(--espresso);
  outline: none;
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(192, 86, 33, 0.14);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--espresso);
  color: #fff;
  border-color: var(--espresso);
}

.filter-btn.veg.active {
  background: var(--veg);
  border-color: var(--veg);
}

.filter-btn.nonveg.active {
  background: var(--nonveg);
  border-color: var(--nonveg);
}

.cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.cat-chip {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cat-chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.results-summary {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 16px;
}

.cat-section {
  margin-bottom: 30px;
  scroll-margin-top: 190px;
}

.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  border-bottom: 2px solid #fed7aa;
  padding-bottom: 6px;
}

.cat-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--espresso);
}

.cat-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}

.cat-desc {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 12px;
}

.item-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.item-card.unavailable {
  opacity: 0.62;
}

.item-body {
  flex: 1;
  min-width: 0;
}

.item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.diet-mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1.5px solid var(--veg);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.diet-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--veg);
}

.diet-mark.nonveg {
  border-color: var(--nonveg);
}

.diet-mark.nonveg::after {
  background: var(--nonveg);
}

.item-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
}

.item-desc {
  margin: 4px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.item-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-dark);
}

.oos-badge {
  font-size: 11px;
  font-weight: 700;
  color: #b91c1c;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 999px;
}

.item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}

.empty-state {
  text-align: center;
  padding: 36px 16px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
}

/* Policy-Safe Ad Slot Container */
.ad-section {
  margin: 28px 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}

.ad-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--espresso);
}

.footer-grid p,
.footer-grid a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  margin: 0 0 6px;
  display: block;
}

.footer-grid a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .qr-card-wrap {
    width: 190px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .menu-toolbar {
    top: 98px;
  }
}
