html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* App-wide: default .btn matches Bootstrap .btn-sm vertical footprint so mixed .btn / .btn-sm align.
   Excludes .btn-lg and .btn-link. .btn-group-lg > .btn keeps Bootstrap’s larger group rules (higher specificity). */
.btn:not(.btn-lg):not(.btn-link) {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Ops → Menu items: "More info" text toggle — skip the heavy blue pill from `.btn:focus` (keyboard users still get a light outline). */
.ops-menu-items-more-info.btn:focus,
.ops-menu-items-more-info.btn:active:focus {
  box-shadow: none;
}
.ops-menu-items-more-info:focus-visible {
  outline: 2px solid rgba(var(--bs-secondary-rgb), 0.45);
  outline-offset: 2px;
}

/* Weekly menu reserve: item "details" text toggle — no blue focus pill. */
.wm-item-details-toggle.btn:focus,
.wm-item-details-toggle.btn:active:focus {
  box-shadow: none;
}
.wm-item-details-toggle:focus-visible {
  outline: 2px solid rgba(var(--bs-secondary-rgb), 0.45);
  outline-offset: 2px;
}

/* Cart: outline danger buttons; solid fill only while hovering — not when focused alone (keyboard / row focus). */
.cart-destructive-btn.btn-outline-danger:hover {
  color: #fff !important;
  background-color: var(--bs-danger) !important;
  border-color: var(--bs-danger) !important;
}

.cart-destructive-btn.btn-outline-danger:focus:not(:hover),
.cart-destructive-btn.btn-outline-danger:focus-visible:not(:hover),
.cart-destructive-btn.btn-outline-danger:active:not(:hover) {
  color: var(--bs-danger);
  background-color: transparent;
  border-color: var(--bs-danger);
  /* Override global `.btn:focus` blue ring (`app.css` above). */
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.45);
}

