.the-tray {
  --ink: #221816;
  --muted: #6d5c54;
  --paper: #fbf4e7;
  --white: #fffdfa;
  --line: #ead9c8;
  --coal: #171111;
  --red: #c82920;
  --red-dark: #8f1d18;
  --gold: #f0af38;
  --leaf: #356b43;
  --blue: #306f86;
  --shadow: 0 22px 70px rgba(56, 26, 18, 0.16);
  --max: 1180px;
  box-sizing: border-box;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.the-tray a {
  color: inherit;
}

.the-tray h2,
.the-tray h3,
.the-tray p {
  margin-top: 0;
}

.the-tray h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.the-tray .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 950;
  text-decoration: none;
}

.the-tray .button.primary {
  color: var(--white);
  background: var(--red);
}

.the-tray .section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.the-tray.menu-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px clamp(18px, 4vw, 0px) 0;
}

.the-tray .menu-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.the-tray .menu-header p {
  color: var(--muted);
  font-size: 17px;
}

.the-tray .search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.the-tray .search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(34, 24, 22, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
}

.the-tray .menu-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.the-tray .menu-tools,
.the-tray .order-tray {
  position: sticky;
  top: 92px;
}

.the-tray .category-list {
  display: grid;
  gap: 8px;
}

.the-tray .category-list button,
.the-tray .menu-card button,
.the-tray .menu-card .tray-card-action,
.the-tray .tray-header button,
.the-tray .quantity-button {
  cursor: pointer;
  border: 1px solid rgba(34, 24, 22, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.the-tray .category-list button {
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
}

.the-tray .category-list button.active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.the-tray .note-box,
.the-tray .order-tray {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.the-tray .note-box strong {
  display: block;
  margin-bottom: 8px;
}

.the-tray .note-box p,
.the-tray .tray-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.the-tray .menu-status {
  min-height: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

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

.the-tray .menu-card {
  display: grid;
  gap: 14px;
  min-height: 218px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.94);
}

.the-tray .menu-card[hidden] {
  display: none;
}

.the-tray .tray-card-image {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: rgba(231, 79, 43, 0.1);
  border: 1px solid rgba(34, 24, 22, 0.1);
  border-radius: 8px;
  color: var(--red-dark);
  display: flex;
  font-size: 28px;
  font-weight: 950;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.the-tray .tray-card-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.the-tray .tray-card-image--placeholder {
  min-height: 140px;
}

.the-tray .menu-card header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.the-tray .menu-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.the-tray .price {
  color: var(--red-dark);
  font-size: 20px;
  font-weight: 950;
}

.the-tray .menu-card p {
  margin: 0;
  color: var(--muted);
}

.the-tray .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.the-tray .tag-row span {
  border: 1px solid rgba(34, 24, 22, 0.12);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  background: rgba(251, 244, 231, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.the-tray .menu-card button,
.the-tray .menu-card .tray-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--white);
  border-color: var(--coal);
  background: var(--coal);
}

.the-tray button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.the-tray .tray-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.the-tray .tray-header span {
  display: block;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.the-tray .tray-header button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.the-tray .cart-items {
  display: grid;
  gap: 10px;
}

.the-tray .cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.the-tray .cart-item strong {
  display: block;
  line-height: 1.2;
}

.the-tray .cart-item small {
  color: var(--muted);
}

.the-tray .quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.the-tray .quantity-button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.the-tray .cart-empty {
  padding: 18px;
  border: 1px dashed rgba(34, 24, 22, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(251, 244, 231, 0.7);
  text-align: center;
}

.the-tray .totals {
  margin: 16px 0 0;
}

.the-tray .totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.the-tray .totals div:last-child {
  border-bottom: 0;
}

.the-tray dt {
  color: var(--muted);
  font-weight: 850;
}

.the-tray dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.the-tray .total-row {
  font-size: 20px;
}

.the-tray .tray-button {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .the-tray .menu-shell {
    grid-template-columns: 1fr;
  }

  .the-tray .menu-tools,
  .the-tray .order-tray {
    position: static;
  }

  .the-tray .category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .the-tray .menu-header {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .the-tray .category-list {
    grid-template-columns: 1fr 1fr;
  }

  .the-tray .note-box,
  .the-tray .order-tray,
  .the-tray .menu-card {
    padding: 16px;
  }

  .the-tray .menu-card header {
    display: grid;
    gap: 4px;
  }

  .the-tray dd {
    text-align: left;
  }
}
