/* ============================================
   SNACKY'S — PREMIUM MENU EXPERIENCE
   ============================================ */

:root {
  /* ── 60% Blanc cassé ──────────────────────── */
  --bg:         #FAF6F1;
  --surface:    #FFFFFF;
  --surface-2:  #F5EDEA;
  --surface-3:  #EDE0E3;
  /* ── 30% Rouge bordeaux ───────────────────── */
  --copper:     #7A1B2F;   /* bordeaux (remplace l'ancienne variable copper) */
  --red:        #7A1B2F;
  --red-deep:   #5E1424;
  --red-hover:  #921E37;
  --red-tint:   #F7EAEC;
  /* ── 10% Or champagne ─────────────────────── */
  --gold:       #C9A84C;
  --gold-light: #D9BC74;
  --gold-dark:  #A88B3A;
  --gold-g:     linear-gradient(135deg, #A88B3A 0%, #D9BC74 50%, #A88B3A 100%);
  /* ── Status ───────────────────────────────── */
  --emerald:    #2E7D56;
  /* ── Texte ────────────────────────────────── */
  --cream:      #FAF6F1;
  --text:       #1C0A10;
  --text-muted: #7A4F5C;
  /* ── Bordures & Verre ─────────────────────── */
  --glass:        rgba(122, 27, 47, 0.03);
  --glass-border: #E8D0D5;
  /* ── Ombres ───────────────────────────────── */
  --shadow-sm:   0 2px 8px rgba(122,27,47,0.08);
  --shadow-md:   0 8px 30px rgba(122,27,47,0.12);
  --shadow-lg:   0 20px 50px rgba(122,27,47,0.15);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.22);
  --shadow-red:  0 4px 20px rgba(122,27,47,0.22);
  /* ── Radius ───────────────────────────────── */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

::selection { background: rgba(122,27,47,0.15); color: var(--red-deep); }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--glass-border) var(--bg);
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

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

/* ─── CUSTOM CURSOR ─────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.15s var(--ease), height 0.15s var(--ease);
}
.cursor.hover { width: 32px; height: 32px; background: var(--gold); }

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(122,27,47,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.cursor-follower.hover { width: 50px; height: 50px; border-color: rgba(201,168,76,0.5); }

/* ─── AMBIENT BACKGROUND ────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: orbFloat 25s ease-in-out infinite;
}

.orb-gold {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

.orb-copper {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, var(--copper) 0%, transparent 70%);
  animation-delay: -8s;
}

.orb-emerald {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  opacity: 0.06;
  animation-delay: -16s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 20px); }
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* ─── PAGE LOADER ───────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 16px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.loader-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.loader-bar {
  width: 160px;
  height: 2px;
  background: var(--glass-border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  animation: loaderFill 1.5s var(--ease) forwards;
}

@keyframes loaderFill { to { width: 100%; } }

/* ─── MENU APP LAYOUT ───────────────────────── */
.menu-app {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── HEADER ────────────────────────────────── */
.menu-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 12px;
}

