/* ═══════════════════════════════════════════════════════════════
   BẾP VIỆT PREMIUM — styles.css
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg-deep:        #08080d;
  --bg-card:        #0f0f17;
  --bg-card2:       #14141e;
  --bg-card3:       #1a1a26;
  --gold:           #e8a838;
  --gold-light:     #f5c96a;
  --gold-dim:       rgba(232,168,56,0.12);
  --gold-dim2:      rgba(232,168,56,0.06);
  --orange:         #f07030;
  --orange-dim:     rgba(240,112,48,0.12);
  --red-tag:        #d42828;
  --text-primary:   #f0e8d8;
  --text-secondary: #9a8a6a;
  --text-muted:     #504840;
  --border:         rgba(232,168,56,0.13);
  --border-hover:   rgba(232,168,56,0.32);
  --radius:         14px;
  --radius-sm:      8px;
  --radius-xs:      5px;
  --shadow:         0 4px 24px rgba(0,0,0,0.5);
  --shadow-card:    0 2px 12px rgba(0,0,0,0.4);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--bg-deep) 70%, rgba(8,8,13,0.82));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo-block { text-align: center; flex: 1; }
.logo-flame  { font-size: 20px; line-height: 1; margin-bottom: 2px; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-slogan {
  font-size: 9.5px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.header-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.header-btn:hover { background: var(--border); border-color: var(--border-hover); }

/* ══════════════════════════════════════════
   CATEGORY BAR
══════════════════════════════════════════ */
.cat-bar-wrap {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 71px;
  z-index: 90;
}
.cat-bar {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.cat-btn .cat-icon { font-size: 14px; }
.cat-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--gold-dim2);
}
.cat-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-color: transparent;
  color: #1a0800;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(232,168,56,0.35);
}

/* ══════════════════════════════════════════
   MAIN
══════════════════════════════════════════ */
.site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 16px 100px;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 13.5px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 28px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

/* ── FLAME DECO ── */
.flame-deco {
  text-align: center;
  padding: 18px 0 4px;
  font-size: 26px;
  animation: flicker 2.5s ease-in-out infinite alternate;
}
@keyframes flicker {
  0%   { opacity: 0.5; transform: scale(1)   rotate(-1deg); }
  100% { opacity: 0.8; transform: scale(1.06) rotate(1deg); }
}

/* ══════════════════════════════════════════
   BEST SELLER GRID
══════════════════════════════════════════ */
.bs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}
@media (max-width: 500px) {
  .bs-grid { grid-template-columns: repeat(2, 1fr); }
  .bs-grid .bs-card:nth-child(3) { display: none; }
}

.bs-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
.bs-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 28px rgba(232,168,56,0.18);
}
.bs-card:active { transform: scale(0.98); }

.bs-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card2);
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.bs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bs-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,8,13,0.7) 100%);
}

.bs-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #d42828, #a01818);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 100px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.bs-info {
  padding: 9px 10px 11px;
}
.bs-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.bs-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

/* ══════════════════════════════════════════
   MENU LIST (Horizontal Cards)
══════════════════════════════════════════ */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.menu-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.22s;
  position: relative;
}
.menu-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card2);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}
.menu-card:active { transform: scale(0.99); }
.menu-card.inactive { opacity: 0.38; pointer-events: none; }

.menu-thumb {
  width: 105px;
  min-width: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card2);
  font-size: 40px;
  position: relative;
  overflow: hidden;
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-thumb .inactive-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(40,40,40,0.9);
  color: #888;
  font-size: 8.5px;
  padding: 2px 6px;
  border-radius: 100px;
  font-weight: 600;
}

.menu-body {
  flex: 1;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.menu-name-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}
.menu-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.tag-bs {
  background: linear-gradient(135deg, #d42828, #a01818);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.menu-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}
.menu-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--gold);
}
.menu-cta {
  font-size: 10.5px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: all 0.18s;
  flex-shrink: 0;
}
.menu-card:hover .menu-cta {
  color: var(--gold);
  border-color: var(--gold-dim);
}

