/* RestoServe demo — ordering UI + staff surfaces */
:root {
  --bg-deep: #080c10;
  --bg: #0c1118;
  --surface: rgba(26, 34, 45, 0.72);
  --surface-solid: #151c27;
  --surface-elevated: rgba(30, 39, 52, 0.94);
  --border: rgba(90, 112, 138, 0.22);
  --border-strong: rgba(148, 163, 184, 0.18);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-dim: #64748b;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --accent-mid: #ea580c;
  --accent2: #4ade80;
  --accent2-dim: #22c55e;
  --cyan-faint: rgba(34, 211, 238, 0.06);
  --danger: #f87171;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  height: 100%;
}

body.resto {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-optical-sizing: auto;
  color: var(--text);
  line-height: 1.55;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(245, 158, 11, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(34, 211, 238, 0.05), transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(74, 222, 128, 0.04), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

/* Subtle texture grid */
body.resto::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 20%, transparent 75%);
}

.resto-top,
.resto-main,
.resto-foot {
  position: relative;
  z-index: 1;
}

.resto-top {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.resto-top-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 3.5rem;
}

.resto-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.resto-brand__mark {
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 2px 10px var(--accent-glow));
}

.resto-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
  min-width: 0;
}

.resto-brand__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.resto-brand__badge {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resto-top-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.resto-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.resto-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.resto-nav a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--border);
}

.resto-nav a.is-active {
  color: #0a0c10;
  background: linear-gradient(145deg, #fcd34d, var(--accent) 55%, var(--accent-mid));
  border-color: transparent;
  box-shadow: 0 2px 16px var(--accent-glow);
}

.resto-top-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

.resto-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  text-decoration: none;
  transition:
    color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.resto-cart-btn:hover {
  color: var(--accent);
  border-color: var(--border-strong);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.12);
}

.resto-cart-btn.has-items {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
}

.resto-cart-btn__ico {
  display: flex;
  align-items: center;
  justify-content: center;
}

.resto-cart-btn__ico svg {
  display: block;
  opacity: 0.95;
}

.resto-cart-btn__badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  background: #ef4444;
  border-radius: 999px;
  border: 2px solid rgba(8, 12, 16, 0.92);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
}

.resto-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

body.resto-page-home .resto-main {
  max-width: none;
  padding: 0;
}

body.resto-page-home .resto-landing {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

/* ——— Landing hero carousel ——— */
.resto-hero {
  position: relative;
  margin: 0;
  min-height: min(82vh, 780px);
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
  border: 1px solid var(--border);
  border-top: none;
  box-shadow: var(--shadow-md);
}

.resto-hero__viewport {
  position: relative;
  min-height: min(82vh, 780px);
}

.resto-hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: 1fr;
  align-items: end;
  z-index: 0;
}

.resto-hero-slide.is-active {
  display: grid;
  z-index: 2;
}

.resto-hero-slide__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(8, 12, 16, 0.55), rgba(8, 12, 16, 0.25)), var(--hero-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.resto-hero-slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.05) 0%, rgba(8, 12, 16, 0.75) 55%, rgba(8, 12, 16, 0.92) 100%);
  pointer-events: none;
}

.resto-hero-slide__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 44rem;
}

.resto-hero-slide__kicker {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.resto-hero-slide__title {
  margin: 0.65rem 0 0;
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--text);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.resto-hero-slide__lead {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 34rem;
  line-height: 1.5;
}

.resto-hero-slide__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.resto-hero-slide__ghost {
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text);
  background: rgba(15, 23, 42, 0.35);
}

.resto-hero__chrome {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(8, 12, 16, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.resto-hero__arrow {
  appearance: none;
  border: none;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s var(--ease-out);
}

.resto-hero__arrow:hover {
  background: rgba(245, 158, 11, 0.25);
  color: var(--text);
}

.resto-hero__dots {
  display: flex;
  gap: 0.35rem;
}

.resto-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.resto-hero__dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

@media (max-width: 640px) {
  .resto-hero__chrome {
    bottom: 0.65rem;
    width: calc(100% - 2rem);
    justify-content: center;
  }
}

.resto-landing-strip {
  margin: 0 0 2.25rem;
}

.resto-landing-stats--inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.resto-cat-browse {
  margin-bottom: 2.75rem;
}

.resto-cat-browse__head {
  margin-bottom: 1.25rem;
}

.resto-cat-browse__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.resto-cat-browse__sub {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.925rem;
}

.resto-cat-browse__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.resto-cat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(21, 28, 39, 0.85);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    border-color 0.2s var(--ease-out);
}

.resto-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow-md), 0 0 30px rgba(245, 158, 11, 0.08);
}

.resto-cat-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-solid);
}

.resto-cat-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.resto-cat-card:hover .resto-cat-card__visual img {
  transform: scale(1.06);
}

.resto-cat-card__count {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(8, 12, 16, 0.78);
  border: 1px solid var(--border);
  color: var(--muted);
}

.resto-cat-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.resto-cat-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.resto-cat-card__cta {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.resto-page-band {
  height: 140px;
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
}

.resto-page-band--thanks {
  background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(8, 12, 16, 0.85)),
    url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=1400&q=80");
}

.resto-page-band--track {
  background-image: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(8, 12, 16, 0.88)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1400&q=80");
}

body.resto-page-checkout .resto-main::before {
  content: "";
  display: block;
  height: 120px;
  margin: -0.5rem 0 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-image: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(8, 12, 16, 0.9)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.checkout-line {
  align-items: center;
  gap: 0.75rem;
}

.checkout-line__thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.checkout-line__main {
  flex: 1;
  min-width: 0;
}

.checkout-line__name {
  font-size: 0.875rem;
}

.checkout-line__sum {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent2);
}

