:root {
  /* پالت برند Pizza Amo: فیروزه‌ای (رنگ غالب، هماهنگ با لوگو) + نارنجی + قرمز گوجه‌ای، با قهوه‌ای/رزگلد به‌عنوان لهجه‌ی دوم روی زمینه‌ی کرم */
  --orange: #f8991d;
  --orange-light: #fab965;
  --orange-dark: #c81d25;
  --teal: #804e49;
  --teal-light: #aa716f;
  --teal-dark: #6c423e;
  --navy: #03a79d;
  --navy-light: #4ec1ba;
  --cream: #f4efef;
  --cream-deep: #ded9d9;
  --card: #faf7f7;
  --muted: #8c5f5b;
  --danger: #c81d25;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(3, 167, 157, 0.14);
  --shadow-lg: 0 16px 36px rgba(3, 167, 157, 0.20);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background-color: var(--cream);
  /* subtle dotted texture — kept faint so it never competes with content */
  background-image: radial-gradient(rgba(3, 167, 157, .05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--navy);
  direction: rtl;
  position: relative;
  overflow-x: hidden;
}

/* ---------- soft gradient glow behind everything — static, not animated ---------- */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: .12;
  pointer-events: none;
}

body::before {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle at 30% 30%, var(--orange-light), var(--orange) 60%, transparent 75%);
}

body::after {
  width: 480px;
  height: 480px;
  bottom: -220px;
  left: -160px;
  background: radial-gradient(circle at 60% 40%, var(--navy-light), var(--navy) 55%, transparent 75%);
}

.topbar, .container { position: relative; z-index: 1; }

/* ---------- topbar ---------- */
.topbar {
  background: linear-gradient(115deg, var(--navy), var(--navy-light));
  color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* checkerboard strip accent under the topbar, classic pizzeria tablecloth motif */
.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 8px;
  background: repeating-conic-gradient(var(--orange) 0% 25%, var(--cream) 0% 50%) 0 0 / 16px 16px;
}

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

.brand > div { min-width: 0; }

.brand .topbar-logo {
  height: 50px;
  width: auto;
  display: block;
  transition: transform .35s var(--ease);
}

.brand .topbar-logo:hover { transform: scale(1.06); }

.admin-panel-label {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  opacity: .85;
  white-space: nowrap;
}

.brand h1 {
  margin: 0;
  font-family: 'Baloo Bhaijaan 2', 'Baloo 2', 'Vazirmatn', Tahoma, sans-serif;
  font-size: 21px;
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
}

.brand h1 .title-text {
  color: #fff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand h1 .title-text {
    background: linear-gradient(90deg, #fff, #ffcf9e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.brand span {
  display: block;
  font-size: 12px;
  color: #c9cddb;
  font-weight: 400;
}

.topbar nav a {
  position: relative;
  color: #dfe3ee;
  text-decoration: none;
  margin-inline-start: 18px;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .25s, background .25s;
}

.topbar nav a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  z-index: -1;
  transition: opacity .3s;
}

.topbar nav a:hover, .topbar nav a.active {
  color: #fff;
}

.topbar nav a:hover::after, .topbar nav a.active::after {
  opacity: .28;
}

@media (max-width: 900px) {
  .topbar-inner {
    flex-wrap: nowrap;
    padding: 9px 14px;
    gap: 8px;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
  }
  .brand .topbar-logo {
    height: 38px;
  }
  .brand h1 {
    flex-wrap: nowrap;
    font-size: 16px;
  }
  .brand span {
    font-size: 10.5px;
  }
  .topbar nav {
    flex: 0 0 auto;
    display: flex;
  }
  .topbar nav a {
    margin-inline-start: 6px;
    padding: 6px 11px;
    font-size: 12.5px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .brand { gap: 6px; }
  .brand .topbar-logo { height: 32px; }
  .brand h1 { font-size: 14px; gap: 2px; }
  .brand span { font-size: 9.5px; }
  .topbar nav a {
    margin-inline-start: 4px;
    padding: 5px 9px;
    font-size: 11.5px;
  }
}

@media (max-width: 340px) {
  .brand span { display: none; }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

/* ---------- section tabs ---------- */
.section-tabs {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  width: fit-content;
  margin: 26px auto 34px;
  animation: dropIn .6s var(--ease) both;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-tabs button {
  border: none;
  background: transparent;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  transition: color .25s, transform .2s;
}

.section-tabs button:hover:not(.active) {
  color: var(--orange-dark);
  transform: translateY(-1px);
}

.section-tabs button.active {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(239, 138, 61, .4);
}

/* ---------- category bar (chips + more button) — full-bleed dark strip, inspired by Aura's menu ---------- */
.category-bar {
  position: sticky;
  top: var(--topbar-h, 84px);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  padding: 12px max(20px, calc((100% - 1080px) / 2 + 20px));
  margin: 0 0 26px;
  box-shadow: 0 4px 16px rgba(3, 167, 157, .1);
}

.cat-more-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease);
  white-space: nowrap;
}

.cat-more-btn:hover { transform: translateY(-1px); }

.cat-more-icon { font-size: 14px; opacity: .9; }

.chip-scroller {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
}

.chip-scroller::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: rgba(255, 255, 255, .08);
  color: #dfe3ee;
  padding: 8px 15px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, transform .18s var(--ease);
}

