/* ==========================================================================
   KRUNCHY BITE WEB APPLICATION - BRIGHT & VIBRANT THEME
   Crisp Cream/White (#FFFBF5 / #FFFFFF), Vibrant Red (#D32F2F), Warm Gold (#FFB800)
   Strict Horizontal Category Button Bar & Horizontal Food Card Carousels
   ========================================================================== */

:root {
  --primary: #D32F2F;
  --primary-hover: #B71C1C;
  --primary-glow: rgba(211, 47, 47, 0.25);
  --accent: #FFB800;
  --accent-hover: #E6A100;
  --accent-glow: rgba(255, 184, 0, 0.3);
  --accent-dark: #D49000;
  --bg-dark: #FFF9F2; /* Soft warm appetizing cream white */
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #F5EFE6;
  --text-light: #1C1917; /* High contrast dark charcoal text */
  --text-muted: #665E57;
  --border-color: #E8DFD5;
  --success: #2E7D32;
  --warning: #ED6C02;
  --danger: #D32F2F;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 30px rgba(180, 100, 20, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 40px rgba(211, 47, 47, 0.15), 0 6px 16px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Montserrat', sans-serif;
}

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

html, body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

#customer-panel-root, .customer-header, .sticky-menu-header, .hero-carousel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.main-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 36px 20px;
  overflow: visible !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* --- STAFF ONLY TOP MODE SWITCHER BAR --- */
#top-mode-switcher {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1C1917;
  border-bottom: 2px solid var(--accent);
  padding: 10px 20px;
  display: none; /* Hidden on public customer panel; active inside authenticated staff layouts */
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.brand-mini img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF;
  padding: 2px;
  border: 2px solid var(--primary);
}