/* Cart / start order: highlight item row while edit options is open. */
.list-group-item.cart-line-item--options-editing,
.list-group-item:has(.order-quick-add-row--options-editing) {
  background-color: var(--bs-primary-bg-subtle, #cfe2ff);
  border-color: var(--bs-primary-border-subtle, #9ec5fe) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.28);
  z-index: 1;
}

.content {
    padding-top: 1.1rem;
}

/* Ops → Business settings: keep the business name visible while scrolling long forms. */
.location-details-page-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* Favorites / Food Search header: mobile grid (title | reorder, second row = text link + switch when compact). */
.rh-food-page-toolbar {
    display: grid;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .rh-food-page-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .rh-food-page-toolbar__title {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-row {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .rh-food-page-toolbar__reorder {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .rh-food-page-toolbar__nav {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        width: max-content;
        max-width: 100%;
    }

    .rh-food-page-toolbar__switch {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        text-align: end;
    }

    /* Food Search + Favorites mobile: tight vertical rhythm (title | reorder, then link + switch). */
    .rh-food-page-toolbar--food-search,
    .rh-food-page-toolbar--favorites {
        row-gap: 0.25rem;
        column-gap: 0.65rem;
        align-items: center;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__title,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__title {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-row .rh-food-page-toolbar__title {
        grid-column: unset;
        grid-row: unset;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__subactions,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__subactions {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem;
        min-width: 0;
        margin-top: 0;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__subactions--solo,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__subactions--solo {
        justify-content: flex-start;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__switch,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__switch {
        grid-column: unset;
        grid-row: unset;
        justify-self: unset;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__switch .form-check-label,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__switch .form-check-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__fav-link,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__fav-link {
        flex-shrink: 0;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__switch.form-check.form-switch,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__switch.form-check.form-switch {
        gap: 0.35rem;
    }
}

@media (min-width: 992px) {
    .rh-food-page-toolbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1rem;
    }

    .rh-food-page-toolbar__title {
        flex: 1 1 auto;
        min-width: min(100%, 12rem);
    }

    .rh-food-page-toolbar__reorder,
    .rh-food-page-toolbar__nav,
    .rh-food-page-toolbar__switch,
    .rh-food-page-toolbar__subactions {
        flex: 0 0 auto;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__subactions,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__subactions {
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        min-width: 0;
    }

    .rh-food-page-toolbar--food-search .rh-food-page-toolbar__title,
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__title {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.3;
    }

    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-row {
        flex: 1 1 auto;
        min-width: min(100%, 12rem);
    }
}

/* Favorites: title + optional cross-link on one row (wraps below title when narrow). */
.rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    min-width: 0;
}

.rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-row .rh-food-page-toolbar__title {
    flex: 0 1 auto;
    min-width: 0;
}

.rh-food-page-toolbar__title-link {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--bs-primary);
    text-decoration: none;
    white-space: nowrap;
}

.rh-food-page-toolbar__title-link:hover {
    text-decoration: underline;
}

@container rh-fav-title-row (max-width: 28rem) {
    .rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-link {
        flex-basis: 100%;
        margin-left: 0;
    }
}

.rh-food-page-toolbar--favorites .rh-food-page-toolbar__title-row {
    container-type: inline-size;
    container-name: rh-fav-title-row;
}

/* Food Search / Favorites toolbar: compact text links (arrow follows label) */
.rh-food-page-toolbar__fav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--bs-primary);
    text-decoration: none;
}

.rh-food-page-toolbar__fav-link:hover {
    text-decoration: underline;
}

.rh-food-page-toolbar__fav-arrow {
    display: inline-block;
    margin-left: 0.1rem;
    font-weight: 400;
}

/* Favorites / Food Search / inline switches: vertically center switch track + label (Bootstrap default margin-top skews the label). */
.rh-food-page-toolbar__switch.form-check.form-switch,
.rh-form-switch-inline.form-check.form-switch {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.rh-food-page-toolbar__switch.form-switch .form-check-input,
.rh-form-switch-inline.form-switch .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
    position: relative;
    top: 0;
    flex-shrink: 0;
    align-self: center;
}

.rh-food-page-toolbar__switch.form-switch .form-check-label,
.rh-form-switch-inline.form-switch .form-check-label {
    margin-bottom: 0;
    padding-top: 0;
    line-height: 1.35;
    align-self: center;
}

/* Ops → Manage menu → Items: bulk toggle — flush with card title + table (Bootstrap .form-switch adds padding-left) */
.mm-item-list-bulk-switch.form-check.form-switch {
    padding-left: 0;
}

/* Ops → Manage menu → Items: bulk select column — left-align with row checkboxes, no focus ring */
.mm-items-bulk-table .mm-items-bulk-select-col {
    width: 2.25rem;
    max-width: 2.25rem;
    vertical-align: middle;
    padding-left: 0;
}

.mm-items-bulk-table .mm-bulk-select-cb.form-check-input:focus,
.mm-items-bulk-table .mm-bulk-select-cb.form-check-input:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Ops → Manage menu: gear menu trigger — outline icon reads lighter than filled glyph */
.rh-manage-menu-gear {
    color: var(--bs-secondary-color, #6c757d);
}

.rh-manage-menu-gear:hover,
.rh-manage-menu-gear:focus-visible {
    color: var(--bs-emphasis-color, #212529);
}

.rh-manage-menu-gear:focus-visible {
    outline: 2px solid rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
    outline-offset: 2px;
}

/* Full-page busy overlay: dims page + shows centered spinner.
   Do not use overflow:hidden on body — toggling it on mobile Safari often jumps scroll to top.
   The fixed overlay captures pointer/touch; overscroll-behavior reduces background rubber-banding. */
html.page-busy,
body.page-busy {
  overscroll-behavior: none;
  pointer-events: none;
}

/* Dim the entire app while busy (~75% dim). */
body.page-busy main,
body.page-busy .page,
body.page-busy .content,
body.page-busy .sidebar,
body.page-busy .top-row {
  opacity: 0.90;
  transition: opacity 120ms ease-in-out;
}

.page-busy-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(1px);
  pointer-events: all;
  cursor: wait;
  touch-action: none;
}

/* Sit above Bootstrap stretched-link hit layer on Food Search / Favorites cards. */
.food-loc-above-stretch {
  position: relative;
  z-index: 2;
}

.page-busy-overlay__spinner {
  width: 3rem;
  height: 3rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Shared horizontal category chip strip (Start order, Ops manage menu items). */
.rh-cat-chip-strip {
    scroll-margin-top: 0.75rem;
    position: sticky;
    top: max(0px, env(safe-area-inset-top, 0px));
    z-index: 1020;
    background: var(--bs-body-bg, #fff);
    padding-block: 0.2rem;
}

.rh-cat-chip-strip:focus {
    outline: none;
}

.rh-cat-chip-scroll {
    overflow-x: auto;
    overflow-y: visible;
    padding-block: 0.45rem;
    padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

.rh-cat-chip-scroll:hover {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--bs-primary-rgb), 0.38) transparent;
}

.rh-cat-chip-scroll::-webkit-scrollbar {
    height: 2px;
    transition: height 0.15s ease-out;
}

.rh-cat-chip-scroll:hover::-webkit-scrollbar {
    height: 5px;
}

.rh-cat-chip-scroll::-webkit-scrollbar-track {
    background: transparent;
    margin-inline: 4px;
}

.rh-cat-chip-scroll::-webkit-scrollbar-thumb {
    background: rgba(var(--bs-primary-rgb), 0.18);
    border-radius: 999px;
    box-shadow: none;
}

.rh-cat-chip-scroll:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(var(--bs-primary-rgb), 0.45),
        rgba(var(--bs-primary-rgb), 0.28)
    );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.rh-cat-chip-scroll::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.rh-cat-chip-scroll--dragging {
    cursor: grabbing;
}

.rh-cat-chip-scroll--dragging .rh-cat-chip {
    cursor: grabbing;
    user-select: none;
}

.rh-cat-chip-row {
    align-items: center;
}

.rh-cat-chip {
    margin-block: 2px;
    font-weight: 600;
    padding-inline: 0.85rem;
    padding-block: 0.4rem;
    font-size: 0.9rem;
}

/* Start order: bottom bar stays on screen while browsing the menu. */
.start-order-page--sticky-pad {
  padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

.start-order-sticky-actions {
  position: fixed;
  /* Span main column only when layout sets --main-sticky-left-offset (desktop sidebar). */
  left: var(--main-sticky-left-offset, 0px);
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Top loading bar shown immediately on navigation. */
.nav-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2000; /* Above bootstrap navbar (1030) */
  background: linear-gradient(90deg, rgba(13, 110, 253, 0), rgba(13, 110, 253, 0.95), rgba(13, 110, 253, 0));
  background-size: 200% 100%;
  animation: nav-loading-bar-move 0.85s linear infinite;
  box-shadow: 0 0 0.6rem rgba(13, 110, 253, 0.35);
}

@keyframes nav-loading-bar-move {
  0% { background-position: 0% 0%; }
  100% { background-position: -200% 0%; }
}

/* Mobile: make horizontal scrollbars obvious for wide tables. */
@media (max-width: 576px) {
  .scroll-x-visible {
    overflow-x: scroll !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--bs-primary-rgb), 0.32) rgba(var(--bs-primary-rgb), 0.06);
  }

  /* WebKit scrollbar styling (Chrome/Edge/Safari). */
  .scroll-x-visible::-webkit-scrollbar {
    height: 12px;
  }
  .scroll-x-visible::-webkit-scrollbar-track {
    background: rgba(var(--bs-primary-rgb), 0.06);
    border-radius: 999px;
  }
  .scroll-x-visible::-webkit-scrollbar-thumb {
    background: linear-gradient(
      180deg,
      rgba(var(--bs-primary-rgb), 0.28),
      rgba(var(--bs-primary-rgb), 0.18)
    );
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

/* Food Search + Favorites: vertical list with menu thumbnail on the right. */
.food-loc-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.food-loc-list-item {
  width: 100%;
}
.food-loc-list-item__top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.food-loc-list-item__main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.food-loc-overview--list .food-loc-card-chip-row--list {
  margin-top: 0;
}
.food-loc-overview--list .food-loc-list-distance {
  margin-top: 0;
}
.food-loc-overview--list .food-loc-list-item__main .food-loc-card-svc--list {
  margin-top: 0;
}
.food-loc-overview--list .food-loc-list-item__main .food-loc-svc-item {
  white-space: nowrap;
}

/* Food Search / Favorites: Google-style rating row under business name. */
.food-loc-list-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.12rem;
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
  line-height: 1.2;
  color: rgba(var(--bs-body-color-rgb), 0.72);
}
.food-loc-list-rating__score {
  font-weight: 600;
  color: var(--bs-body-color);
}
.food-loc-list-rating__count {
  color: rgba(var(--bs-body-color-rgb), 0.68);
}
.food-loc-list-rating .gc-star-rating {
  transform: translateY(-0.03em);
}
.food-loc-overview-body .food-loc-list-rating {
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
}

.food-loc-list-item__img-wrap img.food-loc-list-item__img,
.food-loc-list-item__img-wrap .food-loc-list-item__initials {
  flex: 0 0 auto;
  width: 5.5rem !important;
  height: 5.5rem !important;
  max-width: none;
  object-fit: cover;
  border-radius: 0.625rem;
  background-color: rgba(var(--bs-secondary-rgb), 0.08);
}
.food-loc-list-item__initials {
  font-size: 1.35rem !important;
  line-height: 1;
}
@media (max-width: 575.98px) {
  .food-loc-list-item__img-wrap img.food-loc-list-item__img,
  .food-loc-list-item__img-wrap .food-loc-list-item__initials {
    width: 4.5rem !important;
    height: 4.5rem !important;
  }
  .food-loc-list-item__initials {
    font-size: 1.1rem !important;
  }
}

.food-loc-overview-hero-wrap,
.food-loc-overview-hero-wrap img.food-loc-overview-hero-img,
.food-loc-overview-hero-wrap .food-loc-overview-hero-initials {
  display: block;
  width: 100% !important;
  height: 10.5rem !important;
  max-width: none;
  line-height: 0;
}
.food-loc-overview-hero-wrap img.food-loc-overview-hero-img {
  object-fit: cover;
  background-color: rgba(var(--bs-secondary-rgb), 0.08);
}
.food-loc-overview-hero-initials {
  font-size: 2.75rem !important;
  line-height: 1;
  background-color: rgba(var(--bs-secondary-rgb), 0.08);
}

/* Food Search + Favorites: compact location cards (list). */
.food-loc-card {
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) {
  .food-loc-card:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.09);
    box-shadow: 0 0.4rem 1.1rem rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.14) !important;
  }
}
.food-loc-card:focus-visible {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.45);
  outline-offset: 2px;
}
/* Icon-only favorite control in card footer (left); primary actions on the right. */
.food-loc-card-actions {
  align-items: center;
}
.food-loc-card-fav-btn {
  padding: 0.15rem;
  line-height: 1;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.food-loc-card-fav-btn:focus-visible {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.45);
  outline-offset: 2px;
  border-radius: 0.2rem;
}
.food-loc-card-fav-btn--off {
  color: rgba(var(--bs-secondary-rgb), 0.9);
}
.food-loc-card-fav-btn--off:hover {
  color: rgba(var(--bs-danger-rgb), 0.55);
}
.food-loc-card-fav-btn--off .food-loc-card-heart-outline path {
  fill: none;
}
.food-loc-card-fav-btn--on {
  color: var(--bs-danger);
}
.food-loc-card-fav-btn--on:hover {
  color: var(--bs-danger);
  filter: brightness(0.92);
}
.food-loc-card-heart-remove {
  display: block;
}
.food-loc-card-extra-block {
  cursor: default;
}

/* Food Search / Favorites: equal-width action buttons on one row. */
.food-loc-listing-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.food-loc-deals-above-actions {
  width: 100%;
}
.food-loc-list-phone-deals-row {
  width: 100%;
}
.quote-vendor-change-field {
  display: grid;
  gap: 0.2rem;
}
.quote-vendor-change-field__accepted {
  color: #64748b;
  font-size: 0.875em;
}
.quote-vendor-change-field__new {
  color: #b45309;
  font-weight: 600;
  white-space: pre-wrap;
}
.quote-vendor-change-highlight {
  background: rgba(255, 193, 7, 0.22);
}
.food-loc-listing-footer--popup {
  padding-inline: 1.25rem;
  padding-bottom: 1rem;
}
.food-loc-listing-footer--popup .food-loc-deals-above-actions .food-loc-deals-flash-btn {
  display: block;
  width: 100%;
  max-width: none;
}
.food-loc-listing-footer--popup .food-loc-deals-flash-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.food-loc-listing-footer--popup .food-loc-listing-action-btn {
  padding-inline: 1.25rem;
}
.food-loc-listing-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}
.food-loc-listing-action-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
@media (hover: hover) {
  .food-loc-list-item .food-loc-listing-action-btn:hover,
  .food-loc-list-item .food-loc-listing-action-btn:focus-visible {
    filter: brightness(0.88);
    box-shadow: 0 0.15rem 0.5rem rgba(var(--bs-primary-rgb), 0.45);
  }
}

/* Popup overview: full-width hero + title row with favorite. */
.food-loc-overview-hero {
  width: 100%;
  line-height: 0;
}
.food-loc-overview-hero-img {
  display: block;
  width: 100%;
  height: 10.5rem;
  object-fit: cover;
  background-color: rgba(var(--bs-secondary-rgb), 0.08);
}
.food-loc-overview-body {
  padding: 0.85rem 1rem 0;
}
.food-loc-overview-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.food-loc-overview-title-row__name {
  flex: 1 1 auto;
  min-width: 0;
}
.food-loc-overview-title-row__fav {
  flex: 0 0 auto;
  margin-left: auto;
  padding-top: 0.05rem;
}


.food-loc-overview--popup + .food-loc-listing-footer--popup {
  padding-inline: 1.25rem;
  padding-bottom: 1rem;
}

/* Greater Cater star ratings (reviews). */
.gc-star-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
}
.gc-star {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.gc-star__empty,
.gc-star__fill {
  display: block;
  color: rgba(var(--bs-secondary-rgb), 0.28);
}
.gc-star__fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f4b400;
}
.gc-star--sm { font-size: 0.85rem; }
.gc-star--md { font-size: 1rem; }
.gc-star--lg { font-size: 1.35rem; }
.gc-star-input-row {
  display: inline-flex;
  gap: 0.12rem;
}
.gc-star-input {
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  color: rgba(var(--bs-secondary-rgb), 0.35);
  transition: color 0.12s ease, transform 0.12s ease;
}
.gc-star-input:hover {
  transform: scale(1.06);
}
.gc-star-input--on {
  color: #f4b400;
}
.gc-star-input--sm { font-size: 1rem; }
.gc-star-input--md { font-size: 1.35rem; }
.gc-star-input--lg { font-size: 2rem; }

/* Food Search / Favorites: service checkmarks (Bulk, Catering, …). */
.food-loc-card-svc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}
.food-loc-svc-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.food-loc-svc-label-short {
  display: none;
}
.svc-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 0.25rem;
  background: #fff;
  line-height: 1;
  font-size: 0.9rem;
  margin-top: 1px;
  flex: 0 0 auto;
}
.svc-box.svc-yes {
  border-color: rgba(var(--bs-success-rgb), 0.65);
}
.svc-box.svc-no {
  border-color: rgba(var(--bs-danger-rgb), 0.65);
}
@media (max-width: 575.98px) {
  .food-loc-card-svc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    row-gap: 0.2rem;
  }
  .food-loc-overview--list .food-loc-list-item__main .food-loc-card-svc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
  }
  .food-loc-svc-label-full {
    display: none;
  }
  .food-loc-overview--list .food-loc-list-item__main .food-loc-svc-label-full {
    display: inline;
  }
  .food-loc-svc-label-short {
    display: inline;
  }
  .food-loc-overview--list .food-loc-list-item__main .food-loc-svc-label-short {
    display: none;
  }
}

