.menu-page {
  min-height: 100vh;
  --header-height: 72px;
  --content-gutter: 18px;
  --page-max: 780px;
}

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px 14px 20px;
  background: var(--ocean-depth);
  color: var(--white);
  transition: transform 220ms ease;
  will-change: transform;
}

.menu-page.nav-hidden .site-header {
  transform: translateY(-100%);
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.header-logo {
  width: 110px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  min-height: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid rgba(176, 224, 232, 0.42);
  border-radius: 999px;
  color: var(--icy-mist);
}

.lang-button {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--icy-mist);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
}

.lang-button.is-active {
  background: var(--icy-mist);
  color: var(--ocean-depth);
}

.desktop-contact {
  display: none;
}

.hamburger-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  grid-template-rows: repeat(3, 2px);
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(176, 224, 232, 0.34);
  border-radius: 50%;
  background: rgba(176, 224, 232, 0.12);
  cursor: pointer;
}

.hamburger-button span {
  width: 22px;
  height: 2px;
  border-radius: 8px;
  background: var(--icy-mist);
  transition: transform 180ms ease, width 180ms ease;
}

.hamburger-button span:nth-child(2) {
  width: 16px;
  justify-self: end;
}

/* ── DRAWER ─────────────────────────────────────── */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(5, 30, 34, 0.52);
  transition: opacity 220ms ease;
}

.drawer-backdrop[hidden] {
  display: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  width: min(86vw, 340px);
  overflow-y: auto;
  padding: 20px;
  background: var(--off-white);
  color: var(--ocean-depth);
  transform: translateX(-120%);
  transition: transform 260ms ease;
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.22);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.drawer-head img {
  width: 100px;
  height: auto;
}

.drawer-head button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--icy-mist);
  color: var(--ocean-depth);
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-grid;
  place-items: center;
}

.drawer-section {
  padding: 20px 0 0;
}

.drawer-section h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ocean-depth);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.contact-list i {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: var(--spiced-ember);
  font-size: 1rem;
}

.contact-list a,
.contact-list span {
  color: var(--ocean-depth);
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.drawer-legal {
  border-top: 1px solid rgba(26, 84, 92, 0.12);
  padding-top: 16px;
}

.drawer-legal p {
  margin: 0 0 4px;
  font-size: 0.82rem;
  color: var(--muted-text);
  line-height: 1.4;
}

/* ── ALLERGEN ACCORDION ─────────────────────────── */
.allergen-accordion {
  border-top: 1px solid rgba(26, 84, 92, 0.18);
  border-bottom: 1px solid rgba(26, 84, 92, 0.18);
  margin-top: 8px;
}

.allergen-accordion summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  font-size: 1rem;
}

.allergen-accordion summary::-webkit-details-marker {
  display: none;
}

.allergen-accordion summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.allergen-accordion[open] summary::after {
  content: "−";
}

.allergen-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 16px 22px;
  color: var(--muted-text);
  font-size: 0.9rem;
}

/* ── CATEGORY BAR ───────────────────────────────── */
.category-bar {
  position: sticky;
  top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  z-index: 35;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--content-gutter) 14px var(--content-gutter);
  background: rgba(248, 246, 241, 0.97);
  backdrop-filter: blur(14px);
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--content-gutter);
  scrollbar-width: none;
  transition: top 220ms ease;
}

.menu-page.nav-hidden .category-bar {
  top: env(safe-area-inset-top, 0px);
}

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

.category-chip {
  flex: 0 0 auto;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px 9px;
  scroll-snap-align: start;
  background: var(--icy-mist);
  color: var(--ocean-depth);
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.category-chip.is-active {
  background: var(--spiced-ember);
  color: var(--white);
}

/* ── INFO BANNER ────────────────────────────────── */
.info-banner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--content-gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(26, 84, 92, 0.1);
}

.info-banner-item {
  font-size: 0.8rem;
  color: var(--muted-text);
  line-height: 1.5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── MENU MAIN ──────────────────────────────────── */
.menu-main {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 32px var(--content-gutter) 0;
}

.menu-sections {
  display: grid;
  gap: 40px;
}

/* ── SECTION ────────────────────────────────────── */
.menu-section {
  scroll-margin-top: 110px;
}

.menu-section h2 {
  margin: 0 0 6px;
  color: var(--tropical-mint);
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ── ITEMS GRID – flat list style ───────────────── */
.items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* ── MENU CARD – no border/shadow, separated by line ── */
.menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: stretch;
  gap: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 84, 92, 0.1);
  background: transparent;
}

/* ── CARD PHOTO WRAPPER – clickable indicator ────── */
.menu-card-photo-wrap {
  position: relative;
  order: 2;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  align-self: flex-start;
}

.menu-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #d8d8d8;
  display: block;
}

.menu-card-photo-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--ocean-depth);
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

@media (hover: hover) and (pointer: fine) {
  .menu-card-photo {
    transition: transform 220ms ease;
  }

  .menu-card:hover .menu-card-photo {
    transform: scale(1.06);
  }

  .menu-card-photo-wrap {
    overflow: hidden;
    border-radius: 10px;
  }
}