/* ——— Menu landing ——— */
.resto-menu-page {
  animation: resto-fade-in 0.5s var(--ease-out) both;
}

@keyframes resto-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.resto-menu-hero {
  margin-bottom: 2rem;
  padding: 0.25rem 0 0.5rem;
  max-width: 36rem;
}

.resto-menu-hero__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.95;
}

.resto-menu-hero__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.resto-menu-hero__lead {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 32rem;
}

.resto-menu-hero__lead strong {
  color: var(--text);
  font-weight: 600;
}

.resto-menu-hero__lead--mobile {
  display: none;
}

.resto-menu-grid.grid-2 {
  gap: 1.35rem 1.25rem;
}

@media (min-width: 860px) {
  .resto-menu-grid.grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
  }
}

.resto-menu-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.resto-menu-browse {
  margin-bottom: 0.5rem;
}

/* Menu browse: filters + menu — sidebar on wide screens */
.resto-menu-layout {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .resto-menu-layout {
    grid-template-columns: minmax(196px, 220px) minmax(0, 1fr);
    gap: 1.35rem 1.5rem;
  }
}

.resto-menu-main {
  min-width: 0;
}

.resto-filter-sidebar {
  display: block;
}

@media (min-width: 1024px) {
  .resto-filter-sidebar {
    position: sticky;
    top: 4.25rem;
    align-self: start;
    z-index: 28;
    max-height: calc(100vh - 5rem);
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
    margin-right: -0.15rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
  }

  .resto-filter-sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .resto-filter-sidebar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 99px;
  }
}

.resto-filter-sidebar__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.resto-filter-sidebar__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.resto-filter-sidebar__hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted-dim);
  line-height: 1.45;
}

.resto-filter-sidebar__hint--mobile {
  display: none;
  margin: 0.25rem 0 0;
  font-size: 0.6875rem;
  color: var(--muted-dim);
  line-height: 1.4;
}

@media (max-width: 1023px) {
  .resto-filter-sidebar__head {
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .resto-filter-sidebar__hint {
    font-size: 0.6875rem;
  }
}

.resto-filter-bar {
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 30, 42, 0.92), rgba(12, 17, 24, 0.96));
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(12px);
}

.resto-filter-sidebar .resto-filter-bar--sidebar {
  position: relative;
  top: auto;
  z-index: auto;
  margin-bottom: 0;
}

.resto-filter-bar__row--quick {
  margin-top: 0.75rem;
}

.resto-filter-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resto-filter-chip--quick {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 5.5rem;
}

.resto-filter-chip--drinks {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.08);
}

.resto-filter-chip--drinks:hover {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.12);
}

.resto-filter-chip--drinks.is-active {
  color: #0a0c10;
  border-color: transparent;
  background: linear-gradient(145deg, #fcd34d, var(--accent) 45%, var(--accent-mid));
  box-shadow: 0 2px 12px var(--accent-glow);
}

.resto-filter-panel {
  margin-top: 0.65rem;
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.resto-filter-panel:first-of-type {
  margin-top: 0.85rem;
}

.resto-filter-panel__summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  user-select: none;
}

.resto-filter-panel__summary::-webkit-details-marker {
  display: none;
}

.resto-filter-panel__summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--muted-dim);
  border-bottom: 2px solid var(--muted-dim);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
  margin-left: auto;
}

.resto-filter-panel[open] .resto-filter-panel__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.resto-filter-panel__body {
  padding-top: 0.55rem;
}

@media (min-width: 1024px) {
  .resto-filter-sidebar .resto-filter-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .resto-filter-sidebar .resto-filter-chips--cats {
    flex-wrap: wrap;
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 0;
  }

  .resto-filter-sidebar .resto-filter-chips--price {
    grid-template-columns: 1fr 1fr;
  }

  .resto-filter-sidebar .resto-filter-chip {
    width: 100%;
    min-height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.38rem 0.45rem;
    font-size: 0.6875rem;
    line-height: 1.15;
  }

  /* Full-width reset chips per group */
  .resto-filter-sidebar .resto-filter-chips .resto-filter-chip:first-of-type {
    grid-column: 1 / -1;
  }
}

.resto-filter-bar__row {
  margin-top: 0.85rem;
}

.resto-filter-bar__row:first-child {
  margin-top: 0;
}

.resto-filter-bar__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 0.45rem;
}

.resto-filter-search {
  display: block;
}

.resto-filter-search input[type="search"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(8, 12, 16, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
}

.resto-filter-search input[type="search"]::placeholder {
  color: var(--muted-dim);
}

.resto-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resto-filter-chips--cats {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  gap: 0.4rem;
}

.resto-filter-chips--cats::-webkit-scrollbar {
  height: 4px;
}

.resto-filter-chips--cats::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 99px;
}

.resto-filter-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.06);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.resto-filter-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(148, 163, 184, 0.1);
}

