/* ==========================================================================
   SHREE UDUPI ARAMANE - LUXURY SOUTH INDIAN RESTAURANT
   Responsive Real Web Application (Mobile-First & Desktop Full-Screen)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-forest: #0F4C3A;
  --primary-deep: #0A3729;
  --primary-medium: #165B46;
  --primary-light: #EBF4F0;
  --primary-tint: #F2F8F5;

  --accent-gold: #C58B24;
  --accent-gold-light: #FBF4E4;
  --accent-gold-hover: #AF7819;
  --accent-mustard: #E29B1A;

  --bg-warm-ivory: #F9F7F2;
  --bg-cream: #F5EFE6;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3EFE7;

  --text-main: #19211D;
  --text-muted: #5E6963;
  --text-light: #8E9A94;
  --text-inverse: #FFFFFF;

  --veg-green: #138808;
  --veg-badge-bg: #E8F5E9;
  --danger: #D32F2F;
  --border-light: #E9E4D9;
  --border-subtle: #F0ECE4;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Layout & Elevations */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 76, 58, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 18px rgba(15, 76, 58, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 14px 36px rgba(15, 76, 58, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-floating: 0 16px 40px rgba(10, 55, 41, 0.22);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 72px;
  --mobile-nav-height: 64px;
  --sticky-cart-height: 58px;
  --max-content-width: 1200px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-warm-ivory);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  user-select: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   FLOATING PROTOTYPE DEMO SWITCHER WIDGET
   ========================================================================== */
.prototype-nav-widget {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 1000;
}

.proto-toggle-btn {
  background: var(--primary-deep);
  color: #FFFFFF;
  border: 1.5px solid var(--accent-gold);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-bounce);
}

.proto-toggle-btn:hover {
  transform: translateY(-2px);
  background: #112821;
}

.proto-icon {
  font-size: 14px;
}

.proto-drawer-dropdown {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInDown 0.2s ease forwards;
}

.proto-drawer-dropdown.active {
  display: flex;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.drawer-header {
  background: var(--primary-forest);
  color: #FFFFFF;
  padding: 12px 14px;
}

.drawer-header strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.drawer-sub {
  font-size: 10.5px;
  color: #D3E5DD;
}

.drawer-links {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proto-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.proto-link-btn:hover {
  background: var(--bg-cream);
  color: var(--primary-forest);
}

.proto-link-btn.active {
  background: var(--primary-light);
  color: var(--primary-forest);
  font-weight: 800;
}

.pl-num {
  width: 18px;
  height: 18px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--accent-gold);
}

.proto-link-btn.active .pl-num {
  background: var(--primary-forest);
  color: #FFFFFF;
}

/* ==========================================================================
   GLOBAL RESPONSIVE NAVIGATION HEADER
   ========================================================================== */
.global-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary-forest);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(15, 76, 58, 0.18);
  z-index: 500;
}

.nav-container-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}

.brand-crest-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-gold), #935E10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.crest-emoji {
  font-size: 20px;
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.restaurant-name-main {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.pure-veg-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(19, 136, 8, 0.3);
  border: 1px solid rgba(46, 204, 113, 0.45);
  color: #85E8A8;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 9.5px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.veg-dot {
  width: 5px;
  height: 5px;
  background: #2ECC71;
  border-radius: 50%;
}

/* Integrated Delivery Location directly below logo/restaurant name */
.brand-delivery-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px 3px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: fit-content;
  white-space: nowrap;
}

.brand-delivery-row:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(197, 139, 36, 0.4);
  transform: translateY(-1px);
}

.brand-loc-pin {
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-loc-label {
  font-size: 11px;
  color: #E2EFEA;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-loc-label strong {
  color: #FFFFFF;
  font-weight: 700;
}

.brand-loc-dot {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  flex-shrink: 0;
}

.brand-loc-addr {
  font-size: 11px;
  color: #B2CBC0;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-loc-chevron {
  color: #A3BFB5;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-delivery-row:hover .brand-loc-chevron {
  transform: translateY(1px);
  color: #FFFFFF;
}

.brand-loc-eta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(197, 139, 36, 0.22);
  border: 1px solid rgba(197, 139, 36, 0.35);
  color: #F8D58B;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 9.5px;
  font-weight: 700;
  margin-left: 2px;
  flex-shrink: 0;
}

/* Nav Actions & Desktop Links */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-btn {
  color: #D2E4DC;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link-btn.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--text-main);
  padding: 5px 12px 5px 7px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  min-width: 270px;
  max-width: 340px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.nav-search-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-gold);
  box-shadow: 0 6px 20px rgba(197, 139, 36, 0.22);
}

.nav-search-icon-circle {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary-forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.nav-search-btn:hover .nav-search-icon-circle {
  background: var(--primary-forest);
  color: #FFFFFF;
  transform: scale(1.06);
}

.desktop-search-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #556B61;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: left;
}

.search-kbd-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary-forest);
  background: var(--primary-light);
  border: 1px solid rgba(15, 76, 58, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(197, 139, 36, 0.3);
  transition: all var(--transition-bounce);
}

.nav-cart-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--danger);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-forest);
}

/* ==========================================================================
   MAIN SITE CANVAS & RESPONSIVE CONTAINERS
   ========================================================================== */
.site-main-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main-canvas {
  flex: 1;
  position: relative;
}

