html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-base, Inter, "Segoe UI", sans-serif);
  color: var(--color-text, #1f2937);
  background: linear-gradient(180deg, var(--color-background, #fffaf4) 0%, #fff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.section-shell {
  width: min(100% - 2rem, var(--content-width, 1120px));
  margin: 0 auto;
}

.public-menu {
  padding-bottom: 3rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
}

.site-branding {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-branding__logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-soft, 0 16px 40px rgba(15, 23, 42, 0.12));
}

.site-branding__name,
.hero h2,
.section-title,
.category-node h3,
.menu-item-card h4 {
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--color-muted, #6b7280);
  margin: 0 0 0.4rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav a,
.button-link {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border, #e5ded5);
  backdrop-filter: blur(10px);
}

.hero {
  min-height: 360px;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: end;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, rgba(17, 24, 39, 0.45));
}

.hero--plain {
  background: radial-gradient(circle at top left, var(--color-accent, #b45309), #111827);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem 0 3rem;
}

.hero__copy {
  max-width: 640px;
}

.menu-intro {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 2rem 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.language-switcher__label {
  font-size: 0.9rem;
  color: var(--color-muted, #6b7280);
}

.language-switcher__select {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border, #e5ded5);
  background: var(--color-surface, #fff);
}

.category-tree,
.uncategorized-items {
  display: grid;
  gap: 1.5rem;
}

.category-node {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5ded5);
  box-shadow: var(--shadow-soft, 0 16px 40px rgba(15, 23, 42, 0.12));
  border-radius: var(--card-radius, 24px);
  padding: 1.5rem;
}

.category-node__header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.category-node__description,
.section-subtitle,
.menu-item-card__description,
.site-footer__meta,
.site-footer__meta-group {
  color: var(--color-muted, #6b7280);
}

.category-node__image {
  width: 180px;
  height: 140px;
  border-radius: 18px;
  object-fit: cover;
}

.category-node__items,
.category-node__children {
  display: grid;
  gap: 1rem;
}

.category-node--depth-1,
.category-node--depth-2,
.category-node--depth-3 {
  background: color-mix(in srgb, var(--color-surface, #fff) 92%, var(--color-background, #fffaf4));
}

.menu-item-card {
  display: grid;
  grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--color-surface, #fff) 88%, var(--color-background, #fffaf4));
  border: 1px solid var(--color-border, #e5ded5);
}

.menu-item-card__image {
  width: 148px;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
}

.menu-item-card__headline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.menu-item-card__price {
  color: var(--color-accent, #b45309);
  font-weight: 700;
  white-space: nowrap;
}

.menu-item-card__allergens {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.menu-item-card__allergens ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item-card__allergens li {
  background: rgba(180, 83, 9, 0.1);
  color: var(--color-accent, #b45309);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 2rem;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.status-page__card {
  max-width: 540px;
  padding: 2rem;
  background: var(--color-surface, #fff);
  border-radius: var(--card-radius, 24px);
  border: 1px solid var(--color-border, #e5ded5);
  box-shadow: var(--shadow-soft, 0 16px 40px rgba(15, 23, 42, 0.12));
  text-align: center;
}

.status-page__code {
  color: var(--color-accent, #b45309);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.empty-state {
  padding: 3rem 0;
}

@media (max-width: 900px) {
  .site-header,
  .menu-intro,
  .site-footer,
  .category-node__header,
  .menu-item-card__headline {
    flex-direction: column;
    align-items: start;
  }

  .menu-item-card {
    grid-template-columns: 1fr;
  }

  .menu-item-card__image,
  .category-node__image {
    width: 100%;
    height: auto;
  }
}