.resto-filter-chip.is-active {
  color: #0a0c10;
  border-color: transparent;
  background: linear-gradient(145deg, #fcd34d, var(--accent) 45%, var(--accent-mid));
  box-shadow: 0 2px 12px var(--accent-glow);
}

.resto-filter-meta {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.resto-menu-empty {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  background: rgba(245, 158, 11, 0.04);
}

.resto-menu-empty__title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.resto-menu-empty__hint {
  margin: 0.5rem 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.menu-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(34, 211, 238, 0.06);
  color: #a5f3fc;
  margin-right: 0.35rem;
  margin-bottom: 0.2rem;
}

.menu-item__tags {
  margin: 0.4rem 0 0;
  line-height: 1.4;
}

.menu-cat-card {
  scroll-margin-top: 5.5rem;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(30, 39, 52, 0.85) 0%, rgba(21, 28, 39, 0.92) 100%);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  backdrop-filter: blur(8px);
}

.menu-cat-card__head {
  padding: 1rem 1.15rem 0.65rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), transparent 55%);
}

.menu-cat-card__label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.menu-item-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.menu-item {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease-out);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.menu-item__body {
  min-width: 0;
  flex: 1;
}

.menu-item__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.menu-item__desc {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.menu-item__rail {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.menu-item__price {
  font-weight: 700;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent2);
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.15);
  white-space: nowrap;
}

.menu-item__add {
  min-width: 0;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
}

.menu-item__soldout {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-dim);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
}

.menu-item__form {
  margin: 0;
}

.menu-item__thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(30, 39, 52, 0.9), rgba(15, 23, 42, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.menu-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item--with-media {
  align-items: center;
}

/* Cart sidebar */
.cart-panel {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

.cart-panel__inner {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(30, 39, 52, 0.9) 0%, rgba(18, 24, 32, 0.95) 100%);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.cart-panel__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cart-panel--compact .cart-panel__inner {
  padding: 0.85rem 0.9rem 1rem;
}

.cart-panel--compact .cart-panel__title {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
}

.cart-panel--compact .cart-panel__empty {
  padding: 0.35rem 0.1rem 0.45rem;
}

.cart-panel--compact .cart-panel__empty-icon {
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.55rem;
}

.cart-panel--compact .cart-panel__empty p {
  font-size: 0.78rem;
  line-height: 1.45;
}

.cart-panel--compact .cart-panel__empty-hint {
  margin-top: 0.45rem !important;
}

.cart-panel--compact .cart-line {
  padding: 0.5rem 0;
  font-size: 0.8125rem;
}

.cart-panel--compact .cart-panel__checkout {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  padding: 0.55rem 0.85rem;
}

.cart-panel__empty {
  text-align: center;
  padding: 0.5rem 0.25rem 0.75rem;
}

.cart-panel__empty-icon {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border);
  position: relative;
}

.cart-panel__empty-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 1.25rem;
  height: 0.15rem;
  border-radius: 2px;
  background: var(--muted);
  box-shadow: 0 -0.45rem 0 var(--muted), 0 0.45rem 0 var(--muted);
  opacity: 0.5;
}

.cart-panel__empty p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.cart-panel__empty-hint {
  margin: 0.65rem 0 0 !important;
  font-size: 0.75rem !important;
  color: var(--muted-dim) !important;
}

.cart-panel__checkout {
  width: 100%;
  margin-top: 1rem;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.cart-line:last-of-type {
  border-bottom: none;
}

.cart-line__meta {
  min-width: 0;
}

.cart-line__sum {
  flex-shrink: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent2);
}

.cart-line__form {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 0.75rem;
}

.cart-line__qty span {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-line__qty input {
  max-width: 5.5rem;
}

.cart-line__update {
  margin-top: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-strong);
  font-size: 0.9375rem;
}

.cart-total span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--accent2);
  font-size: 1.05rem;
}

.cart-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.btn-primary {
  background: linear-gradient(145deg, #fcd34d, var(--accent) 40%, var(--accent-mid));
  color: #0a0c10;
  border-color: transparent;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-ghost {
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.12);
  border-color: var(--border-strong);
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  border-radius: 999px;
}

.btn-danger {
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.35);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.18);
}

/* Legacy / other pages */
.resto-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.menu-cat {
  margin-bottom: 1.75rem;
}