.switcher-pills {
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.switcher-btn {
  background: transparent;
  color: #E7E5E4;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.switcher-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.switcher-btn:hover:not(.active) {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
}

.live-indicator.open {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1.5px solid #A5D6A7;
}

.live-indicator.closed {
  background: #FFEBEE;
  color: #C62828;
  border: 1.5px solid #EF9A9A;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- PANELS VISIBILITY --- */
.app-panel {
  display: none;
  min-height: calc(100vh - 54px);
}

.app-panel.active-panel {
  display: block;
}

/* --- CUSTOMER PANEL STYLES --- */
.customer-header {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 900;
  border-bottom: 2px solid var(--accent);
  overflow: visible !important;
  padding-top: 11px;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 11px 20px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible !important;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: visible !important;
}

.header-logo-wrapper {
  position: relative;
  z-index: 950;
  margin-top: -22px;
  margin-bottom: -22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  align-self: center;
  transition: transform 0.2s ease;
}

.header-overlapping-logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px;
  border: 3.5px solid var(--accent, #FFB800);
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.75), 0 0 19px rgba(230, 81, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: logoVibrantGlowPulse 2.5s infinite ease-in-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes logoVibrantGlowPulse {
  0%, 100% {
    box-shadow: 0 0 9px rgba(255, 184, 0, 0.75), 0 0 17px rgba(230, 81, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 14px rgba(255, 184, 0, 0.95), 0 0 26px rgba(230, 81, 0, 0.65), 0 10px 28px rgba(0, 0, 0, 0.35);
  }
}

.header-logo-wrapper:hover .header-overlapping-logo {
  transform: scale(1.06);
  box-shadow: 0 0 16px rgba(255, 184, 0, 1), 0 0 30px rgba(230, 81, 0, 0.8), 0 12px 32px rgba(0, 0, 0, 0.4);
}

.brand-info-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger-btn {
  background: #FFF3E0;
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid #FFE0B2;
}

.hamburger-btn:hover {
  background: var(--primary);
  color: #FFF;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--accent-dark);
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 1px;
}

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

.branch-locator-btn {
  background: #FFF8E1;
  color: #B78103;
  border: 1.5px solid var(--accent);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.branch-locator-btn:hover {
  background: var(--accent);
  color: #1C1917;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.header-auth-btn {
  background: #FFF8E1;
  color: #B78103;
  border: 1.5px solid var(--accent);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-auth-btn:hover {
  background: var(--accent);
  color: #1C1917;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.header-auth-btn.guest-active-badge {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1.5px solid #81C784;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.header-auth-btn.guest-active-badge:hover {
  background: #C8E6C9;
  color: #1B5E20;
  border-color: #4CAF50;
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
  transform: translateY(-1px);
}

.dot-pulse-green {
  width: 8px;
  height: 8px;
  background: #2E7D32;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

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

.header-icon-btn {
  background: #F5EFE6;
  color: var(--text-light);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-icon-btn:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.header-icon-btn:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.cart-badge {
  background: var(--accent);
  color: #1C1917;
  font-size: 0.8rem;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Mega Menu Drawer */
.mega-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mega-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  background: #FFFFFF;
  z-index: 2001;
  transform: translateX(-100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
}

.mega-menu-overlay.active .mega-menu-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  background: transparent;
  color: #FFF;
  font-size: 1.8rem;
  line-height: 1;
}

.drawer-close:hover {
  opacity: 0.8;
}

.drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.menu-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--text-light);
  font-weight: 800;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  transition: var(--transition);
}

.menu-link-item:hover {
  background: #FFF3E0;
  color: var(--primary);
  transform: translateX(6px);
}

.social-links {
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2A2421;
  color: #D6C8B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.youtube:hover {
  background: #FF0000;
  color: #FFFFFF;
  border-color: #FF0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
  transform: translateY(-3px);
}

.social-btn.facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
  transform: translateY(-3px);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  border-color: #dc2743;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
  transform: translateY(-3px);
}

.social-btn.tiktok:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #FE2C55;
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.5), 0 0 10px rgba(37, 244, 238, 0.4);
  transform: translateY(-3px) scale(1.08);
}

/* --- KITCHEN DISPLAY (KDS) AUTHENTICATION TERMINAL --- */
.kds-auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86vh;
  padding: 20px;
  background: radial-gradient(circle at center, #231E1A 0%, #0F0D0C 100%);
  font-family: inherit;
}

.kds-auth-card {
  width: 100%;
  max-width: 460px;
  background: #1C1815;
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 184, 0, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kds-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.kds-auth-logo {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF;
  padding: 4px;
  border: 3.5px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.kds-live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #112913;
  color: #81C784;
  border: 1px solid #4CAF50;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  z-index: 10;
}

.kds-auth-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.8px;
  margin-top: 6px;
  text-transform: uppercase;
}

.kds-auth-subtitle {
  font-size: 0.78rem;
  color: #B5A898;
  font-weight: 700;
  margin-bottom: 20px;
}

.kds-pin-container {
  background: #25201C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 16px;
  margin-bottom: 20px;
}

.kds-pin-label {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.kds-pin-dots-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.kds-pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  transition: all 0.2s ease;
}

.kds-pin-dot.filled {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transform: scale(1.1);
}

.kds-hidden-input {
  width: 100%;
  background: #151210;
  border: 1.5px solid var(--border-color);
  color: #FFF;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 10px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 16px;
  outline: none;
}

.kds-hidden-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

.kds-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.kds-keypad-btn {
  background: #1C1917;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.kds-keypad-btn:hover {
  background: var(--accent);
  color: #1C1917;
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
  transform: translateY(-2px);
}

.kds-keypad-btn.clear {
  background: rgba(211, 47, 47, 0.2);
  color: #EF5350;
  border-color: rgba(211, 47, 47, 0.4);
}

.kds-keypad-btn.clear:hover {
  background: #D32F2F;
  color: #FFF;
}

.kds-keypad-btn.backspace {
  background: rgba(255, 152, 0, 0.2);
  color: #FFB74D;
  border-color: rgba(255, 152, 0, 0.4);
}

.kds-keypad-btn.backspace:hover {
  background: #F57C00;
  color: #FFF;
}

.kds-login-btn {
  width: 100%;
  background: var(--primary);
  color: #FFF;
  border: none;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 900;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(194, 24, 91, 0.4);
}

.kds-login-btn:hover {
  background: #AD1457;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(194, 24, 91, 0.6);
}

.kds-hint-pill {
  font-size: 0.75rem;
  color: #B5A898;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kds-autofill-btn {
  background: rgba(255, 184, 0, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kds-autofill-btn:hover {
  background: var(--accent);
  color: #1C1917;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.kds-features-strip {
  display: flex;
  justify-content: space-around;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kds-feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #B5A898;
}

/* CUSTOMER PROFILE NAV MENU BAR */
.profile-nav-bar {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 4px 0 12px 0; /* Comfortable distance between buttons and scrollbar */
  margin-bottom: 0;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.profile-nav-bar::-webkit-scrollbar {
  height: 5px;
}

.profile-nav-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.profile-nav-bar::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.profile-nav-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-light);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.profile-nav-btn:hover {
  background: rgba(211, 47, 47, 0.08);
  color: var(--primary);
}

.profile-nav-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Floating Draggable Round WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  animation: pulse-fab 2s infinite;
  touch-action: none;
  cursor: grab;
}

.whatsapp-fab:active {
  cursor: grabbing;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFF !important;
}

@keyframes pulse-fab {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Vibrant Outline Glow Effect when mouse rolls over horse image in UNICON LABS badge */
.unicon-horse-glow {
  filter: drop-shadow(0 0 12px #FFD700) drop-shadow(0 0 24px #FF9800) drop-shadow(0 0 36px rgba(255, 215, 0, 0.85)) !important;
  transform: scale(1.025);
}

/* HERO BANNER CAROUSEL */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #1C1917;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 25, 23, 0.88) 0%, rgba(28, 25, 23, 0.5) 60%, transparent 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

.banner-tag {
  display: inline-block;
  background: var(--primary);
  color: #FFF;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.banner-title {
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 650px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.banner-subtitle {
  font-size: 1.15rem;
  color: #F5EFE6;
  max-width: 520px;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-btn {
  background: var(--accent);
  color: #1C1917;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.banner-btn:hover {
  background: #FFFFFF;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 10px;
}

/* MAIN CATALOG CONTAINER */
.main-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 36px 20px;
}

/* STICKY TOP MENU HEADER CONTAINER (Sticks Below Navbar / Browser Top) */
.sticky-menu-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  background-color: #FFFFFF !important;
  padding: 14px 16px 10px 16px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1.5px solid var(--border-color, #FFE0B2);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.sticky-menu-header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230, 81, 0, 0.08);
  color: var(--primary, #E65100);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(230, 81, 0, 0.2);
}

.sticky-header-search-row {
  width: 100%;
}

.sticky-search-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.sticky-search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted, #786C60);
  font-size: 1.3rem;
  pointer-events: none;
}

.sticky-search-input {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 48px;
  border-radius: 10px;
  border: 2px solid var(--border-color, #FFE0B2);
  background: var(--bg-card, #FFFFFF);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light, #2B231D);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sticky-search-input:focus {
  outline: none;
  border-color: var(--primary, #E65100);
  box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-muted, #786C60);
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.clear-search-btn:hover {
  background: var(--primary, #E65100);
  color: #FFFFFF;
}

/* Custom Utility Class: No Scrollbar for Chrome, Safari, Firefox, Edge & Mobile Browsers */
.no-scrollbar {
  -ms-overflow-style: none !important; /* IE and Edge */
  scrollbar-width: none !important; /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari and Opera */
  width: 0 !important;
  height: 0 !important;
}

/* Category Filter Bar inside Sticky Header (GPU Accelerated & Touch Momentum) */
.sticky-header-categories-row {
  width: 100%;
  overflow: hidden;
}

.category-bar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px;
  overflow-x: auto !important;
  padding: 4px 2px 8px 2px;
  margin-bottom: 0 !important;
  scrollbar-width: none !important; /* Hide scrollbar for clean UI */
  -ms-overflow-style: none !important;
  scroll-behavior: smooth;
  touch-action: pan-x;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
  contain: layout style;
}

.category-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.category-pill {
  flex: 0 0 auto !important;
  shrink-0: true;
  scroll-snap-align: start;
  white-space: nowrap !important;
  min-height: 44px !important; /* Touch target minimum height */
  padding: 8px 20px;
  border-radius: 9999px; /* Rounded full pill shape */
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #FFFFFF;
  color: var(--text-muted);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  will-change: transform;
  transform: translateZ(0);
}

.category-pill.active {
  background: linear-gradient(135deg, #E65100 0%, #D32F2F 100%);
  color: #FFFFFF;
  border-color: #E65100;
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.35);
}

.category-pill:hover:not(.active) {
  background: #FFF3E0;
  color: var(--primary);
  border-color: #FFE0B2;
}

.category-section-block {
  scroll-margin-top: 140px;
  contain: layout style;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--primary);
}

/* HORIZONTAL CATEGORY SECTION ROWS */
.category-section-block {
  margin-bottom: 40px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 170px;
}

.category-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F5EFE6;
}

.category-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-section-title span {
  color: var(--primary);
}

.category-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-nav-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2D9CF;
  color: #5D4037;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.menu-nav-arrow-btn:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.18);
  transform: translateY(-1px);
}

.menu-nav-arrow-btn .material-symbols-outlined {
  font-size: 1.3rem;
  font-weight: 700;
}

.horizontal-scroll-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* RESPONSIVE MULTI-ROW GRID FOR INDIVIDUAL CATEGORY SELECTION */
.category-grid-multirow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  width: 100%;
  padding: 10px 4px;
}

.category-grid-multirow .food-card {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.horizontal-menu-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 14px 4px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #FFF3E0;
  width: 100%;
}

.horizontal-menu-row::-webkit-scrollbar {
  height: 7px;
}

.horizontal-menu-row::-webkit-scrollbar-track {
  background: #FFF3E0;
  border-radius: 20px;
  border: 1px solid #FFE0B2;
}

.horizontal-menu-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #FFB800 0%, #D32F2F 100%);
  border-radius: 20px;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(255, 184, 0, 0.35);
  transition: all 0.25s ease;
}

.horizontal-menu-row::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #FFA000 0%, #B71C1C 100%);
  box-shadow: 0 4px 10px rgba(255, 184, 0, 0.5);
  cursor: pointer;
}

.horizontal-menu-row .food-card {
  min-width: 290px;
  max-width: 290px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* FOOD CARD STYLING (GPU Accelerated) */
.food-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-card);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout style;
}

.food-card:hover {
  transform: translateY(-6px) translateZ(0);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 215px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #FFF9F2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-bottom: 1.5px solid var(--border-color);
  contain: strict;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.food-card:hover .card-img-wrapper img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #FFF;
  font-size: 0.73rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
  z-index: 2;
}

.card-badge.badge-deal {
  background: linear-gradient(135deg, #E65100 0%, #FF9800 100%);
  box-shadow: 0 4px 10px rgba(230, 81, 0, 0.35);
}

.card-badge.badge-discount {
  background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.35);
}

.card-badge.badge-special {
  background: linear-gradient(135deg, #6A1B9A 0%, #AB47BC 100%);
  box-shadow: 0 4px 10px rgba(106, 27, 154, 0.35);
}

.card-badge.badge-spicy {
  background: linear-gradient(135deg, #C62828 0%, #FF5252 100%);
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.35);
}

.card-badge.badge-chef-choice {
  background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
  box-shadow: 0 4px 10px rgba(21, 101, 192, 0.35);
}

.stock-badge-out {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1C1917;
  color: #FF5252;
  border: 1px solid #FF5252;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1.5px solid #F5EFE6;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  font-family: Arial, sans-serif;
}

/* --- HOME SCREEN FRONTEND DISPLAY ITEM PRICE (BAHNSCHRIFT CONDENSED TEMPLATE) --- */
.food-card .card-price,
.home-price-tag {
  font-family: 'Bahnschrift Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue Condensed', sans-serif !important;
  display: inline-flex !important;
  align-items: baseline !important;
  color: var(--primary, #D32F2F) !important;
  line-height: 1 !important;
}

.food-card .card-price .currency-label,
.home-price-tag .currency-label {
  font-family: 'Bahnschrift Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue Condensed', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important; /* Normal weight - NO BOLD EFFECT */
  margin-right: 2px !important;
  color: var(--primary, #D32F2F) !important;
}

.food-card .card-price .price-amount,
.home-price-tag .price-amount {
  font-family: 'Bahnschrift Condensed', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue Condensed', sans-serif !important;
  font-size: 1.68rem !important; /* 25% Font Size Increase */
  font-weight: 900 !important; /* Bold Numerical Figures */
  letter-spacing: -0.5px !important;
  color: var(--primary, #D32F2F) !important;
}

/* REGULAR ARIAL FONT FOR CURRENCY AND AMOUNT DISPLAYS */
.total-price,
.catalog-price-badge,
.cart-item-price,
.summary-row span,
.price-display {
  font-family: Arial, sans-serif;
}

.add-btn {
  background: var(--accent);
  color: #1C1917;
  font-weight: 900;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.add-btn:hover {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 6px 16px var(--primary-glow);
}

.add-btn.disabled {
  background: #E8DFD5;
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* --- STICKY FLOATING CART BAR (COMPACT & PROFESSIONAL BOTTOM-LEFT - CUSTOMER PANEL ONLY) --- */
#sticky-cart-mount {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1999;
  pointer-events: none;
}

body:has(#customer-panel-root.active-panel) #sticky-cart-mount,
#customer-panel-root.active-panel ~ #sticky-cart-mount {
  display: block;
}

.floating-sticky-cart-bar {
  pointer-events: auto;
  background: #1C1917;
  color: #FFFFFF;
  border: 2px solid var(--accent);
  border-radius: 50px;
  padding: 8px 16px 8px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  animation: stickyCartSlideUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-sticky-cart-bar:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 184, 0, 0.4);
}

.sticky-cart-icon-wrapper {
  position: relative;
  background: var(--accent);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sticky-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #D32F2F;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 900;
  border-radius: 10px;
  padding: 1px 6px;
  border: 1.5px solid #1C1917;
}

.sticky-cart-price {
  font-weight: 900;
  font-size: 0.95rem;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

@keyframes stickyCartSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  #sticky-cart-mount {
    bottom: 20px;
    left: 16px;
  }
}

/* --- DYNAMIC CART / INVOICE DRAWER --- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #FFFFFF;
  z-index: 2101;
  transform: translateX(100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 20px;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-title-wrapper img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF;
  padding: 3px;
  border: 2.5px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.cart-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #FFF9F2;
}

.service-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #E8DFD5;
  padding: 4px;
  border-radius: 10px;
}

.toggle-option {
  padding: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
}

.toggle-option.active {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.location-info-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cart-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 14px;
  display: flex;
  gap: 14px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 2px;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  background: #F5EFE6;
  color: var(--text-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid var(--border-color);
}

.qty-btn:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.qty-num {
  font-weight: 900;
  font-size: 0.95rem;
}

/* ==========================================================================
   TEMPLATE QUANTITY STEPPER (CUSTOMER PANEL)
   ========================================================================== */
.template-qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0;
}

.template-qty-stepper .stepper-btn {
  background: #F0F0F0;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.template-qty-stepper .stepper-btn:hover {
  background: #E4E4E4;
}

.template-qty-stepper .stepper-btn:active {
  transform: scale(0.95);
}

.template-qty-stepper .stepper-btn .material-symbols-outlined {
  font-size: 1.25rem;
  color: #555555;
  font-weight: 500;
  line-height: 1;
}

.template-qty-stepper .stepper-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #444444;
  min-width: 26px;
  text-align: center;
  user-select: none;
}

.cart-item-price {
  font-weight: 900;
  color: var(--primary);
  font-size: 1rem;
  margin-left: auto;
}

.tip-section {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.tip-title {
  font-size: 0.88rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tip-presets {
  display: flex;
  gap: 8px;
}

.tip-btn {
  background: #F5EFE6;
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid var(--border-color);
}

.tip-btn.active {
  background: var(--accent);
  color: #1C1917;
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.cart-footer {
  padding: 20px;
  background: #FFFFFF;
  border-top: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-row.total {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-light);
  border-top: 2px dashed var(--border-color);
  padding-top: 10px;
  margin-top: 4px;
}

.summary-row.total .total-price {
  color: var(--primary);
}

.checkout-btn {
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 900;
  padding: 15px;
  border-radius: 30px;
  font-size: 1.05rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px var(--primary-glow);
  margin-top: 10px;
}

.checkout-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.35);
}

/* --- KITCHEN DISPLAY (KDS) GRACEFUL & HIGHLY PROFESSIONAL STYLES --- */
.kitchen-container {
  padding: 24px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 90vh;
}

.kitchen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1C1815;
  padding: 18px 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.kds-status-boxes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .kds-status-boxes-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.kds-status-box {
  background: #1C1815;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 95px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  position: relative;
}

.kds-status-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.kds-status-box.active {
  background: #25201C;
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.25);
}

.kds-status-box.pending.active { border-color: var(--accent); }
.kds-status-box.preparing.active { border-color: #388E3C; }
.kds-status-box.out.active { border-color: #1976D2; }
.kds-status-box.delivered.active { border-color: #8E24AA; }

.kds-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kds-box-top .material-symbols-outlined {
  font-size: 1.4rem;
  color: #B5A898;
}

.kds-status-box.active .kds-box-top .material-symbols-outlined {
  color: var(--accent);
}

.kds-box-count {
  font-size: 1.8rem;
  font-weight: 900;
  color: #F5EFE6;
  line-height: 1;
}

.kds-box-label {
  font-size: 0.76rem;
  font-weight: 900;
  color: #B5A898;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 8px;
}

.kds-status-box.active .kds-box-label {
  color: #F5EFE6;
}

/* --- KDS SEARCH & HISTORY FILTER BAR --- */
.kds-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1C1815;
  padding: 14px 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
}

.kds-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}

.kds-search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-size: 1.25rem;
  pointer-events: none;
}

.kds-search-field {
  width: 100%;
  padding: 10px 38px 10px 42px;
  background: #25201C;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #F5EFE6;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.kds-search-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255, 184, 0, 0.2);
  background: #2A2420;
}

.kds-clear-search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #B5A898;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 6px;
}

.kds-clear-search-btn:hover {
  color: var(--accent);
}

.kds-date-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.kds-date-input-wrap .date-icon {
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-size: 1.15rem;
  pointer-events: none;
}

.kds-date-field {
  padding: 10px 14px 10px 42px;
  background: #25201C;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #F5EFE6;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
  color-scheme: dark;
}

.kds-date-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(255, 184, 0, 0.2);
}

.kds-reset-filters-btn {
  padding: 10px 16px;
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.kds-reset-filters-btn:hover {
  background: var(--accent);
  color: #1C1917;
}

/* --- KDS AUDIO MUTE / UNMUTE TOGGLE BUTTON --- */
.kds-audio-toggle-btn {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.kds-audio-toggle-btn.active {
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.kds-audio-toggle-btn.active:hover {
  background: var(--accent);
  color: #1C1917;
}

.kds-audio-toggle-btn.muted {
  background: rgba(255, 255, 255, 0.06);
  color: #B5A898;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.kds-audio-toggle-btn.muted:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #F5EFE6;
}

/* --- KDS STAFF IDENTITY BADGE TOGGLE --- */
.kds-staff-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25201C;
  border: 1.5px solid rgba(255, 184, 0, 0.3);
  padding: 6px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.kds-staff-badge:hover {
  border-color: var(--accent);
  background: #2D2722;
  transform: translateY(-1px);
}

.kds-staff-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.kds-staff-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.kds-staff-name {
  font-size: 0.82rem;
  font-weight: 900;
  color: #F5EFE6;
  line-height: 1.1;
}

.kds-staff-role {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.4px;
}

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 22px;
}

/* HIGHLY PROFESSIONAL DARK CHARCOAL ORDER TICKET CARD */
.order-ticket {
  background: #1C1815;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.order-ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

/* STAGE STATUS ACCENT BORDERS */
.order-ticket.pending { border-color: var(--accent); }
.order-ticket.preparing { border-color: #388E3C; }
.order-ticket.out_for_delivery { border-color: #1976D2; }
.order-ticket.delivered { border-color: rgba(255, 255, 255, 0.15); opacity: 0.7; }
.order-ticket.cancelled { border-color: #D32F2F; opacity: 0.65; }

.ticket-header {
  padding: 14px 18px;
  background: #25201C;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-id {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.8px;
}

.ticket-time {
  font-size: 0.78rem;
  color: #B5A898;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-customer {
  padding: 12px 18px;
  background: #201C19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #E8E0D5;
}

.ticket-items {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #1C1815;
}

.ticket-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #F5EFE6;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.ticket-actions {
  padding: 12px 18px;
  background: #25201C;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
}

.kds-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.kds-btn-accept {
  background: var(--accent);
  color: #1C1917;
}

.kds-btn-accept:hover {
  background: #FFCA28;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.kds-btn-cancel {
  background: rgba(211, 47, 47, 0.2);
  color: #EF5350;
  border: 1px solid rgba(211, 47, 47, 0.4);
}

.kds-btn-cancel:hover {
  background: #D32F2F;
  color: #FFF;
}

/* --- ADMIN PANEL STYLES --- */
.admin-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* --- RESTAURANT HEADQUARTERS (HQ) ADMIN AUTHENTICATION PORTAL --- */
.admin-hq-auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 30%, #231C18 0%, #0D0B0A 80%);
}

.admin-hq-card {
  width: 100%;
  max-width: 500px;
  background: #181412;
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 184, 0, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.admin-hq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #FF8A00, var(--accent));
}

.admin-hq-logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.admin-hq-logo {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF;
  padding: 6px;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 184, 0, 0.3);
}

.admin-hq-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #251D18;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.admin-hq-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #F5EFE6;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.admin-hq-subtitle {
  font-size: 0.8rem;
  color: #B5A898;
  margin-bottom: 24px;
  letter-spacing: 0.4px;
}

.admin-hq-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #221D1A;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 26px;
}

.admin-hq-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.admin-hq-metric-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #B5A898;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-hq-metric-val {
  font-size: 0.78rem;
  font-weight: 900;
  color: #81C784;
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-hq-input-group {
  position: relative;
  margin-bottom: 16px;
  text-align: left;
}

.admin-hq-input-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.6px;
}

.admin-hq-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-hq-input-wrap .field-icon {
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-size: 1.2rem;
  pointer-events: none;
}

.admin-hq-field {
  width: 100%;
  padding: 12px 14px 12px 44px;
  background: #231E1B;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #F5EFE6;
  font-size: 0.92rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
}

.admin-hq-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.25);
  background: #29231F;
}

.admin-hq-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #1C1917;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px var(--accent-glow);
  margin-top: 22px;
}

