/* ============================================================
   CHAUPAL — Global Stylesheet
   Clean, minimal, fast-food aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;900&family=Barlow+Condensed:wght@700;900&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --primary: #C8390A;
  --primary-hover: #a82d07;
  --gold: #D4A017;
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --surface-2: #F0EDE8;
  --text: #1C1A17;
  --text-muted: #6B6560;
  --border: #E2DDD8;
  --success: #1A7A45;
  --warning: #C47B0B;
  --danger: #B91C1C;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.11);
  --font: 'Barlow', sans-serif;
  --font-display: 'Barlow Condensed', sans-serif;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.site-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.header-link:hover { color: #fff; }
.cart-btn {
  position: relative;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.cart-btn:hover { background: var(--primary-hover); }
.cart-btn:active { transform: scale(0.97); }
.cart-badge {
  background: var(--gold);
  color: var(--text);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--text);
  color: #fff;
  padding: 72px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,57,10,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  border: none;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #2d2b27; }
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ─── Container ─────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ─── Section ───────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 36px;
}

/* ─── Category Tabs ─────────────────────────────────────────── */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 32px;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.category-tab:hover { border-color: var(--primary); color: var(--primary); }
.category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ─── Menu Grid ─────────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.menu-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.menu-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.menu-card-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.menu-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.menu-card-price { font-size: 17px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.menu-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.badge-special {
  font-size: 11px;
  font-weight: 700;
  background: #FFF4E0;
  color: #8B5E00;
  border-radius: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.add-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.add-btn:hover { background: var(--primary-hover); }
.add-btn:active { transform: scale(0.95); }

/* ─── Size Selector ─────────────────────────────────────────── */
.size-selector { display: flex; gap: 6px; flex-wrap: wrap; }
.size-btn {
  padding: 5px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.size-btn.selected {
  border-color: var(--primary);
  background: #FEF0EC;
  color: var(--primary);
}

/* ─── Cart Sidebar ──────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 380px;
  max-width: 100vw;
  background: var(--surface);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-title { font-size: 18px; font-weight: 700; }
.cart-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.cart-close:hover { color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
  font-size: 15px;
}
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-item-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--primary); }
.qty-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  line-height: 1;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-label { font-size: 16px; font-weight: 600; }
.cart-total-amount { font-size: 22px; font-weight: 900; color: var(--primary); }
.cart-note { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

/* ─── Checkout Panel ────────────────────────────────────────── */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.checkout-overlay.open { opacity: 1; pointer-events: all; }
.checkout-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.checkout-overlay.open .checkout-panel { transform: translateY(0); }
.checkout-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.form-group { margin-bottom: 18px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; display: block; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.18s;
}
.form-input:focus { outline: none; border-color: var(--primary); }
.welcome-back {
  background: #F0FDF4;
  border: 1.5px solid #A7F3D0;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #065F46;
  display: none;
}
.welcome-back.visible { display: block; }
.order-type-group { display: flex; gap: 8px; }
.order-type-btn {
  flex: 1;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.order-type-btn.selected {
  border-color: var(--primary);
  background: #FEF0EC;
  color: var(--primary);
}
.save-info-row { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 8px; }
.save-info-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); }
.checkout-summary {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
}
.summary-row { display: flex; justify-content: space-between; padding: 4px 0; }
.summary-row.total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; }
.success-screen { text-align: center; padding: 16px 0; }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.success-title { font-family: var(--font-display); font-size: 32px; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.success-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.order-id-badge {
  display: inline-block;
  background: var(--text);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  padding: 12px 28px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

/* ─── Track Page ────────────────────────────────────────────── */
.track-container { max-width: 600px; margin: 0 auto; padding: 48px 24px; }
.track-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
}
.track-order-id {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 4px;
}
.track-customer { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }
.status-progress { margin-bottom: 32px; }
.status-steps { display: flex; align-items: flex-start; gap: 0; }
.status-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.status-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.status-step.done:not(:last-child)::after { background: var(--success); }
.status-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 3px solid var(--border);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
}
.status-step.done .status-dot { background: var(--success); border-color: var(--success); color: #fff; }
.status-step.active .status-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(200,57,10,0.2);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200,57,10,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(200,57,10,0.1); }
}
.status-label { font-size: 12px; font-weight: 600; text-align: center; color: var(--text-muted); }
.status-step.active .status-label { color: var(--primary); }
.status-step.done .status-label { color: var(--success); }
.track-items { font-size: 14px; }
.track-item-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
.track-total { display: flex; justify-content: space-between; padding: 12px 0 0; font-weight: 700; font-size: 16px; }
.track-meta { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.track-meta-item { font-size: 13px; background: var(--surface-2); padding: 6px 12px; border-radius: 6px; }
.track-meta-label { color: var(--text-muted); }

/* ─── Admin ─────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: calc(100vh - 60px); }
.admin-sidebar {
  width: 220px;
  background: var(--text);
  color: #fff;
  padding: 24px 0;
  flex-shrink: 0;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.18s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.07); }
.admin-nav-item.active { color: var(--gold); background: rgba(212,160,23,0.1); border-left: 3px solid var(--gold); padding-left: 21px; }
.admin-main { flex: 1; padding: 32px; overflow-y: auto; }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.order-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.order-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
}
.order-card.overdue { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(185,28,28,0.1); animation: overdue-pulse 2s infinite; }
@keyframes overdue-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(185,28,28,0.1); }
  50% { box-shadow: 0 0 0 6px rgba(185,28,28,0.05); }
}
.order-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.order-card-id { font-family: var(--font-display); font-size: 22px; font-weight: 900; letter-spacing: 2px; }
.status-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-preparing { background: #FEF0EC; color: #9A3412; }
.badge-ready { background: #D1FAE5; color: #065F46; }
.badge-completed { background: var(--surface-2); color: var(--text-muted); }
.order-card-customer { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.order-card-items { font-size: 13px; margin-bottom: 16px; line-height: 1.8; }
.order-card-timer { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.order-card-timer.overdue { color: var(--danger); font-weight: 700; }
.order-card-actions { display: flex; gap: 8px; }
.action-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: none;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.18s;
}
.action-btn-start { background: #FEF3C7; color: #92400E; }
.action-btn-start:hover { background: #FDE68A; }
.action-btn-ready { background: #D1FAE5; color: #065F46; }
.action-btn-ready:hover { background: #A7F3D0; }
.action-btn-complete { background: var(--surface-2); color: var(--text-muted); }
.action-btn-complete:hover { background: var(--border); }

/* ─── Reports ───────────────────────────────────────────────── */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 32px; }
.metric-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
}
.metric-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.metric-value { font-size: 28px; font-weight: 900; font-family: var(--font-display); }
.metric-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.bar-chart { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { width: 140px; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.bar-track { flex: 1; height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--primary); border-radius: 999px; transition: width 0.6s ease; }
.bar-val { font-size: 13px; font-weight: 700; min-width: 80px; text-align: right; }

/* ─── Customer Table ────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 10px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1.5px solid var(--border); background: var(--surface-2); }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.data-table tr:hover td { background: var(--surface-2); cursor: pointer; }
.table-wrap { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }

/* ─── Login/Auth ────────────────────────────────────────────── */
.auth-gate {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}
.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all 0.18s;
}
.google-btn:hover { border-color: var(--text); background: var(--bg); }