.menu-cat h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.menu-row {
  display: flex;
  gap: 0.875rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.menu-row:last-child {
  border-bottom: none;
}

.menu-row h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.menu-row p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.menu-price {
  font-weight: 700;
  color: var(--accent2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-add {
  flex-shrink: 0;
}

label span {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(245, 158, 11, 0.45);
  outline-offset: 1px;
}

textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.field {
  margin-bottom: 0.875rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
}

.badge-confirmed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent2);
}

.badge-preparing {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.badge-ready {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.badge-delivered {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

.badge-cancelled {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

table.resto-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.resto-table th,
.resto-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.resto-table th {
  color: var(--muted);
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.resto-foot {
  flex-shrink: 0;
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.5);
}

.resto-foot a {
  color: var(--accent);
  font-weight: 600;
}

.resto-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.flash-err {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.flash-ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.order-box {
  font-family: ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
}

.inline-form {
  display: inline;
}

/* ——— Guest landing (home.php) ——— */
.resto-landing {
  animation: resto-fade-in 0.55s var(--ease-out) both;
}

.resto-landing-hero {
  position: relative;
  padding: 0.5rem 0 2.25rem;
  margin-bottom: 0.5rem;
}

.resto-landing-hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 158, 11, 0.14), transparent 65%);
  pointer-events: none;
}

.resto-landing-hero__eyebrow {
  position: relative;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.resto-landing-hero__title {
  position: relative;
  margin: 0.65rem 0 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 18ch;
}

.resto-landing-hero__lead {
  position: relative;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.55;
}

.resto-landing-hero__lead strong {
  color: var(--text);
}

.resto-landing-hero__actions {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.resto-landing-stats {
  position: relative;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.resto-landing-stats__item {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(26, 34, 45, 0.45);
}

.resto-landing-stats__item dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.resto-landing-stats__item dd {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.resto-landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.resto-landing-feature {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(21, 28, 39, 0.65);
  box-shadow: var(--shadow-sm);
}

.resto-landing-feature__visual {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--surface-solid);
}

.resto-landing-feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resto-landing-feature__icon {
  display: none;
}

.resto-landing-feature__title {
  margin: 0 0 0.45rem;
  padding: 1rem 1.15rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.resto-landing-feature__text {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

.resto-landing-picks {
  margin-bottom: 2.5rem;
}

.resto-landing-picks__head {
  margin-bottom: 1.25rem;
}

.resto-landing-picks__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.resto-landing-picks__sub {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.resto-landing-picks__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.resto-pick-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(30, 39, 52, 0.75), rgba(18, 24, 32, 0.92));
  box-shadow: var(--shadow-md);
}

.resto-pick-card__visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-solid);
}

.resto-pick-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resto-pick-card__inner {
  padding: 1.05rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resto-pick-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.resto-pick-card__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.resto-pick-card__tags .menu-tag {
  margin-bottom: 0;
}

.resto-pick-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.resto-pick-card__desc {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}

.resto-pick-card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.resto-pick-card__price {
  font-weight: 700;
  color: var(--accent2);
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.resto-pick-card__cta {
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.resto-landing-bottom-cta {
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.resto-landing-bottom-cta__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.resto-landing-bottom-cta__text {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Small screens: landing category rail + picks ——— */
@media (max-width: 479px) {
  .resto-cat-browse__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .resto-landing-stats--inline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .resto-landing-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .resto-landing-picks__grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (min-width: 480px) and (max-width: 719px) {
  .resto-cat-browse__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 859px) {
  .resto-menu-grid.grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Menu page — compact phones: less chrome, smaller filters, dishes higher on screen */
@media (max-width: 639px) {
  .resto-menu-page .resto-menu-hero {
    margin-bottom: 0.65rem;
    padding: 0;
    max-width: none;
  }

  .resto-menu-page .resto-menu-hero__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .resto-menu-page .resto-menu-hero__title {
    font-size: 1.35rem;
    margin-top: 0.2rem;
    letter-spacing: -0.03em;
  }

  .resto-menu-page .resto-menu-hero__lead--desktop {
    display: none;
  }

  .resto-menu-page .resto-menu-hero__lead--mobile {
    display: block;
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    max-width: none;
  }

  .resto-menu-page .resto-menu-layout {
    gap: 0.65rem;
  }

  .resto-menu-page .resto-filter-sidebar__head {
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .resto-menu-page .resto-filter-sidebar__title {
    font-size: 0.8125rem;
  }

  .resto-menu-page .resto-filter-sidebar__hint:not(.resto-filter-sidebar__hint--mobile) {
    display: none;
  }

  .resto-menu-page .resto-filter-sidebar__hint--mobile {
    display: block;
  }

  .resto-menu-page .resto-filter-bar {
    padding: 0.5rem 0.6rem 0.55rem;
    border-radius: var(--radius-sm);
  }

  .resto-menu-page .resto-filter-search input[type="search"] {
    padding: 0.5rem 0.7rem;
    font-size: 0.875rem;
  }

  .resto-menu-page .resto-filter-bar__row {
    margin-top: 0.5rem;
  }

  .resto-menu-page .resto-filter-bar__row--quick {
    margin-top: 0.45rem;
  }

  .resto-menu-page .resto-filter-bar__label {
    font-size: 0.58rem;
    margin-bottom: 0.28rem;
  }

  .resto-menu-page .resto-filter-quick {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .resto-menu-page .resto-filter-chip--quick {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 0.35rem 0.5rem;
    font-size: 0.65rem;
    line-height: 1.2;
    border-radius: var(--radius-sm);
  }

  .resto-menu-page .resto-filter-panel {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
  }

  .resto-menu-page .resto-filter-panel__summary {
    font-size: 0.58rem;
    padding: 0.22rem 0;
  }

  .resto-menu-page .resto-filter-panel__body {
    padding-top: 0.35rem;
  }

  .resto-menu-page .resto-filter-chips--cats {
    gap: 0.35rem;
    padding-bottom: 0.2rem;
  }

  .resto-menu-page .resto-filter-chips--price,
  .resto-menu-page .resto-filter-chips--tags {
    gap: 0.35rem;
  }

  .resto-menu-page .resto-filter-chip {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
  }

  .resto-menu-page .resto-filter-meta {
    margin-top: 0.4rem;
    font-size: 0.72rem;
  }

  .resto-menu-page .resto-menu-browse {
    scroll-margin-top: 4rem;
  }

  .resto-menu-page .resto-menu-col {
    gap: 0.85rem;
  }

  .resto-menu-page .menu-cat-card__head {
    padding: 0.6rem 0.8rem 0.45rem;
  }
}

@media (max-width: 640px) {
  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item__thumb {
    width: 72px;
    height: 72px;
  }

  .menu-item__rail {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border);
    margin-top: 0.25rem;
  }

  .cart-panel {
    position: relative;
    top: auto;
  }
}

/* Menu grid: two cards per row on narrow viewports (after generic .menu-item mobile rules) */
@media (max-width: 767px) {
  .resto-menu-page .menu-item-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.35rem 0.4rem 0.55rem;
    align-items: stretch;
  }

  .resto-menu-page .menu-item {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0.4rem 0.4rem 0.5rem;
    border-bottom: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(10, 14, 20, 0.55);
    gap: 0.35rem;
    min-height: 0;
  }

  .resto-menu-page .menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .resto-menu-page .menu-item--with-media {
    align-items: stretch;
  }

  .resto-menu-page .menu-item__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
  }

  .resto-menu-page .menu-item__body {
    flex: 1;
    min-height: 0;
  }

  .resto-menu-page .menu-item__name {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .resto-menu-page .menu-item__desc {
    margin-top: 0.18rem;
    font-size: 0.62rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .resto-menu-page .menu-item__tags {
    margin-top: 0.18rem;
    line-height: 1.15;
  }

  .resto-menu-page .menu-item__tags .menu-tag {
    font-size: 0.5rem;
    padding: 0.1rem 0.28rem;
    margin-right: 0.2rem;
    margin-bottom: 0.12rem;
  }

  .resto-menu-page .menu-item__rail {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    margin-top: auto;
    border-top: none;
    gap: 0.3rem;
  }

  .resto-menu-page .menu-item__price {
    font-size: 0.65rem;
  }

  .resto-menu-page .menu-item__add {
    min-width: 0;
    padding: 0.28rem 0.42rem;
    font-size: 0.6rem;
  }

  .resto-menu-page .menu-item__soldout {
    font-size: 0.55rem;
    padding: 0.22rem 0.4rem;
  }
}

/* ——— Mobile: centered logo + bottom tab bar ——— */
.resto-tabbar {
  display: none;
}

@media (max-width: 768px) {
  .resto-tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    justify-content: space-around;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 12, 16, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  }

  .resto-tabbar__link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    min-width: 0;
    transition:
      color 0.2s var(--ease-out),
      background 0.2s var(--ease-out);
  }

  .resto-tabbar__link.is-active {
    color: var(--accent);
    background: rgba(245, 158, 11, 0.12);
  }

  .resto-tabbar__ico svg {
    display: block;
    opacity: 0.92;
  }

  body.resto {
    padding-bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
  }

  .resto-foot {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .resto-top-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .resto-top-cluster {
    justify-content: flex-start;
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .resto-brand {
    justify-content: flex-start;
  }

  .resto-top-end {
    margin-left: 0;
  }

  .resto-nav {
    display: none;
  }
}

/* ——— Staff app shell (sidebar + responsive drawer) ——— */
body.resto-staff-app {
  min-height: 100vh;
  margin: 0;
}

body.resto-staff-app .resto-tabbar {
  display: none !important;
}

body.resto-staff-app {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.resto-foot--staff {
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
}

.resto-foot--staff p {
  margin: 0;
}

.resto-staff-root {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 100vh;
  background: var(--bg, #080c10);
}

.resto-staff-sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 272px;
  border-right: 1px solid var(--border);
  background:
    linear-gradient(175deg, rgba(245, 158, 11, 0.07) 0%, transparent 38%),
    linear-gradient(180deg, rgba(15, 20, 28, 0.98), rgba(8, 12, 16, 0.99));
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.22);
  z-index: 160;
}

.resto-staff-sidebar__head {
  padding: 1.25rem 1.15rem 1rem;
  border-bottom: 1px solid var(--border);
}

.resto-staff-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.resto-staff-sidebar__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.12;
  min-width: 0;
}

.resto-staff-sidebar__brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.resto-staff-sidebar__brand-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.resto-staff-sidebar__role {
  margin: 0.85rem 0 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-staff-sidebar__who {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  word-break: break-word;
}

.resto-staff-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 1rem 0.65rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.resto-staff-nav__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.72rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    color 0.18s var(--ease-out),
    background 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out);
}

.resto-staff-nav__link:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.07);
  border-color: var(--border);
}

.resto-staff-nav__link.is-active {
  color: #0a0c10;
  background: linear-gradient(145deg, #fcd34d, var(--accent) 48%, var(--accent-mid));
  border-color: transparent;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.resto-staff-nav__link.is-active .resto-staff-nav__ico {
  stroke: #0a0c10;
}

.resto-staff-nav__ico {
  flex-shrink: 0;
  opacity: 0.92;
}

.resto-staff-nav__link--logout {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.2);
  background: rgba(248, 113, 113, 0.06);
}

.resto-staff-nav__link--logout:hover {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

.resto-staff-sidebar__foot {
  padding: 0.65rem 0.65rem 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.resto-staff-sidebar__foot .resto-staff-nav__link--logout {
  width: 100%;
  margin-top: 0;
}

.resto-staff-scrim {
  display: none;
}

.resto-staff-workspace {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245, 158, 11, 0.06), transparent 55%), var(--bg, #080c10);
}

.resto-staff-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.82);
  backdrop-filter: blur(14px) saturate(1.15);
}

.resto-staff-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.resto-staff-burger:hover {
  border-color: var(--border-strong);
  background: rgba(245, 158, 11, 0.1);
}

.resto-staff-topbar__center {
  flex: 1;
  min-width: 0;
}

.resto-staff-topbar__title {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resto-staff-topbar__pill {
  flex-shrink: 0;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0c10;
  background: linear-gradient(145deg, #fcd34d, var(--accent) 50%, var(--accent-mid));
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.resto-staff-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem 1.15rem 2.75rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .resto-staff-sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.resto-staff-page-intro {
  margin: 0 0 1.35rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(148, 163, 184, 0.05);
}

@media (max-width: 1023px) {
  .resto-staff-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(290px, 90vw);
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
  }

  body.resto-staff-nav-open .resto-staff-sidebar {
    transform: translate3d(0, 0, 0);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.45);
  }

  .resto-staff-burger {
    display: inline-flex;
  }

  .resto-staff-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 140;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(2, 6, 12, 0.55);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.resto-staff-nav-open .resto-staff-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .resto-staff-topbar__pill {
    display: none;
  }
}

/* Legacy staff pages without sidebar (should not apply when resto-staff-app) */
body.resto-page-admin:not(.resto-staff-app) .resto-main,
body.resto-page-kitchen:not(.resto-staff-app) .resto-main {
  max-width: 1180px;
}

.resto-admin {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.resto-admin__masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, transparent 42%),
    linear-gradient(165deg, rgba(30, 39, 52, 0.55), rgba(12, 16, 22, 0.92));
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.resto-admin__masthead--compact {
  padding: 1.1rem 1.25rem 1.2rem;
}

.resto-admin__masthead-text {
  min-width: 0;
  flex: 1;
}

.resto-admin__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.resto-admin__title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.resto-admin__lead {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 46rem;
}

.resto-admin-board-intro {
  margin: -0.25rem 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.resto-admin__role-pill {
  flex-shrink: 0;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0c10;
  background: linear-gradient(145deg, #fcd34d, var(--accent) 45%, var(--accent-mid));
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 14px var(--accent-glow);
}

.resto-admin-panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 28, 38, 0.65), rgba(12, 16, 22, 0.94));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.resto-admin-panel--accent {
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(245, 158, 11, 0.06) inset;
}

.resto-admin-panel--table {
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.resto-admin-panel__head {
  padding: 1.15rem 1.25rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06), transparent);
}

.resto-admin-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.resto-admin-panel__sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.resto-admin-empty {
  margin: 0;
  padding: 2rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.resto-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1.1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.35);
}

.resto-admin-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: min(100%, 12rem);
  flex: 1 1 10rem;
}

.resto-admin-toolbar__lbl {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-admin-toolbar__search,
.resto-admin-toolbar__select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(12, 16, 22, 0.9);
  color: var(--text);
  font-family: inherit;
}

.resto-admin-toolbar__count {
  margin-left: auto;
  align-self: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.resto-admin-item--hidden {
  display: none !important;
}

.resto-admin-add-preview {
  margin-top: 0.75rem;
  max-width: 100%;
}

.resto-admin-add-preview[hidden] {
  display: none !important;
}

.resto-admin-add-preview__img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.resto-admin-order-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--accent);
}

.resto-admin-order-form {
  margin: 0;
}

.resto-admin-order-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.resto-admin-order-form__select {
  min-width: 7.5rem;
  max-width: 11rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(12, 16, 22, 0.95);
  color: var(--text);
  font-family: inherit;
}

.resto-admin-form {
  padding: 1rem 1.25rem 1.35rem;
}

.resto-admin-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 1.25rem;
}

.resto-admin-form__full {
  grid-column: 1 / -1;
}

.field-label-span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-admin-file {
  position: relative;
  display: block;
  cursor: pointer;
}

.resto-admin-file__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.resto-admin-file__ui {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.05);
  transition:
    border-color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.resto-admin-file:hover .resto-admin-file__ui {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.06);
}

.resto-admin-file__icon {
  display: flex;
  color: var(--accent);
}

.resto-admin-file__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8125rem;
  color: var(--text);
}

.resto-admin-file__text strong {
  font-weight: 700;
}

.resto-admin-file__hint {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

.resto-admin-file--compact .resto-admin-file__ui {
  padding: 0.45rem 0.65rem;
}

.resto-admin-form__actions {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.resto-admin-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resto-admin-item {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 1.25rem;
  background: rgba(8, 12, 16, 0.25);
}

.resto-admin-item:last-child {
  border-bottom: none;
}

.resto-admin-item__form {
  display: grid;
  grid-template-columns: minmax(100px, 140px) minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
}

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

  .resto-admin-item__preview {
    max-width: 200px;
  }
}

.resto-admin-item__preview {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface-solid);
}

.resto-admin-item__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resto-admin-item__cat {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.28rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0c10;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.95), rgba(251, 191, 36, 0.88));
}

.resto-admin-item__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.resto-admin-item__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.resto-admin-item__lbl {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-admin-item__lbl--narrow {
  flex: 0 0 8rem;
  max-width: 11rem;
}

.resto-admin-item__lbl input,
.resto-admin-item__lbl textarea,
.resto-admin-item__lbl select {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}

.resto-admin-item__upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.resto-admin-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.resto-admin-check input {
  accent-color: var(--accent);
}

.resto-admin-item__aside {
  text-align: right;
  min-width: 7.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-end;
}

.resto-admin-item__price {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--accent2);
}

.resto-admin-item__avail {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-admin-item__avail--on {
  color: var(--accent2);
}

.resto-admin-item__avail--off {
  color: #f87171;
}

.resto-admin-avail {
  flex: 1 1 100%;
  min-width: min(100%, 20rem);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 12, 16, 0.45);
}

.resto-admin-avail__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-admin-avail__switch {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.resto-admin-avail__form {
  flex: 1 1 50%;
  margin: 0;
  min-width: 0;
}

.resto-admin-avail__btn {
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: rgba(148, 163, 184, 0.06);
  color: var(--muted);
  transition:
    background 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out);
}

.resto-admin-avail__btn:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.12);
}