/* Food Search / Favorites: neutral metadata chips (type, diet, cuisine) on listing cards. */
.food-loc-meta-chip {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color);
  font-weight: 500;
}

/* Food Search / Favorites: underlined clickable chips (phone, scheduled, detail links) */
.food-loc-chiplink-underline {
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
  transition: background-color 0.12s ease, color 0.12s ease;
}
@media (hover: hover) {
  .food-loc-list-item .btn-link.food-loc-chiplink-underline:hover,
  .food-loc-list-item .btn-link.food-loc-chiplink-underline:focus-visible {
    background-color: rgba(var(--bs-primary-rgb), 0.16);
    color: var(--bs-primary) !important;
    border-radius: 0.25rem;
    text-decoration: underline !important;
  }

  .food-loc-list-item .cs-phone-pill:hover,
  .food-loc-list-item .cs-phone-pill:focus-visible {
    background: rgba(var(--bs-primary-rgb), 0.22);
    border-color: rgba(var(--bs-primary-rgb), 0.62);
    text-decoration: underline !important;
  }
}
.food-loc-chiplink-underline:hover {
  text-decoration: underline !important;
}

.food-loc-toggle-chev {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.15em;
}

/* Food Search / Favorites: scheduled-orders-only chip (badge button, same row as other chips) */
button.food-loc-sched-inline {
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  padding-top: 0.35em;
  padding-bottom: 0.35em;
}
button.food-loc-sched-inline:focus-visible {
  outline: 2px solid rgba(var(--bs-warning-rgb), 0.65);
  outline-offset: 2px;
}
button.food-loc-sched-inline--open {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* Native <input type="date"> (and datetime-local) often center the value on mobile WebKit;
   utility classes on the input do not reach the internal ::-webkit-datetime-edit tree. */
input.form-control[type="date"],
input.form-control[type="datetime-local"] {
  text-align: start;
  direction: ltr;
}

/* iOS/Safari often paints the value via this pseudo; it does not inherit alignment from the input. */
input.form-control[type="date"]::-webkit-date-and-time-value,
input.form-control[type="datetime-local"]::-webkit-date-and-time-value {
  text-align: start;
}

input.form-control[type="date"]::-webkit-datetime-edit-fields-wrapper,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

input.form-control[type="date"]::-webkit-datetime-edit,
input.form-control[type="datetime-local"]::-webkit-datetime-edit {
  text-align: start;
}

input.form-control[type="date"]::-webkit-datetime-edit-day-field,
input.form-control[type="date"]::-webkit-datetime-edit-month-field,
input.form-control[type="date"]::-webkit-datetime-edit-year-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-day-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-month-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-year-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-hour-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-minute-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-second-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-millisecond-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-ampm-field,
input.form-control[type="datetime-local"]::-webkit-datetime-edit-text {
  text-align: start;
}

/* Shared: horizontal filter strip + wrapped chips (Food Search, Favorites, …). */
.rh-fs-mfilter-row__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.125rem 0;
}
.rh-fs-mfilter-row__scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.rh-fs-mfilter-row__item .form-check-input {
    margin-top: 0.2em;
}
.rh-fs-mfilter-row__expand {
    min-width: 2.25rem;
    align-self: stretch;
    color: var(--bs-secondary-color, #6c757d);
}
.rh-fs-mfilter-expanded .rh-fs-mfilter-row__expand {
    align-self: flex-start;
    min-height: 0;
}
.rh-fs-mfilter-row__expand-chev {
    display: block;
    flex-shrink: 0;
    color: inherit;
    opacity: 1;
}
.rh-fs-mfilter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.15rem;
}
.rh-fs-mfilter-chips .form-check {
    line-height: 1.25;
}
.rh-fs-mfilter-chips .form-check-input {
    margin-top: 0.12em;
}

