/* ================================================
   QR MENU - Premium Restaurant Theme
   Modern, Elegant & Mobile-First Design
   ================================================ */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Core Colors */
  --primary: #26552a;
  --primary-light: #16213e;
  --accent: #e4252c;
  --accent-hover: #d4a84a;

  /* Surfaces */
  --bg-main: #f5f5f7;
  --bg-card: #ffffff;
  --bg-dark: #0f0f1a;

  /* Text */
  --text-primary: #26552a;
  --text-secondary: #64748b;
  --text-light: #ffffff;
  --text-muted: #94a3b8;

  /* Borders & Shadows */
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-height: 70px;
  --bottom-nav-height: 72px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  padding-top: var(--header-height);
  padding-bottom: var(--bottom-nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* ================================================
   HEADER
   ================================================ */
.menu-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-header .container {
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
}

.menu-header .d-flex {
  display: flex;
  align-items: center;
}

.header-left,
.header-right {
  flex: 0 0 auto;
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.menu-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
  letter-spacing: -0.02em;
}

.site-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.table-info {
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(226, 182, 89, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* Menu Button */
.menu-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

/* Language Selector */
.language-selector .btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-light) !important;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.language-selector .btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.language-selector .btn img {
  display: inline-block;
  border-radius: 2px;
}

.language-selector .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: auto;
  background: var(--bg-card);
}

.language-selector .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.language-selector .dropdown-item:hover,
.language-selector .dropdown-item.active {
  background: var(--bg-main);
}

.language-selector .dropdown-item img {
  display: inline-block;
  border-radius: 2px;
}

/* ================================================
   MAIN CONTENT
   ================================================ */
.menu-content {
  min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
  padding: 0;
}

/* ================================================
   CATEGORY SUB-HEADER (Fixed below main header)
   ================================================ */
.category-subheader {
  position: fixed;
  top: 70px;
  /* header height */
  left: 0;
  right: 0;
  height: 52px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 998;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.category-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.category-back-btn:hover {
  background: var(--primary);
  color: var(--text-light);
}

.category-subheader-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================================================
   CATEGORY ITEMS SCROLL CONTAINER
   ================================================ */
.category-items-scroll {
  position: fixed;
  top: 122px;
  /* header 70px + subheader 52px */
  left: 0;
  right: 0;
  bottom: var(--bottom-nav-height);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 12px 10px;
  padding-bottom: 20px;
}

/* Hide scrollbar but keep functionality */
.category-items-scroll::-webkit-scrollbar {
  width: 0;
  display: none;
}

.category-items-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ================================================
   CATEGORY GRID (Home)
   ================================================ */
.category-grid-container {
  padding: 12px 10px;
  margin-top: 25px !important;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

/* Category Card */
.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-card:active {
  transform: translateY(-2px) scale(0.98);
}

.category-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card-image img,
.category-card img.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.category-card:hover .category-card-image img,
.category-card:hover img.category-image {
  transform: scale(1.08);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      transparent 100%);
  z-index: 2;
}

.category-card-name,
.category-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

/* First card spans full width for masonry effect */
.category-grid .category-card:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.category-grid .category-card:first-child .category-card-name,
.category-grid .category-card:first-child .category-title {
  font-size: 1.35rem;
}

/* ================================================
   CATEGORY DETAIL PAGE (Menu Items)
   ================================================ */
.categories-page .menu-content {
  padding-top: 0;
  background: var(--bg-main);
}

/* Back Navigation */
.container.mt-2 .d-flex.align-items-center {
  padding: 12px 4px;
}

.container.mt-2 .btn-sm.btn-light {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.container.mt-2 .btn-sm.btn-light:hover {
  background: var(--text-primary);
  color: var(--text-light);
}

.container.mt-2 h5 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* ================================================
   MENU ITEMS
   ================================================ */
.menu-item {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  padding: 0;
  flex-direction: row;
}

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

.menu-item:nth-child(odd),
.menu-item:nth-child(even) {
  background-color: var(--bg-card);
}

/* Menu Item Image */
.menu-item-image,
.menu-item-image-horizontal {
  width: 110px;
  min-width: 110px;
  min-height: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  align-self: stretch;
}

.menu-item-image-horizontal {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

/* Menu Item Content */
.menu-item-content {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.menu-item-title,
.menu-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.menu-item-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-price {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  letter-spacing: -0.02em;
}

/* ================================================
   BOTTOM NAVIGATION
   ================================================ */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  background: transparent;
  position: relative;
  min-width: 64px;
}

.bottom-menu-item i {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.bottom-menu-item span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.bottom-menu-item.active,
.bottom-menu-item:hover {
  background: rgba(26, 26, 46, 0.06);
}

.bottom-menu-item.active i,
.bottom-menu-item:hover i {
  color: var(--primary);
  transform: translateY(-1px);
}

.bottom-menu-item.active span,
.bottom-menu-item:hover span {
  color: var(--primary);
}

.bottom-menu-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}

/* ================================================
   OVERLAY SIDEBAR (Info)
   ================================================ */
.overlay-sidebar,
.info-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(380px, 85vw);
  height: 100%;
  background: var(--bg-card);
  z-index: 1050;
  transition: right var(--transition-normal);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.overlay-sidebar.active,
.info-sidebar.active {
  right: 0;
}

.overlay-sidebar-header,
.info-sidebar-header {
  position: sticky;
  top: 0;
  background: var(--primary);
  color: var(--text-light);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.overlay-sidebar-header h3,
.info-sidebar-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.overlay-sidebar-header .btn-close,
.info-sidebar-header .btn-close {
  filter: invert(1);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.overlay-sidebar-header .btn-close:hover,
.info-sidebar-header .btn-close:hover {
  opacity: 1;
}

.overlay-sidebar-content,
.info-sidebar-content {
  padding: 0;
}

/* Sidebar Sections */
.sidebar-section,
.info-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-section h4,
.info-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-section h4 i,
.info-section h4 i {
  color: var(--accent);
}

.contact-info {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-primary);
}

/* WiFi Button */
.wifi-button {
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all var(--transition-fast);
}

.wifi-button:hover {
  background: var(--primary);
  color: var(--text-light);
}

.wifi-password-container,
#wifiPasswordContainer {
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 12px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 1px;
  border: 1px dashed var(--border-light);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-light);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Google Review Link */
.google-review-btn,
.review-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: var(--text-light);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  width: 100%;
  cursor: pointer;
}

.google-review-btn:hover,
.review-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
  color: var(--text-light);
}

/* ================================================
   OVERLAY BACKGROUND
   ================================================ */
.overlay-background,
#overlayBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1040;
  pointer-events: none;
  transition: background var(--transition-normal);
}

.overlay-background.active,
#overlayBackground.active {
  background: rgba(0, 0, 0, 0.5);
  pointer-events: all;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ================================================
   SEARCH OVERLAY
   ================================================ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  width: 100%;
  max-width: 500px;
}