/* ── BADGE CHIPS ── */
.badge-row {
  display: flex;
  gap: 4px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.chip {
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 100px;
  border: 1px solid;
  font-weight: 500;
}
.chip-spicy  { color: #e05030; border-color: rgba(224,80,48,.35); background: rgba(224,80,48,.08); }
.chip-hot    { color: #d48020; border-color: rgba(212,128,32,.35); background: rgba(212,128,32,.08); }
.chip-fresh  { color: #28a860; border-color: rgba(40,168,96,.35);  background: rgba(40,168,96,.08);  }
.chip-special{ color: var(--gold); border-color: var(--border);    background: var(--gold-dim2); }
.chip-new    { color: #5090e0; border-color: rgba(80,144,224,.35); background: rgba(80,144,224,.08);}
.chip-vegan  { color: #60b840; border-color: rgba(96,184,64,.35);  background: rgba(96,184,64,.08); }

/* ══════════════════════════════════════════
   MODAL / BOTTOM SHEET
══════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: flex-end;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal-sheet {
  width: 100%;
  max-width: 860px;
  background: var(--bg-card);
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
  animation: slideUp 0.38s cubic-bezier(0.34,1.46,0.64,1);
}
.modal-sheet::-webkit-scrollbar { display: none; }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-handle {
  width: 36px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ── CAROUSEL ── */
.modal-media { position: relative; }
.modal-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.modal-carousel::-webkit-scrollbar { display: none; }
.modal-img-slot {
  width: 100%;
  min-width: 100%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card2);
  font-size: 80px;
  overflow: hidden;
  position: relative;
}
.modal-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--bg-card));
}

.modal-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 8px 0 2px;
}
.modal-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.2s;
}
.modal-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8,8,13,0.65);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(232,168,56,0.2); border-color: var(--border-hover); }

