.mnd-menu-finder-v2-page {
  margin: 0;
  background: #111113;
}

.mnd-mf-v2-page-main {
  min-width: 0;
  background: #111113;
}

body.mnd-menu-finder-v2-page:has(#mnd-mf-v2 dialog[open]) {
  overflow: hidden;
}

.mnd-mf-v2,
.mnd-mf-v2 *,
.mnd-mf-v2 *::before,
.mnd-mf-v2 *::after {
  box-sizing: border-box;
}

.mnd-mf-v2 {
  --mnd-mf-bg: #111113;
  --mnd-mf-surface: rgba(243, 234, 214, 0.035);
  --mnd-mf-surface-strong: rgba(243, 234, 214, 0.075);
  --mnd-mf-text: #f3ead6;
  --mnd-mf-muted: rgba(243, 234, 214, 0.7);
  /* 0.42 keeps outlined controls at >=3:1 against page and card backgrounds
     (WCAG 1.4.11 non-text contrast); 0.28 measured 2.27:1. */
  --mnd-mf-border: rgba(243, 234, 214, 0.42);
  --mnd-mf-border-strong: rgba(216, 194, 142, 0.72);
  --mnd-mf-accent: #d8c28e;
  --mnd-mf-focus: #e2c36f;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin-inline: auto;
  padding: 48px clamp(16px, 5vw, 64px) 64px;
  color: var(--mnd-mf-text);
  background: var(--mnd-mf-bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.mnd-mf-v2 [hidden] {
  display: none !important;
}

.mnd-mf-v2-intro {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.mnd-mf-v2-title,
.mnd-mf-v2-results-heading,
.mnd-mf-v2-card-title {
  margin: 0;
  color: var(--mnd-mf-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.mnd-mf-v2-title {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  line-height: 1.02;
  text-wrap: balance;
}

.mnd-mf-v2-promise {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--mnd-mf-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  text-wrap: balance;
}

.mnd-mf-v2-search {
  margin-top: 40px;
}

.mnd-mf-v2-label {
  display: block;
  margin-bottom: 8px;
  color: var(--mnd-mf-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mnd-mf-v2-input {
  display: block;
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--mnd-mf-border-strong);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--mnd-mf-text);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(226, 195, 111, 0.08);
  font: inherit;
  font-size: 1.05rem;
  appearance: none;
}

.mnd-mf-v2-input::placeholder {
  color: rgba(243, 234, 214, 0.54);
  opacity: 1;
}

.mnd-mf-v2-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 16px;
}

.mnd-mf-v2-modes,
.mnd-mf-v2-utilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mnd-mf-v2-button,
.mnd-mf-v2-actions > :is(button, a) {
  min-width: 44px;
  min-height: 48px;
  border: 1px solid var(--mnd-mf-border);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--mnd-mf-text);
  background: rgba(0, 0, 0, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mnd-mf-v2-button--active {
  border-color: var(--mnd-mf-accent);
  color: #111113;
  background: var(--mnd-mf-accent);
}

.mnd-mf-v2-status {
  margin: 32px 0 0;
  color: var(--mnd-mf-muted);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mnd-mf-v2-recovery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.mnd-mf-v2-recovery[hidden] {
  display: none;
}

.mnd-mf-v2-results-section {
  margin-top: 16px;
}

.mnd-mf-v2-results-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(243, 234, 214, 0.18);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.mnd-mf-v2-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.mnd-mf-v2-card {
  min-width: 0;
  border: 1px solid var(--mnd-mf-border);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--mnd-mf-surface);
}

.mnd-mf-v2-card[hidden] {
  display: none;
}

.mnd-mf-v2-card-title {
  overflow-wrap: anywhere;
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  line-height: 1.08;
}

.mnd-mf-v2-card-title + p,
.mnd-mf-v2-card-title + p + p {
  overflow-wrap: anywhere;
}

.mnd-mf-v2-card-title + p {
  margin: 10px 0 0;
  color: var(--mnd-mf-text);
  font-size: 0.98rem;
  text-wrap: pretty;
}

.mnd-mf-v2-card-title + p + p {
  margin: 12px 0 0;
  color: var(--mnd-mf-muted);
  font-size: 0.9rem;
}

.mnd-mf-v2-matched-preview {
  margin-top: 16px;
  border-top: 1px solid rgba(243, 234, 214, 0.16);
  padding-top: 14px;
}

.mnd-mf-v2-matched-preview-label {
  margin: 0;
  color: var(--mnd-mf-accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mnd-mf-v2-matched-preview ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--mnd-mf-text);
}

.mnd-mf-v2-filter-dialog {
  width: min(720px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  border: 1px solid var(--mnd-mf-border-strong);
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
  overflow: auto;
  color: var(--mnd-mf-text);
  background: #18181b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}

.mnd-mf-v2-filter-dialog:not([open]) {
  display: none;
}

.mnd-mf-v2-dialog-backdrop,
.mnd-mf-v2-filter-backdrop {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.mnd-mf-v2-dialog-backdrop[hidden],
.mnd-mf-v2-filter-backdrop[hidden] {
  display: none;
}

.mnd-mf-v2-filter-dialog[data-mnd-mf-fallback="true"] {
  position: fixed;
  z-index: 10001;
  inset: 16px;
}

.mnd-mf-v2-filter-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.mnd-mf-v2-saved-trigger {
  position: sticky;
  z-index: 20;
  top: 8px;
}

.mnd-mf-v2-shortlist-feedback {
  margin: 12px 0 0;
  color: var(--mnd-mf-accent);
  font-weight: 650;
}

.mnd-mf-v2-shortlist-feedback[hidden] {
  display: none;
}

.mnd-mf-v2-shortlist-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(800px, calc(100dvh - 32px));
  margin: auto;
  border: 1px solid var(--mnd-mf-border-strong);
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
  overflow: auto;
  color: var(--mnd-mf-text);
  background: #18181b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}

.mnd-mf-v2-shortlist-dialog:not([open]) {
  display: none;
}

.mnd-mf-v2-shortlist-dialog[data-mnd-mf-fallback="true"] {
  position: fixed;
  z-index: 10001;
  inset: 16px;
}

.mnd-mf-v2-shortlist-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.mnd-mf-v2-review-dialog {
  width: min(680px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  border: 1px solid var(--mnd-mf-border-strong);
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
  overflow: auto;
  color: var(--mnd-mf-text);
  background: #18181b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}

.mnd-mf-v2-review-dialog:not([open]) {
  display: none;
}

.mnd-mf-v2-review-dialog[data-mnd-mf-fallback="true"] {
  position: fixed;
  z-index: 10001;
  inset: 16px;
}

.mnd-mf-v2-review-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.mnd-mf-v2-review-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.mnd-mf-v2-review-title {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--mnd-mf-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
}

.mnd-mf-v2-review-content {
  min-width: 0;
  margin-top: 24px;
  overflow-wrap: anywhere;
}

.mnd-mf-v2-review-content > :first-child {
  margin-top: 0;
}

.mnd-mf-v2-review-summary {
  margin: 0;
  white-space: pre-wrap;
  color: var(--mnd-mf-text);
  font-size: 1rem;
  line-height: 1.65;
}

.mnd-mf-v2-review-attribution {
  margin: 20px 0 0;
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  white-space: nowrap;
}

.mnd-mf-v2-review-disclosure,
.mnd-mf-v2-review-message {
  margin: 12px 0 0;
  color: var(--mnd-mf-muted);
}

.mnd-mf-v2-review-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.mnd-mf-v2-review-links a,
.mnd-mf-v2-review-content > .mnd-mf-v2-button {
  display: inline-flex;
  min-width: 44px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mnd-mf-border);
  border-radius: 8px;
  padding: 11px 14px;
  overflow-wrap: anywhere;
  color: var(--mnd-mf-text);
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.mnd-mf-v2-review-content > .mnd-mf-v2-button {
  margin-top: 20px;
}

.mnd-mf-v2-shortlist-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.mnd-mf-v2-shortlist-title,
.mnd-mf-v2-shortlist-name {
  margin: 0;
  color: var(--mnd-mf-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 500;
}

.mnd-mf-v2-shortlist-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.mnd-mf-v2-shortlist-name {
  overflow-wrap: anywhere;
  font-size: 1.35rem;
}

.mnd-mf-v2-shortlist-notice {
  margin: 16px 0 0;
  border-left: 3px solid var(--mnd-mf-accent);
  padding: 10px 12px;
  color: var(--mnd-mf-muted);
  background: var(--mnd-mf-surface-strong);
}

.mnd-mf-v2-shortlist-notice[hidden] {
  display: none;
}

.mnd-mf-v2-shortlist-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mnd-mf-v2-shortlist-list[hidden],
.mnd-mf-v2-shortlist-empty[hidden],
.mnd-mf-v2-shortlist-confirm[hidden] {
  display: none;
}

.mnd-mf-v2-shortlist-item {
  min-width: 0;
  border: 1px solid var(--mnd-mf-border);
  border-radius: 10px;
  padding: 16px;
  background: var(--mnd-mf-surface);
}

.mnd-mf-v2-shortlist-item > p,
.mnd-mf-v2-shortlist-empty,
.mnd-mf-v2-shortlist-confirm > p {
  margin: 8px 0 0;
  color: var(--mnd-mf-muted);
  overflow-wrap: anywhere;
}

.mnd-mf-v2-shortlist-item-actions,
.mnd-mf-v2-shortlist-footer,
.mnd-mf-v2-shortlist-confirm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mnd-mf-v2-shortlist-item-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mnd-mf-v2-shortlist-dialog :is(button, a) {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mnd-mf-border);
  border-radius: 8px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  color: var(--mnd-mf-text);
  background: rgba(0, 0, 0, 0.12);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mnd-mf-v2-shortlist-dialog :is(button, a):hover {
  border-color: var(--mnd-mf-accent);
  background: var(--mnd-mf-surface-strong);
}

.mnd-mf-v2-shortlist-dialog :is(button, a):disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.mnd-mf-v2-shortlist-footer
  [data-mnd-mf-shortlist-action="share"],
.mnd-mf-v2-shortlist-confirm
  [data-mnd-mf-shortlist-action="confirm-clear"] {
  border-color: var(--mnd-mf-accent);
  color: #111113;
  background: var(--mnd-mf-accent);
}

.mnd-mf-v2-filter-title {
  margin: 0;
  color: var(--mnd-mf-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
}

.mnd-mf-v2-filter-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.mnd-mf-v2-filter-groups fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--mnd-mf-border);
  border-radius: 10px;
  padding: 12px;
}

.mnd-mf-v2-filter-groups legend {
  padding-inline: 6px;
  color: var(--mnd-mf-accent);
  font-size: 0.85rem;
  font-weight: 750;
}

.mnd-mf-v2-filter-groups label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.mnd-mf-v2-filter-groups input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--mnd-mf-accent);
}

.mnd-mf-v2-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.mnd-mf-v2-filter-actions [data-mnd-mf-filter-action="done"] {
  border-color: var(--mnd-mf-accent);
  color: #111113;
  background: var(--mnd-mf-accent);
}

.mnd-mf-v2-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mnd-mf-v2-actions > :is(button, a) {
  display: inline-flex;
  align-items: center;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  justify-content: center;
  overflow-wrap: anywhere;
}

.mnd-mf-v2-actions > [data-mnd-mf-action="ride"] {
  border-color: var(--mnd-mf-accent);
  color: var(--mnd-mf-focus);
}

.mnd-mf-v2-actions > :disabled {
  border-style: dashed;
  color: rgba(243, 234, 214, 0.52);
  cursor: not-allowed;
}

.mnd-mf-v2-disclaimer {
  margin: 40px auto 0;
  color: rgba(243, 234, 214, 0.55);
  font-size: 0.82rem;
  text-align: center;
}

.mnd-mf-v2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mnd-mf-v2-input:focus,
.mnd-mf-v2-button:focus,
.mnd-mf-v2-filter-groups input:focus,
.mnd-mf-v2-filter-dialog button:focus,
.mnd-mf-v2-shortlist-dialog :is(button, a):focus,
.mnd-mf-v2-review-dialog :is(button, a):focus,
.mnd-mf-v2-actions > :is(button, a):focus,
.mnd-mf-v2-input:focus-visible,
.mnd-mf-v2-button:focus-visible,
.mnd-mf-v2-filter-groups input:focus-visible,
.mnd-mf-v2-filter-dialog button:focus-visible,
.mnd-mf-v2-shortlist-dialog :is(button, a):focus-visible,
.mnd-mf-v2-review-dialog :is(button, a):focus-visible,
.mnd-mf-v2-actions > :is(button, a):focus-visible {
  outline: 3px solid var(--mnd-mf-focus);
  outline-offset: 3px;
}

.mnd-mf-v2-button:hover,
.mnd-mf-v2-review-links a:hover,
.mnd-mf-v2-actions > :is(button, a):hover {
  border-color: var(--mnd-mf-accent);
  background: var(--mnd-mf-surface-strong);
}

.mnd-mf-v2-button--active:hover {
  color: #111113;
  background: var(--mnd-mf-focus);
}

.mnd-mf-v2-actions > :disabled:hover {
  border-color: var(--mnd-mf-border);
  background: rgba(0, 0, 0, 0.12);
}

@media (max-width: 639px) {
  .mnd-mf-v2 {
    padding-block: 32px 48px;
  }

  .mnd-mf-v2-intro {
    text-align: left;
  }

  .mnd-mf-v2-title {
    font-size: clamp(2.15rem, 12vw, 3.1rem);
  }

  .mnd-mf-v2-promise {
    margin-top: 12px;
    text-wrap: initial;
  }

  .mnd-mf-v2-search {
    margin-top: 32px;
  }

  .mnd-mf-v2-input {
    min-height: 56px;
    padding-inline: 14px;
    font-size: 1rem;
  }

  .mnd-mf-v2-toolbar,
  .mnd-mf-v2-modes,
  .mnd-mf-v2-utilities {
    width: 100%;
  }

  .mnd-mf-v2-button,
  .mnd-mf-v2-actions > :is(button, a) {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .mnd-mf-v2-status {
    margin-top: 28px;
  }

  .mnd-mf-v2-filter-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 18px;
  }

  .mnd-mf-v2-shortlist-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }

  .mnd-mf-v2-review-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }

  .mnd-mf-v2-review-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .mnd-mf-v2-shortlist-item-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .mnd-mf-v2-filter-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

@media (min-width: 320px) and (max-width: 359px) {
  body.mnd-menu-finder-v2-page .site-header {
    padding-inline: 12px;
  }

  body.mnd-menu-finder-v2-page .site-header .brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mnd-menu-finder-v2-page .site-header .header-actions {
    min-width: 0;
    gap: 6px;
    flex: 0 0 auto;
  }

  body.mnd-menu-finder-v2-page .site-header .header-phone-num {
    display: none;
  }

  body.mnd-menu-finder-v2-page .site-header :is(.header-phone, .menu-btn) {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    flex: 0 0 44px;
  }
}

@media (min-width: 960px) {
  .mnd-mf-v2-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mnd-mf-v2-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .mnd-mf-v2-intro {
    max-width: 1100px;
  }

  .mnd-mf-v2-title {
    font-size: 3.5rem;
  }

  .mnd-mf-v2-search {
    margin-top: 32px;
  }

  .mnd-mf-v2-status {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mnd-mf-v2 *,
  .mnd-mf-v2 *::before,
  .mnd-mf-v2 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.mnd-mf-v2-breadcrumb {
  margin: 0 0 0.25rem;
  max-width: 100%;
}

.mnd-mf-v2-breadcrumb {
  color: var(--mnd-mf-muted);
  font-size: 0.875rem;
}

.mnd-mf-v2-breadcrumb a {
  color: var(--mnd-mf-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mnd-mf-v2-breadcrumb a:hover,
.mnd-mf-v2-breadcrumb a:focus-visible {
  color: var(--mnd-mf-text);
}

.mnd-mf-v2-breadcrumb [aria-current="page"] {
  color: var(--mnd-mf-muted);
}

.mnd-mf-v2-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.mnd-mf-v2-breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

/* Breadcrumb anchors are controls, so they carry the same 44px target the
   rest of the page uses. Padding grows the hit area, not the type. */
.mnd-mf-v2-breadcrumb a,
.mnd-mf-v2-breadcrumb [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  min-width: 44px;
  justify-content: center;
}

.mnd-mf-v2-breadcrumb-item + .mnd-mf-v2-breadcrumb-item::before {
  content: "/";
  color: var(--mnd-mf-border);
  margin-inline-end: 0.5rem;
}

.mnd-mf-v2-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.5rem;
  max-width: 100%;
}

.mnd-mf-v2-page-actions .mnd-mf-v2-button {
  min-block-size: 48px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .mnd-mf-v2-page-actions {
    justify-content: center;
  }
}

.mnd-mf-v2-siblings {
  margin-block-start: 1.5rem;
  max-width: 100%;
}

.mnd-mf-v2-siblings-heading {
  color: var(--mnd-mf-text);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.mnd-mf-v2-siblings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.mnd-mf-v2-siblings-list a {
  display: inline-flex;
  align-items: center;
  min-block-size: 48px;
  max-width: 100%;
  color: var(--mnd-mf-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mnd-mf-v2-siblings-list a:hover,
.mnd-mf-v2-siblings-list a:focus-visible {
  color: var(--mnd-mf-text);
}

/* Task 12 added a crawlable breadcrumb and a page-level ride CTA above the
   fold. Desktop header spacing is tightened so results still begin inside the
   first viewport, which is the contract foundation.spec.mjs enforces. */
@media (min-width: 768px) {
  .mnd-mf-v2-breadcrumb {
    margin-block-end: 0;
  }

  .mnd-mf-v2-promise {
    margin-block-start: 8px;
  }

  .mnd-mf-v2-page-actions {
    margin-block-start: 4px;
  }

  .mnd-mf-v2-search {
    margin-block-start: 20px;
  }

  .mnd-mf-v2-status {
    margin-block-start: 12px;
  }

  .mnd-mf-v2-results-section {
    margin-block-start: 4px;
  }

  .mnd-mf-v2-results-heading {
    margin-block-end: 12px;
  }
}

/* ============================================================
   Slice 2 — premium enhancements (CSS only; no markup change).
   Contract-safe by construction:
     • The hero is the container's OWN background band, so it adds
       zero flow height above the results (firstCardTop < 600 at
       1440px stays satisfied) and creates no stacking context —
       the modal dialogs (z-index:10000+) are untouched.
     • The H1 size, intro width, 44px targets, focus outlines and
       the WCAG-tuned color variables are all left intact; text
       still resolves to the solid --mnd-mf-bg for contrast.
     • Column counts: 3-up only at >=1200px; the 2-card foundation
       fixture still shares one row (one distinct card top) at
       1440px, and <960px stays single-column/stacked.
   ============================================================ */

/* Hermitage hero: a scrimmed background band behind the intro and
   search. Painted as the element's own background (paint step 1),
   so all content sits above it with no z-index and no stacking
   context. The gradient is the top layer; below the band the
   solid --mnd-mf-bg takes over. The deploy step swaps
   --mnd-mf-hero for the brightened upload. */
.mnd-mf-v2 {
  /* --mnd-mf-hero is intentionally UNSET here so the stylesheet makes no
     image request on its own (foundation.spec forbids console errors, and a
     failed/404 background fetch logs one). Production supplies the brightened
     Hermitage image at deploy — either a same-origin bundled asset URL or an
     inline `--mnd-mf-hero` set on #mnd-mf-v2. Until then only the scrim
     gradient paints (a subtle top fade), which is harmless. */
  --mnd-mf-hero-band: clamp(320px, 46vh, 560px);
  background-color: var(--mnd-mf-bg);
  background-image:
    linear-gradient(
      180deg,
      rgba(17, 17, 19, 0.42) 0%,
      rgba(17, 17, 19, 0.7) 45%,
      rgba(17, 17, 19, 0.92) 78%,
      var(--mnd-mf-bg) 100%
    ),
    var(--mnd-mf-hero, none);
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size:
    100% var(--mnd-mf-hero-band),
    100% var(--mnd-mf-hero-band);
}

/* Ride CTA becomes the dominant, gold-filled action on its own
   full-width row beneath the secondary actions. Only ENABLED ride
   controls carry data-mnd-mf-action="ride"; the disabled
   "No ride" button has no such hook and keeps the dashed style. */
.mnd-mf-v2-actions > [data-mnd-mf-action="ride"] {
  grid-column: 1 / -1;
  border-color: var(--mnd-mf-accent);
  color: #111113;
  background: var(--mnd-mf-accent);
  font-weight: 750;
  letter-spacing: 0.01em;
}

.mnd-mf-v2-actions > [data-mnd-mf-action="ride"]:hover {
  border-color: var(--mnd-mf-focus);
  color: #111113;
  background: var(--mnd-mf-focus);
}

/* Depth: a resting shadow plus a hover lift. The global
   prefers-reduced-motion rule already neutralizes the transition. */
.mnd-mf-v2-card {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.mnd-mf-v2-card:hover {
  border-color: var(--mnd-mf-border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* Card actions are now a quiet full-width "Official menu" row with
   the gold ride CTA beneath — single column at every width. */
.mnd-mf-v2-actions {
  grid-template-columns: minmax(0, 1fr);
}

/* Column-flex cards + bottom-pinned actions align every row's CTAs;
   padding keeps the gap where the auto margin resolves to zero. */
.mnd-mf-v2-card {
  display: flex;
  flex-direction: column;
}

.mnd-mf-v2-actions {
  margin-top: auto;
  padding-top: 20px;
}

/* One search mode means one submit control — size it to its content
   instead of the old two-column toggle grid. */
.mnd-mf-v2-modes {
  grid-template-columns: auto;
}

/* Three across on wide desktop; the 2-card fixture still shares
   row 1 at 1440px, satisfying the column-count contract. */
@media (min-width: 1200px) {
  .mnd-mf-v2-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Slice 3 — browse system (JS-injected; absent on small catalogs
   and in the no-JS baseline, so the server DOM is unchanged). */
.mnd-mf-v2-browse {
  margin-top: 20px;
}

.mnd-mf-v2-browse[hidden] {
  display: none;
}

.mnd-mf-v2-browse-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mnd-mf-v2-browse-chips .mnd-mf-v2-button {
  border-radius: 999px;
  padding-inline: 18px;
}

.mnd-mf-v2-browse-footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 24px;
}

.mnd-mf-v2-browse-footer[hidden] {
  display: none;
}

.mnd-mf-v2-browse-count {
  margin: 0;
  color: var(--mnd-mf-muted);
  font-size: 0.9rem;
}

.mnd-mf-v2-browse-count:focus,
.mnd-mf-v2-browse-count:focus-visible {
  outline: 3px solid var(--mnd-mf-focus);
  outline-offset: 3px;
}

.mnd-mf-v2-browse-more {
  min-width: 220px;
  border-color: var(--mnd-mf-border-strong);
}

.mnd-mf-v2-browse-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  border-color: var(--mnd-mf-border-strong);
  background: #18181b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mnd-mf-v2-browse-top[hidden] {
  display: none;
}

/* With cuisines and occasions withheld until they have data, the
   filter dialog may hold a single fieldset — let the grid fit the
   content instead of pinning three columns. */
.mnd-mf-v2-filter-groups {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