.search-overlay .input-group {
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.search-overlay .form-control {
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.search-overlay .form-control:focus {
  box-shadow: none;
}

.search-overlay .btn {
  border: none;
  padding: 16px 20px;
}

/* ================================================
   SIDEBAR MENU (Hamburger)
   ================================================ */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: linear-gradient(180deg, #1a3d1e 0%, #15301a 40%, #0e2212 100%);
  z-index: 1050;
  transition: left var(--transition-normal);
  overflow-y: auto;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, #1a3d1e, rgba(26, 61, 30, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sidebar-brand {
  display: flex;
  align-items: center;
}

.sidebar-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.sidebar-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.close-menu {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.close-menu:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(90deg);
}

.sidebar-content {
  padding: 12px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-category-item {
  display: block;
  position: relative;
  text-decoration: none;
  color: var(--text-light);
  border-bottom: none;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.menu-category-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.menu-category-item img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.menu-category-item:hover img {
  transform: scale(1.08);
}

.menu-category-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.01em;
}

.image-wrapper {
  position: relative;
}

.image-wrapper .overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 48, 26, 0.25);
  transition: background var(--transition-fast);
  pointer-events: none;
}

.menu-category-item:hover .overlay {
  background: rgba(21, 48, 26, 0.1);
}

/* ================================================
   HAPPY HOUR BANNER
   ================================================ */
.happy-hour-banner {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: white;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

/* ================================================
   SLIDER
   ================================================ */
.slider-container {
  margin-bottom: 16px;
}

.slider-container .carousel-item img {
  border-radius: 0;
  height: 200px;
  object-fit: cover;
}

/* ================================================
   FEEDBACK FORM
   ================================================ */
.feedback-form .form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all var(--transition-fast);
}

.feedback-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 182, 89, 0.15);
}

