@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --ink: #e9e9ed;
  --ink-soft: #cfd3e5;
  --muted: #9197af;
  --paper: #161826;
  --surface: #232532;
  --stage: #1b1d2c;
  --sheet: #1f2230;
  --line: #2d3142;
  --gold: #5b97e0;
  --gold-hover: #5084c4;
  --gold-soft: rgba(91, 151, 224, 0.16);
  --gold-deep: #7cb3f6;
  --green: #161826;
  --emerald: #34d399;
  --emerald-soft: rgba(52, 211, 153, 0.16);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.16);
  --white: #ffffff;
  --soft: #1a1c2a;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 10px 24px rgba(91, 151, 224, 0.30);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(91, 151, 224, 0.08) 0, rgba(91, 151, 224, 0.08) 4px, transparent 5px),
    radial-gradient(circle at 86% 12%, rgba(91, 151, 224, 0.07) 0, rgba(91, 151, 224, 0.07) 5px, transparent 6px),
    radial-gradient(circle at 92% 76%, rgba(91, 151, 224, 0.06) 0, rgba(91, 151, 224, 0.06) 4px, transparent 5px),
    radial-gradient(circle at 8% 82%, rgba(91, 151, 224, 0.06) 0, rgba(91, 151, 224, 0.06) 6px, transparent 7px);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

button {
  cursor: pointer;
  border: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

button:active:not(:disabled) {
  transform: scale(0.98);
}

button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
}

h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

small,
.muted {
  color: var(--muted);
}

small {
  font-size: 12px;
}

/* App Shell & Navigation */
.shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 248px;
  height: 100vh;
  z-index: 10;
  box-shadow: 8px 0 32px rgba(20, 28, 45, 0.03);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: rgba(91, 151, 224, 0.12);
  border: 1px solid rgba(91, 151, 224, 0.28);
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(91, 151, 224, 0.20);
  flex-shrink: 0;
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.brand-accent {
  color: var(--gold);
}

.brand small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-top: 2px;
  color: var(--muted);
}

.nav-caption {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #9aa3b2;
  margin: 32px 12px 10px;
  font-weight: 700;
}

.nav {
  display: grid;
  gap: 6px;
  overflow-y: auto;
  padding-right: 2px;
}

.nav button {
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.nav button.active {
  color: #ffffff;
  background: var(--gold);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.nav button:hover:not(.active) {
  background: var(--stage);
  color: var(--ink);
}

.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
}

.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--stage);
  padding: 10px 12px;
  border-radius: 16px;
}

.avatar {
  background: var(--ink);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.workspace {
  grid-column: 2;
  min-width: 0;
  padding-bottom: 90px;
}

/* Topbar matching clean mobile/app header */
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  background: rgba(22, 24, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 6;
  gap: 15px;
}

.crumb {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.crumb strong {
  color: var(--ink);
  font-weight: 700;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
}

.top-actions .date {
  color: #cfd3e5;
  font-weight: 500;
}

.top-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfd3e5;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(91, 151, 224, 0.12);
  border: 1px solid rgba(91, 151, 224, 0.28);
  transition: all 0.2s ease;
}

.top-contact:hover {
  color: #ffffff;
  background: rgba(91, 151, 224, 0.25);
  border-color: #5b97e0;
}

.top-contact .icon {
  stroke: #5b97e0;
  width: 14px;
  height: 14px;
}

.top-contact:hover .icon {
  stroke: #ffffff;
}

.top-actions .button.ghost {
  color: #cfd3e5;
}

.top-actions .button.ghost:hover {
  color: #ffffff;
  background: rgba(91, 151, 224, 0.16);
}

.top-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11.5px;
}

.live:before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

.content {
  padding: 32px 44px 80px;
  max-width: 1480px;
  margin: 0 auto;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.page-heading p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

/* Buttons — Pill & Rounded Square Styles */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--gold);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
}