.content-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.screen-view {
  display: none;
  animation: fadeIn 0.25s ease forwards;
}

.screen-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-bottom-spacer {
  height: 60px;
}

/* Mobile Search Strip (Appears under navbar on phone screens) */
.mobile-search-strip {
  display: none;
  background: var(--primary-forest);
  padding: 0 16px 14px;
}

.mobile-search-box {
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  gap: 8px;
}

.search-icon {
  color: var(--primary-medium);
  flex-shrink: 0;
}

.search-placeholder {
  flex: 1;
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-mic-icon {
  color: var(--accent-gold);
}

/* ==========================================================================
   CATEGORY NAVIGATION BAR
   ========================================================================== */
.category-nav-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  position: sticky;
  top: 64px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.category-nav-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.category-scroll-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-scroll-list::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-smooth);
}

.cat-pill:hover {
  background: var(--bg-cream);
  color: var(--text-main);
}

.cat-pill.active {
  background: var(--primary-forest);
  color: #FFFFFF;
  border-color: var(--primary-forest);
  box-shadow: 0 3px 10px rgba(15, 76, 58, 0.25);
}

.cat-emoji {
  font-size: 15px;
}

/* ==========================================================================
   PROMOTIONAL BRAND BANNER
   ========================================================================== */
.promo-brand-banner {
  margin: 20px 0 16px;
  background: linear-gradient(135deg, #104334 0%, #1A5E4B 60%, #14493A 100%);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 139, 36, 0.35);
  box-shadow: var(--shadow-card);
}

.promo-pattern-overlay {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(197, 139, 36, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.promo-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.promo-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.promo-subtitle {
  font-size: 13px;
  color: #D3E5DD;
  line-height: 1.45;
  margin-bottom: 16px;
  max-width: 640px;
}

.promo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: #E2EFEA;
}

.p-badge .check-icon {
  color: var(--accent-gold);
  font-weight: 800;
}

/* Dietary Quick Preference Filters */
.quick-preference-row {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-preference-row::-webkit-scrollbar { display: none; }

.pref-tag {
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pref-tag.active {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
  color: var(--accent-gold-hover);
}

/* ==========================================================================
   FOOD CARD DESIGN & RESPONSIVE GRIDS
   ========================================================================== */
.food-section {
  margin-bottom: 36px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.2px;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.see-all-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-forest);
  padding: 4px 8px;
}

.live-counter-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #D35400;
  background: #FFF2E8;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Responsive Grid (Auto adapts from 1 col on mobile to 4 cols on desktop) */
.responsive-food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.food-card-modern {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}

.food-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card-img-wrap {
  width: 100%;
  height: 160px;
  position: relative;
  background: #EAE6DE;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.badge-tag-floating {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 76, 58, 0.92);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}

.badge-rating-floating {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-rating-floating .star {
  color: var(--accent-gold);
}

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

.card-top-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pure-veg-mark {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--veg-green);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  flex-shrink: 0;
}

.veg-green-circle {
  width: 6px;
  height: 6px;
  background: var(--veg-green);
  border-radius: 50%;
}

.v-bestseller {
  font-size: 9.5px;
  font-weight: 700;
  color: #D35400;
  background: #FFF2E8;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.food-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
}

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

.card-bottom-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.food-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

/* Responsive List Container (Grid on desktop, vertical on mobile) */
.food-list-responsive-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.vertical-food-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 14px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}

.vertical-food-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.v-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v-card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.v-card-img-action {
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.v-food-img {
  width: 110px;
  height: 96px;
  border-radius: var(--radius-sm);
  background: #EAE6DE;
  object-fit: cover;
}

/* PROMINENT ADD BUTTON & QUANTITY CONTROLLER */
.add-btn-container {
  margin-top: -16px;
  z-index: 2;
  width: 92px;
}

.add-primary-btn {
  width: 100%;
  height: 34px;
  background: var(--bg-surface);
  border: 1.5px solid var(--primary-forest);
  color: var(--primary-forest);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 8px rgba(15, 76, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-bounce);
}

.add-primary-btn:hover {
  background: var(--primary-forest);
  color: #FFFFFF;
}

.add-primary-btn:active {
  transform: scale(0.94);
}

.qty-stepper-pill {
  width: 100%;
  height: 34px;
  background: var(--primary-forest);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-shadow: 0 3px 10px rgba(15, 76, 58, 0.28);
}

.qty-step-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  transition: background var(--transition-fast);
}

.qty-step-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.qty-step-num {
  font-size: 13px;
  font-weight: 800;
}

.customisable-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Trust & Hygiene Strip */
.trust-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin: 28px 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

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

.trust-icon {
  font-size: 24px;
}

.trust-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.trust-info span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   PAGE TOP BARS (Menu, Search, Cart, Checkout Headers)
   ========================================================================== */
.page-top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.back-btn:hover {
  background: var(--bg-cream);
}

.page-header-text {
  flex: 1;
}

.page-header-text h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.page-header-text span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.text-action-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--danger);
  padding: 6px 10px;
}

.step-indicator {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-forest);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SEARCH RESULTS PAGE (Screen 3)
   ========================================================================== */
.search-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  gap: 10px;
}