.brand-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-tag {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(78,202,160,0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.currency-switcher {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.cur-btn {
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  transition: all 0.2s;
  white-space: nowrap;
}

.cur-btn.active {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 2px 8px rgba(122,27,47,0.25);
}

.cur-btn:not(.active):hover {
  background: var(--surface-3);
  color: var(--text);
}

.header-admin {
  padding: 8px 18px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.header-admin:hover {
  background: var(--surface-3);
  color: var(--gold);
  border-color: rgba(201,168,76,0.3);
}

/* ─── MAIN LAYOUT ───────────────────────────── */
.menu-main {
  flex: 1;
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  gap: 0;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* ─── SIDEBAR ───────────────────────────────── */
.menu-sidebar {
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  padding: 24px 20px;
  border-right: 1px solid var(--glass-border);
  background: var(--surface-2);
}

.sidebar-section { margin-bottom: 28px; }

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.category-list, .tag-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.chip:hover {
  background: var(--surface-2);
  border-color: rgba(201,168,76,0.2);
  color: var(--text);
}
.chip.active {
  background: var(--red-tint);
  border-color: rgba(122,27,47,0.3);
  color: var(--red);
}

.tag-list .chip {
  padding: 8px 12px;
  font-size: 0.8rem;
}

.sidebar-info { margin-top: auto; }

.info-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}
.info-icon { font-size: 1.4rem; }
.info-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gold-dark);
}
.info-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── MENU CONTENT ──────────────────────────── */
.menu-content {
  padding: 24px;
  overflow-y: auto;
  height: calc(100vh - 70px);
}

.content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.content-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.content-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: rgba(201,168,76,0.3); }
.search-box svg { color: var(--text-muted); flex-shrink: 0; }
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.85rem;
  width: 140px;
}
.search-box input::placeholder { color: var(--text-muted); }

.filter-select select {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  overflow: hidden;
}

.view-btn {
  padding: 8px 12px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.view-btn.active { background: rgba(201,168,76,0.15); color: var(--gold); }
.view-btn:hover:not(.active) { color: var(--text); }

/* ─── MENU GRID ─────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.menu-grid.list-view {
  grid-template-columns: 1fr;
}

.menu-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  transform-style: preserve-3d;
}
.menu-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.menu-card.active {
  border-color: rgba(201,168,76,0.5);
  box-shadow: var(--shadow-gold);
}

.menu-card .card-shine {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201,168,76,0.06), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.menu-card:hover .card-shine { opacity: 1; }

.card-image {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.menu-card:hover .card-image img { transform: scale(1.08); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.6) 100%);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(122,27,47,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-featured {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.2);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--gold-light);
}

.card-body { padding: 14px; }

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

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* List view */
.menu-grid.list-view .menu-card {
  display: grid;
  grid-template-columns: 160px 1fr;
}
.menu-grid.list-view .card-image { height: 100%; min-height: 120px; }

/* Card animation */
.menu-card {
  opacity: 0;
  transform: translateY(20px);
}
.menu-card.card-visible {
  animation: cardIn 0.4s var(--ease) forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state.hidden { display: none; }
.empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 6px; }
.empty-state p { color: var(--text-muted); font-size: 0.85rem; }

/* ─── DETAIL PANEL ──────────────────────────── */
.menu-detail {
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  padding: 24px 20px;
  border-left: 1px solid var(--glass-border);
  background: var(--surface-2);
}

.detail-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
}

.detail-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  background: rgba(122,27,47,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-body { padding: 20px; }

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

.detail-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.detail-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.detail-tag {
  padding: 5px 12px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gold-light);
}

.detail-info {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-value {
  font-size: 0.8rem;
  color: var(--text);
}

.spice-meter {
  display: flex;
  gap: 4px;
}

.spice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(122,27,47,0.12);
  transition: background 0.2s;
}
.spice-dot.active {
  background: var(--copper);
  box-shadow: 0 0 6px rgba(122,27,47,0.4);
}

.detail-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.detail-action:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Chef picks */
.chef-picks {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.picks-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.picks-title span { color: var(--gold); }

.picks-list { display: grid; gap: 10px; }

.pick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.pick-item:hover {
  background: rgba(201,168,76,0.05);
  border-color: rgba(201,168,76,0.2);
}

.pick-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

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

.pick-name {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick-price {
  font-size: 0.78rem;
  color: var(--gold);
}

/* ─── MODAL ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.open { display: flex; opacity: 1; }

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250,246,241,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text);
}

.modal-image { position: relative; height: 220px; overflow: hidden; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }

.modal-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  background: rgba(122,27,47,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--gold-light);
  text-transform: uppercase;
}

.modal-body { padding: 24px; }

.modal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-price {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-tag {
  padding: 5px 12px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gold-light);
}

.modal-info {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-info > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-action {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
}

/* ─── SIDEBAR TOGGLE (Mobile) ───────────────── */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 500;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg);
  border-radius: 50%;
  box-shadow: var(--shadow-gold);
  align-items: center;
  justify-content: center;
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1200px) {
  .menu-main { grid-template-columns: 220px 1fr 280px; }
}

