.category-menu-feature {
  --menu-navy: #0b2f57;
  --menu-warm: #f6f2ec;
  --menu-line: #dce4ec;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  grid-template-rows: minmax(0, 1fr);
  block-size: min(520px, var(--category-menu-space, max(120px, calc(100dvh - 225px))));
  background: #fff;
  color: var(--menu-navy);
}

.category-menu-hero {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  background: var(--menu-warm);
}

.category-menu-copy {
  padding: 24px 28px 14px;
}

.category-menu-copy .eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--menu-navy);
  font-weight: 750;
}

.category-menu-copy h2 {
  max-width: 19ch;
  font-size: clamp(27px, 2.25vw, 35px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.category-menu-copy p {
  margin-top: 10px;
  max-width: 42ch;
  color: #46586b;
  font-size: 14px;
}

.category-menu-copy .yellow-button {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 28px;
  max-width: calc(100% - 56px);
  box-shadow: 0 4px 12px #0b2f5726;
}

.category-menu-hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.category-menu-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-menu-hero-image::after {
  position: absolute;
  inset: 0 0 auto;
  height: 36px;
  background: linear-gradient(var(--menu-warm), transparent);
  content: '';
  pointer-events: none;
}

.category-menu-discover {
  min-width: 0;
  min-height: 0;
  padding: 20px 26px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.category-menu-popular h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.category-menu-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 0 6px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--menu-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 8px #0b2f570a;
  font-weight: 700;
  line-height: 1.25;
}

.category-menu-card:hover {
  border-color: #92a9bd;
  background: #fff9e4;
}

.category-menu-card img {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  max-height: 112px;
  aspect-ratio: 3 / 2;
  background: var(--menu-warm);
  object-fit: cover;
}

.category-menu-card span {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 0 8px 12px;
  overflow-wrap: anywhere;
}

.category-menu-card b {
  margin-inline-end: 12px;
  font-size: 19px;
}

.category-menu-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--menu-line);
}

.category-menu-group h3 {
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.3;
}

.category-menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-menu-group a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  color: #122942;
  font-size: 13px;
  line-height: 1.4;
}

.category-menu-group a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-height: 710px) {
  .category-menu-discover {
    padding-block: 14px;
  }

  .category-menu-card img {
    max-height: 76px;
  }

  .category-menu-copy {
    padding-block: 16px 10px;
  }
}

@media (max-height: 525px) {
  .category-menu-copy p {
    display: none;
  }

  .category-menu-copy h2 {
    font-size: 23px;
  }

  .category-menu-copy .yellow-button {
    bottom: 12px;
  }
}