.admin-hq-submit-btn:hover {
  background: #FFCA28;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 184, 0, 0.4);
}

.admin-hq-footer-note {
  margin-top: 20px;
  font-size: 0.74rem;
  color: #B5A898;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- CORPORATE EXECUTIVE LEVEL ADMIN CONTROL PANEL --- */
.admin-container {
  padding: 24px;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 90vh;
}

/* --- EXECUTIVE HQ 2-COLUMN MEGA MENU PALETTE LAYOUT --- */
.admin-hq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: start;
}

@media (max-width: 992px) {
  .admin-hq-layout {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar-palette {
  background: #1C1815;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  padding: 18px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 90px;
}

.admin-sidebar-header {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 1px;
  padding: 6px 12px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-section-title {
  font-size: 0.65rem;
  font-weight: 900;
  color: #B5A898;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 12px 4px 12px;
}

.admin-sidebar-btn {
  width: 100%;
  background: transparent;
  color: #E8E0D5;
  padding: 11px 14px;
  font-weight: 800;
  font-size: 0.86rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  letter-spacing: 0.4px;
}

.admin-sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar-btn.active {
  background: #25201C;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.2);
}

.admin-sidebar-btn .material-symbols-outlined {
  font-size: 1.25rem;
  color: #B5A898;
  transition: color 0.2s ease;
}

.admin-sidebar-btn.active .material-symbols-outlined {
  color: var(--accent);
}

.admin-main-content {
  min-width: 0;
}

/* --- BRIGHT & VIBRANT CATALOG MANAGEMENT STYLES --- */
.admin-catalog-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid #E2D9CF;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.admin-catalog-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1C1917;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.4px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.admin-table-vibrant {
  width: 100%;
  min-width: 800px;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #E2D9CF;
}

.admin-table-vibrant th {
  background: linear-gradient(135deg, #FFF4E5 0%, #FFEACC 100%);
  color: #1C1917;
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 18px;
  border-bottom: 2.5px solid #FFB800;
  text-align: left;
  vertical-align: middle;
}

.admin-table-vibrant td {
  padding: 14px 18px;
  border-bottom: 1px solid #F0E8DF;
  color: #2D2722;
  font-size: 0.9rem;
  background: #FFFFFF;
  vertical-align: middle;
}

.admin-table-vibrant tr:hover td {
  background: #FFF9F0;
}

.catalog-item-name {
  font-weight: 900;
  font-size: 0.98rem;
  color: #1C1917;
}

.catalog-item-desc {
  font-size: 0.78rem;
  color: #786C60;
  margin-top: 2px;
}

.catalog-price-badge {
  font-weight: 900;
  color: #D32F2F;
  font-size: 0.95rem;
}

.catalog-category-tag {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFE0B2;
  display: inline-block;
}

/* CORPORATE STATS SUMMARY CARDS */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: #1C1815;
  padding: 22px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent);
  border: 1.5px solid rgba(255, 184, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-info h4 {
  font-size: 0.75rem;
  color: #B5A898;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.stat-info p {
  font-size: 1.65rem;
  font-weight: 900;
  color: #F5EFE6;
  line-height: 1;
}

/* CORPORATE EXECUTIVE TABLES */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #1C1815;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.admin-table th, .admin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: #F5EFE6;
}

.admin-table th {
  background: #25201C;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.6px;
}

.admin-table tr:hover {
  background: #231E1B;
}

/* MODAL WINDOWS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 24px;
  background: var(--primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #FFFFFF;
}

.modal-body {
  padding: 28px;
  flex: 1;
  overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #F5EFE6;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #B71C1C;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: #F5EFE6;
  border: 1.5px solid var(--border-color);
  color: var(--text-light);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-control:focus {
  border-color: var(--primary);
  background: #FFFFFF;
}

/* Map Containers */
#entry-map, #geofence-map {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  border: 1.5px solid var(--border-color);
}

/* ==========================================================================
   ENTERPRISE RESPONSIVE DESIGN SYSTEM & BREAKPOINT FRAMEWORK
   ========================================================================== */

/* Touch Action & Viewport Safety */
html, body, button, input, select, textarea, a, .category-pill, .food-card, .pos-item-touch-card {
  touch-action: manipulation;
}

html, body {
  max-width: 100vw;
  overflow-x: clip;
}

#customer-panel-root,
#pos-panel-root,
#kitchen-panel-root,
#admin-panel-root {
  max-width: 100vw;
  overflow-x: clip;
  min-height: 100dvh;
}

