/* CSS Design System for Estella Beachbar Web Menu */

:root {
  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Transition timings */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;
  
  /* Common spacing */
  --header-height: 125px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* THEME: SUNNY DAY (High Contrast Light) */
.theme-sunny {
  --bg-color: #f7f9fc;
  --text-main: #111827;
  --text-muted: #4b5563;
  --accent-color: #0284c7; /* Sky blue */
  --accent-hover: #0369a1;
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(255, 255, 255, 0.8);
  --header-bg: rgba(247, 249, 252, 0.94);
  --header-border: rgba(229, 231, 235, 0.5);
  --cart-badge-bg: #ef4444;
  --cart-badge-text: #ffffff;
  --gradient-gold: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  --button-text: #ffffff;
  --shadow-color: rgba(17, 24, 39, 0.08);
}

/* THEME: SUNSET (Warm Cozy Beach Vibes - Default) */
.theme-sunset {
  --bg-color: #fdf6e2; /* Warm sand */
  --text-main: #3c2f2f; /* Deep coffee brown */
  --text-muted: #7c685c;
  --accent-color: #f97316; /* Warm orange */
  --accent-hover: #ea580c;
  --card-bg: rgba(255, 253, 247, 0.94);
  --card-border: rgba(255, 255, 255, 0.9);
  --header-bg: rgba(253, 246, 226, 0.94);
  --header-border: rgba(251, 146, 60, 0.2);
  --cart-badge-bg: #b91c1c;
  --cart-badge-text: #ffffff;
  --gradient-gold: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --button-text: #ffffff;
  --shadow-color: rgba(60, 47, 47, 0.1);
}

/* THEME: NIGHT (Slick Dark Mode) */
.theme-night {
  --bg-color: #0b0f19;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent-color: #fbbf24; /* Warm gold */
  --accent-hover: #f59e0b;
  --card-bg: rgba(17, 24, 39, 0.94);
  --card-border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(11, 15, 25, 0.94);
  --header-border: rgba(255, 255, 255, 0.08);
  --cart-badge-bg: #f87171;
  --cart-badge-text: #111827;
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --button-text: #111827;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

/* Basic Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

/* Stunning Ambient Background Graphics */
.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url('assets/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: filter var(--transition-normal);
}

.theme-night .page-background {
  filter: brightness(0.3) contrast(1.1);
}

.theme-sunny .page-background {
  filter: brightness(1.05) contrast(0.95);
}

.page-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}

.theme-night .page-background-overlay {
  background: radial-gradient(circle at top right, rgba(0,0,0,0.4), var(--bg-color) 80%);
}

/* ==========================================================================
   HEADER SECTION & NAVIGATION (Sticky)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px -2px var(--shadow-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 8px 20px;
}

.header-logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.header-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  background-color: #fff;
  transition: transform var(--transition-fast);
}

.header-logo-section:hover .header-logo {
  transform: rotate(15deg) scale(1.05);
}

.header-title-wrapper {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: 0.5px;
}

.header-subtitle {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 2px;
}

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

/* Theme selector controls */
.theme-selector {
  display: flex;
  background: rgba(0,0,0,0.05);
  border-radius: 30px;
  padding: 2px;
  border: 1px solid rgba(0,0,0,0.02);
}

.theme-night .theme-selector {
  background: rgba(255,255,255,0.06);
}

.theme-btn {
  background: none;
  border: none;
  font-size: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.theme-btn.active {
  background-color: var(--card-bg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transform: scale(1.1);
}

.theme-btn:active {
  transform: scale(0.9);
}

/* Language selector dropdown style */
.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.lang-selector-btn:hover {
  transform: translateY(-1px);
}

.lang-selector-btn:active {
  transform: translateY(1px);
}

.lang-selector-btn .arrow-icon {
  font-size: 8px;
  opacity: 0.7;
}

/* Shopping Cart Button sticky */
.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--accent-color);
  color: var(--button-text);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px var(--shadow-color);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.cart-btn:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}

.cart-btn:active {
  transform: scale(0.95);
}

.cart-icon {
  font-size: 18px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--cart-badge-bg);
  color: var(--cart-badge-text);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Expandable language selection grid panel */
.lang-selector-panel {
  display: none;
  width: 100%;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.lang-selector-panel.open {
  display: block;
  max-height: 400px;
  overflow-y: auto;
}

.lang-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(0,0,0,0.03);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.theme-night .lang-item {
  background: rgba(255,255,255,0.03);
}

.lang-item:hover {
  background-color: rgba(0,0,0,0.06);
  border-color: var(--accent-color);
}

.theme-night .lang-item:hover {
  background-color: rgba(255,255,255,0.06);
}

.lang-item.selected {
  background-color: var(--accent-color);
  color: var(--button-text);
  border-color: var(--accent-color);
}

.lang-flag {
  font-size: 18px;
}

/* Category slider under header */
.category-nav {
  width: 100%;
  border-top: 1px solid var(--header-border);
  padding: 6px 0;
}

.category-nav-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 20px;
  scrollbar-width: none; /* Hide standard Firefox scroll */
  max-width: 1200px;
  margin: 0 auto;
}

.category-nav-scroll::-webkit-scrollbar {
  display: none; /* Hide standard Chrome/Safari scroll */
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.category-tab:hover {
  color: var(--text-main);
  background: rgba(0,0,0,0.03);
}

.theme-night .category-tab:hover {
  background: rgba(255,255,255,0.04);
}

.category-tab.active {
  color: var(--text-main);
  background-color: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: var(--shadow-sm);
}

.category-tab-icon {
  font-size: 14px;
}

/* ==========================================================================
   HERO / WELCOME SECTION
   ========================================================================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 20px 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hero-logo-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  padding: 3px;
  background-color: #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-slow);
}

.hero-logo-container:hover {
  transform: scale(1.05) rotate(5deg);
}

.hero-logo-big {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.hero-tagline {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 6px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.hero-info {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-info .trans-text {
  transition: color var(--transition-fast);
}

.hero-info .divider {
  opacity: 0.5;
}

.minimum-charge-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--button-text);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 18px;
  box-shadow: 0 4px 12px var(--shadow-color);
}

/* ==========================================================================
   MENU CONTENT LAYOUT
   ========================================================================== */
.menu-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px 60px 20px;
}

.menu-category-section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-height) + 10px);
}