.live-search-input-wrap:focus-within {
  background: #FFFFFF;
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.live-search-field {
  flex: 1;
  font-size: 13.5px;
  color: var(--text-main);
}

.search-section-block {
  margin-bottom: 24px;
}

.search-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.clear-history-btn {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-gold);
}

.recent-search-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-pill:hover {
  border-color: var(--primary-forest);
  color: var(--primary-forest);
}

.trending-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.trending-tag-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.trending-tag-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.tt-emoji {
  font-size: 24px;
}

.tt-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.tt-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.search-results-stats {
  padding-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   CART & CHECKOUT RESPONSIVE 2-COLUMN LAYOUTS (Screens 5 & 6)
   ========================================================================== */
.cart-layout-split, .checkout-layout-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.cart-promise-strip {
  background: var(--accent-gold-light);
  border: 1px solid rgba(197, 139, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.promise-icon {
  font-size: 24px;
}

.promise-text strong {
  display: block;
  font-size: 13px;
  color: var(--primary-deep);
}

.promise-text span {
  font-size: 11.5px;
  color: var(--accent-gold-hover);
}

.cart-items-section {
  margin-bottom: 16px;
}

.cart-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cart-items-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 4px 16px;
  box-shadow: var(--shadow-sm);
}

.cart-item-row {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #EAE6DE;
}

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

.ci-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ci-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.ci-addons {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ci-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-top: 3px;
}

.add-more-row {
  background: var(--bg-surface);
  border: 1.5px dashed var(--primary-medium);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  cursor: pointer;
  color: var(--primary-forest);
  font-weight: 700;
  font-size: 13px;
  transition: background var(--transition-fast);
}

.add-more-row:hover {
  background: var(--primary-light);
}

.cart-instructions-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.card-subtitle-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.instruction-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  color: var(--text-main);
}

.cart-bill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bill-row strong {
  color: var(--text-main);
}

.green-text {
  color: var(--veg-green);
}

.striked {
  color: var(--text-light);
  margin-right: 4px;
}

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

.bill-row.total-row {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-main);
}

.tax-note {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: normal;
}

.grand-total {
  font-size: 18px;
  color: var(--primary-deep);
}

.cart-savings-card {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #2E7D32;
  margin-bottom: 18px;
}

.desk-checkout-btn {
  width: 100%;
}

.primary-cta-btn {
  background: var(--primary-forest);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(15, 76, 58, 0.3);
  transition: all var(--transition-bounce);
}

.primary-cta-btn:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
}

.cart-checkout-footer {
  display: none;
}

/* CHECKOUT FORM COMPONENTS */
.checkout-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.checkout-card-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--primary-forest);
  margin-bottom: 12px;
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-header-flex .checkout-card-label { margin-bottom: 0; }

.pill-verified {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--veg-green);
  background: var(--veg-badge-bg);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.change-link-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
}

.order-type-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.type-switch-btn {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: all var(--transition-fast);
}

.type-switch-btn.active {
  background: var(--primary-light);
  border-color: var(--primary-forest);
}

.type-icon { font-size: 20px; }
.type-meta strong { display: block; font-size: 13px; color: var(--text-main); }
.type-meta small { font-size: 11px; color: var(--text-muted); }

.input-field-group {
  margin-bottom: 12px;
}
.input-field-group:last-child { margin-bottom: 0; }

.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.app-text-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.app-text-input:focus {
  background: #FFFFFF;
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.08);
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.country-prefix {
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-right: 1px solid var(--border-light);
}

.selected-address-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin-bottom: 12px;
}

.address-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-forest);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.address-full-text {
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.4;
}

.delivery-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
}
.checkbox-option input { display: none; }

.custom-checkbox {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-option input:checked + .custom-checkbox {
  background: var(--primary-forest);
  border-color: var(--primary-forest);
}

.checkbox-option input:checked + .custom-checkbox::after {
  content: '✓';
  color: #FFF;
  font-size: 11px;
  font-weight: 900;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-row {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  gap: 12px;
  transition: all var(--transition-fast);
}

.payment-method-row.active {
  background: var(--primary-light);
  border-color: var(--primary-forest);
}
.payment-method-row input { display: none; }

.payment-method-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  color: var(--primary-forest);
  box-shadow: var(--shadow-sm);
}

.payment-method-info { flex: 1; }
.payment-method-info strong { display: block; font-size: 13px; color: var(--text-main); }
.payment-method-info small { font-size: 11px; color: var(--text-muted); }

.radio-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  background: #FFF;
}

.payment-method-row.active .radio-indicator {
  border-color: var(--primary-forest);
  background: radial-gradient(circle, var(--primary-forest) 45%, #FFF 50%);
}

.summary-recap-card {
  background: #FAF8F2;
}

.checkout-mini-summary {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-main);
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
}

.checkout-total-row strong {
  font-size: 17px;
  color: var(--primary-deep);
}

.place-order-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: shineLoop 3s infinite;
}

