/* ===================================================
   THE HIDEOUT CAFE - ULTRA-REFINED ZOMATO/SWIGGY UI SYSTEM
   DxDine High-Converting Hospitality Tier
   =================================================== */

:root {
  /* Brand Tokens */
  --brand-color: #E23744;         /* Zomato Iconic Crimson */
  --brand-hover: #C52C38;
  --brand-light: #FFF0F1;
  --brand-dark: #B31D28;
  --brand-amber: #D97706;
  --brand-amber-bg: #FEF3C7;
  
  /* App Canvas */
  --bg-app: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-dark-glass: rgba(18, 18, 18, 0.85);
  
  /* Text & Tone */
  --text-primary: #1C1C1C;
  --text-secondary: #4F4F4F;
  --text-muted: #787878;
  --text-light: #9E9E9E;
  
  /* Dietary Badges */
  --veg-color: #0F8A43;
  --veg-bg: #EAF8F0;
  --nonveg-color: #E23744;
  --nonveg-bg: #FFF0F1;
  
  /* Borders & Shadows */
  --border-light: #F0F0F2;
  --border-card: #E8EAED;
  --border-focus: #E23744;
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12);
  --shadow-float: 0 10px 28px rgba(226, 55, 68, 0.32);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout Dimensions */
  --max-width: 500px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: #E6E8EC;
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Centered Mobile Wrapper */
.app-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--bg-app);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 60px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  padding-bottom: 120px;
}

/* Icon Utilities */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.text-brand { color: var(--brand-color); }
.text-green { color: var(--veg-color); }
.text-orange { color: #F97316; }
.text-muted { color: var(--text-muted); }
.fill-current { fill: currentColor; }
.hide-mobile { display: inline; }

@media (max-width: 380px) {
  .hide-mobile { display: none; }
}

/* ----------------------------------------------------
   1. TOP ANNOUNCEMENT STRIP
   ---------------------------------------------------- */
.top-status-strip {
  background: #18181B;
  color: #FFFFFF;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.wifi-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #E4E4E7;
  cursor: pointer;
}

.wifi-pill b {
  color: #FBBF24;
}

/* ----------------------------------------------------
   2. TOP NAVBAR
   ---------------------------------------------------- */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

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

.brand-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--brand-color), #D92330);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(226, 55, 68, 0.25);
}

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

.loc-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}

.loc-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-color);
  letter-spacing: 0.3px;
}

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

.action-icon-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.action-icon-pill:hover {
  border-color: var(--brand-color);
  background: var(--brand-light);
}

.icon-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   3. RESTAURANT HERO SECTION
   ---------------------------------------------------- */
