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

:root {
  --yellow-50: #FFFDE7;
  --yellow-100: #FFF8DC;
  --yellow-200: #FFF0A0;
  --yellow-300: #FFE45C;
  --yellow-400: #FFD700;
  --yellow-500: #F5C518;
  --yellow-600: #DBA800;
  --yellow-700: #B88A00;
  --yellow-800: #8A6800;
  --yellow-900: #5C4500;

  --orange-400: #FF8C2E;
  --orange-500: #FF6B00;
  --orange-600: #E65C00;
  --orange-700: #C44D00;
  --orange-800: #9A3A00;

  --neutral-50: #F8F7F4;
  --neutral-100: #EDECE8;
  --neutral-200: #D4D2CC;
  --neutral-300: #B3B0A8;
  --neutral-400: #8C8980;
  --neutral-500: #66635A;
  --neutral-600: #4A4740;
  --neutral-700: #33312B;
  --neutral-800: #1C1B18;
  --neutral-900: #0A0A08;

  --black: #0A0A08;
  --black-soft: #1A1915;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.15);

  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: 20px;

  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--neutral-50);
  color: var(--neutral-900);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--neutral-300); border-radius: 3px; }

/* ─── Hero Background Carousel ─── */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-soft);
}

.hero-bg {
  position: absolute;
  inset: -8px;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: bgCrossfade 30s infinite;
  filter: brightness(0.35) saturate(1.2) contrast(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-bg:nth-child(1) { animation-delay: 0s; }
.hero-bg:nth-child(2) { animation-delay: 6s; }
.hero-bg:nth-child(3) { animation-delay: 12s; }
.hero-bg:nth-child(4) { animation-delay: 18s; }
.hero-bg:nth-child(5) { animation-delay: 24s; }

@keyframes bgCrossfade {
  0%   { opacity: 0; transform: scale(1.05); }
  4%   { opacity: 1; transform: scale(1); }
  16%  { opacity: 1; transform: scale(1); }
  20%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4.5rem 1.5rem;
  max-width: 720px;
  width: 100%;
}

.hero-emoji { font-size: 3rem; margin-bottom: 0.5rem; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }

.hero-tagline {
  font-size: 0.8rem;
  color: var(--yellow-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  max-width: 500px;
  margin-inline: auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.75rem;
  line-height: 1.8;
}

.hero-sub .divider { color: var(--orange-400); margin: 0 8px; }

.service-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

.service-btn {
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.service-btn.active {
  background: var(--yellow-400);
  color: var(--black);
  box-shadow: var(--shadow-md);
}

.service-btn:hover:not(.active) { color: rgba(255,255,255,0.9); }

/* ─── Delivery Address Form ─── */
.delivery-address-wrap {
  max-width: 460px;
  margin: 1rem auto 0;
  display: none;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.delivery-address-wrap.visible { display: block; animation: fadeUp 0.3s ease; }

.delivery-address-wrap .form-group { margin-bottom: 0.85rem; }
.delivery-address-wrap .form-group:last-of-type { margin-bottom: 0; }

.delivery-address-wrap label {
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.delivery-address-wrap .form-input,
.delivery-address-wrap .form-select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 0.9rem;
  padding: 9px 12px;
}

.delivery-address-wrap .form-input::placeholder { color: rgba(255,255,255,0.35); }

.delivery-address-wrap .form-input:focus,
.delivery-address-wrap .form-select:focus {
  border-color: var(--yellow-400);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
  background: rgba(255,255,255,0.15);
}

.delivery-address-wrap .form-row { gap: 0.75rem; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 1.5rem;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--yellow-400);
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--yellow-400), var(--orange-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  white-space: nowrap;
}

.site-nav a:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); }
.site-nav a.active { background: rgba(255,255,255,0.1); color: var(--yellow-400); }

/* ─── Layout ─── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeUp 0.5s ease;
}

.page-full { max-width: 100%; padding: 0; }

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

.page-header { margin-bottom: 2rem; }

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--neutral-900);
}

.page-header p {
  font-size: 1rem;
  color: var(--neutral-500);
  margin-top: 4px;
  max-width: 520px;
}

/* ─── Cards ─── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-header h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.card-header h3 { font-size: 1rem; font-weight: 600; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: white;
  box-shadow: 0 2px 12px rgba(255, 107, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: var(--neutral-100); color: var(--neutral-700); }
.btn-secondary:hover { background: var(--neutral-200); }

.btn-ghost { color: var(--neutral-500); padding: 8px 12px; }
.btn-ghost:hover { background: var(--neutral-100); color: var(--neutral-700); }
.btn-ghost.active { background: var(--black); color: var(--yellow-400); }

.btn-danger { background: #FEE2E2; color: #DC2626; }
.btn-danger:hover { background: #FECACA; }

.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--black);
  box-shadow: 0 2px 12px rgba(245, 197, 24, 0.35);
}

.btn-yellow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.4);
}

/* ─── Forms ─── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--neutral-900);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.form-input::placeholder { color: var(--neutral-400); }

.form-textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Table ─── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--neutral-200); }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

thead { background: var(--neutral-100); }

th {
  text-align: left;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-500);
  border-bottom: 1px solid var(--neutral-200);
}

td { padding: 11px 14px; border-bottom: 1px solid var(--neutral-100); color: var(--neutral-700); vertical-align: middle; }

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--neutral-50); }

/* ─── Badge / Status ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-yellow { background: var(--yellow-100); color: var(--yellow-800); }
.badge-orange { background: #FFF0E0; color: var(--orange-700); }
.badge-green { background: #DCFCE7; color: #16A34A; }
.badge-blue { background: #DBEAFE; color: #2563EB; }
.badge-red { background: #FEE2E2; color: #DC2626; }
.badge-gray { background: var(--neutral-100); color: var(--neutral-500); }
.badge-success { background: #DCFCE7; color: #16A34A; }
.badge-danger { background: #FEE2E2; color: #DC2626; }
.badge-warning { background: #FEF3C7; color: #D97706; }

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1rem;
}

.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(8px);
  transition: var(--transition-spring);
}

.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.25rem; }

.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; justify-content: flex-end; flex-wrap: wrap; }

/* ─── Empty State ─── */
.empty-state { text-align: center; padding: 3.5rem 1.5rem; color: var(--neutral-400); }
.empty-state .icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.5; }
.empty-state h3 { font-size: 1.1rem; font-weight: 600; color: var(--neutral-500); margin-bottom: 4px; }
.empty-state p { font-size: 0.875rem; }

/* ─── Menu Grid ─── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  padding: 0 1.5rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
}

.menu-item {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: var(--transition);
  cursor: default;
}

.menu-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.menu-item-img {
  height: 170px;
  background: linear-gradient(135deg, var(--yellow-100), var(--yellow-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.menu-item-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.menu-item-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.05));
}

.menu-item-body { padding: 1.25rem; }

.menu-item-body h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }

.menu-item-body .desc {
  font-size: 0.85rem;
  color: var(--neutral-500);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-item-footer .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange-600);
}

.menu-item-footer .cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-400);
  padding: 4px 10px;
  background: var(--neutral-100);
  border-radius: var(--radius-full);
}

/* ─── Toast ─── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100vw - 3rem);
}

.toast {
  background: var(--black);
  color: var(--yellow-400);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-8px); } }

/* ─── Category Pills ─── */
.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 1.5rem;
  max-width: 1280px;
  margin: 2rem auto 1.5rem;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 500;
  background: white;
  color: var(--neutral-600);
  transition: var(--transition);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}