@media (max-width: 1024px) {
  .menu-main { grid-template-columns: 1fr; }

  .menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 600;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
    height: 100vh;
    border-right: 1px solid var(--glass-border);
    background: var(--bg);
  }
  .menu-sidebar.open { transform: translateX(0); }

  .menu-detail { display: none; }

  .sidebar-toggle { display: flex; }

  .menu-content { height: auto; min-height: calc(100vh - 70px); }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }

  .header-status { display: none; }
  .hwb-text { display: none; }
  .header-waiter-btn { padding: 9px 12px; gap: 0; }

  .content-header { flex-direction: column; align-items: stretch; }
  .content-controls { justify-content: space-between; }

  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .card-image { height: 100px; }
  .card-body { padding: 10px; }
  .card-name { font-size: 0.85rem; }
  .card-price { font-size: 0.9rem; }
  .card-desc { display: none; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }

  .card-image { height: 140px; }
  .card-desc { display: block; }
}

/* ─── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.4); }

/* ═══════════════════════════════════════════════
   MENU TYPE TABS (Food/Drinks)
   ═══════════════════════════════════════════════ */
.menu-type-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 4px;
}

.type-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.3s var(--ease);
}

.type-tab:hover {
  color: var(--text);
  background: var(--surface-3);
}

.type-tab.active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: var(--shadow-gold);
}

.type-tab svg {
  width: 18px;
  height: 18px;
}

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

/* ═══════════════════════════════════════════════
   QUANTITY CONTROLS
   ═══════════════════════════════════════════════ */
.detail-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.quantity-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.modal-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════
   CART — PREMIUM LIGHT THEME
   ═══════════════════════════════════════════════ */

/* ── Toggle Button ── */
/* ══════════════════════════════════════════════════════
   CART — FLOATING BUTTON
   ══════════════════════════════════════════════════════ */
.cart-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #FAF6F1;
  border-radius: 50%;
  box-shadow:
    0 4px 16px rgba(122,27,47,.35),
    0 8px 32px rgba(122,27,47,.18),
    inset 0 1px 0 rgba(255,255,255,.12);
  transition: all 0.35s var(--ease);
  border: none;
}

.cart-toggle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.45);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: scale(0.92);
}

.cart-toggle:hover::before,
.cart-toggle.has-items::before {
  opacity: 1;
  transform: scale(1);
}

.cart-toggle:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow:
    0 8px 24px rgba(122,27,47,.45),
    0 16px 48px rgba(122,27,47,.22),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.cart-toggle.has-items { animation: cartPulse 3s ease-in-out infinite; }

@keyframes cartPulse {
  0%,100% {
    box-shadow: 0 4px 16px rgba(122,27,47,.35), 0 8px 32px rgba(122,27,47,.18), inset 0 1px 0 rgba(255,255,255,.12);
  }
  50% {
    box-shadow: 0 4px 24px rgba(122,27,47,.55), 0 12px 42px rgba(122,27,47,.28), inset 0 1px 0 rgba(255,255,255,.12);
  }
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #A88B3A 0%, #D9BC74 100%);
  color: #1C0A10;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0 6px;
  border: 2.5px solid #FAF6F1;
  opacity: 0;
  transform: scale(.3) rotate(-20deg);
  transition: all 0.45s var(--ease);
  box-shadow: 0 2px 8px rgba(168,139,58,.4);
}