.chip:hover { transform: translateY(-1px); color: #fff; }

.chip.active {
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  font-weight: 600;
}

.chip-icon { font-size: 16px; }

/* ---------- toolbar row (view toggle) ---------- */
.toolbar-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.view-toggle {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  padding: 5px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.view-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.view-toggle button:hover:not(.active) { color: var(--orange-dark); }

.view-toggle button.active {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 4px 10px rgba(3, 167, 157, .18);
}

/* ---------- categories overlay (bottom sheet) ---------- */
.categories-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(3, 167, 157, .45);
  backdrop-filter: blur(2px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

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

.categories-sheet {
  width: 100%;
  max-width: 640px;
  max-height: 78vh;
  background: var(--cream);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg);
  padding: 10px 22px 26px;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}

.categories-overlay.open .categories-sheet {
  transform: translateY(0);
}

.sheet-drag {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #e2ddd0;
  margin: 8px auto 14px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-header h3 {
  margin: 0;
  font-size: 16px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(13,159,164,.06);
  transition: background .2s, color .2s;
}

.icon-btn:hover { background: var(--orange); color: #fff; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: #fff;
  border-radius: 16px;
  padding: 16px 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(13,159,164,.05);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}

.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: #fff7ee;
}

.cat-tile-icon {
  font-size: 26px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1d9c0, #ffe6cf);
}

.cat-tile-label {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
}

/* ---------- category blocks ---------- */
.category-block {
  margin-bottom: 38px;
  animation: fadeInUp .6s var(--ease) both;
  scroll-margin-top: 90px;
}

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

.category-header {
  margin-bottom: 16px;
  scroll-margin-top: 165px;
  text-align: center;
}

.category-header-icon {
  font-size: 15px;
  margin-inline-end: 6px;
  opacity: .8;
}

.category-header h2 {
  display: inline-flex;
  align-items: center;
  font-family: 'Baloo Bhaijaan 2', 'Baloo 2', 'Vazirmatn', Tahoma, sans-serif;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange-light);
}

.category-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* list mode (default): one item per row, stacked */
.items-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* grid mode: two items side by side */
.items-grid.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ---------- item cards — full-bleed photo with overlaid info, inspired by Aura's menu ---------- */
.item-card {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: fadeInUp .55s var(--ease) both;
  will-change: transform;
}

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

.item-card .thumb {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.item-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.item-card:hover .thumb img { transform: scale(1.05); }

.item-card .thumb .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 45%),
    linear-gradient(135deg, var(--cream-deep), #eecfa0);
}

.item-card .thumb .placeholder::before {
  content: '🍕';
  font-size: 30px;
  opacity: .28;
  transform: rotate(-14deg);
  color: var(--navy);
}

/* soft cream fade at the bottom so the overlaid text stays legible on any photo */
.item-card .scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, var(--cream) 0%, rgba(248, 236, 214, .85) 42%, rgba(248, 236, 214, 0) 75%);
  pointer-events: none;
}

