/*!
 * Ember & Oak — design system & layouts
 */

/* ------------------------------------------------------------------ *
   1. Tokens & reset
 * ------------------------------------------------------------------ */

:root {
  --bg: #faf6f0;
  --bg-2: #f3ece2;
  --bg-3: #ece2d4;
  --surface: #ffffff;
  --surface-warm: #fffdfa;
  --ink: #1f1b17;
  --ink-soft: #564f48;
  --muted: #6e665d;
  --line: #e7ded2;
  --line-strong: #d6c9b8;
  --accent: #c2502a;
  --accent-strong: #a5401e;
  --accent-soft: #fbe9df;
  --green: #276b46;
  --green-soft: #e5f3ea;
  --amber: #8a5a12;
  --amber-soft: #fdf1d8;
  --red: #b3261e;
  --red-soft: #fbe8e5;
  --shadow-sm: 0 1px 2px rgba(31, 27, 23, 0.05), 0 6px 16px -10px rgba(31, 27, 23, 0.2);
  --shadow-md: 0 24px 50px -28px rgba(31, 27, 23, 0.4);
  --shadow-lg: 0 40px 90px -30px rgba(31, 27, 23, 0.45);
  --radius: 18px;
  --radius-lg: 24px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --max: 1180px;
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(1100px 520px at 88% -12%, #fdf0e4 0%, rgba(253, 240, 228, 0) 62%),
    radial-gradient(900px 480px at -10% 8%, #f6ece0 0%, rgba(246, 236, 224, 0) 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl,
dd,
dt {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

body.no-scroll {
  overflow: hidden;
}

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

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ *
   2. Shared bits: buttons, fields, pills, icons
 * ------------------------------------------------------------------ */

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

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

.fineprint {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.danger-text {
  color: var(--red) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(122, 44, 17, 0.25), 0 12px 24px -14px rgba(194, 80, 42, 0.9);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-strong);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover:not(:disabled) {
  background: #362f28;
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: var(--ink-soft);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(31, 27, 23, 0.05);
  color: var(--ink);
}

.btn-soft {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-soft:hover:not(:disabled) {
  background: #f7dccd;
}

.btn-danger {
  background: var(--red);
  color: #fff;
}

.btn-danger:hover:not(:disabled) {
  background: #8f1c16;
}

.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.link-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-btn.centered {
  justify-content: center;
  width: 100%;
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover:not(:disabled) {
  background: var(--bg-2);
  color: var(--ink);
}

.icon-btn.danger:hover:not(:disabled) {
  background: var(--red-soft);
  color: var(--red);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tag .ico {
  width: 0.95em;
  height: 0.95em;
}

.tag-popular {
  background: #fdf1d8;
  color: #8a5a12;
}

.tag-veg {
  background: var(--green-soft);
  color: #276b46;
}

.tag-spicy {
  background: var(--red-soft);
  color: var(--red);
}

.tag-gf {
  background: #eef1e4;
  color: #5a6435;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(47, 125, 82, 0.14);
}

.status-pill.is-closed {
  background: var(--red-soft);
  color: var(--red);
}

.status-pill.is-closed .status-dot {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-new {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.status-preparing {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-ready {
  background: var(--green-soft);
  color: var(--green);
}

.status-completed {
  background: var(--bg-2);
  color: var(--ink-soft);
}

.status-cancelled {
  background: var(--red-soft);
  color: var(--red);
}

/* ------------------------------- fields -------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field > label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea,
.select {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 60px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b3a89b;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 80, 42, 0.13);
}

.field .err {
  display: none;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--red);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: var(--red);
  background: #fff8f7;
}

.field.is-invalid .err {
  display: block;
}

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

.span-2 {
  grid-column: span 2;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.check-sm {
  font-size: 0.76rem;
  white-space: nowrap;
}

.hint {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.hint code {
  padding: 0.08rem 0.3rem;
  border-radius: 5px;
  background: var(--bg-2);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.fieldset {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-warm);
}

.fieldset h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.fieldset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.fieldset > h3:first-child {
  margin-bottom: 0.65rem;
}

/* ------------------------------- switches ------------------------------ */

.switch-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}

.switch-line.is-large {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.switch-line input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch {
  position: relative;
  flex: none;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: #ddd2c4;
  transition: background-color 0.18s ease;
}

.switch::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(31, 27, 23, 0.25);
  transition: transform 0.18s ease;
}

.switch-line input:checked + .switch {
  background: var(--accent);
}

.switch-line input:checked + .switch::after {
  transform: translateX(15px);
}

.switch-line input:focus-visible + .switch {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.switch-only {
  gap: 0;
}

/* ------------------------------- thumbs -------------------------------- */

.thumb {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f4e6d8 0%, #ecd3be 55%, #e5c3a7 100%);
}

.thumb[data-emoji]::before {
  content: attr(data-emoji);
  position: absolute;
  font-size: var(--emoji-size, 2.6rem);
  line-height: 1;
  filter: saturate(0.95);
}

.thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-sm {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  --emoji-size: 1.7rem;
}

.thumb-xs {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  --emoji-size: 1.35rem;
}

/* ------------------------------------------------------------------ *
   3. Storefront header
 * ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -24px rgba(31, 27, 23, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--accent) 0%, #a53f1d 90%);
  color: #fff8f1;
  box-shadow: 0 8px 18px -10px rgba(194, 80, 42, 0.9);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-orders {
  padding: 0.6rem 0.85rem;
  font-size: 0.84rem;
}

.cart-btn {
  position: relative;
  padding: 0.65rem 0.75rem 0.65rem 0.95rem;
  gap: 0.5rem;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cart-btn.bump {
  animation: cart-bump 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cart-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

/* ------------------------------------------------------------------ *
   4. Hero
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4.25rem) 0 clamp(2.75rem, 6vw, 5rem);
}

.hero-copy h1 {
  margin: 0.65rem 0 1.15rem;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero-copy h1 em {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-sub {
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 2.4rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stats dd {
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.45;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.65); opacity: 0.6; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { opacity: 0; }
}

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 18% -6% -8% 16%;
  z-index: 0;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(closest-side, rgba(194, 80, 42, 0.22), rgba(194, 80, 42, 0));
  filter: blur(8px);
}

.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3.35;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  --emoji-size: 5rem;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: -1.4rem;
  bottom: 1.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}

.hero-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-badge strong {
  font-size: 0.85rem;
}

.hero-badge small {
  font-size: 0.7rem;
  color: var(--muted);
}

.hero-star {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
}

.hero-note {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 3;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 27, 23, 0.55);
  color: #fff8f0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* ------------------------------------------------------------------ *
   5. Menu section
 * ------------------------------------------------------------------ */

.menu-section {
  padding-bottom: 5rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
}

.search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(320px, 100%);
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.search:focus-within {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(194, 80, 42, 0.12);
}

.search .ico {
  width: 17px;
  height: 17px;
}

.search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0.22rem 0;
  border: 0;
  background: transparent;
  font-size: 0.86rem;
}

.search input:focus {
  outline: none;
}

.search input::placeholder {
  color: #ada294;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.5rem;
}

.chips,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.46rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}

.chip:hover {
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chip-emoji {
  font-size: 0.95em;
  line-height: 1;
}

.chip-count {
  padding: 0.05rem 0.34rem;
  border-radius: 999px;
  background: rgba(31, 27, 23, 0.07);
  font-size: 0.68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chip.is-active .chip-count {
  background: rgba(255, 255, 255, 0.18);
}

.toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.35rem;
}

.dish {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dish:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.dish-thumb {
  aspect-ratio: 4 / 2.9;
  --emoji-size: 3.4rem;
}

.dish-thumb img {
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dish:hover .dish-thumb img {
  transform: scale(1.045);
}

.dish.is-soldout .dish-thumb img {
  filter: grayscale(0.85) brightness(0.96);
  opacity: 0.75;
}

.badge {
  position: absolute;
  top: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.badge-star {
  left: 0.7rem;
  background: rgba(255, 250, 240, 0.92);
  color: #8a5a12;
  box-shadow: 0 2px 8px rgba(31, 27, 23, 0.12);
}

.badge-sold {
  right: 0.7rem;
  background: rgba(31, 27, 23, 0.72);
  color: #fff;
}

.dish-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
  padding: 1rem 1.1rem 1.15rem;
}

.dish-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.dish-title-row h3 {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
}

.dish-open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.dish-open:hover {
  color: var(--accent-strong);
}

.price,
.item-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dish-desc {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--muted);
}

.dish-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.dish-foot .tags {
  gap: 0.3rem;
}

.btn-add {
  flex: none;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-add:hover:not(:disabled) {
  background: var(--accent);
}

.btn-add:disabled {
  background: var(--bg-3);
  color: var(--muted);
  opacity: 1;
  cursor: not-allowed;
}

.empty-state {
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.empty-state .empty-emoji {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.empty-emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.empty-state p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 30rem;
  margin-inline: auto;
}

.empty-state .btn {
  margin-top: 1.1rem;
}

.empty-state.in-panel {
  padding: 2.5rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface-warm);
}

.empty-state.in-modal {
  padding: 2.5rem 1rem;
}

/* ------------------------------------------------------------------ *
   6. Cart drawer
 * ------------------------------------------------------------------ */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(28, 24, 20, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  backdrop-filter: blur(2px);
}

.scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100dvh;
  background: var(--surface);
  box-shadow: -30px 0 80px -40px rgba(31, 27, 23, 0.55);
  visibility: hidden;
  transform: translateX(104%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.32s;
}

.drawer.is-open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0s;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin-top: 0.2rem;
  font-size: 1.55rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.35rem;
  overscroll-behavior: contain;
}

.drawer-foot {
  padding: 1.1rem 1.35rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-line-main {
  min-width: 0;
}

.cart-line-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

.cart-line-top h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-line-top strong {
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-line-opts {
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

.cart-line-notes {
  margin-top: 0.25rem;
  font-size: 0.73rem;
  font-style: italic;
  color: var(--ink-soft);
}

.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.cart-line-actions .link-btn {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
}

.stepper-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.8rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.stepper-btn .ico {
  width: 15px;
  height: 15px;
}

.stepper-btn:hover {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(31, 27, 23, 0.14);
}

.stepper > span {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stepper-sm .stepper-btn {
  width: 26px;
  height: 26px;
}

.cart-empty {
  padding: 3.5rem 1rem;
  text-align: center;
}

.cart-empty h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.cart-empty p {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-empty .btn {
  margin-top: 1.1rem;
}

.totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.totals-row + .totals-row {
  margin-top: 0.4rem;
}

.totals-row.is-total {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink);
  font-size: 1rem;
}

.totals-row.is-total strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.drawer-foot .totals-row {
  font-size: 1rem;
  color: var(--ink);
}

.drawer-foot .totals-row strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.drawer-foot .fineprint {
  margin: 0.35rem 0 0.9rem;
}

.closed-note {
  margin: 0.4rem 0 0.7rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 500;
}

/* ------------------------------------------------------------------ *
   7. Modals (shared)
 * ------------------------------------------------------------------ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  overflow-y: auto;
  background: rgba(28, 24, 20, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.is-open {
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease;
}

.modal-overlay.is-open .modal {
  opacity: 1;
  transform: none;
}

.modal-sm {
  max-width: 420px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem 0.4rem;
}

.modal-head h2 {
  margin-top: 0.25rem;
  font-size: 1.65rem;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.actions-right {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

.confirm-body {
  padding: 1.6rem 1.5rem 1.4rem;
  text-align: center;
}

.confirm-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.confirm-icon.is-danger {
  background: var(--red-soft);
  color: var(--red);
}

.confirm-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.confirm-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.confirm-body .modal-actions {
  justify-content: center;
  margin-top: 1.3rem;
}

/* ------------------------------------------------------------------ *
   8. Item details modal
 * ------------------------------------------------------------------ */

.modal-item {
  max-width: 660px;
}

.item-hero {
  position: relative;
  aspect-ratio: 16 / 8.2;
  --emoji-size: 4rem;
}

.item-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(31, 27, 23, 0.18);
}

.item-hero .badge-star {
  top: 0.85rem;
  left: 0.85rem;
}

.item-content {
  padding: 1.3rem 1.5rem 1.5rem;
}

.item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.item-heading h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.item-price {
  font-size: 1.25rem;
  padding-top: 0.15rem;
}

.item-desc {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.item-content > .tags {
  margin-top: 0.7rem;
}

.opt-group {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.opt-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.opt-group-head h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.opt-kind {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.opt:hover {
  border-color: var(--ink-soft);
}

.opt.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.opt-delta {
  font-size: 0.75rem;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

.item-content > .field {
  margin-top: 1.2rem;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.item-footer .btn {
  font-size: 0.88rem;
}

/* ------------------------------------------------------------------ *
   9. Checkout & order confirmation
 * ------------------------------------------------------------------ */

.modal-checkout {
  max-width: 580px;
}

.checkout-form {
  padding: 0.6rem 1.4rem 1.4rem;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.6rem 0 1.1rem;
}

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

.seg-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-warm);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.seg-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg-opt small {
  font-size: 0.72rem;
  color: var(--muted);
}

.seg-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.seg-opt.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.seg-opt.is-active .seg-title {
  color: var(--accent-strong);
}

.seg-opt.is-active small {
  color: var(--accent-strong);
  opacity: 0.75;
}

.summary {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--bg-2);
}

.summary .totals-row + .totals-row {
  margin-top: 0.35rem;
}

.checkout-form > .btn {
  margin-top: 1rem;
}

.checkout-form > .fineprint {
  margin-top: 0.6rem;
  text-align: center;
}

.modal-success {
  max-width: 520px;
}

.success-view {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  text-align: center;
}

.success-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.5rem;
}

.success-icon .ico {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.success-view h2 {
  margin: 0.3rem 0 0.45rem;
  font-size: 2rem;
}

.success-sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.order-ticket {
  margin: 1.3rem 0 1.2rem;
  padding: 0.95rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--surface-warm);
  text-align: left;
}

.ticket-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.ticket-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.83rem;
}

.ticket-line > span:first-child {
  display: flex;
  flex-direction: column;
}

.ticket-line small {
  font-size: 0.72rem;
  color: var(--muted);
}

.ticket-line > span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ticket-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.ticket-total strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.success-view > .fineprint {
  margin-top: 1rem;
}

/* ------------------------------------------------------------------ *
   10. Customer order tracking
 * ------------------------------------------------------------------ */

.modal-orders {
  max-width: 560px;
}

.orders-body {
  padding: 0.8rem 1.4rem 1.4rem;
}

.order-card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-warm);
}

.order-card + .order-card {
  margin-top: 0.85rem;
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.order-card-head strong {
  font-size: 0.95rem;
}

.order-card-head .muted {
  font-size: 0.76rem;
}

.order-items {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.order-items li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.18rem 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.order-items li > span:first-child {
  display: flex;
  flex-direction: column;
}

.order-items small {
  font-size: 0.71rem;
  color: var(--muted);
}

.order-items li > span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.order-card-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.order-card-foot .muted {
  font-size: 0.78rem;
}

.order-card-foot strong {
  font-family: var(--font-serif);
  font-size: 1rem;
}

.order-card-foot .link-btn {
  margin-left: auto;
  font-size: 0.78rem;
}

.tracker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin-top: 0.95rem;
  padding-top: 0.3rem;
}

.tracker li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
}

.tracker li::before {
  content: '';
  position: absolute;
  top: 11px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
}

.tracker li:first-child::before {
  display: none;
}

.tracker li.is-done::before,
.tracker li.is-current::before {
  background: var(--green);
}

.tracker-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.66rem;
  font-weight: 700;
}

.tracker li.is-done .tracker-dot {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.tracker li.is-current .tracker-dot {
  border-color: var(--accent);
  color: var(--accent-strong);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.tracker li.is-current small {
  color: var(--accent-strong);
  font-weight: 700;
}

.cancelled-note {
  margin-top: 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.76rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------------ *
   11. Footer
 * ------------------------------------------------------------------ */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.6);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.4rem 0 1.6rem;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.footer-brand p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-meta p {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-meta p + p {
  margin-top: 0.2rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
}

.footer-fine {
  padding-bottom: 1.8rem;
}

.footer-fine p {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
   12. Toasts
 * ------------------------------------------------------------------ */

.toast-host {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: min(92vw, 420px);
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f9f3ea;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.toast .ico {
  color: #9fd6b4;
}

.toast-error {
  background: #7f1d18;
}

.toast-error .ico {
  color: #fbb4ae;
}

/* ------------------------------------------------------------------ *
   13. Admin layout
 * ------------------------------------------------------------------ */

.admin-body {
  background: #f7f2ea;
  background-image: none;
}

.admin {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100dvh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  height: 100dvh;
  padding: 1.5rem 1rem 1.2rem;
  background: var(--ink);
  color: #f2e9dd;
  overflow-y: auto;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.2rem 0.4rem;
}

.side-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3a682;
  box-shadow: none;
}

.side-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.side-brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-brand-text small {
  font-size: 0.7rem;
  color: rgba(242, 233, 221, 0.55);
  letter-spacing: 0.04em;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.side-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  color: rgba(242, 233, 221, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.side-link .ico {
  width: 17px;
  height: 17px;
  opacity: 0.8;
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.side-link.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.side-link.is-active::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 3px;
  height: 20px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  transform: translateY(-50%);
}

.side-badge {
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.32rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.side-foot {
  margin-top: auto;
  padding: 0.9rem 0.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.side-foot .storefront-link {
  padding: 0.45rem 0.35rem;
  justify-content: flex-start;
  font-size: 0.8rem;
  color: #f0b295;
}

.side-foot .storefront-link:hover {
  background: transparent;
  color: #ffd9c4;
}

.side-note {
  padding: 0.5rem 0.35rem 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(242, 233, 221, 0.42);
}

.admin-main {
  min-width: 0;
  padding: 1.75rem clamp(1rem, 3vw, 2.6rem) 4.5rem;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto 1.5rem;
}

.admin-heading h1 {
  font-size: clamp(1.9rem, 3vw, 2.35rem);
}

.admin-heading p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-view {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------ *
   14. Admin components
 * ------------------------------------------------------------------ */

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  border: 1px solid #f0d9a8;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #7c5416;
  font-size: 0.82rem;
  font-weight: 500;
}

.notice > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.notice .link-btn {
  color: #7c5416;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-soft {
  justify-content: flex-start;
  border-color: var(--line);
  background: var(--surface-warm);
  color: var(--ink-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-label .ico {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.stat strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-of {
  font-size: 1.1rem;
  color: var(--muted);
}

.stat small {
  font-size: 0.74rem;
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.panel {
  padding: 1.25rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-head h2 {
  font-size: 1.2rem;
}

.panel-head .muted {
  font-size: 0.75rem;
}

.panel-hint {
  margin: -0.4rem 0 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.sellers {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.seller-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.seller-head strong {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.seller-bar {
  height: 7px;
  border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
}

.seller-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, #dc8a62 100%);
}

.order-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.admin-order {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-warm);
}

.admin-order + .admin-order {
  margin-top: 0;
}

.ao-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ao-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.ao-title strong {
  font-size: 0.95rem;
}

.ao-title .muted {
  font-size: 0.75rem;
}

.ao-total {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
}

.ao-items {
  margin-top: 0.7rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ao-items li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.16rem 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.ao-items li b {
  font-weight: 600;
  color: var(--ink);
}

.ao-items li small {
  display: block;
  font-size: 0.71rem;
  color: var(--muted);
}

.ao-items li > span:last-child {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ao-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.6rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.ao-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ao-meta .ico {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

.ao-address,
.ao-note {
  margin-top: 0.4rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.ao-address {
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
}

.ao-address .ico {
  width: 13px;
  height: 13px;
  margin-top: 0.15rem;
  color: var(--muted);
}

.ao-note {
  padding: 0.45rem 0.65rem;
  border-radius: 9px;
  background: var(--bg-2);
  font-style: italic;
}

.ao-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.ao-breakdown {
  font-size: 0.71rem;
  color: var(--muted);
}

.ao-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ao-done {
  font-size: 0.75rem;
}

.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.toolbar .search {
  flex: 1 1 240px;
  max-width: 380px;
  background: var(--surface);
}

.select {
  width: auto;
  min-width: 170px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.83rem;
  background: var(--surface);
}

.toolbar-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

.menu-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.menu-row {
  display: grid;
  grid-template-columns: minmax(220px, 2.1fr) minmax(120px, 1fr) 92px 96px 96px 80px;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

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

.menu-row:hover {
  background: var(--surface-warm);
}

.mr-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.mr-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.12rem;
}

.mr-text strong {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.mr-text small {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mr-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.82rem;
  min-width: 0;
}

.mr-cell strong {
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.cell-label {
  display: none;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mr-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.2rem;
}

.view-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.modal-editor {
  max-width: 720px;
}

.item-form {
  padding: 0.7rem 1.4rem 1.4rem;
}

.option-groups {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.opt-editor {
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.opt-editor-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.opt-editor-top .g-name {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
}

.opt-editor-top .g-name:focus,
.g-choices:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(194, 80, 42, 0.12);
}

.opt-editor-top .icon-btn {
  width: 28px;
  height: 28px;
}

.g-choices {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.8rem;
}

.cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cat-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-warm);
}

.cat-emoji,
.cat-name {
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-size: 0.88rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cat-emoji {
  text-align: center;
  font-size: 1.1rem;
}

.cat-name {
  font-weight: 600;
  min-width: 0;
}

.cat-emoji:hover,
.cat-name:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.cat-emoji:focus,
.cat-name:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(194, 80, 42, 0.1);
}

.cat-count {
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}

.cat-actions {
  display: flex;
  gap: 0.15rem;
}

.cat-actions .icon-btn {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
}

.inline-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.inline-form input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.88rem;
}

.inline-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 80, 42, 0.12);
}

.inline-form .inline-emoji {
  flex: 0 0 64px;
  text-align: center;
  font-size: 1.05rem;
}

.settings-form {
  max-width: 720px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.data-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.data-row strong {
  font-size: 0.88rem;
}

.data-row p {
  margin-top: 0.15rem;
  font-size: 0.78rem;
}

/* ------------------------------------------------------------------ *
   15. Responsive
 * ------------------------------------------------------------------ */

@media (min-width: 720px) {
  .modal-overlay {
    align-items: center;
  }
}

@media (max-width: 1180px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .hero {
    gap: 2.5rem;
  }

  .hero-badge {
    left: -0.75rem;
  }

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

@media (max-width: 980px) {
  .admin {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 35;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 14px 34px -26px rgba(31, 27, 23, 0.75);
  }

  .side-brand {
    padding: 0;
    flex: none;
  }

  .side-brand .brand-mark {
    width: 34px;
    height: 34px;
  }

  .side-brand-text small {
    display: none;
  }

  .side-nav {
    flex-direction: row;
    gap: 0.25rem;
    margin-left: auto;
  }

  .side-link {
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .side-link .ico {
    width: 15px;
    height: 15px;
  }

  .side-link.is-active::before {
    display: none;
  }

  .side-badge {
    margin-left: 0.1rem;
  }

  .side-foot {
    display: none;
  }

  .admin-main {
    padding-top: 1.35rem;
  }

  .menu-row {
    grid-template-columns: minmax(190px, 1.8fr) minmax(110px, 1fr) 80px 80px 76px;
  }

  .menu-row .mr-cell:nth-of-type(4) {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .hero-media {
    width: 100%;
  }

  .hero-photo {
    aspect-ratio: 16 / 9.5;
    --emoji-size: 4rem;
  }

  .hero-badge {
    left: 0.9rem;
    bottom: 0.9rem;
  }

  .hero-note {
    top: 0.9rem;
    right: 0.9rem;
  }

  .hero-stats {
    margin-top: 1.8rem;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .section-head .search {
    width: 100%;
    max-width: none;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .toggles {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 2rem);
  }

  .header-orders .ico {
    display: none;
  }

  .header-orders {
    padding: 0.6rem 0.75rem;
  }

  .status-pill {
    display: none;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .dish-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }

  .menu-row {
    grid-template-columns: 1fr auto;
    gap: 0.55rem 0.9rem;
    padding: 0.9rem 1rem;
  }

  .mr-item {
    grid-column: 1 / -1;
  }

  .mr-cell {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .cell-label {
    display: inline;
  }

  .mr-actions {
    grid-column: 2;
    align-self: center;
  }

  .menu-row .mr-cell:nth-of-type(4) {
    display: none;
  }

  .inline-form input {
    flex-basis: 100%;
  }

  .inline-form .inline-emoji {
    flex-basis: 64px;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .footer-links {
    width: 100%;
  }

  .cat-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas:
      'emoji name name'
      '. count actions';
  }

  .cat-row .cat-emoji {
    grid-area: emoji;
  }

  .cat-row .cat-name {
    grid-area: name;
  }

  .cat-row .cat-count {
    grid-area: count;
    padding-left: 0.4rem;
  }

  .cat-row .cat-actions {
    grid-area: actions;
    justify-self: end;
  }

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

  .admin-heading p {
    display: none;
  }

  .admin-header {
    margin-bottom: 1.1rem;
  }

  .admin-actions .status-pill {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .cart-label {
    display: none;
  }

  .cart-btn {
    padding: 0.6rem 0.55rem 0.6rem 0.7rem;
  }

  .header-orders {
    font-size: 0.78rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .hero-copy h1 br {
    display: none;
  }

  .hero-sub {
    font-size: 0.96rem;
  }

  .hero-stats {
    gap: 1.6rem;
  }

  .hero-badge {
    padding: 0.6rem 0.75rem;
  }

  .hero-note {
    display: none;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

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

  .chip {
    flex: none;
  }

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

  .dish-thumb {
    aspect-ratio: 16 / 8.5;
  }

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

  .span-2 {
    grid-column: span 1;
  }

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

  .item-content,
  .checkout-form,
  .item-form {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .modal-head,
  .orders-body {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .success-actions .btn {
    flex: 1;
  }

  .admin-main {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .sidebar {
    padding: 0.55rem 0.75rem;
  }

  .side-brand-text {
    display: none;
  }

  .side-nav {
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .side-link {
    font-size: 0.76rem;
    padding: 0.45rem 0.6rem;
  }

  .admin-actions {
    width: 100%;
    justify-content: space-between;
  }

  .panel {
    padding: 1rem;
  }

  .stat strong {
    font-size: 1.6rem;
  }

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

  .mr-actions {
    grid-column: 1;
    justify-self: end;
  }

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

  .cat-row {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      'emoji name'
      'count actions';
  }

  .tracker {
    gap: 0.1rem;
  }

  .tracker li small {
    font-size: 0.6rem;
  }
}

@media (max-width: 380px) {
  .header-orders {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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