/* Favorites filter card: cuisine is the last row — no divider under it (mobile + desktop). */
.rh-fav-filters-row .rh-fs-mfilter-cuisine-col {
    border-bottom: none;
}

/* Favorites filter card: tighter vertical padding inside the box (mobile + desktop). */
.rh-fav-filters-card > .card-body {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.rh-fav-filters-card .rh-fav-filters-row .rh-fs-mfilter-diet-col {
    padding-bottom: 0.2rem;
}
.rh-fav-filters-card .rh-fav-filters-row .rh-fs-mfilter-cuisine-col {
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .rh-food-search-toolbar-row {
        --bs-gutter-y: 0.3rem;
    }
    .rh-fav-filters-row {
        --bs-gutter-y: 0.3rem;
    }
    .rh-fs-mfilter-diet-col,
    .rh-fs-mfilter-cuisine-col {
        margin-bottom: 0;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid var(--bs-border-color);
    }
    .rh-fs-mfilter-services-col {
        margin-bottom: 0;
        padding-top: 0.15rem;
    }
}

@media (min-width: 992px) {
    .rh-fs-mfilter-diet-col,
    .rh-fs-mfilter-cuisine-col {
        margin-bottom: 0;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid var(--bs-border-color);
    }
    .rh-fs-mfilter-services-col {
        margin-bottom: 0;
        padding-top: 0.1rem;
    }
    /* Desktop filter strip: subtle blue-tinted horizontal scrollbar */
    .rh-fs-mfilter-row__scroll.rh-fs-dfilter-row__scroll {
        scrollbar-width: thin;
        scrollbar-color: rgba(var(--bs-primary-rgb), 0.32) rgba(var(--bs-primary-rgb), 0.06);
        -ms-overflow-style: auto;
    }
    .rh-fs-mfilter-row__scroll.rh-fs-dfilter-row__scroll::-webkit-scrollbar {
        display: block;
        height: 6px;
    }
    .rh-fs-mfilter-row__scroll.rh-fs-dfilter-row__scroll::-webkit-scrollbar-track {
        background: rgba(var(--bs-primary-rgb), 0.06);
        border-radius: 999px;
        margin-inline: 2px;
    }
    .rh-fs-mfilter-row__scroll.rh-fs-dfilter-row__scroll::-webkit-scrollbar-thumb {
        background: linear-gradient(
            180deg,
            rgba(var(--bs-primary-rgb), 0.3),
            rgba(var(--bs-primary-rgb), 0.16)
        );
        border-radius: 999px;
        border: 2px solid transparent;
        background-clip: padding-box;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    }
    .rh-fs-mfilter-row__scroll.rh-fs-dfilter-row__scroll::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }
}