/* 1. CUSTOMER PANEL RESPONSIVE BREAKPOINTS & MOBILE AUDIT REFACTOR */
@media (max-width: 1024px) {
  .hero-carousel {
    height: 320px;
    border-radius: 14px;
  }
  .sticky-menu-header {
    top: 0;
  }
  .main-container {
    padding: 24px 16px;
  }
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 240px;
    border-radius: 12px;
  }
  .banner-title {
    font-size: 1.6rem;
  }
  .banner-subtitle {
    font-size: 0.85rem;
  }
  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .profile-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .mega-menu-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .header-center {
    display: none;
  }
  .switcher-pills {
    scale: 0.9;
  }
}

@media (max-width: 640px) {
  .sticky-menu-header {
    top: 0;
    padding: 10px 8px 6px 8px;
    margin-bottom: 16px;
  }
  .sticky-header-top-row {
    flex-direction: row;
    gap: 8px;
  }
  .menu-count-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  .sticky-search-input {
    height: 44px;
    font-size: 0.88rem;
    padding: 0 38px 0 40px;
  }

  /* Responsive Grid Refactor: 2 Columns on mobile with clean touch spacing */
  .category-grid-multirow {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 4px 2px !important;
  }
  .food-card {
    border-radius: 12px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .card-img-wrapper {
    height: 130px !important;
  }
  .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
  }
  .card-body {
    padding: 10px !important;
  }
  .card-title {
    font-size: 0.92rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }
  .card-desc {
    font-size: 0.76rem !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  .card-price {
    font-size: 1.05rem !important;
  }

  /* Clean Touch Target Minimum 44px */
  .add-btn, .checkout-btn, .category-pill, .branch-locator-btn, .header-auth-btn {
    min-height: 44px !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Modals & Customization Bottom Sheet Conversion */
  #custom-modal-backdrop, .modal-backdrop {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  #custom-modal-backdrop .modal-box, .modal-box {
    max-width: 100vw !important;
    width: 100vw !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
  }

  /* In-App WhatsApp Chat Palette Mobile Responsiveness */
  #whatsapp-chat-modal-backdrop {
    bottom: 10px !important;
    right: 10px !important;
    left: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: 100vw !important;
  }
  #whatsapp-chat-modal-backdrop > div {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 380px) {
  .category-grid-multirow {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 12px !important;
  }
}

