/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
  /* Color Palettes - Light Mode */
  --bg-color-light: #FDFBF7;
  --card-bg-light: #FFFFFF;
  --text-primary-light: #1A3E2F; /* Deep forest green */
  --text-secondary-light: #5A6E65;
  --border-light: #EBE5DB;
  --gold-accent: #C59B27; /* Rich dark gold */
  --gold-hover: #AA821C;
  --shadow-light: rgba(26, 62, 47, 0.06);

  /* Color Palettes - Dark Mode */
  --bg-color-dark: #0F251D; /* Deep forest night */
  --card-bg-dark: #19382C;
  --text-primary-dark: #F9F7F3; /* Warm cream */
  --text-secondary-dark: #A5B6AE;
  --border-dark: #274D3F;
  --gold-dark-accent: #E8C15A;
  --gold-dark-hover: #F2D27A;
  --shadow-dark: rgba(0, 0, 0, 0.25);

  /* Shared colors */
  --gf-badge-color: #E67E22; /* Orange for Gluten-Free */
  --lf-badge-color: #9B59B6; /* Purple for Lactose-Free */
  --veg-badge-color: #2ECC71; /* Green for Vegetarian */

  /* Global Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
}

/* ==========================================================================
   ACCESSIBILITY & TYPOGRAPHY SCALING
   ========================================================================== */

/* Normal font settings (default mobile view) */
body.text-normal {
  --font-size-base: 18px;
  --font-size-title: 32px;
  --font-size-subtitle: 18px;
  --font-size-card-title: 22px;
  --font-size-price: 24px;
  --font-size-desc: 16px;
  --font-size-badge: 13px;
  --font-size-btn: 18px;
  --font-size-section-header: 24px;
}

/* Large font settings (+20%) */
body.text-large {
  --font-size-base: 21px;
  --font-size-title: 36px;
  --font-size-subtitle: 21px;
  --font-size-card-title: 25px;
  --font-size-price: 28px;
  --font-size-desc: 19px;
  --font-size-badge: 15px;
  --font-size-btn: 21px;
  --font-size-section-header: 28px;
}

/* Extra Large font settings (+40%) */
body.text-xlarge {
  --font-size-base: 24px;
  --font-size-title: 40px;
  --font-size-subtitle: 24px;
  --font-size-card-title: 28px;
  --font-size-price: 32px;
  --font-size-desc: 22px;
  --font-size-badge: 17px;
  --font-size-btn: 24px;
  --font-size-section-header: 32px;
}

/* Huge font settings (+60%) */
body.text-huge {
  --font-size-base: 28px;
  --font-size-title: 44px;
  --font-size-subtitle: 28px;
  --font-size-card-title: 32px;
  --font-size-price: 36px;
  --font-size-desc: 25px;
  --font-size-badge: 19px;
  --font-size-btn: 28px;
  --font-size-section-header: 36px;
}

/* Theme Application mapping */
body.theme-light {
  background-color: var(--bg-color-light);
  color: var(--text-primary-light);
  --theme-bg: var(--bg-color-light);
  --theme-card-bg: var(--card-bg-light);
  --theme-text-primary: var(--text-primary-light);
  --theme-text-secondary: var(--text-secondary-light);
  --theme-border: var(--border-light);
  --theme-gold: var(--gold-accent);
  --theme-gold-hover: var(--gold-hover);
  --theme-shadow: var(--shadow-light);
}

body.theme-dark {
  background-color: var(--bg-color-dark);
  color: var(--text-primary-dark);
  --theme-bg: var(--bg-color-dark);
  --theme-card-bg: var(--card-bg-dark);
  --theme-text-primary: var(--text-primary-dark);
  --theme-text-secondary: var(--text-secondary-dark);
  --theme-border: var(--border-dark);
  --theme-gold: var(--gold-dark-accent);
  --theme-gold-hover: var(--gold-dark-hover);
  --theme-shadow: var(--shadow-dark);
}

