.header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  min-width: 0;
  text-align: center;
}

.header-title strong,
.header-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-title strong {
  max-width: 16ch;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 600;
}

.header-title span {
  max-width: 18ch;
  color: var(--muted-strong);
  font-size: 0.72rem;
}

.status-banner,
.empty-state {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(250, 242, 234, 0.98);
  color: var(--black);
}

.hero-copy {
  max-width: 28rem;
  margin: 0.85rem auto 0;
  color: var(--muted-strong);
  text-align: center;
}

.table-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(243, 231, 220, 0.92);
  color: var(--black-2);
  font-size: 0.82rem;
  font-weight: 600;
}

.menu-index {
  margin-bottom: 2rem;
}

.page-head {
  margin-bottom: 1rem;
  padding: 0.1rem 0.15rem 0;
}

.page-head h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.item-card-rich {
  display: block;
}

.item-copy {
  width: 100%;
}

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

.item-title-row h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}

.item-title-row .price {
  flex: 0 0 auto;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.item-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(243, 231, 220, 0.92);
  color: var(--muted-strong);
  font-size: 0.72rem;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.item-quantity {
  width: 4.2rem;
  padding: 0.72rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(250, 242, 234, 0.98);
  color: var(--black);
  font: inherit;
  text-align: center;
}

.item-button {
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(234, 212, 194, 0.76);
  color: var(--black);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.item-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(234, 212, 194, 0.96);
}

.item-button:focus-visible,
.item-quantity:focus-visible,
.round-button:focus-visible {
  outline: 2px solid rgba(182, 146, 121, 0.45);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .header-title strong {
    max-width: 11ch;
  }

  .header-title span {
    max-width: 12ch;
  }

  .item-actions {
    flex-wrap: wrap;
  }

  .page-head h1 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }
}