/* ── CARD CONTENT ───────────────────────────────── */
.card-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-width: 0;
  padding: 0 14px 0 0;
  min-height: 100px;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.card-title {
  margin: 0;
  color: var(--ocean-depth);
  font-family: var(--font-primary);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.item-label {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--tropical-mint);
  color: var(--ocean-depth);
  font-family: "dynapuff", "DynaPuff", cursive;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-price-wrapper {
  margin-top: 4px;
}

.card-description {
  margin: 5px 0 0;
  color: var(--muted-text);
  font-size: 0.86rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ── BOTTOM ROW: weight left, allergens right ────── */
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  align-self: end;
}

.card-price-weight {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

/* ── WEIGHT: bottom left ────────────────────────── */
.card-weight {
  margin: 0;
  color: var(--ocean-depth);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0.01em;
}

.allergen-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.allergen-badge {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--icy-mist);
  color: var(--ocean-depth);
  font-family: var(--font-badge);
  font-size: 0.66rem;
  line-height: 1;
}

.no-allergens {
  display: inline-flex;
  align-items: center;
  color: var(--muted-text);
  font-size: 0.8rem;
}

.card-price-wrapper {
  margin-top: 10px;
}

.card-price {
  color: var(--spiced-ember);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  display: none;
}

/* ── TABLET ─────────────────────────────────────── */
@media (min-width: 640px) {
  .menu-page {
    --content-gutter: 28px;
  }

  .menu-card {
    grid-template-columns: minmax(0, 1fr) 116px;
  }

  .menu-card-photo-wrap {
    width: 116px;
    height: 116px;
  }
}

/* ── DESKTOP ────────────────────────────────────── */
@media (min-width: 1024px) {
  .menu-page {
    --header-height: 76px;
    --content-gutter: 32px;
    --page-max: 860px;
  }

  .site-header {
    padding-inline: 40px;
  }

  .header-logo {
    width: 130px;
  }

  .desktop-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .desktop-contact a {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(176, 224, 232, 0.14);
    color: var(--white);
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .hamburger-button,
  .mobile-drawer,
  .drawer-backdrop {
    display: none;
  }

  .category-bar {
    top: var(--header-height);
    padding-inline: var(--content-gutter);
    justify-content: center;
  }

  .menu-section h2 {
    font-size: 2rem;
  }

  .menu-section {
    scroll-margin-top: 112px;
  }

  .menu-card {
    grid-template-columns: minmax(0, 1fr) 130px;
    padding: 20px 0;
  }

  .menu-card-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: 12px;
  }

  .menu-card-photo {
    border-radius: 12px;
  }

  .card-title {
    font-size: 1.18rem;
  }

  .card-description {
    font-size: 0.92rem;
  }

  .card-price {
    font-size: 1.2rem;
  }

  .site-footer {
    display: block;
    padding: 40px 40px 20px;
    background: var(--ocean-depth);
    color: var(--white);
  }

  .footer-inner {
    width: min(100%, 860px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(340px, 1fr);
    gap: 48px;
    align-items: start;
  }

  .footer-brand img {
    width: 130px;
    margin-bottom: 14px;
  }

  .footer-brand p {
    margin: 0 0 14px;
    color: var(--icy-mist);
    font-size: 0.95rem;
  }

  .footer-socials {
    display: flex;
    gap: 8px;
  }

  .footer-socials a {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: background-color 160ms ease, transform 160ms ease;
  }

  .footer-allergens {
    border-color: rgba(176, 224, 232, 0.28);
  }

  .footer-allergens .allergen-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    color: rgba(255, 255, 255, 0.78);
  }

  .footer-allergens summary {
    color: var(--white);
  }

  .copyright {
    width: min(100%, 860px);
    margin: 28px auto 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hamburger-button:hover {
    background: rgba(176, 224, 224, 0.2);
  }

  .desktop-contact a:hover,
  .footer-socials a:hover {
    transform: translateY(-2px);
    background: var(--spiced-ember);
  }
}

/* ── ITEM MODAL ─────────────────────────────────── */
.item-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 30, 34, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.item-modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@keyframes modalSlideIn {
  from {
    transform: translate(-50%, 100%);
  }

  to {
    transform: translate(-50%, 0);
  }
}

@keyframes modalSlideOut {
  from {
    transform: translate(-50%, 0);
  }

  to {
    transform: translate(-50%, 100%);
  }
}

.item-modal {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 61;
  width: min(100vw, 520px);
  max-height: min(720px, calc(100svh - 104px));
  overflow-y: auto;
  background: var(--off-white);
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: none;
  will-change: transform;
}

.item-modal.is-open {
  display: block;
  pointer-events: auto;
  animation: modalSlideIn 320ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.item-modal.is-closing {
  display: block;
  pointer-events: none;
  animation: modalSlideOut 280ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.item-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--spiced-ember);
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(255, 102, 66, 0.4);
}

.item-modal-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #e0e0e0;
}

.item-modal-photo {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-modal-body {
  padding: 20px 20px calc(32px + env(safe-area-inset-bottom, 0px));
}

.item-modal-topline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.item-modal-title {
  margin: 0;
  flex: 1;
  color: var(--ocean-depth);
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.item-modal-label {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--tropical-mint);
  color: var(--ocean-depth);
  font-family: "dynapuff", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  align-self: center;
}

.item-modal-label[hidden] {
  display: none;
}

.item-modal-price {
  margin: 0 0 10px;
  color: var(--spiced-ember);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.item-modal-description {
  margin: 0 0 14px;
  color: var(--muted-text);
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.item-modal-description[hidden] {
  display: none;
}

.item-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.item-modal-weight {
  color: var(--ocean-depth);
  font-size: 0.82rem;
  opacity: 0.5;
  letter-spacing: 0.01em;
}

.item-modal-weight[hidden] {
  display: none;
}

.item-modal-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

@media (min-width: 600px) {
  .item-modal {
    max-height: min(760px, calc(100svh - 80px));
  }

  .item-modal-photo-wrap {
    border-radius: 20px 20px 0 0;
  }

  .item-modal-body {
    width: auto;
    padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  }
}