.resto-admin-avail__btn.is-selected {
  color: #0a0c10;
  background: linear-gradient(145deg, #86efac, var(--accent2) 55%, #22c55e);
  box-shadow: 0 2px 14px rgba(74, 222, 128, 0.22);
}

.resto-admin-avail__btn--off.is-selected {
  color: #fecaca;
  background: linear-gradient(145deg, rgba(248, 113, 113, 0.35), rgba(185, 28, 28, 0.55));
  box-shadow: 0 2px 14px rgba(248, 113, 113, 0.15);
}

.resto-admin-avail__hint {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--muted);
}

.resto-admin-item__save {
  margin-top: 0.25rem;
}

.resto-admin-item__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

.resto-admin-item__tool {
  margin: 0;
  align-self: center;
}

.resto-admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.resto-admin-panel--table .resto-admin-table {
  border-radius: 0;
}

.resto-admin-panel--table .resto-table th {
  background: rgba(8, 12, 16, 0.45);
}

/* Finance dashboard */
.resto-finance-toolbar {
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.resto-finance-toolbar__label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}

@media (min-width: 640px) {
  .resto-finance-toolbar__label {
    width: auto;
    margin-right: 0.25rem;
  }
}

.resto-finance-toolbar__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.resto-finance-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.35);
  transition: color 0.15s var(--ease-out), border-color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}