.feedback-form .btn-primary {
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.feedback-form .btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* Accordion */
.accordion-header {
  cursor: pointer;
  padding: 4px 0;
}

.accordion-header:hover {
  opacity: 0.8;
}

.accordion-icon {
  transition: transform var(--transition-fast);
  font-size: 0.8rem;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding-top: 8px;
}

.accordion-content.active {
  display: block;
}

/* ================================================
   RATING SYSTEM
   ================================================ */
.star-rating {
  display: inline-flex;
  gap: 2px;
}

.star-rating i {
  color: var(--accent);
  font-size: 0.85rem;
}

.star-rating i.far {
  color: #ddd;
}

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

.rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.5s var(--ease-smooth) forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.05s;
}

.fade-in:nth-child(2) {
  animation-delay: 0.1s;
}

.fade-in:nth-child(3) {
  animation-delay: 0.15s;
}

.fade-in:nth-child(4) {
  animation-delay: 0.2s;
}

.fade-in:nth-child(5) {
  animation-delay: 0.25s;
}

.fade-in:nth-child(6) {
  animation-delay: 0.3s;
}

.fade-in:nth-child(7) {
  animation-delay: 0.35s;
}

.fade-in:nth-child(8) {
  animation-delay: 0.4s;
}

/* ================================================
   FOOTER (if visible)
   ================================================ */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  margin-top: 24px;
  font-size: 0.85rem;
}

footer .restaurant-name {
  font-family: 'Playfair Display', serif;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 16px;
}

/* ================================================
   OVERLAY BACKGROUND
   ================================================ */
.overlay-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-bg-color);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.overlay-background.active {
  opacity: 1;
  visibility: visible;
}

/* ================================================
   INFO SIDEBAR OVERLAY
   ================================================ */
.info-sidebar-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg-card);
  z-index: 1050;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.info-sidebar-overlay.active {
  transform: translateY(0);
}

.info-sidebar-header {
  position: sticky;
  top: 0;
  background: var(--primary);
  color: var(--text-light);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 10;
}

.info-sidebar-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.info-sidebar-header .btn-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  padding: 0;
  line-height: 1;
}

.info-sidebar-header .btn-close:hover {
  opacity: 1;
}

.info-sidebar-body {
  padding: 0;
}

.info-sidebar-body .info-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.info-sidebar-body .info-section h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.wifi-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
}

.wifi-detail i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.social-media-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.google-review-link {
  text-decoration: none;
}