/* ==========================================================================
   GLOBAL STYLES & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px; /* Space for sticky accessibility bar */
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 600px; /* Mobile focused container */
  margin: 0 auto;
  padding: 0 20px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  touch-action: manipulation; /* Optimizes tap delays */
}

/* =style lists for cards */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   ACCESSIBILITY BAR
   ========================================================================== */
.accessibility-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--theme-card-bg);
  border-bottom: 2px solid var(--theme-border);
  box-shadow: 0 2px 8px var(--theme-shadow);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.accessibility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 16px;
}

.accessibility-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.accessibility-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-text-secondary);
  margin-right: 4px;
}

.btn-acc {
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--theme-border);
  background-color: var(--theme-bg);
  color: var(--theme-text-primary);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.btn-acc:hover, .btn-acc:focus {
  border-color: var(--theme-gold);
  background-color: var(--theme-card-bg);
}

.btn-acc.active {
  background-color: var(--theme-gold);
  color: #1A3E2F !important; /* Force high contrast green for text on gold */
  border-color: var(--theme-gold);
}

/* Theme specific icons */
.theme-icon-light {
  display: inline;
}
.theme-icon-dark {
  display: none;
}
body.theme-dark .theme-icon-light {
  display: none;
}
body.theme-dark .theme-icon-dark {
  display: inline;
}

/* Language Toggle styling */
.lang-toggle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0 10px;
  min-width: 46px;
}

/* ==========================================================================
   HERO / BRAND SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 37, 29, 0.85) 90%);
  z-index: 2;
}

.hero-text-container {
  position: relative;
  z-index: 3;
  padding-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-logo-container {
  width: 76px;
  height: 76px;
  background-color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hotel-title {
  font-size: var(--font-size-title);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.hotel-location {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-dark-accent);
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: var(--font-size-subtitle);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  opacity: 0.95;
}

/* ==========================================================================
   STICKY CATEGORY TABS
   ========================================================================== */
.category-nav {
  position: sticky;
  top: 60px; /* Directly below accessibility bar */
  background-color: var(--theme-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 2px solid var(--theme-border);
  z-index: 900;
  box-shadow: 0 4px 6px -6px var(--theme-shadow);
}

.nav-tab {
  height: 76px; /* Super comfortable touch target height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-card-bg);
  border: 2px solid var(--theme-border);
  border-radius: var(--border-radius-lg);
  color: var(--theme-text-primary);
  box-shadow: 0 2px 4px var(--theme-shadow);
  transition: var(--transition-smooth);
}

.nav-tab:hover, .nav-tab:focus {
  border-color: var(--theme-gold);
}

.nav-tab.active {
  background-color: var(--theme-gold);
  border-color: var(--theme-gold);
  color: #1A3E2F !important; /* High contrast reading text */
}

.nav-tab.active .tab-time {
  color: rgba(26, 62, 47, 0.8);
}

.tab-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.tab-title {
  font-size: 18px;
  font-weight: 700;
}

.tab-time {
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-text-secondary);
}

/* ==========================================================================
   SUBCATEGORY NAVIGATION
   ========================================================================== */
.subcategory-container {
  margin: 16px 0 8px 0;
}

.subcategory-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 8px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbars for layout beauty */
}

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

.btn-sub {
  flex: 0 0 auto;
  min-width: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background-color: var(--theme-card-bg);
  border: 2px solid var(--theme-border);
  border-radius: var(--border-radius-md);
  color: var(--theme-text-primary);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 4px var(--theme-shadow);
  transition: var(--transition-smooth);
}

.btn-sub:hover, .btn-sub:focus {
  border-color: var(--theme-gold);
  transform: translateY(-2px);
}

.btn-sub.active {
  background-color: rgba(197, 155, 39, 0.12);
  border-color: var(--theme-gold);
  color: var(--theme-gold) !important;
  font-weight: 700;
}

.btn-sub-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