.resto-finance-pill:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.35);
}

.resto-finance-pill.is-active {
  color: #0a0c10;
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.85), var(--accent));
}

.resto-finance-toolbar__custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-left: auto;
  padding: 0.25rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px dashed transparent;
}

.resto-finance-toolbar__custom.is-active {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.06);
}

.resto-finance-toolbar__sep {
  color: var(--muted-dim);
  font-size: 0.85rem;
}

.resto-finance-toolbar__custom input[type="date"] {
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.45);
  color: var(--text);
  font-size: 0.78rem;
}

.resto-finance-toolbar__hint {
  margin: 0;
  width: 100%;
  flex-basis: 100%;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted-dim);
}

.resto-finance-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.resto-finance-kpis--compact {
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.resto-finance-kpi {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.resto-finance-kpis--compact .resto-finance-kpi {
  padding: 0.5rem 0.6rem;
}

.resto-finance-kpis--compact .resto-finance-kpi__label {
  font-size: 0.56rem;
  letter-spacing: 0.06em;
}

.resto-finance-kpis--compact .resto-finance-kpi__value {
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.resto-finance-kpis--compact .resto-finance-kpi__meta {
  font-size: 0.62rem;
  margin-top: 0.2rem;
}

.resto-finance-kpi--accent {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(155deg, rgba(245, 158, 11, 0.12), rgba(26, 34, 45, 0.85));
}

.resto-finance-kpi--pipeline {
  border-color: rgba(34, 211, 238, 0.22);
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.08), rgba(26, 34, 45, 0.85));
}

.resto-finance-kpi--muted {
  opacity: 0.92;
  border-style: dashed;
}

.resto-finance-kpi__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-finance-kpi__value {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  word-break: break-word;
}

.resto-finance-kpi__meta {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-dim);
  line-height: 1.35;
}

