.menu-page {
  height: 100dvh;
  padding: 16px;
  overflow: hidden;
}

.menu-layout {
  display: flex;
  gap: 16px;
  height: calc(100dvh - 32px);
}

.menu-left {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}

.menu-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* правая часть именно скроллится */
.menu-right {
  flex: 0 0 50%;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0b0a;
  border: 1px solid rgba(239, 231, 210, 0.08);
}

.menu-right-inner {
  height: 100%;
  overflow-y: auto;
  padding: 48px 56px 56px;
  scrollbar-width: thin;
  scrollbar-color: rgba(239, 231, 210, 0.15) transparent;
}

.menu-right-inner::-webkit-scrollbar {
  width: 8px;
}

.menu-right-inner::-webkit-scrollbar-track {
  background: transparent;
}

.menu-right-inner::-webkit-scrollbar-thumb {
  background: rgba(239, 231, 210, 0.15);
  border-radius: 999px;
}

/* категории сверху */
.menu-cats {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 5;
  padding-bottom: 16px;
  background: linear-gradient(#0a0b0a 75%, rgba(10, 11, 10, 0));
}

.menu-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(239, 231, 210, 0.15);
  border-radius: 6px;
  text-decoration: none;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
  background: rgba(24, 24, 24, 0.35);
}

.menu-cat.is-active,
.menu-cat:hover {
  background: rgba(24, 24, 24, 0.65);
}

/* секции */
.menu-section + .menu-section {
  margin-top: 72px;
}

.menu-section-title {
  position: relative;
  width: fit-content;
  margin: 0 auto 36px;
  padding: 0 44px;
  font-family: "Forum", serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-soft);
}

.menu-section-title::before,
.menu-section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: rgba(239, 231, 210, 0.18);
}

.menu-section-title::before {
  left: 0;
}

.menu-section-title::after {
  right: 0;
}

/* элементы меню */
.menu-item {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.menu-item + .menu-item {
  margin-top: 28px;
}

.menu-item-thumb {
  /*
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  */
    height: 130px; 
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;  
}

.menu-item-thumb img {
    /*
  display: block;
  width: 100%;
  height: auto;
    */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-body {
  min-width: 0;
}

.menu-item-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.menu-item-title {
  margin: 0;
  font-family: "Forum", serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-soft);
}

.menu-item-dots {
  border-bottom: 1px dashed rgba(239, 231, 210, 0.18);
  transform: translateY(2px);
}

.menu-item-price {
  font-family: "Forum", serif;
  font-size: 20px;
  line-height: 1;
  color: var(--text-soft);
}

.menu-item-desc {
  margin: 0;
  font-family: "Satoshi", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(239, 231, 210, 0.62);
}

/* tablet */
@media (min-width: 810px) and (max-width: 1279px) {
  .menu-layout {
    flex-direction: column;
    height: auto;
    min-height: calc(100dvh - 32px);
  }

  .menu-left {
    min-height: 560px;
  }

  .menu-right {
    min-height: 720px;
  }
}

/* mobile */
@media (max-width: 809px) {
  .menu-page {
    height: auto;
    min-height: 100dvh;
    padding: 12px;
    overflow: visible;
  }

  .menu-layout {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .menu-left {
    height: 420px;
  }

  .menu-right {
    overflow: visible;
  }

  .menu-right-inner {
    height: auto;
    overflow: visible;
    padding: 28px 20px 24px;
  }

  .menu-cats {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 12px;
  }

  .menu-cat {
    padding: 0 10px;
    font-size: 9px;
  }

  .menu-section-title {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .menu-item {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }

  .menu-item-title,
  .menu-item-price {
    font-size: 18px;
  }

  .menu-item-desc {
    font-size: 13px;
  }
}

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