.menu-body {
  background: #fbfaf7;
}

.modal-open {
  overflow: hidden;
}

.menu-header {
  position: relative;
  padding: 22px clamp(18px, 5vw, 64px) 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 77, 61, 0.36), transparent 22%),
    linear-gradient(135deg, rgba(126, 16, 24, 0.96), rgba(24, 16, 15, 0.9)),
    var(--charcoal);
}

.menu-back {
  display: inline-flex;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-brand .business-logo {
  width: 64px;
  height: 64px;
  background: var(--white);
  color: var(--red);
}

.menu-brand h1 {
  margin: 0 0 6px;
  font-size: clamp(2.3rem, 8vw, 5rem);
}

.menu-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.profile-actions a,
.profile-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.profile-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-actions a:hover,
.profile-info-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
}

.menu-shell {
  width: min(920px, calc(100% - 28px));
  margin: -20px auto 50px;
  padding-bottom: 18px;
}

.category-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 13px;
  border: 1px solid rgba(200, 23, 36, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(126, 16, 24, 0.96), rgba(40, 18, 16, 0.94));
  box-shadow: 0 18px 38px rgba(126, 16, 24, 0.18);
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-bar a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff8f3;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.category-bar a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.category-bar a:active {
  transform: scale(0.97);
}

.menu-section {
  padding: 30px 0 4px;
}

.menu-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.menu-item.with-photo {
  grid-template-columns: 58px 1fr auto;
  padding: 10px 0;
}

.menu-item.with-photo div {
  min-width: 0;
}

.menu-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(102, 26, 22, 0.14);
}

.menu-item h3 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.menu-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-item strong {
  color: var(--red);
  font-size: 0.96rem;
  white-space: nowrap;
}

.menu-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px clamp(18px, 5vw, 64px) 34px;
  color: var(--white);
  text-align: center;
  background: var(--charcoal);
}

.menu-footer a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
}

.business-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.business-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 15, 0.62);
  backdrop-filter: blur(8px);
}

.business-modal__panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf5;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
}

.business-modal__panel h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
}

.business-info-list {
  display: grid;
  gap: 10px;
}

.business-info-list article {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.business-info-list span {
  color: var(--muted);
  font-size: 0.82rem;
}

.business-info-list strong,
.business-info-list a {
  color: var(--charcoal);
  font-size: 0.98rem;
  font-weight: 900;
}

.business-info-list a {
  text-decoration: underline;
  text-decoration-color: rgba(200, 23, 36, 0.35);
  text-underline-offset: 3px;
}

.wifi-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wifi-row button,
.business-modal__close {
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.wifi-row button {
  flex: 0 0 auto;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.business-modal__close {
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
}

@media (max-width: 560px) {
  .menu-brand {
    align-items: flex-start;
  }

  .profile-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .profile-actions a,
  .profile-info-button {
    width: 38px;
    height: 38px;
  }

  .menu-item {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .menu-item.with-photo {
    grid-template-columns: 52px 1fr auto;
  }

  .menu-thumb {
    width: 52px;
    height: 52px;
  }

  .menu-item p {
    display: none;
  }

  .menu-footer {
    display: grid;
  }
}