/* ─── Display Screen ────────────────────────────────────────── */
.display-screen {
  background: #111;
  min-height: 100vh;
  color: #fff;
  padding: 32px;
}
.display-logo { font-family: var(--font-display); font-size: 28px; font-weight: 900; letter-spacing: 3px; color: var(--gold); text-align: center; margin-bottom: 32px; text-transform: uppercase; }
.display-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.display-col-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.display-col-title.preparing { color: #FBBF24; }
.display-col-title.ready { color: #34D399; }
.display-order-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 4px;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  text-align: center;
}
.display-order-number.preparing { background: rgba(251,191,36,0.12); color: #FBBF24; border: 1px solid rgba(251,191,36,0.3); }
.display-order-number.ready { background: rgba(52,211,153,0.12); color: #34D399; border: 1px solid rgba(52,211,153,0.3); animation: ready-glow 2s infinite; }
@keyframes ready-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(52,211,153,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0.1); }
}

/* ─── Utilities ─────────────────────────────────────────────── */
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.loading { text-align: center; padding: 48px; color: var(--text-muted); font-size: 15px; }
.error-msg { background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius); padding: 12px 16px; color: var(--danger); font-size: 14px; margin-bottom: 16px; display: none; }
.error-msg.visible { display: block; }
.search-input {
  width: 100%;
  max-width: 320px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}
.search-input:focus { outline: none; border-color: var(--primary); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 48px 20px 40px; }
  .cart-sidebar { width: 100vw; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; padding: 0; display: flex; overflow-x: auto; }
  .admin-nav-item { padding: 14px 20px; border-left: none !important; border-bottom: 3px solid transparent; flex-shrink: 0; }
  .admin-nav-item.active { border-bottom-color: var(--gold); border-left: none !important; padding-left: 20px; }
  .admin-main { padding: 20px; }
  .display-grid { grid-template-columns: 1fr; }
  .display-order-number { font-size: 36px; }
  .order-type-group { flex-direction: column; }
}
