.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-family: var(--serif);
  font-size: clamp(2.25rem, 9.5vw, 3.75rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.page-head h2,
.route-card h2,
.category-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.58rem, 6.3vw, 2rem);
  font-weight: 500;
  line-height: 1.02;
}

.item-card h3 {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.18;
}

.item-card p {
  font-size: 0.875rem;
  line-height: 1.52;
}

.price {
  font-size: 0.94rem;
}

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

.item-card-rich.has-photo {
  display: grid;
}

.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(--gold);
  border-radius: 999px;
  background: var(--coffee);
  box-shadow: 0 6px 16px rgba(184, 137, 50, 0.2);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
}

.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;
  }

}

.allergen-notice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  overflow: hidden;
  margin-top: 2rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(184, 137, 50, 0.22), transparent 38%),
    linear-gradient(145deg, rgba(38, 34, 30, 0.99), var(--panel));
  box-shadow: 0 16px 40px rgba(54, 31, 19, 0.12);
}

.allergen-notice::after {
  position: absolute;
  right: -1.8rem;
  bottom: -2.4rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(184, 137, 50, 0.2);
  border-radius: 50%;
  content: "";
}

.allergen-notice-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--coffee);
  box-shadow: 0 7px 18px rgba(184, 137, 50, 0.24);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.allergen-notice-copy {
  position: relative;
  z-index: 1;
}

.allergen-notice-label {
  margin: 0 0 0.2rem;
  color: var(--gold-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.allergen-notice h2 {
  margin: 0 0 0.38rem;
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
}

.allergen-notice-copy > p:last-child {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.8rem;
  line-height: 1.55;
}
