/* ═══════════════════════════════════════════════════════
   Menu Page — QR Code Destination (Mobile-First)
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --cream: #FDF6EE;
  --cream-dark: #F5EBD9;
  --terracotta: #C45536;
  --terracotta-light: #E8795D;
  --terracotta-dark: #9E3F25;
  --green: #2D5A3D;
  --green-dark: #1E3D29;
  --gold: #B8860B;
  --text-dark: #2C1810;
  --text-body: #4A3428;
  --text-muted: #8B7355;
  --white: #FFFFFF;
  --border: rgba(44, 24, 16, 0.1);
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.08);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.6;
  padding-bottom: 80px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════ MENU HEADER ═══════ */

.menu-header {
  background: var(--green-dark);
  color: var(--cream);
  padding: 24px 20px 20px;
  text-align: center;
  position: relative;
}

.menu-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.menu-back {
  font-size: 13px;
  color: rgba(253, 246, 238, 0.7);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-back:hover { color: var(--cream); }

.menu-back svg {
  width: 16px;
  height: 16px;
}

.menu-lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(253, 246, 238, 0.1);
  border-radius: 8px;
  padding: 3px;
}

.menu-lang-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  color: rgba(253, 246, 238, 0.6);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-lang-btn--active {
  background: rgba(253, 246, 238, 0.2);
  color: var(--cream);
}

.menu-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.menu-header p {
  font-size: 13px;
  opacity: 0.7;
  max-width: 360px;
  margin: 0 auto;
}

.menu-logo-name {
  font-family: var(--font-display);
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 8px;
}

/* ═══════ STICKY CATEGORY NAV ═══════ */

.category-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.category-nav-inner {
  display: flex;
  gap: 4px;
  padding: 8px 0;
  min-width: max-content;
}

.cat-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-btn--active {
  background: var(--terracotta);
  color: var(--white);
}

.cat-btn:hover:not(.cat-btn--active) {
  background: rgba(44, 24, 16, 0.05);
}

/* ═══════ MENU CONTENT ═══════ */

.menu-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

.menu-category {
  padding-top: 24px;
  margin-bottom: 16px;
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--terracotta);
  display: inline-block;
}

.menu-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.menu-item-image {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--terracotta);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.allergen-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.popular-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--terracotta);
  background: rgba(196, 85, 54, 0.08);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════ FLOATING DELIVEROO CTA ═══════ */

.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  justify-content: center;
}

.floating-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--terracotta);
  color: var(--white);
  width: 100%;
  max-width: 400px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.floating-cta a:hover { background: var(--terracotta-dark); }

/* ═══════ RESPONSIVE ═══════ */

@media (min-width: 600px) {
  .menu-item-image { width: 110px; height: 110px; }
  .menu-content { padding: 0 24px; }
}