.cat-pill.active {
  background: var(--black);
  color: var(--yellow-400);
  border-color: var(--black);
  box-shadow: var(--shadow-md);
}

.cat-pill:hover:not(.active) { background: var(--neutral-100); border-color: var(--neutral-300); }

/* ─── Order Bar ─── */
.order-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  font-size: 0.87rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 50;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 215, 0, 0.12);
  white-space: nowrap;
}

.order-bar.visible { opacity: 1; pointer-events: auto; }

.order-bar .count {
  background: var(--orange-500);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

.order-bar .total { font-weight: 700; color: var(--yellow-400); }

/* ─── Cart Panel ─── */
.cart-panel-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-panel-overlay.visible { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 91;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
}
.cart-panel.visible { transform: translateY(0); }

.cart-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--neutral-100);
  flex-shrink: 0;
}
.cart-panel-header h2 { font-size: 1.1rem; margin: 0; }
.cart-panel-header .close-btn {
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--neutral-400); padding: 4px; line-height: 1;
}

.cart-panel-body {
  overflow-y: auto;
  padding: 12px 20px;
  flex: 1;
}

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--neutral-100);
  animation: fadeUp 0.25s ease both;
}
.cart-item:last-child { border-bottom: none; }

.cart-item-emoji { font-size: 1.5rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; }
.cart-item-price { font-size: 0.8rem; color: var(--neutral-400); }