.google-review-card {
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.google-review-card:hover {
  box-shadow: var(--shadow-md);
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-text {
  font-weight: 700;
  font-size: 1.1rem;
}

.stars i {
  color: #FBBC05;
  font-size: 0.85rem;
}

.info-overlay.active {
  display: block;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-card {
    aspect-ratio: 1 / 1;
  }

  .category-grid .category-card:first-child {
    aspect-ratio: 16 / 8;
  }

  .category-card-name,
  .category-title {
    font-size: 0.95rem;
  }

  .category-grid .category-card:first-child .category-card-name {
    font-size: 1.25rem;
  }

  .menu-item-image,
  .menu-item-image-horizontal {
    width: 125px;
    min-width: 90px;
    min-height: 80px;
    height: auto;
  }

  .menu-item-content {
    padding: 10px 14px;
  }

  .menu-item-title,
  .menu-item h3 {
    font-size: 0.98rem;
  }

  .menu-item-description {
    font-size: 0.77rem;
  }

  .menu-item-price {
    font-size: 0.92rem;
    align-self: self-end;
  }
}

@media (max-width: 480px) {
  .category-grid-container {
    padding: 12px 10px;
  }

  .category-grid {
    gap: 8px;
  }

  .menu-title {
    font-size: 1.15rem;
  }
}

@media (min-width: 769px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .menu-item {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
  }
}

/* ================================================
   ADMIN STYLES (keep separate)
   ================================================ */
.admin-content {
  padding: 24px;
}

.admin-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

/* ================================================
   UTILITY OVERRIDES
   ================================================ */
.restaurant-name {
  font-family: 'Playfair Display', serif;
}

/* Fix for broken no-image placeholder */
img[alt="No Image"] {
  background: linear-gradient(135deg, #f5f5f7, #e8e8ec);
  min-height: 90px;
}

/* Back nav bar */
.back-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-card);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  z-index: 990;
  box-shadow: var(--shadow-sm);
}

.back-link {
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--accent);
}

.category-name {
  margin-left: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Header Fixed (legacy support) */
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 0;
  box-shadow: none;
  z-index: 1000;
  height: var(--header-height);
}

/* Menu Grid (legacy support) */
.menu-grid {
  margin: 0;
  padding: 0 12px;
}

/* Section Title */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 16px 0;
  color: var(--text-primary);
}

/* ================================================
   SCROLLBAR STYLING
   ================================================ */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* ================================================
   MULTI-PRICE / ITEM DETAIL
   ================================================ */

/* Price Row in Menu Item */
.menu-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.menu-item.has-variants {
  cursor: pointer;
}

.menu-item.has-variants:hover {
  border-color: var(--accent);
}

.menu-item-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 14px;
  background: #25552d;
  color: white;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.menu-item-detail-btn i {
  font-size: 0.6rem;
}

.menu-item.has-variants:hover .menu-item-detail-btn {
  background: var(--primary);
  transform: scale(1.05);
}

/* Item Detail Overlay */
.item-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2000;
  pointer-events: none;
  transition: background 0.35s ease;
}

.item-detail-overlay.active {
  background: rgba(0, 0, 0, 0.55);
  pointer-events: all;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Item Detail Bottom Sheet */
.item-detail-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg-card);
  z-index: 2001;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.item-detail-sheet.active {
  transform: translateY(0);
}

/* Handle */
.item-detail-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 6px;
  cursor: pointer;
}

.item-detail-handle span {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #d1d5db;
  transition: background var(--transition-fast);
}

.item-detail-handle:hover span {
  background: #9ca3af;
}

/* Body */
.item-detail-body {
  padding: 0 20px 32px;
}

/* Image */
.item-detail-image-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
}

.item-detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.item-detail-info {
  margin-bottom: 20px;
}

.item-detail-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.item-detail-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Price Variants */
.item-detail-prices {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.price-variant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.price-variant-item:last-child {
  border-bottom: none;
}

.price-variant-item:nth-child(odd) {
  background: var(--bg-main);
}

.price-variant-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
}

.price-variant-value {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {

  .menu-header,
  .bottom-menu,
  .overlay-sidebar,
  .search-overlay,
  .item-detail-sheet,
  .item-detail-overlay {
    display: none !important;
  }

  body {
    padding: 0;
  }
}