.resto-finance-panel {
  margin-bottom: 1rem;
}

.resto-finance-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 960px) {
  .resto-finance-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.resto-finance-scroll {
  max-height: min(52vh, 28rem);
  overflow: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.resto-finance-scroll .resto-table {
  margin: 0;
}

.resto-finance-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.resto-finance-nowrap {
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--muted);
}

.resto-finance-spark {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.25rem 0 0.35rem;
}

.resto-finance-spark__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto auto;
  gap: 0.5rem 0.65rem;
  align-items: center;
  font-size: 0.82rem;
}

@media (max-width: 520px) {
  .resto-finance-spark__row {
    grid-template-columns: 5.5rem 1fr;
    grid-template-rows: auto auto;
  }

  .resto-finance-spark__amt,
  .resto-finance-spark__n {
    grid-column: 2;
    justify-self: end;
  }

  .resto-finance-spark__bar-wrap {
    grid-column: 1 / -1;
  }
}

.resto-finance-spark__day {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.resto-finance-spark__bar-wrap {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.resto-finance-spark__bar {
  display: block;
  height: 100%;
  width: var(--resto-bar-pct, 40%);
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.35), var(--accent));
}

.resto-finance-spark__amt {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.resto-finance-spark__n {
  color: var(--muted-dim);
  font-variant-numeric: tabular-nums;
  min-width: 2rem;
  text-align: right;
}

.resto-finance-footnote {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.15);
  font-size: 0.78rem;
  color: var(--muted-dim);
  max-width: 44rem;
}

/* Profile page (staff) */
.resto-profile-page .resto-admin {
  gap: 0.85rem;
  max-width: 52rem;
  margin-inline: auto;
}

.resto-profile-hero {
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.05);
}

.resto-profile-hero__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.resto-profile-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 860px) {
  .resto-profile-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.resto-profile-card .resto-admin-panel__head {
  padding: 0.6rem 0.85rem 0.5rem;
}

.resto-profile-card .resto-admin-panel__title {
  font-size: 0.88rem;
}

.resto-profile-card .resto-admin-panel__sub {
  margin-top: 0.15rem;
  font-size: 0.7rem;
}

.resto-profile-form {
  padding: 0.55rem 0.85rem 0.75rem;
}

.resto-profile-page .resto-profile-form .field {
  margin-bottom: 0.45rem;
}

.resto-profile-form__pair {
  display: grid;
  gap: 0.45rem 0.65rem;
}

@media (min-width: 420px) {
  .resto-profile-form__pair {
    grid-template-columns: 1fr 1fr;
  }
}

.resto-profile-form__actions {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.resto-profile-page .resto-profile-form input[type="text"],
.resto-profile-page .resto-profile-form input[type="email"],
.resto-profile-page .resto-profile-form input[type="password"] {
  padding: 0.38rem 0.55rem;
  font-size: 0.8125rem;
}

.resto-profile-page .resto-profile-form .field label > span {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.resto-menu-admin {
  gap: 1.15rem;
}

/* SLA + guest trust (checkout / track / thanks) */
.resto-sla-banner {
  margin: 0 auto 1rem;
  max-width: 900px;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(245, 158, 11, 0.06);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.resto-sla-banner strong {
  color: var(--text);
}

.resto-demo-email-note {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.06);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: left;
}

.resto-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
}

.resto-copy-input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.55);
  color: var(--text);
  font-size: 0.78rem;
}