@keyframes shineLoop {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

/* ==========================================================================
   ORDER CONFIRMATION & TRACKING (Screens 7 & 8)
   ========================================================================== */
.confirmation-max-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-hero {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 12px;
}

.celebration-circle {
  width: 80px;
  height: 80px;
  background: #E8F5E9;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.2);
}

.checkmark-svg {
  width: 52px;
  height: 52px;
  stroke: #2E7D32;
  stroke-width: 3.5;
  stroke-miterlimit: 10;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeDash 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-circle { stroke: #A5D6A7; }
.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes strokeDash { 100% { stroke-dashoffset: 0; } }
@keyframes strokeCheck { 100% { stroke-dashoffset: 0; } }

.conf-pill {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.conf-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.conf-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.order-meta-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.meta-row { display: flex; justify-content: space-between; align-items: center; }
.meta-col { display: flex; flex-direction: column; }
.meta-label { font-size: 10.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.meta-val { font-size: 15px; color: var(--text-main); margin-top: 2px; }
.meta-sub { font-size: 12px; color: var(--text-main); }
.highlight-order-id { color: var(--primary-forest); letter-spacing: 0.5px; }
.green-val { color: var(--veg-green); }
.meta-divider { height: 1px; background: var(--border-subtle); margin: 12px 0; }
.text-right { text-align: right; }

.order-tracker-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.tracker-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.stepper-vertical { display: flex; flex-direction: column; position: relative; }
.step-item { display: flex; align-items: flex-start; gap: 14px; position: relative; padding-bottom: 22px; }
.step-item:last-child { padding-bottom: 0; }

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 12px;
  width: 2px;
  bottom: 0;
  background: var(--border-light);
}

.step-item.completed:not(:last-child)::after { background: var(--veg-green); }

.step-indicator-node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-item.completed .step-indicator-node {
  background: var(--veg-green);
  border-color: var(--veg-green);
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
}

.step-item.in-progress .step-indicator-node {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.pulse-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  animation: pulseRing 1.5s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.node-dot { width: 8px; height: 8px; background: #FFFFFF; border-radius: 50%; }
.step-content { flex: 1; }
.step-content strong { display: block; font-size: 13px; color: var(--text-main); }
.step-content span { font-size: 11.5px; color: var(--text-muted); }
.step-time {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-gold-hover);
  background: var(--accent-gold-light);
  padding: 2px 7px;
  border-radius: 4px;
}

.conf-actions-group { display: flex; flex-direction: column; gap: 12px; }

.secondary-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--primary-forest);
  color: var(--primary-forest);
  padding: 13px 22px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.secondary-btn:hover { background: var(--primary-light); }

/* LIVE TRACKING SCREEN (Screen 8) */
.tracking-hero-card {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-forest));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

.badge-status-pulse {
  display: inline-block;
  background: rgba(46, 204, 113, 0.25);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #2ECC71;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.status-headline {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.status-est-time { font-size: 12.5px; color: #D3E5DD; margin-bottom: 18px; }
.status-est-time strong { color: var(--accent-gold); }

.live-progress-graphic {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 14px 12px;
}

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  position: relative;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ECC71, var(--accent-gold));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.delivery-scooter-marker {
  position: absolute;
  top: -14px;
  transform: translateX(-50%);
  font-size: 20px;
  transition: left 0.6s ease;
}

.progress-locations {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #C0D6CC;
}

.tracking-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.card-title-sm {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 12px;
}

.sim-btn-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-forest);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.sim-btn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-gold);
  background: var(--accent-gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.delivery-valet-card { display: flex; align-items: center; gap: 14px; }
.valet-avatar { position: relative; }
.valet-img {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.valet-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--accent-gold);
  color: #FFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

.valet-info { flex: 1; }
.valet-info strong { display: block; font-size: 13.5px; color: var(--text-main); }
.valet-info span { font-size: 11px; color: var(--text-muted); }
.valet-phone { font-size: 11.5px; color: var(--primary-forest); font-weight: 700; margin-top: 2px; }

.call-valet-btn {
  width: 42px;
  height: 42px;
  background: var(--veg-badge-bg);
  color: var(--veg-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}
.call-valet-btn:hover { transform: scale(1.08); }

.tracking-items-list { font-size: 12.5px; color: var(--text-muted); }
.track-dish-item { display: flex; justify-content: space-between; margin-bottom: 6px; }
.tracking-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.tracking-total-row strong { font-size: 15px; color: var(--primary-deep); }

.support-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.support-text strong { display: block; font-size: 12.5px; color: var(--text-main); }
.support-text span { font-size: 11px; color: var(--text-muted); }
.support-btn {
  background: var(--primary-forest);
  color: #FFF;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
}

/* ==========================================================================
   EMPTY STATES & CLOSED RESTAURANT (Screens 9, 10, 11)
   ========================================================================== */
.empty-state-container {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.empty-state-visual { position: relative; margin-bottom: 20px; }
.empty-icon-circle {
  width: 96px;
  height: 96px;
  background: var(--bg-cream);
  border: 2px dashed var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-empty-circle { border-color: var(--border-light); }
.empty-emoji { font-size: 44px; }
.empty-state-title { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--primary-deep); margin-bottom: 8px; }
.empty-state-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 28px; }

.empty-quick-recommendations {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
  margin-bottom: 28px;
  text-align: left;
}
.rec-title { display: block; font-size: 11.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.rec-chip-group { display: flex; flex-direction: column; gap: 8px; }
.rec-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: all var(--transition-fast);
}
.rec-chip:hover { background: var(--primary-light); border-color: var(--primary-forest); }
.browse-menu-cta { width: 100%; }

.no-results-suggestions { width: 100%; text-align: left; margin-bottom: 28px; }
.no-results-suggestions strong { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.search-hint-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hint-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-forest);
}

.closed-notice-card {
  background: linear-gradient(135deg, #1C2826 0%, #2A3C38 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(197, 139, 36, 0.35);
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 0 auto;
}
.closed-icon-badge { font-size: 36px; margin-bottom: 10px; }
.closed-pill-status {
  display: inline-block;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #FF7675;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.closed-title { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: #FFFFFF; margin-bottom: 6px; }
.closed-sub { font-size: 12.5px; color: #CBD5D0; line-height: 1.5; margin-bottom: 18px; }
.closed-timings-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-xs);
  padding: 14px;
  margin-bottom: 18px;
  text-align: left;
}
.timing-row { display: flex; justify-content: space-between; font-size: 12px; color: #CBD5D0; margin-bottom: 8px; }
.timing-row:last-child { margin-bottom: 0; }
.timing-row strong { color: var(--accent-gold); }
.preorder-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #A3BFB5;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
}
.preview-badge { font-size: 10.5px; font-weight: 700; background: #EAE6DE; color: var(--text-muted); padding: 3px 10px; border-radius: var(--radius-full); }

/* ==========================================================================
   PRODUCT CUSTOMIZATION SHEET / MODAL (Screen 4)
   ========================================================================== */
.bottom-sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 24, 19, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.product-custom-bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 88vh;
  background: var(--bg-surface);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.3);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 1.25, 0.32, 1);
  overflow: hidden;
}

.product-custom-bottom-sheet.active {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 44px;
  height: 4px;
  background: #D9D2C5;
  border-radius: var(--radius-full);
  margin: 10px auto 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.sheet-scroll-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sheet-dish-hero {
  position: relative;
  width: 100%;
  height: 220px;
  background: #EAE6DE;
}

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

.sheet-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.sheet-details-content {
  padding: 18px 22px 28px;
}

.dish-veg-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.bestseller-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #D35400;
  background: #FFF2E8;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.sheet-dish-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.sheet-dish-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sheet-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.sheet-base-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-deep);
}

.sheet-qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  gap: 14px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary-forest);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.qty-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  min-width: 16px;
  text-align: center;
}