.mehko-guidance-page .mehko-guidance h2 {
    font-size: 1.15rem;
    margin: 1.25rem 0 0.5rem;
}

.mehko-guidance-page .mehko-guidance .lead {
    font-size: 1.05rem;
}

/* /what-is-greater-cater — admin HTML (MarkupString); must be global (not component-scoped). */
.about-fu-page .about-fu-html {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--bs-body-color);
}

.about-fu-page .about-fu-html .about-gc-lead {
    font-size: 1.2rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    color: var(--bs-emphasis-color);
}

.about-fu-page .about-fu-html .about-gc-highlights {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .about-fu-page .about-fu-html .about-gc-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-fu-page .about-fu-html .about-gc-highlight {
    background: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 1.1rem 1.1rem 1rem;
    margin: 0;
    text-align: center;
}

.about-fu-page .about-fu-html .about-gc-highlight__image {
    display: block;
    width: clamp(5.25rem, 22vw, 6.5rem);
    height: clamp(5.25rem, 22vw, 6.5rem);
    object-fit: cover;
    border-radius: 1.1rem;
    margin: 0 auto 0.85rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.about-fu-page .about-fu-html .about-gc-highlight__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 0.65rem;
}

.about-fu-page .about-fu-html .about-gc-highlight p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-fu-page .about-fu-html .about-gc-landing-hint {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--bs-secondary-color);
    margin: 0.25rem 0 0.65rem;
}