.cart-count.has-items {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ══════════════════════════════════════════════════════
   CART — OVERLAY
   ══════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(28,10,16,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.38s var(--ease);
}

.cart-overlay.open { opacity: 1; visibility: visible; }

/* ══════════════════════════════════════════════════════
   CART — DRAWER SHELL
   ══════════════════════════════════════════════════════ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 100%;
  z-index: 950;
  display: flex;
  flex-direction: column;
  background: #FBF7F2;
  border-left: 1px solid rgba(201,168,76,.18);
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(.32,.72,0,1);
  overflow: hidden;
  box-shadow:
    -2px 0 0 rgba(201,168,76,.12),
    -12px 0 60px rgba(28,10,16,.14),
    -40px 0 100px rgba(28,10,16,.06);
}

/* Gold left accent bar */
.cart-drawer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(168,139,58,.4) 8%,
    #D9BC74 25%,
    #A88B3A 50%,
    #D9BC74 75%,
    rgba(168,139,58,.4) 92%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Warm ambient top glow */
.cart-drawer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(201,168,76,.04) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

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

/* ══════════════════════════════════════════════════════
   CART — HEADER
   ══════════════════════════════════════════════════════ */
.cart-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 20px 28px;
  border-bottom: 1px solid rgba(201,168,76,.14);
  background: linear-gradient(135deg,
    rgba(201,168,76,.07) 0%,
    rgba(201,168,76,.02) 40%,
    transparent 70%
  );
  flex-shrink: 0;
  z-index: 1;
}

.cart-header h3 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.cart-header h3 svg { display: none; }

.cart-title-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: #A88B3A;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cart-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(122,27,47,.04);
  border: 1px solid rgba(122,27,47,.1);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}

.cart-close:hover {
  background: rgba(239,68,68,.08);
  border-color: rgba(239,68,68,.25);
  color: #ef4444;
  transform: rotate(90deg);
}

/* ══════════════════════════════════════════════════════
   CART — TABLE SELECTOR
   ══════════════════════════════════════════════════════ */
/* ── ORDER TYPE SELECTOR ─────────────────────────────────── */
.cart-order-type {
  padding: 14px 20px 12px;
  border-bottom: 1px solid rgba(201,168,76,.1);
  flex-shrink: 0;
  background: rgba(122,27,47,.02);
}
.cart-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  color: #A88B3A;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.cart-section-label svg { color: #A88B3A; flex-shrink: 0; }
.order-type-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.order-type-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(201,168,76,.2);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.order-type-chip:hover {
  border-color: rgba(122,27,47,.3);
  background: rgba(122,27,47,.04);
}
.order-type-chip.active {
  border-color: var(--red);
  background: rgba(122,27,47,.06);
  box-shadow: 0 2px 10px rgba(122,27,47,.12);
}
.otc-icon { font-size: 1.3rem; line-height: 1; }
.otc-label {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
}
.order-type-chip.active .otc-label { color: var(--red); font-weight: 700; }

/* ── DELIVERY ADDRESS ────────────────────────────────────── */
.cart-delivery-address {
  padding: 12px 20px 12px;
  border-bottom: 1px solid rgba(201,168,76,.1);
  flex-shrink: 0;
  background: rgba(122,27,47,.02);
}
.cart-delivery-address textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(201,168,76,.22);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: var(--text);
  resize: none;
  transition: border-color .2s;
  background: #fff;
  line-height: 1.5;
}
.cart-delivery-address textarea:focus {
  outline: none;
  border-color: #D9BC74;
  box-shadow: 0 0 0 3px rgba(201,168,76,.14);
}
.cart-delivery-address textarea::placeholder { color: rgba(122,78,92,.45); }
.cart-delivery-address input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(201,168,76,.22);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: var(--text);
  transition: border-color .2s;
  background: #fff;
}
.cart-delivery-address input[type="tel"]:focus {
  outline: none;
  border-color: #D9BC74;
  box-shadow: 0 0 0 3px rgba(201,168,76,.14);
}
.cart-delivery-address input[type="tel"]::placeholder { color: rgba(122,78,92,.45); }