.custom-options-group {
  margin-bottom: 20px;
}

.options-group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.options-group-title small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: normal;
}

.addons-list, .radio-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-checkbox-row, .custom-radio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.custom-checkbox-row:hover, .custom-radio-row:hover {
  border-color: var(--primary-forest);
  background: #FFFFFF;
}

.custom-checkbox-row input, .custom-radio-row input {
  margin-right: 10px;
  accent-color: var(--primary-forest);
}

.addon-left {
  display: flex;
  align-items: center;
}

.addon-price, .pref-price {
  font-weight: 700;
  color: var(--primary-forest);
}

.sheet-footer-cta {
  padding: 14px 22px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
}

.sheet-add-btn {
  width: 100%;
}

/* On Desktop screens, turn bottom sheet into centered dialog modal */
@media (min-width: 900px) {
  .product-custom-bottom-sheet {
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    width: 520px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    transform: translate(-50%, -45%) scale(0.95);
    opacity: 0;
  }

  .product-custom-bottom-sheet.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  .sheet-drag-handle {
    display: none;
  }
}

/* ==========================================================================
   STICKY FLOATING CART BAR (Mobile Only)
   ========================================================================== */
.sticky-cart-bar {
  position: fixed;
  bottom: calc(var(--mobile-nav-height) + 12px);
  left: 16px;
  right: 16px;
  height: var(--sticky-cart-height);
  background: var(--primary-forest);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-floating);
  cursor: pointer;
  z-index: 400;
  border: 1px solid rgba(197, 139, 36, 0.4);
  animation: slideUpFloat 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform var(--transition-bounce);
}

.sticky-cart-bar:hover {
  transform: translateY(-2px);
  background: var(--primary-deep);
}

@keyframes slideUpFloat {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

.cart-items-bubble {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  color: #FFF;
}

.cart-bar-pricing {
  display: flex;
  flex-direction: column;
}

.cart-bar-pricing strong {
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.1;
}

.cart-bar-pricing small {
  font-size: 10px;
  color: #CBDCD5;
}

.cart-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
}

/* ==========================================================================
   FIXED MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px 6px;
  z-index: 450;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.nav-tab .tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bounce);
}

.cart-tab-icon { position: relative; }

.tab-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav-tab.active { color: var(--primary-forest); }
.nav-tab.active .tab-icon { transform: translateY(-2px); }
.nav-tab.active .tab-label { font-weight: 800; }

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(10, 37, 28, 0.95);
  color: #FFFFFF;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(197, 139, 36, 0.4);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.toast-icon { color: #2ECC71; font-size: 15px; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile vs Tablet vs Desktop Full-Screen)
   ========================================================================== */