/* Admin orders toolbar */
.resto-orders-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.35);
}

.resto-orders-toolbar__search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.45rem;
  flex: 1 1 14rem;
}

.resto-orders-toolbar__lab {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 12rem;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-orders-toolbar__lab input[type="search"] {
  padding: 0.38rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(12, 16, 22, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8125rem;
}

.resto-orders-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.resto-orders-toolbar__bulk {
  margin: 0;
}

.resto-finance-csv {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.resto-finance-csv:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resto-audit-scroll {
  overflow-x: auto;
  max-height: min(70vh, 36rem);
  overflow-y: auto;
}

.resto-audit-nowrap {
  white-space: nowrap;
  font-size: 0.78rem;
}

.resto-audit-type {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.resto-audit-label {
  font-size: 0.78rem;
  color: var(--text);
}

/* Menu admin · compact “add item” band */
.resto-menu-admin-intro {
  margin: 0;
  padding: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 42rem;
  color: var(--muted);
}

.resto-admin-form--compact {
  padding: 0.65rem 0.9rem 0.85rem;
}

.resto-admin-form--compact .resto-admin-form__grid {
  gap: 0.55rem 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.resto-admin-form--compact .resto-admin-form__textarea-short {
  min-height: 2.75rem;
  resize: vertical;
}

.resto-admin-panel:has(.resto-admin-form--compact) .resto-admin-panel__head {
  padding: 0.7rem 0.9rem 0.55rem;
}

.resto-admin-panel:has(.resto-admin-form--compact) .resto-admin-panel__title {
  font-size: 0.95rem;
}

.resto-admin-panel:has(.resto-admin-form--compact) .resto-admin-panel__sub {
  font-size: 0.75rem;
}

.resto-admin-form--compact .resto-admin-form__actions {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
}

.resto-admin-file--compact .resto-admin-file__ui {
  padding: 0.42rem 0.6rem;
  gap: 0.45rem;
}

.resto-admin-file--compact .resto-admin-file__text {
  font-size: 0.78rem;
}

.resto-admin-file--compact .resto-admin-file__hint {
  font-size: 0.65rem;
}

/* Admin order preview (modal) */
.resto-order-preview {
  max-width: min(100% - 1.5rem, 26rem);
  width: 100%;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.resto-order-preview::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.resto-order-preview__card {
  padding: 1rem 1.05rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(26, 34, 45, 0.97), rgba(10, 14, 18, 0.98));
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(245, 158, 11, 0.06) inset;
  max-height: min(88vh, 34rem);
  overflow-x: hidden;
  overflow-y: auto;
}

.resto-order-preview__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.resto-order-preview__code {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  word-break: break-all;
}

.resto-order-preview__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: -0.2rem -0.25rem 0 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.1);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.resto-order-preview__close:hover {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text);
}

.resto-order-preview__badge-wrap {
  margin: 0.4rem 0 0;
}

.resto-order-preview__badge {
  text-transform: capitalize;
}

.resto-order-preview__meta {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.resto-order-preview__meta strong {
  color: var(--text);
  font-weight: 600;
}

.resto-order-preview__block {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.14);
}

.resto-order-preview__h {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.resto-order-preview__p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.resto-order-preview__muted {
  margin-top: 0.2rem !important;
  color: var(--muted-dim) !important;
  font-size: 0.78rem !important;
}

.resto-order-preview__items {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: var(--text);
}

.resto-order-preview__items li {
  margin: 0.15rem 0;
}

.resto-order-preview__links,
.resto-order-preview__guest {
  margin: 0.85rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}

.resto-order-preview__sep {
  margin: 0 0.35rem;
  color: var(--muted-dim);
}

.resto-order-preview__guest-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.resto-order-preview__guest-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Team (users) page */

.resto-users-add-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.resto-users-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.resto-users-muted {
  font-size: 0.78rem;
  color: var(--muted);
}

.resto-users-inline,
.resto-users-pass,
.resto-users-delete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
}

.resto-users-inline:first-child,
.resto-users-pass:first-child {
  margin-top: 0;
}

.resto-users-role-select {
  min-width: 6.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  font-size: 0.8rem;
}

.resto-users-pass input[type="password"] {
  min-width: 8rem;
  max-width: 12rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.5);
  color: var(--text);
  font-size: 0.8rem;
}

.resto-settings-page .resto-admin-panel {
  max-width: 36rem;
}

.resto-settings-hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted-dim);
  line-height: 1.4;
}

.resto-settings-email-note {
  margin: -0.25rem 0 1.25rem;
  max-width: 42rem;
  font-size: 0.78rem;
  color: var(--muted-dim);
  line-height: 1.45;
}

.resto-settings-form .field {
  margin-bottom: 1rem;
}

.resto-settings-non-goals {
  margin-top: 1.5rem;
  max-width: 42rem;
}

.resto-settings-non-goals__body {
  margin: 0;
  line-height: 1.55;
}