.about-fu-page .about-fu-html .about-gc-landing-hint a {
    font-weight: 500;
    color: var(--bs-primary);
    text-decoration: none;
}

.about-fu-page .about-fu-html .about-gc-landing-hint a:hover {
    text-decoration: underline;
}

.about-fu-page .about-fu-html .about-gc-section,
.about-fu-page .about-fu-html .about-gc details {
    margin-top: 1.25rem;
}

.about-fu-page .about-fu-html details > summary,
.about-fu-page .about-fu-html .about-gc details > summary,
.about-fu-page .about-fu-html .about-gc-section > .about-gc-section__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    background: linear-gradient(
        90deg,
        rgb(5, 36, 88) 0%,
        rgb(22, 12, 58) 38%,
        rgb(42, 8, 56) 72%,
        rgb(52, 10, 64) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid rgba(70, 110, 190, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
    color: rgba(255, 252, 255, 0.96);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
}

.about-fu-page .about-fu-html details > summary::-webkit-details-marker,
.about-fu-page .about-fu-html .about-gc details > summary::-webkit-details-marker,
.about-fu-page .about-fu-html .about-gc-section > .about-gc-section__summary::-webkit-details-marker {
    display: none;
}

.about-fu-page .about-fu-html details > summary::marker,
.about-fu-page .about-fu-html .about-gc details > summary::marker,
.about-fu-page .about-fu-html .about-gc-section > .about-gc-section__summary::marker {
    content: "";
}

.about-fu-page .about-fu-html details > summary::after,
.about-fu-page .about-fu-html .about-gc details > summary::after,
.about-fu-page .about-fu-html .about-gc-section > .about-gc-section__summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.1rem;
    border-right: 2px solid rgba(255, 255, 255, 0.88);
    border-bottom: 2px solid rgba(255, 255, 255, 0.88);
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}