/* ── MODAL BODY ── */
.modal-body { padding: 18px 20px 32px; }
.modal-tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.modal-badge {
  font-size: 11px;
  padding: 4px 11px;
  border-radius: 100px;
  font-weight: 500;
  border: 1px solid;
}
.mbadge-spicy  { color: #e05030; border-color: rgba(224,80,48,.4);  background: rgba(224,80,48,.09);  }
.mbadge-hot    { color: #d48020; border-color: rgba(212,128,32,.4); background: rgba(212,128,32,.09); }
.mbadge-fresh  { color: #28a860; border-color: rgba(40,168,96,.4);  background: rgba(40,168,96,.09);  }
.mbadge-special{ color: var(--gold); border-color: var(--border);   background: var(--gold-dim2);      }
.mbadge-new    { color: #5090e0; border-color: rgba(80,144,224,.4); background: rgba(80,144,224,.09); }
.mbadge-vegan  { color: #60b840; border-color: rgba(96,184,64,.4);  background: rgba(96,184,64,.09);  }
.mbadge-bs     { background: linear-gradient(135deg,#d42828,#a01818); color:#fff; border-color:transparent; }

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 6px;
}
.modal-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
}
.modal-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}
.modal-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-line;
}

/* ══════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

/* ══════════════════════════════════════════
   TOAST
══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #1a0800;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 100px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.28s, transform 0.28s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(232,168,56,0.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ══════════════════════════════════════════
   ADMIN — General
══════════════════════════════════════════ */
.admin-page { background: var(--bg-deep); min-height: 100vh; }

.admin-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold);
  flex: 1;
}
.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.atab {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 12.5px;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.atab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.atab.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.admin-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 16px 80px;
}
.admin-section { display: none; }
.admin-section.show { display: block; }
.admin-section-title {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
}

/* ── FORM ── */
.admin-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) {
  .form-row.three { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label.form-label {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.4px;
}

input[type="text"],
input[type="number"],
input[type="tel"],
select,
textarea {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  padding: 9px 12px;
  outline: none;
  width: 100%;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,168,56,0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select option { background: #1a1a2a; color: var(--text-primary); }
textarea { resize: vertical; min-height: 80px; line-height: 1.6; }

.check-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px 0 12px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.check-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 20px;
  border-radius: 100px;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #1a0800;
  box-shadow: 0 2px 12px rgba(232,168,56,0.3);
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(232,168,56,0.4); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--border-hover); color: var(--text-primary); }
.btn-danger {
  background: rgba(212,40,40,0.12);
  border: 1px solid rgba(212,40,40,0.28);
  color: #e03030;
}
.btn-danger:hover { background: rgba(212,40,40,0.22); }
.btn-sm { padding: 5px 12px; font-size: 11.5px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── ADMIN LIST ITEMS ── */
.admin-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.18s;
}
.admin-item:hover { border-color: var(--border-hover); }
.admin-thumb {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  overflow: hidden;
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-item-info { flex: 1; min-width: 0; }
.admin-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-item-meta { font-size: 11.5px; color: var(--text-secondary); }
.admin-item-meta .meta-price { color: var(--gold); font-weight: 700; }
.admin-item-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── TOGGLE ── */
.toggle-wrap { display: flex; align-items: center; gap: 6px; }
.toggle {
  position: relative;
  width: 40px;
  height: 22px;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: 0.28s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: 0.28s;
}
.toggle input:checked + .toggle-slider {
  background: var(--gold-dim);
  border-color: var(--gold);
}
.toggle input:checked + .toggle-slider::before {
  left: 21px;
  background: var(--gold);
}
.toggle-label { font-size: 10.5px; color: var(--text-muted); }

/* ── DRAG HANDLE (Category reorder) ── */
.drag-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: grab;
  transition: all 0.18s;
  user-select: none;
}
.drag-item:hover { border-color: var(--border-hover); }
.drag-item.dragging {
  opacity: 0.5;
  border-color: var(--gold);
  cursor: grabbing;
}
.drag-icon { font-size: 22px; }
.drag-name { font-size: 13.5px; font-weight: 600; flex: 1; }
.drag-count { font-size: 11.5px; color: var(--text-muted); }
.drag-handle { font-size: 16px; color: var(--text-muted); }

/* ── SEARCH BAR ── */
.search-wrap {
  position: relative;
  margin-bottom: 12px;
}
.search-wrap input {
  padding-left: 36px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
@media (max-width: 500px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 10.5px; color: var(--text-muted); font-weight: 500; }

/* ── FILTER BAR (admin food list) ── */
.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-btn {
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 11.5px;
  color: var(--text-secondary);
  transition: all 0.18s;
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   SCROLLBAR (desktops)
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 400px) {
  .menu-thumb { width: 90px; min-width: 90px; font-size: 34px; }
  .menu-name { font-size: 12.5px; }
  .modal-title { font-size: 19px; }
  .modal-price { font-size: 20px; }
}

/* ══════════════════════════════════════════
   MEDIA UPLOAD — Admin image/video upload
══════════════════════════════════════════ */
.upload-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  transition: all 0.2s;
  margin-top: 6px;
  text-align: center;
}
.upload-area:hover,
.upload-area.dragover {
  border-color: var(--gold);
  color: var(--text-secondary);
  background: var(--gold-dim2);
}
.upload-area .upload-icon { font-size: 22px; }

.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.img-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card2);
}
.img-preview-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.img-preview-item video {
  width: 100%; height: 100%; object-fit: cover;
}
.img-preview-item .img-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0,0,0,0.7);
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.img-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212,40,40,0.9);
  color: #fff;
  border: none;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
  line-height: 1;
}
.img-delete-btn:hover { transform: scale(1.15); }

.upload-progress {
  margin-top: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-deep);
  overflow: hidden;
  display: none;
}
.upload-progress.show { display: block; }
.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 2px;
  transition: width 0.3s;
  width: 0%;
}

/* ── Menu card with real images ── */
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* Admin thumb with real images */
.admin-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 10px;
}