/* 2. DESKTOP POS TERMINAL RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .pos-container {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
  }
  .pos-main-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow: visible;
  }
  .pos-ticket-column {
    width: 100%;
    max-height: 550px;
    position: static;
  }
  .pos-header-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .pos-header-bar {
    padding: 8px 10px;
    gap: 8px;
  }
  .pos-brand-group h2 {
    font-size: 1rem;
  }
  .pos-item-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .pos-item-touch-card {
    min-height: 48px; /* Minimum 48px touch target */
  }
}

/* 3. KITCHEN DISPLAY SYSTEM (KDS) DYNAMIC GRID & TYPOGRAPHY BREAKPOINTS */
@media (max-width: 640px) {
  .tickets-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .kds-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .tickets-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .tickets-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
}

@media (min-width: 1441px) {
  .tickets-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
  .ticket-id {
    font-size: 1.35rem !important;
  }
  .ticket-item-title {
    font-size: 1.15rem !important;
  }
  .ticket-customer-name {
    font-size: 1.05rem !important;
  }
}

/* 4. HQ CONTROL PALETTE (ADMIN PANEL) RESPONSIVE TABLE & SIDEBAR BREAKPOINTS */
.admin-table-container,
.table-responsive {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  border-radius: 12px;
}

@media (max-width: 992px) {
  .admin-hq-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .admin-sidebar-palette {
    position: relative;
    top: 0;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    gap: 8px;
  }
  .admin-sidebar-btn {
    flex: 0 0 auto;
    font-size: 0.78rem;
    padding: 8px 14px;
  }
  .admin-sidebar-header {
    display: none;
  }
}