.category-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 8px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.category-header-title .cat-icon {
  font-size: 26px;
}

.category-header-title .lang-title {
  display: flex;
  flex-direction: column;
}

.category-header-title .lang-primary {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-header-title .lang-greek {
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* Menu Item Grid */
.menu-items-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Glassmorphic Menu Item Card */
.menu-item-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.menu-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-title-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.menu-item-name-primary {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.menu-item-name-greek {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.menu-item-description-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.menu-item-desc-primary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.menu-item-desc-greek {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.8;
  line-height: 1.4;
}

.menu-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: auto;
}

.menu-item-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.add-to-cart-btn {
  background: var(--gradient-gold);
  color: var(--button-text);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px var(--shadow-color);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.add-to-cart-btn:hover {
  transform: scale(1.03);
}

.add-to-cart-btn:active {
  transform: scale(0.95);
}

.add-to-cart-btn.added {
  background: #22c55e;
  color: #fff;
  opacity: 0.9;
}

.menu-loading {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  padding: 40px;
}

/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */
.main-footer {
  background-color: var(--header-bg);
  border-top: 1px solid var(--header-border);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  margin-bottom: 12px;
  background-color: #fff;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-disclaimer {
  font-size: 10px;
  line-height: 1.5;
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-contact {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-copyright {
  font-size: 10px;
  opacity: 0.6;
}

/* ==========================================================================
   CART DRAWERS AND OVERLAYS
   ========================================================================== */
.drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 150;
}

.drawer-overlay.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: var(--bg-color);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--header-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition-fast);
}

.drawer-close:hover {
  color: var(--text-main);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cart Item Layout */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--header-border);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-title-block {
  display: flex;
  flex-direction: column;
}

.cart-item-name-primary {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-name-greek {
  font-size: 11px;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-color);
}

/* Quantity controls in Drawer */
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background: rgba(0,0,0,0.04);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.theme-night .qty-btn {
  background: rgba(255,255,255,0.06);
}

.qty-btn:hover {
  background: rgba(0,0,0,0.08);
}

.theme-night .qty-btn:hover {
  background: rgba(255,255,255,0.1);
}

.cart-item-qty {
  font-size: 14px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-empty-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: auto 0;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--header-border);
  background-color: var(--header-bg);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.drawer-total-amount {
  font-size: 20px;
  color: var(--accent-color);
}

.drawer-actions {
  display: flex;
  gap: 10px;
}

.clear-btn {
  flex: 1;
  background-color: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  padding: 12px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.clear-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.waiter-action-btn {
  flex: 2;
  background: var(--gradient-gold);
  color: var(--button-text);
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px var(--shadow-color);
  transition: opacity var(--transition-fast);
}

.waiter-action-btn:hover {
  opacity: 0.95;
}

.waiter-action-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   WAITER MODE DIALOG (Super High-Contrast, Huge Fonts)
   ========================================================================== */
.waiter-mode-screen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; /* FORCE white background for high-contrast */
  color: #111827; /* FORCE black text */
  z-index: 1000;
  padding: 24px;
  flex-direction: column;
  overflow-y: auto;
}

.waiter-mode-screen.open {
  display: flex;
}

.waiter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #111827;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.waiter-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
}

.waiter-close-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waiter-hint {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  background-color: #f3f4f6;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid #f97316;
}

.waiter-items-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.waiter-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed #d1d5db;
  padding-bottom: 14px;
}

.waiter-item-qty-name {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.waiter-item-qty {
  background-color: #111827;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 36px;
  text-align: center;
}

.waiter-item-names {
  display: flex;
  flex-direction: column;
}

.waiter-item-name-primary {
  font-size: 20px;
  font-weight: 800;
}

.waiter-item-name-greek {
  font-size: 15px;
  color: #4b5563;
  margin-top: 2px;
  font-weight: 600;
}

.waiter-item-price-block {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.waiter-total-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid #111827;
  padding-top: 20px;
  margin-bottom: 30px;
}

.waiter-total-label {
  font-size: 22px;
  font-weight: 800;
}

.waiter-total-val {
  font-size: 32px;
  font-weight: 900;
  color: #f97316;
}

.waiter-footer {
  display: flex;
  gap: 10px;
}

.waiter-back-btn {
  width: 100%;
  background-color: #111827;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition-fast);
}

.waiter-back-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile Optimizations)
   ========================================================================== */

/* Up to mobile phones */
@media (max-width: 600px) {
  :root {
    --header-height: 105px;
  }
  
  .header-container {
    padding: 8px 12px 6px 12px;
  }
  
  .header-logo {
    width: 38px;
    height: 38px;
  }
  
  .header-title {
    font-size: 20px;
  }
  
  .header-subtitle {
    font-size: 9px;
    letter-spacing: 1px;
  }
  
  .lang-selector-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .lang-selector-btn .arrow-icon {
    font-size: 7px;
  }
  
  .cart-btn {
    width: 36px;
    height: 36px;
  }
  
  .cart-icon {
    font-size: 16px;
  }
  
  .theme-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .theme-selector {
    padding: 1px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-tagline {
    font-size: 12px;
    letter-spacing: 4px;
  }
  
  .category-header-title {
    font-size: 22px;
    margin-bottom: 14px;
  }
  
  .category-header-title .lang-primary {
    font-size: 20px;
  }
  
  .category-header-title .lang-greek {
    font-size: 12px;
  }
  
  .menu-item-card {
    padding: 12px;
    border-radius: var(--border-radius-sm);
  }
  
  .menu-item-name-primary {
    font-size: 15px;
  }
  
  .menu-item-name-greek {
    font-size: 12px;
  }
  
  .menu-item-desc-primary {
    font-size: 12px;
  }
  
  .menu-item-desc-greek {
    font-size: 10px;
  }
  
  .menu-item-price {
    font-size: 14px;
  }
  
  .add-to-cart-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  /* Waiter screen on mobile */
  .waiter-mode-screen {
    padding: 16px;
  }
  
  .waiter-item-name-primary {
    font-size: 17px;
  }
  
  .waiter-item-name-greek {
    font-size: 13px;
  }
  
  .waiter-item-qty {
    font-size: 16px;
    min-width: 30px;
  }
  
  .waiter-total-val {
    font-size: 26px;
  }
}

/* Tablet viewports */
@media (min-width: 601px) and (max-width: 900px) {
  .menu-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Desktop viewports */
@media (min-width: 901px) {
  .menu-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .menu-main {
    max-width: 1000px;
  }
}