.cart-table-select {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 28px;
  background: rgba(122,27,47,.03);
  border-bottom: 1px solid rgba(201,168,76,.1);
  flex-shrink: 0;
}

.cart-table-select label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #A88B3A;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-table-select select {
  flex: 1;
  padding: 8px 30px 8px 12px;
  background: #FFFFFF;
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 9px;
  color: var(--text);
  font-size: 0.83rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23A88B3A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 1px 4px rgba(28,10,16,.05);
}

.cart-table-select select option { background: #fff; color: var(--text); }

.cart-table-select select:focus {
  outline: none;
  border-color: #D9BC74;
  box-shadow: 0 0 0 3px rgba(201,168,76,.14), 0 1px 4px rgba(28,10,16,.05);
}

/* ══════════════════════════════════════════════════════
   CART — ITEMS AREA
   ══════════════════════════════════════════════════════ */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 16px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,.2) transparent;
}

.cart-items::-webkit-scrollbar { width: 3px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,.25);
  border-radius: 99px;
}

/* ── Empty state ── */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 240px;
  text-align: center;
  padding: 24px;
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: .3;
  animation: emptyFloat 3.5s ease-in-out infinite;
  filter: grayscale(.3);
}

@keyframes emptyFloat {
  0%,100% { transform: translateY(0) rotate(-4deg) scale(1); }
  50%      { transform: translateY(-12px) rotate(4deg) scale(1.05); }
}

.cart-empty p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.cart-empty span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 220px;
  display: block;
}

/* ── Item card ── */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(201,168,76,.14);
  border-left: 3px solid rgba(201,168,76,.35);
  border-radius: 14px;
  margin-bottom: 8px;
  transition: all .28s var(--ease);
  position: relative;
  animation: itemIn .38s var(--ease) both;
  box-shadow: 0 1px 6px rgba(28,10,16,.05), 0 4px 16px rgba(28,10,16,.03);
}

@keyframes itemIn {
  from { opacity: 0; transform: translateX(20px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.cart-item:hover {
  border-left-color: #D9BC74;
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 2px 12px rgba(28,10,16,.08), 0 8px 24px rgba(201,168,76,.08);
  transform: translateX(-3px);
}

.cart-item-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,.15);
  box-shadow: 0 2px 8px rgba(28,10,16,.1);
}

.cart-item-img-ph {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F5EFE6, #EDE3D5);
  border: 1px solid rgba(201,168,76,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 24px;
  letter-spacing: -.01em;
}

.cart-item-unit {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: #F5EFE6;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 999px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
  transition: all .18s;
  flex-shrink: 0;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: rgba(168,139,58,.18);
  color: #7A5E1A;
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  padding: 0 2px;
  letter-spacing: -.01em;
}

.cart-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
  letter-spacing: -.02em;
}

.cart-item-remove {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(122,79,92,.25);
  border-radius: 50%;
  transition: all .2s;
}

.cart-item-remove svg { width: 13px; height: 13px; }

.cart-item-remove:hover {
  color: #ef4444;
  background: rgba(239,68,68,.1);
  transform: scale(1.15);
}

/* ══════════════════════════════════════════════════════
   CART — FOOTER
   ══════════════════════════════════════════════════════ */
.cart-footer {
  border-top: 1px solid rgba(201,168,76,.14);
  background: linear-gradient(180deg, #F5EDE3 0%, #F0E6D8 100%);
  flex-shrink: 0;
  padding: 0;
}

/* Summary */
.cart-summary {
  padding: 16px 20px 14px 24px;
  border-bottom: 1px solid rgba(201,168,76,.14);
}

.cart-subtotal,
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-subtotal {
  padding: 3px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-subtotal span:last-child {
  color: var(--text);
  font-weight: 600;
}

.cart-total {
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid rgba(201,168,76,.2);
  position: relative;
}

.cart-total::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.3) 30%, rgba(201,168,76,.3) 70%, transparent);
}