.item-card .body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.item-card .body-top {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.item-card h3 {
  margin: 0;
  font-family: 'Baloo Bhaijaan 2', 'Baloo 2', 'Vazirmatn', Tahoma, sans-serif;
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
}

.item-card .ingredients {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-stack {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.item-card .price {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Baloo Bhaijaan 2', 'Baloo 2', 'Vazirmatn', Tahoma, sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(3, 167, 157, .18);
}

.item-card.unavailable { opacity: .55; }

.badge-unavailable {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--danger);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
}

/* grid mode: two cards side by side, more compact text */
.items-grid.grid-2 .item-card {
  aspect-ratio: 1 / 1;
}

.items-grid.grid-2 .item-card .body {
  padding: 10px 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.items-grid.grid-2 .item-card .price-stack {
  align-items: flex-start;
}

.items-grid.grid-2 .item-card h3 {
  font-size: 13px;
}

.items-grid.grid-2 .item-card .ingredients {
  font-size: 10.5px;
  -webkit-line-clamp: 1;
}

.items-grid.grid-2 .item-card .price {
  font-size: 11.5px;
  padding: 4px 10px;
}

.items-grid.grid-2 .badge-unavailable {
  font-size: 9.5px;
  padding: 3px 8px;
  top: 8px;
  inset-inline-start: 8px;
}

/* ---------- floating scroll-to-top button ---------- */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 30;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover { background: var(--navy-light); }

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  animation: fadeInUp .5s var(--ease) both;
}

/* simple shimmer for loading text */
.empty-state.loading {
  color: var(--muted);
  animation: shimmer 1.4s linear infinite;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .empty-state.loading {
    background: linear-gradient(90deg, var(--muted) 25%, #cfd3dc 50%, var(--muted) 75%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Admin ---------- */
.admin-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  align-items: start;
}

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

.panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: box-shadow .3s;
  animation: fadeInUp .5s var(--ease) both;
}

.panel:hover { box-shadow: var(--shadow-lg); }

.panel h2 {
  margin-top: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #e6e1d8;
  font-family: inherit;
  font-size: 14px;
  background: #fdfbf8;
  transition: border-color .2s, box-shadow .2s, transform .1s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(239, 138, 61, .14);
}
.field textarea { resize: vertical; min-height: 70px; }

/* ---------- modern select / dropdown ---------- */
.field select, .select-modern {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-inline-end: 38px;
  background-color: #fdfbf8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238c5f5b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  border: 1.5px solid #e6e1d8;
  font-family: inherit;
  font-size: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-inline-start: 12px;
  transition: border-color .2s, box-shadow .2s, transform .1s;
}
.field select:hover, .select-modern:hover {
  border-color: var(--orange-light);
  background-color: #fff;
}
.field select:focus, .select-modern:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(239, 138, 61, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef8a3d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.field select option, .select-modern option {
  font-family: inherit;
  padding: 8px;
}

.toolbar-select {
  max-width: 220px;
  background-color: #fff;
}

.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }

.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 18px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .25s;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 5px 12px rgba(239, 138, 61, .2);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 6px 15px rgba(239, 138, 61, .28); transform: translateY(-1px); }

.btn-secondary { background: #eef0f5; color: var(--navy); }
.btn-secondary:hover { background: #e2e5ee; transform: translateY(-1px); }

.btn-danger { background: #fdeceb; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; transform: translateY(-1px); }

.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }

.list-table {
  width: 100%;
  border-collapse: collapse;
}
.list-table th {
  text-align: right;
  font-size: 12.5px;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 2px solid #f1ede4;
}
.list-table tr td {
  transition: background .2s;
}
.list-table tbody tr:hover td {
  background: #fdf8f1;
}
.list-table td {
  padding: 10px;
  border-bottom: 1px solid #f4f1ea;
  font-size: 14px;
  vertical-align: middle;
}
.list-table img.thumb-sm {
  width: 44px; height: 44px; object-fit: cover; border-radius: 8px;
  transition: transform .25s;
}
.list-table tbody tr:hover img.thumb-sm { transform: scale(1.12); }
.actions-cell { display: flex; gap: 6px; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.tag-restaurant { background: #fdece0; color: var(--orange-dark); }
.tag-cafe { background: #e0f4f2; color: #027d75; }
.tag-off { background: #fdeceb; color: var(--danger); }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(.92);
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.toast.error { background: linear-gradient(120deg, var(--danger), #c2453b); }

.image-preview {
  width: 100%;
  height: 130px;
  border-radius: 12px;
  border: 1.5px dashed #ddd4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fbf7f0;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  transition: border-color .25s, background .25s;
}
.image-preview:hover { border-color: var(--orange); }
.image-preview img { width: 100%; height: 100%; object-fit: cover; animation: fadeInUp .35s var(--ease) both; }

/* stagger helper: JS sets --i on each card for a cascading entrance */
.item-card, .category-block, .panel {
  animation-delay: calc(var(--i, 0) * 60ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  body::before, body::after { display: none; }
}

/* ===== splash / landing screen ===== */
.splash-screen {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  background-image: linear-gradient(180deg, var(--navy), var(--navy-light));
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
  opacity: 1;
  visibility: visible;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.splash-locked {
  overflow: hidden;
}

.splash-content {
  text-align: center;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.splash-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
  margin-bottom: 18px;
}

.splash-sub {
  margin: 0 0 22px;
  color: #d6d9ec;
  font-size: 15px;
}

.splash-btn {
  border: none;
  cursor: pointer;
  padding: 14px 40px;
  border-radius: 999px;
  font-family: 'Baloo Bhaijaan 2', 'Baloo 2', 'Vazirmatn', Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(115deg, var(--orange), var(--orange-dark));
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.splash-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(3, 167, 157, .25);
}

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

@media (max-width: 480px) {
  .splash-logo { width: 160px; }
  .splash-btn { padding: 12px 32px; font-size: 15px; }
}