/* ==========================================================================
   WEBSITE FOOTER AREA - HOME SCREEN
   ========================================================================== */
.site-footer {
  background: #1C1917;
  color: #F5EFE6;
  border-top: 4px solid var(--accent);
  margin-top: 60px;
  padding-top: 50px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  color: #D6C8B8;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.footer-link-item:hover {
  color: var(--accent);
  transform: translateX(6px);
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 184, 0, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 14px;
}

.footer-bottom-bar {
  background: #12100E;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #A89F91;
}

.back-to-top-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition);
}

.back-to-top-btn:hover {
  background: #B71C1C;
  transform: translateY(-2px);
}

/* --- EXECUTIVE CUSTOMER SIGN IN & CREATE ACCOUNT PALETTE --- */
.customer-auth-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 24px;
  border: 2px solid var(--border-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22), 0 0 30px rgba(255, 184, 0, 0.15);
  overflow: hidden;
}

.customer-auth-header {
  background: linear-gradient(135deg, #1C1815 0%, #29221D 100%);
  padding: 24px 20px 20px 20px;
  text-align: center;
  position: relative;
  border-bottom: 3.5px solid var(--accent);
}

.customer-auth-logo-frame {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px;
  border: 3px solid var(--accent);
  box-shadow: 0 6px 18px rgba(255, 184, 0, 0.35);
  margin-bottom: 10px;
}

.customer-auth-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #F5EFE6;
  letter-spacing: 0.5px;
}

.customer-auth-subtitle {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 2px;
}

.customer-auth-body {
  padding: 24px 22px;
  background: #FFFFFF;
}

.customer-auth-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #FFF3E0;
  padding: 6px;
  border-radius: 16px;
  border: 1.5px solid #FFE0B2;
  margin-bottom: 22px;
}

.customer-auth-tab-btn {
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  background: transparent;
  color: #5D4037;
  letter-spacing: 0.3px;
}

.customer-auth-tab-btn:hover {
  color: #1C1917;
  background: rgba(255, 184, 0, 0.15);
}

.customer-auth-tab-btn.active {
  background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
  color: #1C1917;
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
}

.customer-field-group {
  margin-bottom: 16px;
}

.customer-field-label {
  font-size: 0.78rem;
  font-weight: 900;
  color: #1C1917;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.customer-field-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.customer-field-input-box .material-symbols-outlined {
  position: absolute;
  left: 14px;
  color: #E65100;
  font-size: 1.25rem;
  pointer-events: none;
}

.customer-field-input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border-radius: 12px;
  border: 1.5px solid #E2D9CF;
  background: #FFF9F2;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1C1917;
  transition: all 0.2s ease;
}

.customer-field-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.customer-auth-submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
  transition: all 0.25s ease;
  margin-top: 20px;
}

.customer-auth-submit-btn:hover {
  background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.45);
}

.customer-auth-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px dashed #F0E8DF;
}

.customer-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #5D4037;
}

.customer-trust-item .material-symbols-outlined {
  font-size: 1rem;
  color: #E65100;
}

/* --- EXECUTIVE RESTAURANT STORE OPERATIONAL STATUS TOGGLE --- */
.admin-store-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #231E1B;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.admin-store-status-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.admin-store-status-card.is-open {
  background: linear-gradient(135deg, #1B3821 0%, #152B19 100%);
  border-color: #4CAF50;
}

.admin-store-status-card.is-closed {
  background: linear-gradient(135deg, #381B1B 0%, #2B1515 100%);
  border-color: #EF5350;
}

.status-indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.status-indicator-dot.online {
  background: #4CAF50;
  box-shadow: 0 0 10px #4CAF50;
}

.status-indicator-dot.online::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #81C784;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.status-indicator-dot.offline {
  background: #EF5350;
  box-shadow: 0 0 10px #EF5350;
}