.cart-total span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cart-total span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.02em;
}

/* Promo code */
.cart-promo {
  display: flex;
  gap: 8px;
  padding: 10px 20px 10px 24px;
  border-bottom: 1px solid rgba(201,168,76,.12);
}

.cart-promo input {
  flex: 1;
  padding: 9px 12px;
  background: #FFFFFF;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 9px;
  color: var(--text);
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(28,10,16,.04);
}

.cart-promo input::placeholder {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  opacity: .7;
}

.cart-promo input:focus {
  outline: none;
  border-color: #D9BC74;
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}

.cart-promo-btn {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 9px;
  color: #A88B3A;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
}

.cart-promo-btn:hover {
  background: rgba(201,168,76,.1);
  border-color: #A88B3A;
  color: #7A5E1A;
}

/* Notes */
.cart-notes {
  padding: 10px 20px 4px 24px;
}

.cart-notes textarea {
  width: 100%;
  padding: 9px 12px;
  background: #FFFFFF;
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  resize: none;
  min-height: 48px;
  line-height: 1.7;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(28,10,16,.04);
}

.cart-notes textarea:focus {
  outline: none;
  border-color: #D9BC74;
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}

.cart-notes textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
  opacity: .7;
}

/* Payment chips */
.cart-payment-method {
  padding: 10px 20px 8px 24px;
  border-top: 1px solid rgba(201,168,76,.12);
  display: block;
}

.cart-payment-method > label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #A88B3A;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.cart-payment-method > label svg { color: #A88B3A; }

.cart-payment-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(201,168,76,.2);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .22s var(--ease);
  line-height: 1;
  backdrop-filter: blur(4px);
}

.pay-chip:hover {
  border-color: rgba(201,168,76,.5);
  color: #7A5E1A;
  background: rgba(201,168,76,.08);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201,168,76,.15);
}

.pay-chip.active {
  background: linear-gradient(135deg, rgba(201,168,76,.18), rgba(217,188,116,.12));
  border-color: #C9A84C;
  color: #6A4E14;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(201,168,76,.2);
}

#paymentMethodSelect { display: none; }

/* Action buttons */
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 20px 22px 20px;
}

.cart-order-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: .02em;
  background: var(--red);
  color: #FAF6F1;
  box-shadow:
    0 4px 18px rgba(122,27,47,.35),
    0 8px 32px rgba(122,27,47,.18),
    inset 0 1px 0 rgba(255,255,255,.1);
  transition: all .32s var(--ease);
  position: relative;
  overflow: hidden;
  border: none;
}

/* Shimmer sweep on hover */
.cart-order-btn::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: none;
  opacity: 0;
}

.cart-order-btn:hover:not(:disabled)::before {
  opacity: 1;
  transform: skewX(-20deg) translateX(400%);
  transition: transform .7s ease;
}

.cart-order-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,.6) 30%, rgba(217,188,116,.8) 50%, rgba(201,168,76,.6) 70%, transparent 100%);
  opacity: .7;
}

.cart-order-btn:hover:not(:disabled) {
  background: #921E37;
  box-shadow:
    0 6px 24px rgba(122,27,47,.45),
    0 12px 40px rgba(122,27,47,.25),
    inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.cart-order-btn:active:not(:disabled) {
  transform: translateY(0) scale(.98);
}

.cart-order-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}

/* ══ HEADER WAITER BUTTON ══════════════════════════════════ */
.header-waiter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(201,168,76,.45);
  background: linear-gradient(135deg, rgba(201,168,76,.18) 0%, rgba(201,168,76,.08) 100%);
  color: #C9A84C;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .01em;
  margin-left: auto;
  white-space: nowrap;
  transition: all .22s cubic-bezier(.16,1,.3,1);
  overflow: visible;
  animation: hwbGlow 2.8s ease-in-out infinite;
}
.header-waiter-btn svg { flex-shrink: 0; }
.header-waiter-btn:hover {
  background: linear-gradient(135deg, rgba(201,168,76,.32) 0%, rgba(201,168,76,.16) 100%);
  border-color: rgba(201,168,76,.7);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(201,168,76,.3);
  color: #D9BC74;
}
.header-waiter-btn:active { transform: translateY(0) scale(.97); }