.button:hover:not(:disabled) {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover:not(:disabled) {
  background: var(--stage);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  padding: 8px 10px;
  box-shadow: none;
  border-radius: 12px;
}

.button.ghost:hover:not(:disabled) {
  background: var(--stage);
}

.button.danger {
  background: var(--danger-soft);
  color: var(--danger);
  box-shadow: none;
}

.button.small {
  padding: 8px 14px;
  font-size: 11.5px;
}

.button.wide {
  width: 100%;
  padding: 15px 24px;
  font-size: 14px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wrap {
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

/* Dashboard Hero & Stats */
.hero {
  background: linear-gradient(135deg, #152445 0%, #1c2235 100%);
  border: 1px solid rgba(91, 151, 224, 0.22);
  border-radius: var(--radius-xl);
  padding: 32px 38px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  min-height: 160px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.hero:after {
  content: '';
  position: absolute;
  right: -40px;
  top: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(91, 151, 224, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h2 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.hero p {
  color: #b8c0ce;
  font-size: 13px;
}

.hero .button {
  background: var(--gold);
  color: #ffffff;
  z-index: 1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat:hover {
  border-color: rgba(91, 151, 224, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.stat-icon {
  padding: 10px;
  background: var(--gold-soft);
  border-radius: 12px;
  color: var(--ink);
  display: flex;
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 14px 0 6px;
  color: var(--ink);
}

.stat small {
  font-size: 11px;
}

.grid-two {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  min-width: 0;
  box-shadow: var(--shadow-md);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.panel-head small {
  display: block;
  margin-top: 5px;
}

.chart {
  height: 210px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.bar-group {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  position: relative;
  gap: 7px;
}

.bar {
  width: 65%;
  max-width: 44px;
  border-radius: 10px 10px 4px 4px;
  background: #e5eaf2;
  min-height: 4px;
  transition: height 0.3s ease, background-color 0.2s ease;
}

.bar-group:hover .bar {
  background: #f9d978;
}

.bar-group:last-child .bar {
  background: var(--gold);
  box-shadow: var(--shadow-gold);
}

.bar-group small {
  position: absolute;
  bottom: -23px;
  font-size: 10.5px;
  font-weight: 600;
}

.rank {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rank:last-child {
  border: 0;
}

.rank-index {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--gold-soft);
  color: var(--ink);
  font-weight: 800;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.rank-info {
  flex: 1;
}

.rank-info small {
  display: block;
  margin-top: 4px;
}

.rank-track {
  height: 6px;
  background: var(--stage);
  margin-top: 9px;
  border-radius: 99px;
  overflow: hidden;
}

.rank-track i {
  height: 6px;
  background: var(--gold);
  display: block;
  border-radius: 99px;
}

.section-space {
  margin-top: 24px;
}

/* Tables & Badges */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
}

th {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-weight: 700;
  padding: 13px 16px;
  background: var(--stage);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

th:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-weight: 500;
}

tr:last-child td {
  border-bottom: 0;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-block;
  background: var(--emerald-soft);
  color: var(--emerald);
  white-space: nowrap;
}

.badge.queued,
.badge.pending {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.badge.preparing {
  background: #eaf2ff;
  color: #2563eb;
}

.badge.cancelled,
.badge.failed,
.badge.unknown,
.badge.unavailable {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge.collected {
  background: var(--stage);
  color: var(--muted);
}

/* Reference Screen 1: Search Bar, Golden Filter Button & Category Pills */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}

.search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search input {
  width: 100%;
  background: var(--stage);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 14px 44px 14px 18px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  transition: background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.search input::placeholder {
  color: #9aa3b2;
}

.search input:focus {
  background: var(--surface);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(246, 199, 68, 0.18);
  outline: none;
}

.search .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b95a5;
  pointer-events: none;
}

.filter-square-btn {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.filter-square-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  background: var(--stage);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--surface);
  border-color: var(--gold);
  outline: 3px solid rgba(246, 199, 68, 0.2);
}

textarea {
  min-height: 82px;
  resize: vertical;
}

input[type=checkbox] {
  width: auto;
  accent-color: var(--gold);
}

/* Category Pills with Emoji Badges */
.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

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

.tabs button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 10px 18px;
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 12px rgba(20, 28, 45, 0.03);
}

.tabs button .cat-emoji {
  font-size: 16px;
  line-height: 1;
}

.tabs button.active {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.tabs button:hover:not(.active) {
  background: var(--stage);
  transform: translateY(-1px);
}

/* Section Header ("Category" + "Most Popular v") */
.promo-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 14px;
  scrollbar-width: none;
}

.promo-strip::-webkit-scrollbar {
  display: none;
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  border: 1px solid #f5d87e;
  color: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.promo-pill strong {
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
}

.category-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.category-section-head h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.sort-pill-select {
  width: auto;
  background: transparent;
  border: 0;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 10px;
}

.sort-pill-select:hover {
  background: var(--stage);
}

/* Reference Screen 1: Plated Food Cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.food-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px 14px 18px;
  text-align: center;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease;
  position: relative;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

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

.food-image {
  height: 162px;
  background: var(--stage);
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  padding: 14px;
}

.food-image img {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 14px 26px rgba(20, 28, 45, 0.16);
  transition: transform 0.28s ease;
}

.food-card:hover .food-image img,
.food-card:hover .food-plate-art {
  transform: scale(1.05) rotate(2deg);
}

.food-plate-art {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffffff 0%, #f7f8fb 68%, #e6eaf2 100%);
  border: 4px solid #ffffff;
  box-shadow:
    0 14px 26px rgba(20, 28, 45, 0.15),
    inset 0 0 0 8px #f2f4f9;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.28s ease;
}

.food-plate-art::after {
  content: '';
  position: absolute;
  width: 38px;
  height: 4px;
  background: linear-gradient(90deg, #d97757, #b4532a);
  border-radius: 4px;
  right: -6px;
  bottom: 18px;
  transform: rotate(38deg);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.12);
}

.food-plate-emoji {
  font-size: 46px;
  filter: drop-shadow(0 6px 8px rgba(20, 28, 45, 0.14));
  user-select: none;
}

.food-price-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(35, 37, 50, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.food-accent-bar {
  width: 24px;
  height: 3.5px;
  background: var(--gold);
  border-radius: 999px;
  margin: 14px auto 9px;
}

.food-body {
  padding: 0 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.food-body h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.food-body p {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
  min-height: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.food-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ink);
}

.food-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.add-button {
  background: var(--gold);
  color: #ffffff;
  border-radius: 12px;
  width: 34px;
  height: 34px;
  font-size: 19px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(91, 151, 224, 0.35);
}

.add-button:hover {
  background: var(--gold-hover);
  transform: scale(1.06);
}

/* Reference Screen 3: "My order" Cart Panel */
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 375px;
  gap: 28px;
  align-items: start;
}

.cart {
  position: sticky;
  top: 96px;
  padding: 26px 24px;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.cart-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.circle-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--stage);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.circle-icon-btn:hover {
  background: var(--gold-soft);
}

.cart-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-title-row h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cart-list {
  margin: 14px 0 18px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line-main {
  display: flex;
  align-items: center;
  gap: 13px;
}

.cart-thumb {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--stage);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.cart-thumb img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 10px rgba(20, 28, 45, 0.14);
}

.cart-thumb-emoji {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 5px 10px rgba(20, 28, 45, 0.12);
}

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

.cart-item-info h3 {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Pill Quantity Stepper with Golden + Button */
.quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--stage);
  padding: 4px;
  border-radius: 12px;
  flex-shrink: 0;
}

.quantity button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px rgba(20, 28, 45, 0.05);
}

.quantity button.qty-plus {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(246, 199, 68, 0.35);
}

.quantity span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
  color: var(--ink);
}

.cart-note {
  margin-top: 9px;
  padding: 8px 11px;
  font-size: 11.5px;
  border-radius: 10px;
  background: var(--stage);
  border: 1px solid transparent;
}

.totals {
  background: var(--sheet);
  border-radius: 22px;
  padding: 18px 20px;
  margin: 16px 0 18px;
}

.totals>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.totals .grand-total {
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 21px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d8dfe9;
}

/* Reference Screen 2: Dish Detail Spotlight View */
.dish-spotlight {
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
}

.spotlight-stage {
  background: var(--surface);
  padding: 22px 26px 46px;
  position: relative;
  text-align: center;
}

.spotlight-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.spotlight-plate-wrap {
  width: 200px;
  height: 200px;
  margin: 6px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.spotlight-plate-wrap img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #ffffff;
  box-shadow: 0 22px 44px rgba(20, 28, 45, 0.18);
}

.spotlight-plate-wrap .food-plate-art {
  width: 186px;
  height: 186px;
}

.spotlight-plate-wrap .food-plate-emoji {
  font-size: 74px;
}

.spotlight-sheet {
  background: var(--sheet);
  border-radius: 34px 34px 0 0;
  padding: 36px 28px 28px;
  position: relative;
  text-align: center;
}

.spotlight-price-pill {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.spotlight-sheet h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 6px 0 12px;
  color: var(--ink);
}

.spotlight-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 390px;
  margin: 0 auto 18px;
}

.spotlight-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.spotlight-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.spotlight-meta-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-pill {
  background: var(--surface);
  border-radius: 12px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.meta-pill.liked {
  color: var(--danger);
  background: var(--danger-soft);
}

/* Mobile Floating Bottom Dock (Like Reference Screen 1) */
.bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 34px rgba(20, 28, 45, 0.08);
  z-index: 9;
  align-items: center;
  justify-content: space-around;
  padding: 0 14px;
}

.bottom-dock button {
  background: transparent;
  color: #8b95a5;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
}

.bottom-dock button.active {
  color: var(--ink);
}

.bottom-dock button.dock-center-bag {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-14px);
  box-shadow: var(--shadow-gold);
}

.dock-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--ink);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* Empty, Notices, Loading, Modals */
.empty {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: var(--gold-deep);
}

.empty strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.error-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 600;
  margin: 14px 0;
  line-height: 1.5;
}

.notice {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  background: rgba(91, 151, 224, 0.10);
  border: 1px solid rgba(91, 151, 224, 0.24);
  color: #d6e2f7;
  padding: 15px 20px;
  border-radius: 14px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice.warn {
  background: rgba(245, 158, 11, 0.10);
  border-color: rgba(245, 158, 11, 0.28);
  color: #fde68a;
}

.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 0;
  width: min(660px, 94vw);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.25);
  background: var(--surface);
}

dialog.spotlight-dialog {
  width: min(440px, 94vw);
}

dialog::backdrop {
  background: rgba(18, 24, 38, 0.45);
  backdrop-filter: blur(6px);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.modal-content {
  padding: 24px 26px;
  overflow: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  min-width: 0;
}

.field>span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #525d70;
  margin-bottom: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field small {
  display: block;
  font-size: 10.5px;
  margin-top: 5px;
}

.field-array {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-top: 5px;
  background: var(--stage);
}

.array-entry {
  border-bottom: 1px dashed var(--line);
  padding: 12px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.detail-grid>div {
  background: var(--stage);
  padding: 12px 14px;
  border-radius: 14px;
}

.detail-grid p {
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 5px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 40px rgba(20, 28, 45, 0.25);
  z-index: 30;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 90vw;
}

#toast.visible {
  transform: translateX(-50%) translateY(0);
}

/* Login Screen with Interactive Preview Cards */
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.login-art {
  background: linear-gradient(145deg, #161826 0%, #142c5c 100%);
  padding: 52px 60px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.login-art:after {
  content: '';
  width: 560px;
  height: 560px;
  position: absolute;
  right: -180px;
  top: 140px;
  background: radial-gradient(circle, rgba(91, 151, 224, 0.22) 0%, transparent 70%);
  border-radius: 50%;
}

.login-art .brand {
  color: #ffffff;
}

.login-art .brand small {
  color: #9ba5b7;
}

.login-copy {
  position: relative;
  z-index: 1;
  margin: 40px 0;
}

.login-copy h1 {
  color: #ffffff;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1.5px;
  max-width: 460px;
}

.login-copy em {
  font-style: normal;
  color: var(--gold);
}

.login-copy p {
  max-width: 360px;
  line-height: 1.75;
  font-size: 14.5px;
  color: #b4bece;
  margin-top: 20px;
}

.login-preview-cards {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.login-mini-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-mini-plate {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.login-mini-price {
  background: var(--gold);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  display: inline-block;
  margin-top: 4px;
}

.login-foot {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #8f9bb0;
  font-weight: 700;
}

.login-form {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-inner {
  width: 100%;
  max-width: 390px;
  background: var(--surface);
  padding: 40px 36px;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.login-inner h1 {
  margin-bottom: 8px;
}

.login-inner>p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

.login-inner .field {
  margin-bottom: 18px;
}

.login-inner .button {
  margin-top: 8px;
}

/* Display Boards (Kitchen Display System & Customer Display) */
.board {
  min-height: 100vh;
  background: var(--paper);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.kds-clock {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  background: var(--surface);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(20, 28, 45, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kds-header-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.kds-title-group h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kds-title-group p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.kds-stats-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kds-stat-chip {
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}

.kds-stat-chip strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
}

.kds-stat-chip:hover {
  background: #eef2f8;
}

.kds-stat-chip.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.kds-stat-chip.active strong {
  color: var(--gold);
}

.kds-stat-chip.chip-queued {
  border-left: 4px solid var(--gold);
}

.kds-stat-chip.chip-preparing {
  border-left: 4px solid #3b82f6;
}

.kds-stat-chip.chip-late {
  border-left: 4px solid var(--danger);
}

.kds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.kds-ticket {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(20, 28, 45, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kds-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(20, 28, 45, 0.08);
}

.kds-ticket.ok {
  border-top: 5px solid var(--emerald);
}

.kds-ticket.warn {
  border-top: 5px solid var(--gold);
}

.kds-ticket.late {
  border-top: 5px solid var(--danger);
  box-shadow: 0 10px 30px rgba(226, 72, 61, 0.12);
}

.kds-ticket-head {
  padding: 16px 20px 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.kds-code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.kds-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.kds-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.kds-timer.ok {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.kds-timer.warn {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.kds-timer.late {
  background: var(--danger-soft);
  color: var(--danger);
  animation: kds-pulse 1.8s infinite;
}

@keyframes kds-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.kds-ticket-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kds-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kds-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.kds-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.kds-qty {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(20, 28, 45, 0.15);
}

.kds-qty.large {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.kds-item-details {
  flex: 1;
  min-width: 0;
}

.kds-item-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.kds-line-note {
  margin-top: 6px;
  padding: 6px 10px;
  background: #fff8e6;
  border: 1px solid #ffd86b;
  border-radius: 8px;
  color: #925f05;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.kds-components {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kds-comp-chip {
  background: var(--stage);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
}

.kds-order-note {
  padding: 10px 14px;
  background: #eaf2ff;
  border: 1px solid #bed7ff;
  border-radius: 12px;
  font-size: 12.5px;
  color: #1e40af;
  font-weight: 600;
  line-height: 1.4;
}

.kds-ticket-foot {
  padding: 12px 20px;
  background: var(--stage);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-top: auto;
}

.kds-empty {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: 24px;
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}

.kds-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.kds-empty h2 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}

.board-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.board-column h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.tickets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.ticket.ready {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.ticket h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.ticket p {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
}

.mobile-menu {
  display: none;
}

.text-button {
  background: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
}

.text-button:hover {
  color: var(--gold-deep);
}

.resource-list {
  display: grid;
  gap: 15px;
}

.photo-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
}

.photo-tools img {
  height: 85px;
  width: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Responsive Breakpoints */
@media (min-width: 1500px) {
  .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .food-image {
    height: 174px;
  }
}

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 210px 1fr;
  }

  .sidebar {
    width: 210px;
    padding: 24px 14px;
  }

  .content {
    padding: 28px 32px 60px;
  }

  .topbar {
    padding: 0 32px;
  }

  .pos-layout {
    grid-template-columns: 1fr 330px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    gap: 12px;
  }

  .stat {
    padding: 18px;
  }

  .stat-value {
    font-size: 22px;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .login-art {
    padding: 40px;
  }

  .login-copy h1 {
    font-size: 40px;
  }
}

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

  .workspace {
    grid-column: 1;
    padding-bottom: 100px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: 18px 0 44px rgba(20, 28, 45, 0.16);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-menu {
    display: inline-flex;
  }

  .bottom-dock {
    display: flex;
  }

  .topbar {
    height: 68px;
    padding: 0 24px;
  }

  .top-actions .date {
    display: none;
  }

  .top-contact span {
    display: none;
  }

  .top-contact {
    padding: 7px 8px;
  }

  .content {
    padding: 24px 32px 70px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pos-layout {
    grid-template-columns: 1fr;
  }

  .cart {
    position: static;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero {
    padding: 24px;
  }

  .hero h2 {
    font-size: 21px;
  }

  .hero .button {
    display: none;
  }

  .login {
    grid-template-columns: 1fr;
  }

  .login-art {
    display: none;
  }

  .login-form {
    min-height: 100vh;
    padding: 20px;
  }

  .board-columns {
    grid-template-columns: 1fr;
  }

  .board {
    padding: 20px;
  }

  .page-heading {
    align-items: flex-start;
  }

  h1 {
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .food-image {
    height: 136px;
  }

  .food-image img,
  .food-plate-art {
    width: 98px;
    height: 98px;
  }

  .food-plate-emoji {
    font-size: 38px;
  }

  .food-card {
    padding: 10px 10px 14px;
    border-radius: 20px;
  }

  .food-body h3 {
    font-size: 13px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .top-actions {
    gap: 8px;
  }

  .panel {
    padding: 18px;
    border-radius: 22px;
  }

  .page-heading .row {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .stat-value {
    font-size: 20px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-head {
    padding: 18px 20px;
  }
}