.restaurant-hero {
  position: relative;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #18181B;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.restaurant-hero:hover .hero-img {
  transform: scale(1.04);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.hero-top-badges {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-badge {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.verified-badge {
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.ambience-badge {
  color: #FDE047;
  border: 1px solid rgba(253, 224, 71, 0.35);
}

.hero-bottom-info {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
}

.cafe-tagline {
  color: #FFFFFF;
  font-style: italic;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.restaurant-info-card {
  padding: 16px 18px;
  background: #FFFFFF;
}

.rest-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.rest-meta-col {
  flex: 1;
}

.restaurant-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.restaurant-cuisine {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
  font-weight: 600;
  line-height: 1.35;
}

.restaurant-address {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  cursor: pointer;
  padding: 4px;
}

.rating-score {
  background: #24963F;
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(36, 150, 63, 0.3);
}

.rating-count {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 700;
  text-decoration: underline;
}

.info-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.chip {
  background: #F4F4F6;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chip-offer {
  background: var(--brand-light);
  color: var(--brand-color);
  font-weight: 700;
  border: 1px dashed rgba(226, 55, 68, 0.3);
}

/* ----------------------------------------------------
   4. STICKY CONTROLS (SEARCH, FILTERS, CATEGORIES)
   ---------------------------------------------------- */
.sticky-controls {
  position: sticky;
  top: 59px;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 16px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.search-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.search-bar-wrap:focus-within {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(226, 55, 68, 0.15);
}

.search-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  margin-right: 8px;
}

.search-bar-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text-primary);
}

.clear-search-btn {
  background: #EFEFEF;
  border: none;
  border-radius: var(--radius-full);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Filter Pills */
.quick-filters {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
}
.quick-filters::-webkit-scrollbar { display: none; }

.filter-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.filter-pill.active {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
}

/* Veg / Non-Veg Icon Indicators */
.veg-dot-icon, .nonveg-dot-icon {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1.5px solid var(--veg-color);
  position: relative;
  display: inline-block;
  background: #FFFFFF;
}
.veg-dot-icon::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--veg-color);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nonveg-dot-icon {
  border-color: var(--nonveg-color);
}
.nonveg-dot-icon::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-bottom: 6px solid var(--nonveg-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Category Slider Nav */
.category-nav-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 8px;
  padding-bottom: 4px;
  scroll-behavior: smooth;
}
.category-nav-slider::-webkit-scrollbar { display: none; }

.cat-pill {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-pill.active {
  background: var(--brand-light);
  color: var(--brand-color);
}

.cat-pill-count {
  font-size: 0.68rem;
  background: rgba(0,0,0,0.06);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.cat-pill.active .cat-pill-count {
  background: rgba(226, 55, 68, 0.15);
  color: var(--brand-color);
}

/* ----------------------------------------------------
   5. MENU CARDS & FOOD GRID
   ---------------------------------------------------- */
.menu-container {
  padding: 12px 16px;
  flex: 1;
}

.category-block {
  margin-bottom: 26px;
}

.category-title-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-light);
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Zomato 2-Column Split Item Card */
.food-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.food-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #DFE2E6;
}

.food-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.food-type-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.bestseller-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: #D97706;
  background: #FEF3C7;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.customisable-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #4F46E5;
  background: #EEF2FF;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.food-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.food-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.food-price {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-primary);
}

.food-original-price {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.food-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Food Media Column */
.food-media-col {
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.food-img-wrap {
  width: 108px;
  height: 98px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F3F4F6;
  position: relative;
  cursor: pointer;
}

.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.expand-hint {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0,0,0,0.5);
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.food-card:hover .expand-hint {
  opacity: 1;
}

/* Floating ADD Button */
.add-btn-container {
  margin-top: -16px;
  z-index: 2;
  width: 92px;
}

.add-btn {
  width: 100%;
  background: #FFFFFF;
  color: var(--veg-color);
  border: 1.5px solid var(--border-card);
  padding: 6px 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-btn:hover {
  background: var(--veg-color);
  color: #FFFFFF;
  border-color: var(--veg-color);
  transform: translateY(-2px);
}

.qty-stepper {
  width: 100%;
  background: var(--veg-color);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  box-shadow: 0 4px 12px rgba(15, 138, 67, 0.35);
  animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.stepper-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
}

.stepper-count {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
}

/* ----------------------------------------------------
   6. FLOATING BOTTOM CART BAR (ZOMATO PILL)
   ---------------------------------------------------- */
.floating-cart-bar {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 28px);
  max-width: calc(var(--max-width) - 28px);
  z-index: 99;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
  animation: cartBounce 0.4s ease;
}

@keyframes cartBounce {
  0% { transform: translateX(-50%) translateY(100%); }
  60% { transform: translateX(-50%) translateY(-6px); }
  100% { transform: translateX(-50%) translateY(0); }
}

.cart-bar-content {
  background: linear-gradient(135deg, var(--brand-color), #CB202D);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-float);
  cursor: pointer;
}

.cart-summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-badge-circle {
  background: #FFFFFF;
  color: var(--brand-color);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-price-info {
  display: flex;
  flex-direction: column;
}

.cart-total-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.2;
}

.cart-tax-sub {
  font-size: 0.7rem;
  opacity: 0.9;
}

.cart-cta-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
}

/* ----------------------------------------------------
   7. SLIDE-UP CART DRAWER & CHECKOUT
   ---------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: block;
  opacity: 1;
}

.cart-modal-sheet {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: var(--max-width);
  max-height: 92vh;
  background: #FFFFFF;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .cart-modal-sheet {
  transform: translateX(-50%) translateY(0);
}

.modal-header {
  padding: 12px 18px 14px;
  border-bottom: 1px solid var(--border-light);
  background: #FFFFFF;
}

.modal-handle {
  width: 42px;
  height: 4px;
  background: #D4D4D8;
  border-radius: 2px;
  margin: 0 auto 10px;
}

.modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title-with-badge h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
}

.session-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--brand-light);
  color: var(--brand-color);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.modal-close-btn {
  background: #F4F4F6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  background: #F8F9FA;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-card);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.card-head h3 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.input-group.full-width {
  grid-column: span 2;
}

.input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.req { color: var(--brand-color); }

.input-group input, .notes-input {
  width: 100%;
  background: #F9FAFB;
  border: 1px solid var(--border-card);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-group input:focus, .notes-input:focus {
  border-color: var(--brand-color);
  background: #FFFFFF;
}

.phone-input-wrap, .table-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.country-prefix {
  position: absolute;
  left: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.phone-input-wrap input {
  padding-left: 45px;
}

.locked-hint {
  position: absolute;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Cart Items in Checkout */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-light);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.cart-item-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 900;
  min-width: 60px;
  text-align: right;
}

.add-more-items-row {
  margin-top: 10px;
  text-align: center;
}

.add-more-btn {
  background: transparent;
  border: 1px dashed var(--brand-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--brand-color);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Upsell Card */
.upsell-items-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.upsell-items-row::-webkit-scrollbar { display: none; }

.upsell-pill-card {
  flex: 0 0 170px;
  background: #F9FAFB;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upsell-name {
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upsell-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upsell-price {
  font-size: 0.85rem;
  font-weight: 900;
}

.upsell-add-btn {
  background: #FFFFFF;
  border: 1px solid var(--veg-color);
  color: var(--veg-color);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

/* Quick Notes Chips */
.quick-notes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.note-chip {
  background: #F4F4F6;
  border: 1px solid var(--border-card);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.note-chip:hover {
  background: #E5E7EB;
}

/* Promo Voucher */
.promo-input-row {
  display: flex;
  gap: 8px;
}

.promo-input-row input {
  flex: 1;
  background: #F9FAFB;
  border: 1px solid var(--border-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.apply-promo-btn {
  background: #18181B;
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.promo-msg {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}

.promo-msg.success { background: #ECFDF5; color: #065F46; }
.promo-msg.error { background: #FEF2F2; color: #991B1B; }

/* Tip Selector */
.tip-options-row {
  display: flex;
  gap: 8px;
}

.tip-btn {
  flex: 1;
  background: #F9FAFB;
  border: 1px solid var(--border-card);
  padding: 8px 0;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tip-btn.active {
  background: var(--brand-light);
  border-color: var(--brand-color);
  color: var(--brand-color);
}

/* Bill Breakdown */
.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.bill-divider {
  height: 1px;
  background: var(--border-card);
  margin: 10px 0;
}

.grand-total-row {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-primary);
}

.grand-price {
  color: var(--brand-color);
}

.cumulative-note {
  margin-top: 10px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  color: #1D4ED8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dxdine-trust-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: #065F46;
}

.modal-footer {
  padding: 14px 18px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.total-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.total-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-primary);
}

.place-order-btn {
  flex: 1;
  background: var(--brand-color);
  color: #FFFFFF;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(226, 55, 68, 0.35);
  transition: all 0.2s ease;
}

.place-order-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   8. DISH LIGHTBOX / CUSTOMIZATION MODAL
   ---------------------------------------------------- */
.dish-detail-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  max-height: 85vh;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dish-modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.dish-modal-media {
  position: relative;
  width: 100%;
  height: 200px;
  background: #18181B;
}

.dish-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-modal-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: #FEF3C7;
  color: #D97706;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.dish-modal-content {
  padding: 16px;
}

.dish-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.dish-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
}

.dish-modal-meta-row {
  display: flex;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.dish-modal-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand-color);
}

.dish-modal-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
}

.dish-addons-section h4 {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.addon-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.addon-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.dish-modal-footer {
  margin-top: 10px;
}

.dish-add-to-cart-btn {
  width: 100%;
  background: var(--brand-color);
  color: #FFFFFF;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
}

/* ----------------------------------------------------
   9. CALL WAITER / SERVICE MODAL
   ---------------------------------------------------- */
.service-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 360px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-header {
  position: relative;
  text-align: center;
  margin-bottom: 16px;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.service-header h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
}

.service-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.abs-close {
  position: absolute;
  top: -5px;
  right: -5px;
}

.service-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.service-item-btn {
  background: #F9FAFB;
  border: 1px solid var(--border-card);
  padding: 12px 8px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-item-btn:hover {
  background: var(--brand-light);
  border-color: var(--brand-color);
  transform: translateY(-2px);
}

.service-custom-row {
  display: flex;
  gap: 6px;
}

.service-custom-row input {
  flex: 1;
  border: 1px solid var(--border-card);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  outline: none;
}

.send-service-btn {
  background: #18181B;
  color: #FFFFFF;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

/* ----------------------------------------------------
   10. GOOGLE REVIEW MODAL
   ---------------------------------------------------- */
.review-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 360px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from { transform: translate(-50%, -45%) scale(0.9); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.review-badge-top {
  width: 50px;
  height: 50px;
  background: var(--brand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.review-modal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.review-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.star-rating-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #D1D5DB;
  font-size: 1.6rem;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-btn.active, .star-btn:hover {
  color: #F59E0B;
  transform: scale(1.2);
}

.private-feedback-wrap textarea {
  width: 100%;
  height: 80px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-bottom: 10px;
  outline: none;
}

.submit-feedback-btn {
  width: 100%;
  background: var(--text-primary);
  color: #FFFFFF;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 10px;
}

.dismiss-review-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* ----------------------------------------------------
   11. TOASTS & SPINNERS
   ---------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}

.toast {
  background: #18181B;
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.menu-loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: var(--brand-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