/* Anneau pulsant */
.hwb-ring {
  pointer-events: none;
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1.5px solid rgba(201,168,76,.55);
  animation: hwbRing 2.8s ease-out infinite;
}

@keyframes hwbRing {
  0%   { transform: scale(1);    opacity: .75; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
@keyframes hwbGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  50%      { box-shadow: 0 0 12px 3px rgba(201,168,76,.18); }
}

/* Caché en mode livraison */
.header-waiter-btn.hidden { display: none; }

/* ══ */
.cart-waiter-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(122,27,47,.14);
  color: var(--text-muted);
  transition: all .22s;
  letter-spacing: .01em;
}

.cart-waiter-btn:hover {
  border-color: rgba(122,27,47,.35);
  color: var(--red);
  background: rgba(122,27,47,.04);
}

/* ═══════════════════════════════════════════════
   CARD ADD BUTTON
   ═══════════════════════════════════════════════ */
.card-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: var(--bg);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-gold);
  z-index: 10;
}

.menu-card:hover .card-add-btn {
  opacity: 1;
  transform: scale(1);
}

.card-add-btn:hover {
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s var(--ease);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.toast-success .toast-icon {
  background: rgba(78,202,160,0.15);
  color: var(--emerald);
}

.toast-error .toast-icon {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
}

.toast-info .toast-icon {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

.toast-message {
  font-size: 0.9rem;
  color: var(--text);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE UPDATES
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* ── Header shell ── */
  .menu-header {
    padding: 0;
    border-bottom: none;
    background: rgba(250,246,241,0.96);
    box-shadow: 0 1px 0 rgba(201,168,76,.15), 0 4px 24px rgba(28,10,16,.06);
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-width: 100%;
  }

  /* ── Row 1 : brand ── */
  .header-brand {
    order: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 12px;
    background: linear-gradient(135deg,
      rgba(201,168,76,.06) 0%,
      rgba(122,27,47,.02) 60%,
      transparent 100%);
    border-bottom: 1px solid rgba(201,168,76,.12);
  }

  /* Le bouton serveur se place dans la row brand (order:1), collé à droite */
  .header-waiter-btn {
    flex-shrink: 0;
  }

  /* Slightly bigger icon on mobile */
  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(122,27,47,.22);
  }

  .brand-name { font-size: 1.2rem; }
  .brand-tag  { font-size: 0.68rem; letter-spacing: .07em; }

  /* ── Row 2 : category tabs ── */
  .menu-type-tabs {
    order: 2;
    display: flex;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid rgba(201,168,76,.12);
  }

  .menu-type-tabs::-webkit-scrollbar { display: none; }

  .type-tab {
    flex: 1;
    min-width: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 8px 8px;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    letter-spacing: .02em;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .25s, border-color .25s;
  }

  .type-tab span:first-child {
    font-size: 1.5em;
    line-height: 1;
  }

  .type-tab:hover {
    background: transparent;
    color: var(--text);
  }

  .type-tab.active {
    color: var(--red);
    background: transparent;
    box-shadow: none;
    border-bottom-color: var(--gold);
  }

  .header-right { display: none; }
}

@media (max-width: 768px) {
  .menu-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .cart-toggle {
    bottom: 90px;
    width: 54px;
    height: 54px;
  }

  .cart-drawer {
    width: 100%;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 160px;
  }

  .toast {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cart-table-select {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-payment-chips {
    gap: 5px;
  }

  .pay-chip {
    font-size: 0.72rem;
    padding: 5px 9px;
  }
}