/* Mobile Phones (<= 899px) */
@media (max-width: 899px) {
  .desktop-nav-links, .desktop-search-label, .desktop-cart-text {
    display: none !important;
  }

  .nav-search-btn {
    display: none !important; /* Hide redundant search button on mobile since dedicated full search bar is below */
  }

  .nav-container-inner {
    padding: 10px 14px 6px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .brand-crest-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .crest-emoji {
    font-size: 18px;
  }

  .brand-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
  }

  .brand-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .restaurant-name-main {
    font-size: 13.5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .pure-veg-tag {
    font-size: 8px;
    padding: 1px 5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .brand-delivery-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 2px 6px;
    margin-top: 2px;
    white-space: nowrap;
    max-width: 100%;
  }

  .brand-loc-label {
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .brand-loc-dot {
    font-size: 9px;
    flex-shrink: 0;
  }

  .brand-loc-addr {
    font-size: 10px;
    max-width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-loc-chevron {
    flex-shrink: 0;
  }

  .brand-loc-eta {
    display: none !important;
  }

  .nav-right-actions {
    flex-shrink: 0;
  }

  .nav-cart-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-search-strip {
    display: block;
    padding: 4px 14px 12px;
  }

  .category-nav-bar {
    top: 54px;
  }

  .cart-layout-split, .checkout-layout-split {
    grid-template-columns: 1fr;
  }

  .cart-checkout-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
    z-index: 460;
  }

  .footer-price-info { display: flex; flex-direction: column; }
  .footer-total-label { font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px; color: var(--text-muted); }
  .footer-total-val { font-size: 18px; font-weight: 800; color: var(--primary-deep); }

  .cart-sidebar-col .desk-checkout-btn, .checkout-summary-col .place-order-btn {
    display: none;
  }

  .scroll-bottom-spacer {
    height: 120px;
  }
}

/* Desktop & Tablets (>= 900px) */
@media (min-width: 900px) {
  .mobile-bottom-nav {
    display: none;
  }

  .sticky-cart-bar {
    display: none !important;
  }

  .mobile-search-strip {
    display: none;
  }

  .prototype-nav-widget {
    bottom: 24px;
    right: 24px;
  }
}

/* ==========================================================================
   GLOBAL STORE BANNER (ONLINE / OFFLINE / BUSY NOTICES)
   ========================================================================== */
.global-store-banner {
  width: 100%;
  background: linear-gradient(135deg, #2D1B00, #4A2800);
  border-bottom: 2px solid #C58B24;
  color: #FFF;
  padding: 10px 16px;
  position: sticky;
  top: var(--header-height);
  z-index: 480;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  animation: slideDownBanner 0.3s ease-out;
}

.global-store-banner.offline-mode {
  background: linear-gradient(135deg, #3A0B0B, #5C1212);
  border-bottom-color: #E74C3C;
}

.global-store-banner.busy-mode {
  background: linear-gradient(135deg, #302604, #5C4708);
  border-bottom-color: #F39C12;
}

.global-store-banner.notice-mode {
  background: linear-gradient(135deg, #0A3729, #165B46);
  border-bottom-color: #2ECC71;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.global-store-banner .banner-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banner-text strong {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.banner-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

.banner-action-btn {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #FFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-fast);
}

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

/* Header Admin Pill */
.nav-admin-pill-btn {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  color: var(--primary-deep);
  border: 1px solid rgba(15, 76, 58, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition-fast);
}

.nav-admin-pill-btn:hover, .nav-admin-pill-btn.active {
  background: var(--primary-deep);
  color: #FFF;
  border-color: var(--primary-deep);
}

.nav-admin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.3);
}

.nav-admin-dot.offline {
  background: #E74C3C;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

.nav-admin-dot.busy {
  background: #F39C12;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.3);
}

.admin-drawer-btn {
  background: #FDF9EE !important;
  border: 1px dashed var(--accent-gold) !important;
}

/* ==========================================================================
   ADMIN MANAGEMENT PANEL (SCREEN 12)
   ========================================================================== */
.admin-container {
  padding-top: 24px;
  padding-bottom: 60px;
}

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #FFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(197, 139, 36, 0.3);
}

.admin-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-deep);
}

.admin-subheading {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.admin-ghost-btn {
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.admin-ghost-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-forest);
  color: var(--primary-deep);
}

.admin-create-btn {
  padding: 10px 20px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

/* Admin Cards */
.admin-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-deep);
}

.admin-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Live Status Indicator Badge */
.status-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F8F0;
  border: 1px solid #A3E4D7;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.status-indicator-badge.offline {
  background: #FDEDEC;
  border-color: #F5B7B1;
}

.status-indicator-badge.busy {
  background: #FEF9E7;
  border-color: #FAD7A0;
}

.status-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ECC71;
  position: relative;
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  animation: pulseDot 1.8s infinite;
}

.status-pulse-dot.offline { background: #E74C3C; }
.status-pulse-dot.busy { background: #F39C12; }

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.status-badge-text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary-deep);
}

/* Store Mode Toggle Buttons */
.store-mode-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.store-mode-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-warm-ivory);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  transition: var(--transition-fast);
}

.store-mode-btn:hover {
  border-color: var(--primary-forest);
  background: var(--primary-tint);
}

.store-mode-btn.active {
  background: var(--primary-tint);
  border-color: var(--primary-forest);
  box-shadow: 0 4px 14px rgba(15, 76, 58, 0.12);
}

.store-mode-btn.active#btnModeOffline {
  background: #FDF2F2;
  border-color: #E74C3C;
}

.store-mode-btn.active#btnModeBusy {
  background: #FEF9E7;
  border-color: #F39C12;
}