/* Adjustments for text scaling in accessibility */
body.text-large .btn-sub {
  font-size: 17px;
  padding: 14px 8px;
}
body.text-xlarge .btn-sub {
  font-size: 19px;
  padding: 16px 10px;
}
body.text-huge .btn-sub {
  font-size: 22px;
  padding: 18px 12px;
}

body.text-large .btn-sub-icon { font-size: 26px; }
body.text-xlarge .btn-sub-icon { font-size: 30px; }
body.text-huge .btn-sub-icon { font-size: 34px; }

/* ==========================================================================
   SEARCH & FILTERS
   ========================================================================== */
.search-filter-section {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 18px;
  font-size: 20px;
  color: var(--theme-text-secondary);
}

.search-box input {
  width: 100%;
  height: 56px; /* Big input for easy typing */
  padding: 0 48px;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--theme-border);
  background-color: var(--theme-card-bg);
  color: var(--theme-text-primary);
  font-size: 18px;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  border-color: var(--theme-gold);
  box-shadow: 0 0 0 4px rgba(197, 155, 39, 0.15);
  outline: none;
}

.btn-clear-search {
  position: absolute;
  right: 18px;
  font-size: 20px;
  color: var(--theme-text-secondary);
  height: 36px;
  width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-clear-search:hover {
  background-color: var(--theme-border);
}

/* Filters */
.filter-badges-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbars for layout beauty */
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  height: 48px; /* Large touch target */
  padding: 0 16px;
  border-radius: 24px;
  border: 2px solid var(--theme-border);
  background-color: var(--theme-card-bg);
  color: var(--theme-text-primary);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.filter-chip:hover, .filter-chip:focus {
  border-color: var(--theme-gold);
}

.filter-chip.active {
  border-color: var(--theme-gold);
  background-color: rgba(197, 155, 39, 0.1);
  box-shadow: 0 0 0 1px var(--theme-gold);
}

.chip-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.gf-color { background-color: var(--gf-badge-color); }
.lf-color { background-color: var(--lf-badge-color); }
.veg-color { background-color: var(--veg-badge-color); }

/* ==========================================================================
   MENU LISTING
   ========================================================================== */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.no-results-card {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--theme-card-bg);
  border-radius: var(--border-radius-lg);
  border: 2px dashed var(--theme-border);
}

.no-results-card p {
  font-size: var(--font-size-base);
  margin-bottom: 20px;
  color: var(--theme-text-secondary);
}

/* Menu Item Card Layout - Senior Friendly */
.menu-card {
  display: flex;
  flex-direction: column;
  background-color: var(--theme-card-bg);
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--theme-border);
  box-shadow: 0 4px 12px var(--theme-shadow);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--theme-shadow);
  border-color: var(--theme-gold);
}

.menu-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: rgba(0,0,0,0.05);
}

.menu-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image {
  transform: scale(1.04);
}

.menu-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.menu-card-title {
  font-size: var(--font-size-card-title);
  color: var(--theme-text-primary);
  line-height: 1.3;
}

.menu-card-price {
  font-size: var(--font-size-price);
  font-weight: 700;
  color: var(--theme-gold);
  white-space: nowrap;
}