.about-fu-page .about-fu-html details[open] > summary::after,
.about-fu-page .about-fu-html .about-gc details[open] > summary::after,
.about-fu-page .about-fu-html .about-gc-section[open] > .about-gc-section__summary::after {
    transform: rotate(45deg);
}

.about-fu-page .about-fu-html details > summary:hover,
.about-fu-page .about-fu-html .about-gc details > summary:hover,
.about-fu-page .about-fu-html .about-gc-section > .about-gc-section__summary:hover {
    filter: brightness(1.06);
}

.about-fu-page .about-fu-html .about-gc-section__summary-text {
    flex: 1 1 auto;
    min-width: 0;
}

.about-fu-page .about-fu-html .about-gc-section__body {
    padding: 1.15rem 0 0.25rem;
}

.about-fu-page .about-fu-html .about-gc-section__intro {
    color: var(--bs-secondary-color);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.about-fu-page .about-fu-html .about-gc-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
    color: var(--bs-emphasis-color);
}

.about-fu-page .about-fu-html .about-gc-callout {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(25, 135, 84, 0.08) 100%);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 0.5rem;
    padding: 1.1rem 1.25rem;
    margin: 1.25rem 0;
}

.about-fu-page .about-fu-html .about-gc-callout--muted {
    background: var(--bs-light);
    border-color: var(--bs-border-color);
}