.mode-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.mode-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.mode-info small {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* Announcement & ETA row */
.store-announcement-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.form-group-flex {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 260px;
}

.form-group-flex.time-group {
  flex: 0 0 160px;
  min-width: 150px;
}

.admin-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.notice-input-wrap {
  display: flex;
  gap: 8px;
}

.admin-input-text, .admin-select-input, .admin-textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.admin-input-text:focus, .admin-select-input:focus, .admin-textarea:focus {
  border-color: var(--primary-forest);
  box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

.admin-save-notice-btn {
  background: var(--primary-deep);
  color: #FFF;
  padding: 0 16px;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.admin-save-notice-btn:hover {
  background: var(--primary-forest);
}

/* Admin Metrics KPI Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.metric-icon-box {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.metric-icon-box.green-icon { background: #E8F8F0; }
.metric-icon-box.red-icon { background: #FDEDEC; }
.metric-icon-box.gold-icon { background: var(--accent-gold-light); }

.metric-content {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.1;
}

.metric-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Menu Management Toolbar */
.admin-menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.toolbar-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
}

.toolbar-search-wrap svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
}

.admin-search-field {
  width: 100%;
  padding: 9px 32px 9px 36px;
  background: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-main);
}

.admin-clear-search-btn {
  position: absolute;
  right: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: bold;
}

.toolbar-filter-wrap {
  display: flex;
  gap: 10px;
}

.admin-filter-select {
  padding: 8px 14px;
  background: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.toolbar-backup-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-outline-btn {
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.admin-outline-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-forest);
  color: var(--primary-deep);
}

.admin-danger-text-btn {
  padding: 8px 12px;
  color: #C0392B;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.admin-danger-text-btn:hover {
  background: #FDEDEC;
}

/* Admin Dishes Grid */
.admin-dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.admin-dish-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.admin-dish-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.admin-dish-card.out-of-stock {
  border-left: 4px solid #E74C3C;
  background: #FAF8F6;
}

.admin-dish-top {
  display: flex;
  gap: 12px;
}

.admin-dish-img-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-subtle);
}

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

.admin-dish-info {
  flex: 1;
  min-width: 0;
}

.admin-dish-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.admin-dish-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dish-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-gold-hover);
  flex-shrink: 0;
}

.admin-dish-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}

.admin-tag-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: var(--bg-warm-ivory);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.admin-tag-pill.cat-tag {
  background: var(--primary-light);
  color: var(--primary-deep);
  border-color: rgba(15,76,58,0.15);
}

.admin-tag-pill.bestseller-tag {
  background: #FFF3CD;
  color: #856404;
  border-color: #FFEEBA;
}

.admin-dish-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Admin Dish Card Bottom Actions */
.admin-dish-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}

/* In Stock Switch Toggle */
.stock-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch-track {
  width: 36px;
  height: 20px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-fast);
}

.toggle-switch-thumb {
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input[type="checkbox"]:checked + .toggle-switch-track {
  background: #2ECC71;
}

input[type="checkbox"]:checked + .toggle-switch-track .toggle-switch-thumb {
  transform: translateX(16px);
}

.stock-text-status {
  font-size: 12px;
  font-weight: 700;
  color: #27AE60;
}

.stock-text-status.out {
  color: #E74C3C;
}

.admin-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-action-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  transition: var(--transition-fast);
}

.admin-edit-btn {
  color: var(--primary-deep);
}

.admin-edit-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-forest);
}

.admin-delete-btn {
  color: #C0392B;
}

.admin-delete-btn:hover {
  background: #FDEDEC;
  border-color: #F5B7B1;
}

/* Sold Out Badges on Customer View */
.sold-out-badge {
  background: #D32F2F !important;
  color: #FFF !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 10px;
}

.food-card-modern.is-sold-out, .vertical-food-card.is-sold-out {
  opacity: 0.72;
}

/* ==========================================================================
   ADMIN MODALS (ADD/EDIT DISH & DELETE CONFIRM)
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 30, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.admin-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 92%;
  max-width: 640px;
  max-height: 90vh;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-modal-container.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-warm-ivory);
}

.admin-modal-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
}

.admin-modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.admin-modal-close-btn:hover {
  background: #FDEDEC;
  color: #C0392B;
}

.admin-modal-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-warm-ivory);
}

.admin-form-row {
  display: flex;
  gap: 12px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-form-group.flex-1 { flex: 1; }
.admin-form-group.flex-2 { flex: 2; }

.admin-label-req {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* Image preview & presets */
.img-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dish-preview-thumb-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  background: var(--bg-subtle);
}

.dish-preview-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preset-images-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.preset-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.preset-btn {
  padding: 3px 8px;
  background: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.preset-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-forest);
  color: var(--primary-deep);
}

/* Checkboxes Card in Form */
.admin-checkboxes-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.admin-custom-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.admin-custom-check input[type="checkbox"] {
  display: none;
}

.check-box-styled {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.admin-custom-check input[type="checkbox"]:checked + .check-box-styled {
  background: var(--primary-forest);
  border-color: var(--primary-forest);
}

.admin-custom-check input[type="checkbox"]:checked + .check-box-styled::after {
  content: '✓';
  color: #FFF;
  font-size: 12px;
  font-weight: 900;
}

.check-text {
  font-size: 12.5px;
  color: var(--text-main);
}

/* Addons Section in Form */
.admin-addons-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.addons-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-mini-add-btn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-forest);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.admin-mini-add-btn:hover {
  background: var(--primary-forest);
  color: #FFF;
}

.admin-addon-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.admin-addon-row .addon-name-field {
  flex: 2;
}