.menu-card-description {
  font-size: var(--font-size-desc);
  color: var(--theme-text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badges list */
.menu-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diet-badge {
  font-size: var(--font-size-badge);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
}

.diet-badge.gf { background-color: var(--gf-badge-color); }
.diet-badge.lf { background-color: var(--lf-badge-color); }
.diet-badge.veg { background-color: var(--veg-badge-color); }

/* Card CTA */
.btn-card-details {
  align-self: flex-start;
  margin-top: 4px;
  font-size: var(--font-size-btn);
  font-weight: 700;
  color: var(--theme-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  transition: var(--transition-smooth);
}

.btn-card-details:hover, .btn-card-details:focus {
  color: var(--theme-gold-hover);
  border-bottom-color: var(--theme-gold-hover);
}

.menu-section-header {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--font-size-section-header);
  color: var(--theme-gold);
  border-bottom: 2px dashed var(--theme-border);
  padding-bottom: 6px;
  margin-top: 28px;
  margin-bottom: 10px;
  width: 100%;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn-primary {
  background-color: var(--theme-gold);
  color: #1A3E2F !important;
  font-size: var(--font-size-btn);
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 10px rgba(197, 155, 39, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--theme-gold-hover);
  box-shadow: 0 6px 14px rgba(197, 155, 39, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--theme-card-bg);
  border: 2px solid var(--theme-border);
  color: var(--theme-text-primary);
  font-size: var(--font-size-btn);
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--border-radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-secondary:hover, .btn-secondary:focus {
  border-color: var(--theme-gold);
  background-color: var(--theme-bg);
}

.btn-large {
  width: 100%;
  min-height: 64px; /* Massive tap target */
  border-radius: 18px;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Ripple effect container */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   SERVICE & ASSISTANCE SECTION
   ========================================================================== */
.service-section {
  margin-top: 40px;
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--theme-card-bg);
  border: 2px solid var(--theme-border);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 6px 16px var(--theme-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card h2 {
  font-size: 24px;
}

.service-card p {
  color: var(--theme-text-secondary);
  font-size: var(--font-size-base);
}

.service-buttons {
  margin-top: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--theme-card-bg);
  border-top: 2px solid var(--theme-border);
  padding: 40px 0;
  text-align: center;
  color: var(--theme-text-secondary);
  font-size: 15px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 8px 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 96px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-address {
  line-height: 1.4;
}

.footer-phone {
  font-weight: 600;
  color: var(--theme-text-primary);
}

.footer-copyright {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.8;
}

/* ==========================================================================
   MODAL DIALOG (DETAIL & CALL WAITER)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 37, 29, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-end; /* Slides up from bottom on mobile */
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Active class */
.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 520px;
  background-color: var(--theme-card-bg);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-backdrop.show .modal-container {
  transform: translateY(0);
}

/* Modal details */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  color: #1A3E2F;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  transform: scale(1.05);
}

/* Modal Dark Mode close button adjustments */
body.theme-dark .modal-close-btn {
  background-color: rgba(25, 56, 44, 0.95);
  color: #F9F7F3;
  border: 1px solid var(--theme-border);
}

.modal-image-wrapper {
  width: 100%;
  height: 260px;
  position: relative;
  background-color: rgba(0,0,0,0.05);
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-diet-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-title {
  font-size: 28px;
  color: var(--theme-text-primary);
  line-height: 1.25;
}

.modal-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-gold);
}

.modal-divider {
  height: 2px;
  background-color: var(--theme-border);
  margin: 6px 0;
}

.modal-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-text-primary);
  margin-bottom: -4px;
}

.modal-description {
  font-size: var(--font-size-base);
  color: var(--theme-text-secondary);
  line-height: 1.6;
}



.modal-footer {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--theme-border);
  display: flex;
  justify-content: flex-end;
}



/* Adjustments for desktop/tablet popups */
@media (min-width: 520px) {
  .modal-backdrop {
    align-items: center; /* Center on tablets/desktops */
  }
  
  .modal-container {
    border-radius: 24px;
    max-height: 80vh;
  }
}

/* Styling for items/cards without photos */
.menu-card.no-image {
  border-top: 3px solid var(--theme-gold);
}

.modal-container.modal-no-image .modal-body {
  padding-top: 60px;
}

/* Product ID Number Badge */
.product-number {
  color: var(--theme-gold);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  border: 1px solid var(--theme-gold);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.8em;
  display: inline-block;
  vertical-align: middle;
  background-color: rgba(197, 155, 39, 0.08); /* Light mode gold tint */
  transition: var(--transition-smooth);
}

/* Margin when the badge is placed in titles (e.g. details modal title) */
.modal-title .product-number {
  margin-right: 8px;
}

body.theme-dark .product-number {
  background-color: rgba(232, 193, 90, 0.08); /* Dark mode gold tint */
}

/* Menu Card Footer (holds "Ver Detalhes" and Product ID) */
.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  width: 100%;
}
