/* Danzante menu v8 — UX/UI polish aligned with the homepage.
   Keeps the approved purple/cream/gold brand language and real-food imagery. */

/* Curated-menu disclosure now reads like restaurant editorial content, not a system notice. */
.menu-v8-curation-note {
  background: #fffaf0;
  border-bottom: 1px solid rgba(84,45,74,.10);
}
.menu-v8-curation-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0;
}
.menu-v8-curation-copy { min-width: 0; }
.menu-v8-curation-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #b94738;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.menu-v8-curation-note p {
  margin: 0;
  padding: 0;
  color: #5e4d5b;
  font-size: 1.2rem;
  line-height: 1.45;
}
.menu-v8-curation-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(38,1,63,.15);
  border-radius: 999px;
  background: #fff;
  color: #26013f;
  font-size: 1.08rem;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(38,1,63,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.menu-v8-curation-link i { color: #06a94d; font-size: 1.35rem; }
.menu-v8-curation-link:hover,
.menu-v8-curation-link:focus {
  color: #26013f;
  text-decoration: none;
  border-color: rgba(185,71,56,.36);
  box-shadow: 0 8px 22px rgba(38,1,63,.09);
}
@media (hover:hover) and (pointer:fine) {
  .menu-v8-curation-link:hover { transform: translateY(-1px); }
}

/* Popular Picks: four deliberately chosen entry points — dish, taco, starter and cocktail. */
.menu-v4-featured .menu-v8-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Five-card sections feel intentional on wide screens: 3 cards, then 2 centred cards. */
@media (min-width: 992px) {
  .menu-v8-five-grid {
    grid-template-columns: repeat(6, minmax(0,1fr));
  }
  .menu-v8-five-grid > .menu-v3-card { grid-column: span 2; }
  .menu-v8-five-grid > .menu-v3-card:nth-child(4) { grid-column: 2 / span 2; }
  .menu-v8-five-grid > .menu-v3-card:nth-child(5) { grid-column: 4 / span 2; }
}

/* Food descriptions are important in a curated restaurant menu; allow one extra line on phones. */
@media (max-width: 767px) {
  .menu-v3-section:not(.menu-v4-featured) .menu-v3-card p {
    -webkit-line-clamp: 5;
  }
  .menu-v8-curation-inner {
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0 13px;
  }
  .menu-v8-curation-copy { flex: 1 1 auto; }
  .menu-v8-curation-note p { font-size: 1.08rem; line-height: 1.42; }
  .menu-v8-curation-eyebrow { font-size: .96rem; }
  .menu-v8-curation-link {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: .96rem;
    min-width: 39px;
    justify-content: center;
    white-space: nowrap;
  }
  .menu-v8-curation-link i { font-size: 1.35rem; }

  /* Preserve v6 swipe behaviour for the new 4-item Popular Picks grid. */
  .menu-v4-featured .menu-v8-popular-grid {
    display: flex !important;
    gap: 13px;
    overflow-x: auto;
    padding: 2px 20px 12px 0;
    margin-right: -15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .menu-v4-featured .menu-v8-popular-grid::-webkit-scrollbar { display: none; }
  .menu-v4-featured .menu-v8-popular-grid .menu-v3-card {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
  }
  .menu-v4-featured .menu-v8-popular-grid .menu-v3-card-media { aspect-ratio: 16/10; }
}

@media (max-width: 430px) {
  .menu-v4-featured .menu-v8-popular-grid .menu-v3-card { flex-basis: 80vw; }
}