.cart-item-qty {
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.cart-item-qty button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--neutral-200);
  background: white; cursor: pointer;
  font-size: 1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--black);
}
.cart-item-qty button:active { transform: scale(0.9); }
.cart-item-qty .qty-num {
  min-width: 24px; text-align: center; font-weight: 600; font-size: 0.95rem;
}
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--neutral-300); font-size: 1.1rem; padding: 4px;
  transition: var(--transition); line-height: 1;
}
.cart-item-remove:hover { color: #DC2626; }

.cart-panel-footer {
  border-top: 1px solid var(--neutral-100);
  padding: 14px 20px 20px;
  flex-shrink: 0;
}
.cart-panel-total {
  display: flex; justify-content: space-between;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 12px;
}
.cart-panel-actions { display: flex; gap: 10px; }
.cart-panel-actions .btn { flex: 1; }

.cart-empty {
  text-align: center; padding: 2rem 1rem; color: var(--neutral-400);
}

/* ─── QR Code ─── */
.qr-fab {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,215,0,0.15);
  z-index: 45;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.qr-fab:hover { transform: scale(1.1); }

/* ─── Cart FAB ─── */
.cart-fab {
  position: fixed;
  bottom: 10.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow-400);
  color: var(--black);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-fab:active { transform: scale(0.9); }
.cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange-600);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.qr-modal-content {
  text-align: center;
}

.qr-modal-content img {
  display: block;
  margin: 0 auto 1rem;
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.qr-modal-content p {
  font-size: 0.85rem;
  color: var(--neutral-500);
  word-break: break-all;
}

/* ─── Inventory Stats ─── */
.inventory-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
}

.stat-card .label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-400);
}

.stat-card .value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-top: 4px;
}

.stat-card .value.orange { color: var(--orange-500); }
.stat-card .value.red { color: #DC2626; }
.stat-card .value.green { color: #16A34A; }

/* ─── Calculator ─── */
.calc-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.calc-result { position: sticky; top: 84px; }

.cost-item {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--neutral-100);
  font-size: 0.9rem;
}

.cost-item:last-child { border-bottom: none; }
.cost-item .label { color: var(--neutral-600); }
.cost-item .value { font-weight: 600; }

.cost-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  margin-top: 6px;
  border-top: 2px solid var(--neutral-900);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ─── Admin Layout ─── */
.admin-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }

/* ─── Orders ─── */
.orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.order-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.order-card:hover { box-shadow: var(--shadow-md); }

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.order-card-id { font-weight: 700; font-size: 1rem; }
.order-card-time { font-size: 0.78rem; color: var(--neutral-400); }

.order-card-items { font-size: 0.88rem; color: var(--neutral-600); margin-bottom: 8px; line-height: 1.6; }

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

.order-card-total { font-size: 1.05rem; font-weight: 700; color: var(--orange-600); }

.order-card-address {
  font-size: 0.8rem;
  color: var(--neutral-500);
  background: var(--neutral-50);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  line-height: 1.5;
}

.status-select {
  padding: 6px 10px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  outline: none;
  background: white;
  transition: var(--transition);
}

.status-select:focus { border-color: var(--orange-500); }

/* ─── Animations ─── */
@keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.animate-in { animation: scaleIn 0.3s ease; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-header { padding: 0 0.75rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-wrapper { min-height: 480px; }
  .hero { padding: 3rem 1rem; }
  .page { padding: 1.25rem; }
  .page-header h1 { font-size: 1.6rem; }
  .menu-grid { padding: 0 1rem 5rem; gap: 1rem; }
  .cat-pills { padding: 0 1rem; margin: 1.5rem auto 1rem; }
  .service-btn { padding: 8px 20px; font-size: 0.85rem; }
  .logo { font-size: 1.1rem; }
  .logo-icon { width: 30px; height: 30px; font-size: 0.85rem; }
  .order-bar { padding: 10px 16px; gap: 8px; font-size: 0.8rem; }
  .orders-header { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 6px 10px; font-size: 0.76rem; }
  .qr-fab { bottom: 5rem; right: 1rem; width: 42px; height: 42px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-wrapper { min-height: 400px; }
  .hero-emoji { font-size: 2.2rem; }
  .site-nav { gap: 1px; }
  .site-nav a { padding: 5px 8px; font-size: 0.7rem; }
  .menu-grid { grid-template-columns: 1fr; padding: 0 0.75rem 4.5rem; }
  .cat-pills { gap: 6px; }
  .cat-pill { padding: 6px 14px; font-size: 0.78rem; }
  .modal { padding: 1.25rem; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .toast-container { bottom: 1rem; right: 1rem; left: 1rem; max-width: none; }
  .delivery-address-wrap { padding: 1rem; }
  .delivery-address-wrap .form-row { grid-template-columns: 1fr; }
}