.admin-addon-row .addon-price-field {
  flex: 1;
}

.admin-remove-addon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #FDEDEC;
  color: #C0392B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Delete Confirm Modal */
.admin-confirm-modal {
  max-width: 420px;
  text-align: center;
}

.admin-confirm-body {
  padding: 32px 24px 20px;
}

.confirm-icon-danger {
  font-size: 42px;
  margin-bottom: 12px;
}

.confirm-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.confirm-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.admin-delete-confirm-btn {
  background: #D32F2F;
  color: #FFF;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.admin-delete-confirm-btn:hover {
  background: #B71C1C;
}

/* Responsive adjustments for Admin */
@media (max-width: 768px) {
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-mode-toggle-group {
    grid-template-columns: 1fr;
  }

  .admin-dishes-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-row {
    flex-direction: column;
  }

  .admin-checkboxes-card {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CATEGORY MANAGEMENT STYLES (ADMIN)
   ========================================================================== */
.admin-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.admin-category-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition-fast);
}

.admin-category-card:hover {
  border-color: var(--primary-forest);
  box-shadow: var(--shadow-sm);
}

.admin-cat-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.admin-cat-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.admin-cat-info {
  flex: 1;
  min-width: 0;
}

.admin-cat-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-cat-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.admin-cat-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  gap: 8px;
}

.admin-add-item-to-cat-btn {
  background: var(--primary-light);
  color: var(--primary-forest);
  border: 1px solid rgba(15, 76, 58, 0.2);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.admin-add-item-to-cat-btn:hover {
  background: var(--primary-forest);
  color: #FFF;
}

.emoji-presets-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.emoji-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.emoji-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-forest);
  transform: scale(1.1);
}

/* ==========================================================================
   CUSTOMER ORDER HISTORY (Screen Orders) & LIVE TRACKING ENHANCEMENTS
   ========================================================================== */
.orders-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.order-filter-chip {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.order-filter-chip.active {
  background: var(--primary-forest);
  color: #FFFFFF;
  border-color: var(--primary-forest);
  box-shadow: 0 4px 12px rgba(15, 76, 58, 0.2);
}

.orders-refresh-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary-forest);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.orders-refresh-btn:hover {
  background: var(--primary-light);
  transform: rotate(180deg);
}

.customer-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customer-order-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.customer-order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.customer-order-card.is-active-order {
  border-color: var(--accent-gold);
  background: #FFFDF9;
}

.cust-order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-light);
}

.cust-order-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cust-order-num {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cust-order-date {
  font-size: 12px;
  color: var(--text-muted);
}

.cust-order-status-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cust-order-status-pill.status-PLACED { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.cust-order-status-pill.status-ACCEPTED { background: #E0F2FE; color: #0369A1; border: 1px solid #BAE6FD; }
.cust-order-status-pill.status-PREPARING { background: #F3E8FF; color: #7E22CE; border: 1px solid #E9D5FF; }
.cust-order-status-pill.status-READY { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.cust-order-status-pill.status-ASSIGNED { background: #FEF9C3; color: #854D0E; border: 1px solid #FEF08A; }
.cust-order-status-pill.status-PICKED_UP { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.cust-order-status-pill.status-OUT_FOR_DELIVERY { background: #FDF4FF; color: #86198F; border: 1px solid #F5D0FE; }
.cust-order-status-pill.status-DELIVERED { background: #F1F5F9; color: #334155; border: 1px solid #CBD5E1; }
.cust-order-status-pill.status-REJECTED,
.cust-order-status-pill.status-CANCELLED { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

.cust-order-items-preview {
  margin-bottom: 14px;
}

.cust-order-item-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-main);
  padding: 3px 0;
}

.cust-order-item-line strong {
  color: var(--primary-forest);
  margin-right: 4px;
}

.cust-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 10px;
}

.cust-order-total-block {
  display: flex;
  flex-direction: column;
}

.cust-order-total-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.cust-order-total-val {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--accent-gold);
}

.cust-order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-track-order {
  background: var(--primary-forest);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(15, 76, 58, 0.25);
  transition: all var(--transition-fast);
}

.btn-track-order:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
}

.btn-reorder {
  background: var(--bg-surface);
  color: var(--primary-forest);
  border: 1.5px solid var(--primary-forest);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.btn-reorder:hover {
  background: var(--primary-light);
}

.btn-view-bill {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.btn-view-bill:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

/* Active Live Order Hero Banner */
.active-order-highlight-banner {
  background: linear-gradient(135deg, #0E3524 0%, #174E37 100%);
  border: 1px solid rgba(197, 139, 36, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(11, 41, 28, 0.18);
}

.active-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.active-banner-pulse-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  animation: pulseOrder 2s infinite;
}

.active-banner-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.active-banner-text p {
  margin: 0;
  font-size: 12.5px;
  color: #C3DCD1;
}

.active-banner-btn {
  background: var(--accent-gold);
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.active-banner-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

/* Empty Orders State */
.empty-orders-card {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-surface);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-md);
}

.empty-orders-emoji {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-orders-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.empty-orders-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* Thermal Receipt Paper Modal Style */
.receipt-paper {
  background: #FFFFFF;
  color: #000000;
  font-family: 'Courier New', Courier, monospace;
  padding: 24px 20px;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.4;
}