.status-indicator-dot.offline::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #E57373;
  animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

.status-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.status-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: #B5A898;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.status-value {
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.admin-store-status-card.is-open .status-value {
  color: #81C784;
}

.admin-store-status-card.is-closed .status-value {
  color: #FF8A80;
}

/* CUSTOM IOS-STYLE SLIDER SWITCH KNOB */
.status-toggle-switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.status-toggle-switch.active {
  background: #4CAF50;
}

.switch-knob {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.status-toggle-switch.active .switch-knob {
  left: 23px;
}

/* ==========================================================================
   DESKTOP POS TERMINAL PANEL STYLES
   ========================================================================== */
.pos-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 65px);
  background: #12100E;
  color: #F5EFE6;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  overflow: hidden;
}

.pos-header-bar {
  background: #1C1815;
  border-bottom: 1.5px solid #2D2620;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.pos-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pos-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #FFF;
  padding: 2px;
  border: 1.5px solid var(--accent);
}

.pos-mode-switchers {
  display: flex;
  background: #25201C;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #332B25;
  gap: 4px;
}

.pos-mode-tab {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #A89B8C;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.pos-mode-tab.active {
  background: var(--accent);
  color: #1C1917;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

.pos-hw-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pos-hw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #25201C;
  border: 1px solid #332B25;
}

.pos-hw-badge.online {
  color: #81C784;
  border-color: #2E7D32;
}

.pos-hw-badge.offline {
  color: #FF8A80;
  border-color: #C62828;
}

.pos-main-body {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 14px;
  padding: 14px;
  flex: 1;
  overflow: hidden;
}

/* Left Column: Catalog & Floor Plan */
.pos-catalog-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.pos-category-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.pos-cat-pill {
  padding: 8px 14px;
  background: #25201C;
  border: 1px solid #332B25;
  color: #D6C8B8;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.pos-cat-pill.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary-dark);
}

.pos-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  overflow-y: auto;
  padding-right: 4px;
  flex: 1;
}

.pos-item-touch-card {
  background: #1C1815;
  border: 1.5px solid #2D2620;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  position: relative;
}

.pos-item-touch-card:active {
  transform: scale(0.96);
  border-color: var(--accent);
}

.pos-item-touch-card.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pos-item-img {
  width: 100%;
  height: 85px;
  object-fit: contain;
  background: #25201C;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 4px;
}

.pos-item-name {
  font-weight: 800;
  font-size: 0.82rem;
  color: #FFF;
  line-height: 1.2;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pos-item-price {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--accent);
  margin-top: auto;
  font-family: Arial, sans-serif;
}

/* Floor Plan Dine-In Table Grid */
.pos-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  overflow-y: auto;
  flex: 1;
  padding: 4px;
}

.pos-table-card {
  background: #1C1815;
  border: 2px solid #2D2620;
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.pos-table-card.available {
  border-color: #2E7D32;
  background: rgba(46, 125, 50, 0.08);
}

.pos-table-card.occupied {
  border-color: #C62828;
  background: rgba(198, 40, 40, 0.12);
}

.pos-table-card.kot_sent {
  border-color: #FFB800;
  background: rgba(255, 184, 0, 0.12);
}

.pos-table-card.selected {
  outline: 3px solid #00E676;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}

.pos-table-number {
  font-weight: 900;
  font-size: 1.1rem;
  color: #FFF;
}

.pos-table-status-label {
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 4px;
}

.pos-table-card.available .pos-table-status-label { background: #E8F5E9; color: #2E7D32; }
.pos-table-card.occupied .pos-table-status-label { background: #FFEBEE; color: #C62828; }
.pos-table-card.kot_sent .pos-table-status-label { background: #FFF8E1; color: #E65100; }

/* Right Column: Active Ticket & Checkout */
.pos-ticket-column {
  background: #1C1815;
  border: 1.5px solid #2D2620;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pos-ticket-header {
  background: #25201C;
  padding: 12px 14px;
  border-bottom: 1.5px solid #2D2620;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pos-ticket-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pos-ticket-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pos-ticket-row {
  background: #25201C;
  border: 1px solid #332B25;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pos-ticket-item-info {
  flex: 1;
}

.pos-ticket-item-name {
  font-weight: 800;
  font-size: 0.84rem;
  color: #FFF;
}

.pos-ticket-item-mods {
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 2px;
}

.pos-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #332B25;
  color: #FFF;
  border: none;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
}

.pos-qty-btn:active { background: var(--accent); color: #1C1917; }

.pos-ticket-summary {
  background: #25201C;
  border-top: 1.5px solid #2D2620;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pos-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #D6C8B8;
}

.pos-summary-line.total {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
  border-top: 1px dashed #332B25;
  padding-top: 6px;
  margin-top: 4px;
}

.pos-tender-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px 14px;
  background: #191512;
  border-top: 1px solid #2D2620;
}

.pos-tender-btn {
  background: #25201C;
  border: 1px solid #332B25;
  color: #FFF;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 8px 4px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.pos-tender-btn:active {
  background: #2E7D32;
  color: #FFF;
}

.pos-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px;
  background: #14110F;
  border-top: 1.5px solid #2D2620;
}

.pos-btn-kot {
  background: #E65100;
  color: #FFF;
  font-weight: 900;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pos-btn-settle {
  background: #2E7D32;
  color: #FFF;
  font-weight: 900;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   KDS & POS EXECUTIVE AUTHENTICATION SCREEN ENGINE
   ========================================================================== */
.kds-auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 65px);
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 30%, #231C18 0%, #0D0B0A 80%);
}

.kds-auth-card {
  width: 100%;
  max-width: 440px;
  background: #1C1815;
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 184, 0, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kds-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #FF8A00, var(--accent));
}

.kds-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 125, 50, 0.15);
  color: #81C784;
  border: 1px solid #2E7D32;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  margin-bottom: 20px;
}

.dot-pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 8px #4CAF50;
  animation: dotPulse 1.8s infinite ease-in-out;
}

@keyframes dotPulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 1; }
}

.kds-auth-header {
  margin-bottom: 24px;
}

.kds-auth-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  background: #FFF;
  padding: 4px;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.35);
}

.kds-auth-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #F5EFE6;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.kds-auth-subtitle {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.4px;
}

.kds-pin-container {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 22px;
}