.about-fu-page .about-fu-html .about-gc-callout__title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin: 0 0 0.4rem;
}

.about-fu-page .about-fu-html .about-gc-callout p:last-child {
    margin-bottom: 0;
}

.about-fu-page .about-fu-html .about-gc-callout p {
    margin-bottom: 0.5rem;
    font-size: 0.98rem;
}

.about-fu-page .about-fu-html .about-gc-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.about-fu-page .about-fu-html .about-gc-list--compact li {
    margin-bottom: 0.4rem;
}

.about-fu-page .about-fu-html .about-gc-paths {
    display: grid;
    gap: 1rem;
    margin: 0.75rem 0 1.5rem;
}

@media (min-width: 576px) {
    .about-fu-page .about-fu-html .about-gc-paths {
        grid-template-columns: 1fr 1fr;
    }
}

.about-fu-page .about-fu-html .about-gc-path {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 1rem 1.1rem;
    background: #fff;
}

.about-fu-page .about-fu-html .about-gc-path__name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.about-fu-page .about-fu-html .about-gc-path p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-fu-page .about-fu-html .about-gc-steps {
    margin: 0.5rem 0 0;
    padding-left: 1.35rem;
}

.about-fu-page .about-fu-html .about-gc-steps li {
    margin-bottom: 0.5rem;
}

/* Inline Blazor modals: scroll inside .modal-body; keep header/footer visible; don't scroll the page behind. */
body:has(.modal.show) {
    overflow: hidden;
}

/* Caterer detail + write-review overlays (Food Search / Favorites). JS adds rh-modal-scroll-lock; :has() is a fallback. */
html.rh-modal-scroll-lock,
body.rh-modal-scroll-lock,
body:has(.food-loc-detail-root),
body:has(.gc-write-review-root) {
    overflow: hidden;
    overscroll-behavior: none;
}

body.rh-modal-scroll-lock {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overscroll-behavior: contain;
}

.modal.show .modal-dialog:not(.modal-fullscreen) {
    max-height: calc(100dvh - (var(--bs-modal-margin, 0.5rem) * 2));
    width: 100%;
    margin: var(--bs-modal-margin, 0.5rem) auto;
    flex-shrink: 0;
}

.modal.show .modal-dialog.modal-dialog-centered:not(.modal-fullscreen) {
    min-height: 0;
}

.modal.show .modal-dialog:not(.modal-fullscreen) .modal-content {
    max-height: calc(100dvh - (var(--bs-modal-margin, 0.5rem) * 2));
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal.show .modal-dialog:not(.modal-fullscreen) .modal-header,
.modal.show .modal-dialog:not(.modal-fullscreen) .modal-footer {
    flex-shrink: 0;
}

.modal.show .modal-dialog:not(.modal-fullscreen) .modal-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}