.kds-visually-hidden-input {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.kds-pin-label {
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kds-pin-dots-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.kds-pin-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #25201C;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.kds-pin-dot.filled,
.kds-pin-dot.active {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow), 0 0 4px var(--accent);
  transform: scale(1.15);
}

.kds-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.kds-keypad-btn {
  background: #25201C;
  border: 1.5px solid #332B25;
  color: #F5EFE6;
  font-size: 1.35rem;
  font-weight: 900;
  border-radius: 14px;
  padding: 13px 0;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  touch-action: manipulation;
}

.kds-keypad-btn:hover,
.kds-keypad-btn:focus {
  background: #332B25;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.kds-keypad-btn:active {
  transform: scale(0.92);
  background: var(--accent);
  color: #1C1917;
  box-shadow: 0 0 12px var(--accent-glow);
}

.kds-keypad-btn.clear,
.kds-keypad-btn.backspace {
  font-size: 1.05rem;
  background: #1F1A17;
  color: #D6C8B8;
}

.kds-keypad-btn.clear:hover {
  background: rgba(211, 47, 47, 0.2);
  color: #EF5350;
  border-color: #D32F2F;
}

.kds-keypad-btn.backspace:hover {
  background: rgba(255, 184, 0, 0.15);
  color: var(--accent);
  border-color: var(--accent);
}

.kds-login-btn {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #1C1917;
  border: none;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.kds-login-btn:hover {
  background: #FFCA28;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 184, 0, 0.4);
}

.kds-login-btn:active {
  transform: scale(0.98);
}

.kds-features-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.kds-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #B5A898;
}

.kds-feature-item .material-symbols-outlined {
  font-size: 1rem;
}

/* ERROR SHAKE & SUCCESS GLOW ANIMATIONS */
.shake-error {
  animation: cardShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  border-color: #FF5252 !important;
  box-shadow: 0 0 35px rgba(255, 82, 82, 0.4) !important;
}

@keyframes cardShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.success-glow {
  animation: successPulse 0.4s ease-out forwards;
  border-color: #4CAF50 !important;
  box-shadow: 0 0 45px rgba(76, 175, 80, 0.6) !important;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
  top: 3px;
  left: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.status-toggle-switch.active .switch-knob {
  transform: translateX(20px);
}

/* ============================================================
   HIGH-CLASS BRIGHT & VIBRANT WELCOME ENTRANCE SCREEN
   ============================================================ */
.welcome-screen-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #FFF9F2 0%, #FFF3E0 50%, #FFE0B2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-screen-backdrop.fade-out {
  opacity: 0;
  pointer-events: none;
}

.welcome-glow-bg {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.45) 0%, rgba(211, 47, 47, 0.25) 50%, transparent 75%);
  border-radius: 50%;
  animation: welcomePulseGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
  filter: blur(50px);
}

.welcome-card-box {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 3px solid var(--accent);
  border-radius: 32px;
  padding: 44px 32px;
  box-shadow: 0 25px 70px rgba(255, 152, 0, 0.35), 0 0 50px rgba(211, 47, 47, 0.15);
  animation: welcomePopUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  margin: auto;
}

.welcome-logo-img {
  width: 350px;
  height: 350px;
  max-width: 85vw;
  max-height: 350px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(255, 152, 0, 0.5));
  animation: welcomeLogoFloat 3s ease-in-out infinite alternate;
}

.welcome-brand-name {
  font-family: 'Bahnschrift Condensed', 'Arial Narrow', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #1C1917;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(255, 184, 0, 0.3);
}

.welcome-badge-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, #D32F2F 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 6px 18px;
  border-radius: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.welcome-greeting-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: #4E342E;
  line-height: 1.6;
  margin-bottom: 34px;
  padding: 0 10px;
}

.welcome-lets-go-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #D32F2F 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  padding: 18px 56px;
  border-radius: 50px;
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(211, 47, 47, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.welcome-lets-go-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 50px rgba(211, 47, 47, 0.65);
}

.welcome-lets-go-btn:active {
  transform: translateY(1px) scale(0.98);
}

@keyframes welcomePulseGlow {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1; }
}

@keyframes welcomeLogoFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-10px) scale(1.03); }
}

@keyframes welcomePopUp {
  0% { opacity: 0; transform: scale(0.85) translateY(25px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 600px) {
  .welcome-card-box {
    padding: 30px 20px;
  }
  .welcome-logo-img {
    width: 240px;
    height: 240px;
  }
  .welcome-brand-name {
    font-size: 2.2rem;
  }
  .welcome-greeting-text {
    font-size: 1.05rem;
  }
  .welcome-lets-go-btn {
    padding: 14px 38px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   AUTOMATIC MOBILE SCREEN SYNCHRONIZATION & FITTED AUTHENTICATION PALETTE
   ========================================================================== */
@media (max-width: 900px), (max-device-width: 900px) {
  .kds-auth-wrapper,
  .admin-hq-auth-wrapper {
    min-height: 100vh !important;
    height: 100vh !important;
    width: 100vw !important;
    padding: 12px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
  }

  .kds-auth-card,
  .admin-hq-card,
  #pos-auth-card,
  #kds-auth-card,
  #admin-auth-card,
  .mobile-auth-fitted {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    margin: auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 184, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .kds-auth-logo,
  .admin-hq-logo {
    width: 90px !important;
    height: 90px !important;
    margin-bottom: 10px !important;
  }

  .kds-auth-title,
  .admin-hq-title {
    font-size: 1.15rem !important;
    margin-top: 4px !important;
  }

  .kds-auth-subtitle,
  .admin-hq-subtitle {
    font-size: 0.72rem !important;
    margin-bottom: 12px !important;
  }

  .kds-keypad-grid {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .kds-keypad-btn {
    padding: 11px 0 !important;
    font-size: 1.25rem !important;
    border-radius: 12px !important;
  }

  .admin-hq-metrics-strip,
  .kds-features-strip {
    padding-top: 10px !important;
    margin-top: 10px !important;
    gap: 6px !important;
  }

  .admin-hq-metric-label {
    font-size: 0.65rem !important;
  }

  .admin-hq-metric-val {
    font-size: 0.78rem !important;
  }

  .admin-hq-field,
  .kds-login-btn,
  .admin-hq-submit-btn {
    padding: 12px !important;
    font-size: 0.88rem !important;
    border-radius: 12px !important;
  }
}

/* Force Stretched Viewport in Mobile Desktop Site Mode */
.mobile-auth-fitted-forced-wrapper {
  min-height: 100vh !important;
  height: 100vh !important;
  width: 100vw !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-auth-fitted-forced-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: auto !important;
  box-sizing: border-box !important;
}
