/* Shared Food Delivery typography contract for customer and admin shells. */
:root {
  --boonia-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --boonia-font-weight-regular: 400;
  --boonia-font-weight-medium: 500;
  --boonia-font-weight-semibold: 600;
  --boonia-font-weight-bold: 700;
}

body[data-boonia-shell="customer"],
body[data-boonia-shell="admin"],
body[data-boonia-shell="shop-admin"] {
  font-family: var(--boonia-font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body[data-boonia-shell="customer"] button,
body[data-boonia-shell="customer"] input,
body[data-boonia-shell="customer"] select,
body[data-boonia-shell="customer"] textarea,
body[data-boonia-shell="admin"] button,
body[data-boonia-shell="admin"] input,
body[data-boonia-shell="admin"] select,
body[data-boonia-shell="admin"] textarea,
body[data-boonia-shell="shop-admin"] button,
body[data-boonia-shell="shop-admin"] input,
body[data-boonia-shell="shop-admin"] select,
body[data-boonia-shell="shop-admin"] textarea {
  font-family: inherit;
}

body[data-boonia-shell="customer"] .font-black,
body[data-boonia-shell="customer"] .font-extrabold,
body[data-boonia-shell="admin"] .font-black,
body[data-boonia-shell="admin"] .font-extrabold,
body[data-boonia-shell="shop-admin"] .font-black,
body[data-boonia-shell="shop-admin"] .font-extrabold {
  font-weight: var(--boonia-font-weight-bold);
}

body[data-boonia-shell="customer"] .font-bold,
body[data-boonia-shell="admin"] .font-bold,
body[data-boonia-shell="shop-admin"] .font-bold {
  font-weight: var(--boonia-font-weight-semibold);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

/* Keep the Food Delivery shell on one alignment boundary without affecting Shop. */
.boonia-admin-shell {
  --boonia-admin-sidebar-width: 17.5rem;
  --boonia-admin-sidebar-collapsed-width: 5rem;
  --boonia-admin-sidebar-inline-size: var(--boonia-admin-sidebar-width);
  --boonia-admin-content-max: 80rem;
  --boonia-admin-content-gutter: 1rem;
  --boonia-admin-content-gutter-sm: 1.5rem;
  --boonia-admin-content-gutter-lg: 2rem;
}

.boonia-admin-shell__layout {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr);
}

.boonia-admin-shell__content-column {
  min-width: 0;
}

.boonia-admin-shell__header-inner,
.boonia-admin-shell__content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--boonia-admin-content-max);
  margin-inline: auto;
  padding-inline: var(--boonia-admin-content-gutter);
}

.boonia-admin-shell__header-inner {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.75rem;
}

.boonia-admin-shell__breadcrumb-slot {
  min-width: 0;
  flex: 1 1 auto;
  align-self: center;
}

.boonia-admin-shell__breadcrumb-slot [data-admin-shell-breadcrumbs] {
  min-width: 0;
  margin-block: 0;
}

.boonia-admin-sidebar__brand-logo {
  display: grid;
  width: 8.5rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
}

.boonia-admin-sidebar__brand-logo-asset {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.boonia-admin-sidebar__brand-logo--compact {
  display: none;
}

.boonia-admin-sidebar__brand-logo:focus-within {
  outline: 2px solid var(--boonia-admin-focus, #5dd3c5);
  outline-offset: 3px;
  border-radius: 0.35rem;
}

.boonia-admin-sidebar__collapse {
  display: none;
  width: var(--boonia-admin-control-height);
  min-width: var(--boonia-admin-control-height);
  min-height: var(--boonia-admin-control-height);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
}

.boonia-admin-sidebar__collapse:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.boonia-admin-sidebar__collapse:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--boonia-admin-focus) 60%, white);
  outline-offset: 2px;
}

.boonia-admin-sidebar__collapse [data-sidebar-collapse-icon] {
  width: 1rem;
  height: 1rem;
}

.boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="collapsed"] {
  display: none;
}

.boonia-admin-shell__content {
  padding-block: 1.5rem;
}

.boonia-admin-sidebar__nav {
  min-width: 0;
}

.boonia-admin-sidebar {
  width: min(84vw, 20rem);
}

.boonia-admin-sidebar > div {
  min-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-overflow-scrolling: touch;
}

.boonia-admin-sidebar__group {
  display: grid;
  gap: 0.25rem;
}

.boonia-admin-sidebar__group + .boonia-admin-sidebar__group {
  margin-top: 1rem;
}

.boonia-admin-sidebar__group-label {
  margin: 0 0 0.2rem;
  padding-inline: 0.75rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: var(--boonia-admin-weight-bold);
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.boonia-admin-sidebar__link {
  min-width: 0;
}

.boonia-admin-profile-menu {
  z-index: 40;
}

.boonia-admin-profile-trigger {
  min-height: 2.75rem;
}

.boonia-admin-profile-trigger[aria-expanded="true"] {
  border-color: rgba(33, 134, 122, 0.3);
  background: #fff;
}

.boonia-admin-profile-trigger[aria-expanded="true"] [data-lucide="chevron-down"] {
  transform: rotate(180deg);
}

.boonia-admin-profile-panel {
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
}

.boonia-admin-profile-panel [role="menuitem"] {
  min-height: 2.75rem;
}

@media (min-width: 640px) {
  .boonia-admin-shell__header-inner,
  .boonia-admin-shell__content {
    padding-inline: var(--boonia-admin-content-gutter-sm);
  }
}

@media (min-width: 768px) {
  .boonia-admin-shell[data-sidebar-state="collapsed"],
  html[data-admin-sidebar-state="collapsed"] .boonia-admin-shell {
    --boonia-admin-sidebar-inline-size: var(--boonia-admin-sidebar-collapsed-width);
  }

  .boonia-admin-shell[data-sidebar-state="expanded"],
  html[data-admin-sidebar-state="expanded"] .boonia-admin-shell {
    --boonia-admin-sidebar-inline-size: var(--boonia-admin-sidebar-width);
  }

  .boonia-admin-shell__layout {
    grid-template-columns: var(--boonia-admin-sidebar-inline-size) minmax(0, 1fr);
  }

  .boonia-admin-sidebar {
    display: block;
    position: static;
    width: var(--boonia-admin-sidebar-inline-size);
    z-index: auto;
  }

  .boonia-admin-shell__header-inner,
  .boonia-admin-shell__content {
    padding-inline: var(--boonia-admin-content-gutter-lg);
  }

  .boonia-admin-shell__menu-slot {
    display: none;
  }

  .boonia-admin-sidebar__collapse {
    display: inline-flex;
  }
}

@media (min-width: 1200px) {
  .boonia-admin-shell {
    --boonia-admin-sidebar-inline-size: var(--boonia-admin-sidebar-width);
  }

  .boonia-admin-sidebar {
    width: var(--boonia-admin-sidebar-inline-size);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .boonia-admin-shell {
    --boonia-admin-sidebar-inline-size: var(--boonia-admin-sidebar-collapsed-width);
  }

  .boonia-admin-shell__layout,
  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-shell__layout {
    grid-template-columns: var(--boonia-admin-sidebar-collapsed-width) minmax(0, 1fr);
  }

  html[data-admin-sidebar-state] .boonia-admin-shell,
  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] {
    --boonia-admin-sidebar-inline-size: var(--boonia-admin-sidebar-collapsed-width);
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: block;
    width: min(var(--boonia-admin-sidebar-width), 84vw);
    box-shadow: 1rem 0 2.5rem rgba(7, 29, 27, 0.2);
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-shell__content-column {
    min-width: 0;
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-sidebar__brand [data-admin-sidebar-close] {
    display: inline-flex;
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] #adminSidebarOverlay {
    display: block;
    background: rgba(7, 29, 27, 0.52);
  }
}

@media (max-width: 1199px) {
  .boonia-admin-shell__header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .boonia-admin-shell__menu-slot {
    grid-column: 1;
    grid-row: 1;
  }

  .boonia-admin-shell__breadcrumb-slot {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

}

@media (max-width: 767px) {
  .boonia-admin-shell__menu-slot {
    display: flex;
  }
}

@media (min-width: 768px) {
  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand {
    padding-inline: 0.75rem;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand-row {
    flex-direction: column;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand-logo--full {
    display: none;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand-logo--compact {
    display: grid;
    width: 2.75rem;
    height: 2.25rem;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand > p,
  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand > details,
  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__brand > a:not(:first-child) {
    display: none;
  }

  .boonia-admin-shell .boonia-admin-sidebar__brand [data-admin-sidebar-close] {
    display: none;
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-sidebar__brand [data-admin-sidebar-close] {
    display: inline-flex;
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-sidebar__brand [data-admin-sidebar-collapse] {
    display: none;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__nav {
    padding-inline: 0.75rem;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__group-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__link {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: 0;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__link > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__link:hover::after,
  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__link:focus-visible::after {
    position: absolute;
    top: 50%;
    left: calc(100% + 0.5rem);
    z-index: 60;
    display: block;
    transform: translateY(-50%);
    border-radius: 0.5rem;
    background: var(--boonia-admin-text, #0d1f1e);
    color: #ffffff;
    content: attr(data-sidebar-label);
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
    font-weight: var(--boonia-admin-weight-semibold);
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="expanded"],
  .boonia-admin-shell[data-sidebar-state="expanded"] .boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="collapsed"] {
    display: none;
  }

  .boonia-admin-shell[data-sidebar-state="collapsed"] .boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="collapsed"],
  .boonia-admin-shell[data-sidebar-state="expanded"] .boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="expanded"],
  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="expanded"] {
    display: block;
  }

  .boonia-admin-shell[data-sidebar-state="tablet-expanded"] .boonia-admin-sidebar__collapse [data-sidebar-collapse-icon="collapsed"] {
    display: none;
  }
}

@media (max-width: 639px) {
  .boonia-admin-profile-panel {
    right: -0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boonia-admin-profile-trigger,
  .boonia-admin-profile-trigger [data-lucide="chevron-down"] {
    transition: none;
  }
}

/* Owner onboarding uses the shared admin surfaces without the old promotional hero. */
.fd-eyebrow {
  margin: 0;
  color: var(--boonia-admin-focus, #1d6f60);
  font-size: 0.72rem;
  font-weight: var(--boonia-admin-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fd-restaurant-details-page,
.fd-restaurant-setup-page {
  display: grid;
  min-width: 0;
  gap: 1.25rem;
  margin-inline: auto;
  max-width: 76rem;
}

.fd-restaurant-details-page__intro,
.fd-restaurant-setup-page__back,
.fd-restaurant-setup-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fd-restaurant-details-page__intro h2 {
  margin-top: 0.25rem;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: var(--boonia-admin-weight-bold);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.fd-restaurant-details-page__intro > div:first-child > p:last-child {
  margin-top: 0.4rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.95rem;
  font-weight: 600;
}

.fd-restaurant-details-page__progress {
  display: flex;
  flex-wrap: wrap;
  min-width: 15rem;
  align-items: center;
  gap: 0.6rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.75rem;
  font-weight: 700;
}

.fd-restaurant-details-page__card,
.fd-restaurant-setup-card {
  min-width: 0;
  border: 1px solid rgba(13, 31, 30, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(16, 32, 31, 0.06);
}

.fd-restaurant-details-page__card {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.fd-restaurant-details-form input:not([type="file"]),
.fd-restaurant-details-form textarea,
.fd-restaurant-details-form select {
  color: var(--boonia-admin-text, #0d1f1e);
}

.fd-restaurant-details-form input::placeholder,
.fd-restaurant-details-form textarea::placeholder {
  color: var(--boonia-admin-text-muted, #526763);
  opacity: 0.72;
}

.fd-restaurant-details-page__notice {
  margin-bottom: 1.25rem;
}

.fd-restaurant-details-form {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
}

.fd-restaurant-details-form__summary {
  display: grid;
  gap: 0.25rem;
  border: 1px solid #f0c6c0;
  border-radius: 0.9rem;
  background: #fff5f3;
  padding: 0.8rem 1rem;
  color: #a33a32;
  font-size: 0.82rem;
  font-weight: 600;
}

.fd-restaurant-details-section {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(13, 31, 30, 0.1);
  border-radius: 1rem;
  padding: 0.85rem;
}

.fd-restaurant-details-section legend {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.3rem;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 1rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-restaurant-details-section__number {
  display: inline-flex;
  min-width: 2rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf7f6;
  color: #1d6f60;
}

.fd-restaurant-details-section__description {
  margin: 0.35rem 0 1rem 2.65rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.78rem;
  font-weight: 600;
}

.fd-restaurant-details-section__requirement-note {
  margin: -0.35rem 0 0.8rem 2.65rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.75rem;
  font-weight: 600;
}

.fd-restaurant-details-form__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.fd-restaurant-details-form__wide {
  min-width: 0;
  grid-column: 1 / -1;
}

.fd-restaurant-details-form__field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.fd-restaurant-details-form__field > label {
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 0.82rem;
  font-weight: 700;
}

.fd-restaurant-details-form__coordinate-note {
  margin-top: -0.25rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.75rem;
  font-weight: 600;
}

.fd-restaurant-details__cuisines-control {
  width: 100%;
  max-width: 38rem;
}

.fd-restaurant-details-form__location-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.fd-restaurant-details-form__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid rgba(13, 31, 30, 0.08);
  padding-top: 1rem;
}

.fd-restaurant-setup-page__back {
  justify-content: flex-start;
}

.fd-restaurant-setup-identity {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(13, 31, 30, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(16, 32, 31, 0.06);
}

.fd-restaurant-setup-identity__icon,
.fd-restaurant-setup-section__icon,
.fd-restaurant-history__marker {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf7f6;
  color: #1d6f60;
}

.fd-restaurant-setup-identity__icon {
  width: 3.5rem;
  height: 3.5rem;
}

.fd-restaurant-setup-identity__copy {
  min-width: 0;
  flex: 1;
}

.fd-restaurant-setup-identity__title-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.fd-restaurant-setup-identity h2 {
  min-width: 0;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: var(--boonia-admin-weight-bold);
  overflow-wrap: anywhere;
}

.fd-restaurant-setup-identity__copy > p {
  margin-top: 0.3rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.8rem;
  font-weight: 600;
}

.fd-restaurant-setup-identity__action,
.fd-restaurant-setup-page__back-link,
.fd-restaurant-setup-section__action {
  min-height: var(--boonia-admin-control-height, 2.75rem);
}

.fd-restaurant-setup-identity__action,
.fd-restaurant-setup-section__action {
  white-space: nowrap;
}

.fd-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.68rem;
  font-weight: var(--boonia-admin-weight-semibold);
  white-space: nowrap;
}

.fd-status-badge--neutral { background: #eef1f3; color: #3c4d54; }
.fd-status-badge--success { background: #e2f5ed; color: #176b4d; }
.fd-status-badge--warning { background: #fff2d7; color: #8a5700; }

.fd-restaurant-setup-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: start;
  gap: 1.25rem;
}

.fd-restaurant-setup-layout > .fd-restaurant-setup-progress,
.fd-restaurant-setup-layout > .fd-restaurant-readiness,
.fd-restaurant-setup-layout > .fd-restaurant-history-card,
.fd-restaurant-setup-layout > .fd-restaurant-danger-zone {
  min-width: 0;
}

.fd-restaurant-setup-layout > .fd-restaurant-setup-progress,
.fd-restaurant-setup-layout > .fd-restaurant-history-card {
  grid-column: 1;
}

.fd-restaurant-setup-layout > .fd-restaurant-readiness,
.fd-restaurant-setup-layout > .fd-restaurant-danger-zone {
  grid-column: 2;
}

.fd-restaurant-setup-layout > .fd-restaurant-setup-progress,
.fd-restaurant-setup-layout > .fd-restaurant-readiness {
  grid-row: 1;
}

.fd-restaurant-setup-layout > .fd-restaurant-history-card,
.fd-restaurant-setup-layout > .fd-restaurant-danger-zone {
  grid-row: 2;
}

.fd-restaurant-setup-card {
  padding: 1.25rem;
}

.fd-restaurant-setup-card__header {
  display: flex;
  min-width: 0;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.fd-restaurant-setup-card__header h2 {
  margin-top: 0.25rem;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 1.05rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-restaurant-setup-card__header > strong {
  flex: 0 0 auto;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.78rem;
  font-weight: 700;
}

.fd-restaurant-setup-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.25rem 0;
}

.fd-restaurant-setup-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: var(--boonia-admin-text-muted, #526763);
  text-align: center;
  text-decoration: none;
}

.fd-restaurant-setup-step:not(:last-child)::after {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #d9e0df;
  content: "";
  z-index: 0;
}

.fd-restaurant-setup-step__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 2px solid #d3dcdd;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-restaurant-setup-step.is-complete .fd-restaurant-setup-step__number,
.fd-restaurant-setup-step.is-current .fd-restaurant-setup-step__number {
  border-color: #1d6f60;
  color: #1d6f60;
}

.fd-restaurant-setup-step__copy { display: grid; gap: 0.15rem; }
.fd-restaurant-setup-step__copy strong { font-size: 0.72rem; font-weight: var(--boonia-admin-weight-semibold); }
.fd-restaurant-setup-step__copy small { font-size: 0.68rem; font-weight: 600; }

.fd-restaurant-setup-sections { display: grid; gap: 0.65rem; }

.fd-restaurant-setup-section {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid rgba(13, 31, 30, 0.08);
  padding-top: 0.8rem;
}

.fd-restaurant-setup-section__icon { width: 2.25rem; height: 2.25rem; }
.fd-restaurant-setup-section__copy { min-width: 0; }
.fd-restaurant-setup-section__copy h3 { color: var(--boonia-admin-text, #0d1f1e); font-size: 0.88rem; font-weight: var(--boonia-admin-weight-semibold); }
.fd-restaurant-setup-section__copy p { margin-top: 0.2rem; color: var(--boonia-admin-text-muted, #526763); font-size: 0.73rem; font-weight: 600; }
.fd-restaurant-setup-section__copy ul { display: flex; flex-wrap: wrap; gap: 0.25rem 0.8rem; margin-top: 0.35rem; color: #8a5700; font-size: 0.7rem; font-weight: 600; }
.fd-restaurant-setup-section__copy li::before { content: "•"; margin-right: 0.3rem; }
.fd-restaurant-setup-section__more { margin-top: 0.35rem; color: #8a5700; font-size: 0.7rem; font-weight: 700; }
.fd-restaurant-setup-section__more summary,
.fd-restaurant-readiness__more summary { cursor: pointer; }
.fd-restaurant-setup-section__more ul { margin-top: 0.25rem; }

.fd-restaurant-history { display: grid; gap: 0.65rem; margin-top: 1rem; }
.fd-restaurant-history__item { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.75rem; border-top: 1px solid rgba(13, 31, 30, 0.08); padding-top: 0.7rem; }
.fd-restaurant-history__marker { width: 2rem; height: 2rem; }
.fd-restaurant-history__item strong { margin-right: 0.55rem; color: var(--boonia-admin-text, #0d1f1e); font-size: 0.8rem; font-weight: var(--boonia-admin-weight-semibold); }
.fd-restaurant-history__item time { color: var(--boonia-admin-text-muted, #526763); font-size: 0.75rem; font-weight: 600; }
.fd-restaurant-history__item p { margin-top: 0.2rem; color: var(--boonia-admin-text-muted, #526763); font-size: 0.75rem; font-weight: 600; overflow-wrap: anywhere; }
.fd-restaurant-history__empty { display: grid; gap: 0.2rem; margin-top: 1rem; border-top: 1px solid rgba(13, 31, 30, 0.08); padding-top: 0.8rem; color: var(--boonia-admin-text-muted, #526763); font-size: 0.78rem; }
.fd-restaurant-history__empty strong { color: var(--boonia-admin-text, #0d1f1e); }

.fd-restaurant-readiness__message { margin-top: 1rem; color: var(--boonia-admin-text-muted, #526763); font-size: 0.8rem; font-weight: 600; }
.fd-restaurant-readiness__list { display: grid; gap: 0.6rem; margin-top: 1rem; color: var(--boonia-admin-text, #0d1f1e); font-size: 0.76rem; font-weight: 600; }
.fd-restaurant-readiness__list li { display: flex; align-items: start; gap: 0.5rem; }
.fd-restaurant-readiness__list svg { flex: 0 0 auto; color: #8a5700; }
.fd-restaurant-readiness__more { margin-top: 0.8rem; color: #8a5700; font-size: 0.76rem; font-weight: 700; }
.fd-restaurant-readiness__list--additional { margin-top: 0.65rem; }
.fd-restaurant-readiness__form { margin-top: 1rem; }
.fd-restaurant-readiness__form button:disabled { cursor: not-allowed; background: #d9dfe1; color: #66777a; opacity: 1; }

.fd-restaurant-danger-zone { border: 1px solid #f0c6c0; border-radius: 1rem; background: #fff8f7; color: #a33a32; }
.fd-restaurant-danger-zone summary { display: flex; min-height: 3.5rem; align-items: center; justify-content: space-between; gap: 0.75rem; cursor: pointer; padding: 0.75rem 1rem; list-style: none; }
.fd-restaurant-danger-zone summary::-webkit-details-marker { display: none; }
.fd-restaurant-danger-zone summary > span { display: flex; align-items: center; gap: 0.7rem; }
.fd-restaurant-danger-zone summary span span { display: grid; gap: 0.15rem; }
.fd-restaurant-danger-zone summary strong { font-size: 0.85rem; font-weight: var(--boonia-admin-weight-semibold); }
.fd-restaurant-danger-zone summary small { color: #6b5e5e; font-size: 0.72rem; font-weight: 600; }
.fd-restaurant-danger-zone__body { border-top: 1px solid #f0c6c0; padding: 1rem; }
.fd-restaurant-danger-zone__body > p { color: #6b5e5e; font-size: 0.78rem; font-weight: 600; }
.fd-restaurant-danger-zone[open] summary > svg:last-child { transform: rotate(180deg); }

@media (max-width: 900px) {
  .fd-restaurant-setup-layout { grid-template-columns: minmax(0, 1fr); }
  .fd-restaurant-setup-layout > .fd-restaurant-setup-progress,
  .fd-restaurant-setup-layout > .fd-restaurant-readiness,
  .fd-restaurant-setup-layout > .fd-restaurant-history-card,
  .fd-restaurant-setup-layout > .fd-restaurant-danger-zone {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .fd-owner-restaurants-page__header { align-items: flex-start; flex-direction: column; }
  .fd-owner-restaurants-page__header > .boonia-admin-button { width: 100%; }
  .fd-owner-restaurant-card__next { align-items: stretch; flex-direction: column; }
  .fd-owner-restaurant-card__next .boonia-admin-button { width: 100%; }
  .fd-restaurant-details-page__intro,
  .fd-restaurant-setup-identity { align-items: flex-start; flex-direction: column; }
  .fd-restaurant-details-page__progress { width: 100%; min-width: 0; }
  .fd-restaurant-setup-identity__action { width: 100%; }
  .fd-restaurant-setup-steps { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; justify-items: start; margin-block: 1rem; }
  .fd-restaurant-setup-step { width: 100%; grid-template-columns: auto minmax(0, 1fr); justify-items: start; gap: 0.7rem; text-align: left; }
  .fd-restaurant-setup-step:not(:last-child)::after { top: 2rem; left: 1rem; width: 2px; height: calc(100% - 0.75rem); }
  .fd-restaurant-setup-step__copy { align-self: center; }
  .fd-restaurant-setup-section { grid-template-columns: auto minmax(0, 1fr); }
  .fd-restaurant-setup-section > .fd-status-badge { grid-column: 2; justify-self: start; }
  .fd-restaurant-setup-section__action { grid-column: 2; justify-self: start; }
  .fd-restaurant-details__cuisines-control { max-width: none; }
}

@media (max-width: 640px) {
  .fd-owner-restaurant-card__header { grid-template-columns: auto minmax(0, 1fr); }
  .fd-owner-restaurant-card__badges { grid-column: 1 / -1; }
  .fd-restaurant-details-form__grid { grid-template-columns: minmax(0, 1fr); }
  .fd-restaurant-details-form__footer { flex-direction: column-reverse; }
  .fd-restaurant-details-form__footer > *,
  .fd-restaurant-details-form__location-action > button { width: 100%; }
  .fd-restaurant-setup-section__action { width: 100%; }
  .fd-restaurant-history__item { grid-template-columns: auto minmax(0, 1fr); }
  .fd-restaurant-history__item > .fd-status-badge { grid-column: 2; justify-self: start; }
}

[data-shop-admin-results-region] {
  scrollbar-width: thin;
  scrollbar-color: rgba(33, 134, 122, 0.28) transparent;
}

[data-shop-admin-results-region]::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

[data-shop-admin-results-region]::-webkit-scrollbar-track {
  background: transparent;
}

[data-shop-admin-results-region]::-webkit-scrollbar-thumb {
  background-color: rgba(33, 134, 122, 0.22);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

[data-shop-admin-results-region]:hover::-webkit-scrollbar-thumb {
  background-color: rgba(33, 134, 122, 0.38);
}

@media (min-width: 768px) {
  [data-shop-admin-results-region] {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    max-height: calc(100dvh - var(--shop-admin-results-offset, 0px));
  }
}

@media (max-width: 767.98px) {
  [data-shop-admin-results-region] {
    max-height: none;
    overflow: visible;
  }
}

a {
  text-decoration: none;
}

[data-food-delivery-header-shell] .fd-food-delivery-header-utility,
[data-food-delivery-header-shell] .fd-food-delivery-header-main {
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease,
    border-color 180ms ease;
}

[data-food-delivery-header-shell].is-scrolled .fd-food-delivery-header-utility {
  background-color: rgba(13, 31, 30, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
}

[data-food-delivery-header-shell].is-scrolled .fd-food-delivery-header-main {
  background-color: rgba(255, 247, 237, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: #21867a;
}

.fd-body-copy a {
  color: inherit;
  text-decoration: none;
}

.fd-page-intro {
  background:
    radial-gradient(circle at top right, rgba(252, 191, 73, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.fd-surface-card {
  border: 1px solid rgba(13, 31, 30, 0.06);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(16, 32, 31, 0.08);
}

.fd-button-primary {
  background: #21867a;
}

.fd-button-primary:hover {
  background: #185f56;
  transform: translateY(-1px);
}

.fd-button-secondary {
  background: #fcbf49;
  color: #0d1f1e;
}

.fd-button-secondary:hover {
  background: #e0a832;
  transform: translateY(-1px);
}

.fd-button-secondary--outlined {
  border: 1px solid rgba(33, 134, 122, 0.45);
  background: rgba(255, 255, 255, 0.9);
}

.fd-button-secondary--outlined:hover {
  background: rgba(33, 134, 122, 0.08);
}

.fd-button-ghost {
  border: 1px solid rgba(33, 134, 122, 0.18);
  background: rgba(33, 134, 122, 0.08);
}

.fd-button-ghost:hover {
  border-color: rgba(33, 134, 122, 0.34);
  background: #fff;
  transform: translateY(-1px);
}

.fd-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
  font-weight: var(--boonia-admin-weight-semibold);
  line-height: 1;
}

.fd-muted-chip {
  background: #f4f7f6;
  color: #24413e;
}

.fd-page-grid {
  display: grid;
  gap: 1.5rem;
}

.auth-page {
  min-height: 100dvh;
  overflow-x: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(252, 191, 73, 0.08), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(33, 134, 122, 0.16), transparent 26%),
    linear-gradient(180deg, #090d11 0%, #070a0e 100%);
}

.auth-hero {
  position: relative;
  overflow: hidden;
  background: #05080c;
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(7, 10, 14, 0.9));
  pointer-events: none;
}

.auth-panel {
  background: rgba(10, 14, 18, 0.94);
}

.auth-surface {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.auth-role-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.auth-role-card:hover {
  border-color: rgba(252, 191, 73, 0.34);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.auth-role-card.is-selected {
  border-color: rgba(252, 191, 73, 0.7);
  background: rgba(252, 191, 73, 0.09);
  box-shadow:
    0 0 0 1px rgba(252, 191, 73, 0.14),
    0 20px 60px rgba(0, 0, 0, 0.18);
}

.auth-role-radio {
  accent-color: #fcbf49;
}

.auth-step-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-step-pill {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 999px;
}

.auth-button-primary {
  background: #fcbf49;
  color: #0a0e12;
}

.auth-button-primary:hover {
  background: #e0a832;
}

.auth-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
}

.auth-button-secondary:hover {
  border-color: rgba(252, 191, 73, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.required-indicator {
  margin-left: 0.2rem;
  color: #ff6b4a !important;
  font-weight: var(--boonia-admin-weight-semibold);
}

.form-error {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff6b4a !important;
}

.form-help {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.has-error input,
.has-error textarea,
.has-error select {
  border-color: rgba(192, 57, 43, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.boonia-admin-form-field.has-error > label,
.boonia-admin-form-field.has-error > .boonia-admin-form-label {
  color: #c0392b;
}

.boonia-admin-form-field.has-error [data-dropdown-trigger] {
  border-color: rgba(192, 57, 43, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.boonia-admin-form-error {
  margin-top: 0.35rem;
  color: #c0392b;
  font-size: 0.8125rem;
  font-weight: 700;
}

.has-error [data-boonia-field-errors] {
  color: #ff6b4a !important;
}

.fd-loading-button {
  position: relative;
}

.fd-loading-button[disabled],
.fd-loading-button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.9;
}

.fd-loading-button-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.fd-loading-spinner-shell {
  position: relative;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #21867a;
  filter: drop-shadow(0 0 10px rgba(33, 134, 122, 0.16));
}

.fd-loading-spinner-shell--sm {
  width: 2rem;
  height: 2rem;
}

.fd-loading-spinner-shell--lg {
  width: 3.25rem;
  height: 3.25rem;
}

.fd-loading-spinner-shell--xl {
  width: 3.75rem;
  height: 3.75rem;
}

.fd-loading-spinner-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
  animation: fd-boonia-loader-breathe 1.45s ease-in-out infinite;
}

.fd-loading-spinner-pin-shell {
  fill: none;
  stroke: rgba(33, 134, 122, 0.20);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fd-loading-spinner-pin-body {
  fill: rgba(33, 134, 122, 0.12);
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linejoin: round;
}

.fd-loading-spinner-pin-core {
  fill: #fcbf49;
  transform-box: fill-box;
  transform-origin: center;
  animation: fd-boonia-loader-pulse 1.35s ease-in-out infinite;
}

.fd-loading-spinner-pin-core--gold {
  fill: #fcbf49;
}

.fd-loading-spinner-pin-pulse {
  fill: none;
  stroke: rgba(33, 134, 122, 0.22);
  stroke-linecap: round;
  stroke-width: 1.7;
  transform-box: fill-box;
  transform-origin: center;
  animation: fd-boonia-loader-ring 1.6s ease-out infinite;
}

.fd-loading-spinner-pin-pulse--2 {
  animation-delay: 0.35s;
}

.fd-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 31, 30, 0.28);
  backdrop-filter: blur(6px);
}

.fd-loading-overlay-panel {
  max-width: min(92vw, 24rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(13, 31, 30, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(16, 32, 31, 0.18);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.fd-loading-region {
  overflow: hidden;
}

.fd-loading-region-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 250, 240, 0.38);
  backdrop-filter: blur(4px);
}

.fd-loading-region-overlay-panel {
  width: min(100%, 72rem);
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: center;
}

[data-restaurant-results-root][aria-busy='true'] [data-restaurant-results-loading] {
  display: flex !important;
}

[data-restaurant-results-root][aria-busy='true'] [data-restaurant-results-content] {
  opacity: 0.95;
}

.fd-restaurant-directory__search-field:has([data-restaurant-list-search-input]:not(:placeholder-shown)) [data-restaurant-search-submit] {
  background: var(--color-teal, #0f8f8a);
  color: white;
}

[data-restaurant-list-form][aria-busy='true'] [data-restaurant-search-submit] {
  cursor: wait;
  opacity: 0.65;
}

.fd-restaurant-directory .boonia-popover.is-open [data-restaurant-list-filters-chevron] {
  transform: rotate(180deg);
}

/* Customer directory: keep discovery controls compact without changing the
   server-side filter and HTMX contracts. */
.fd-restaurant-directory {
  --directory-gap: clamp(1rem, 2vw, 1.5rem);
}

.fd-restaurant-directory__intro {
  animation: fd-directory-rise 420ms ease-out both;
}

.fd-restaurant-directory [data-restaurant-list-form] {
  margin-top: 1.25rem;
  animation: fd-directory-rise 480ms 40ms ease-out both;
}

.fd-restaurant-directory__quick-filters {
  overflow-x: visible;
  overflow-y: visible;
  padding-inline-end: 1rem;
  scroll-padding-inline: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(33, 134, 122, 0.35) transparent;
}

.fd-restaurant-directory__filter-toggle {
  background: #21867a;
  color: #fff;
}

.fd-restaurant-directory__filter-toggle:hover {
  background: #185f56;
}

.fd-restaurant-directory__filter-toggle [data-restaurant-list-filters-chevron] {
  color: rgba(255, 255, 255, 0.86);
}

.fd-restaurant-directory__filter-toggle:focus-visible,
.fd-restaurant-directory__detail-panel a:focus-visible,
.fd-restaurant-directory__detail-panel button:focus-visible,
.fd-restaurant-directory__detail-panel input:focus-visible {
  outline: 3px solid rgba(33, 134, 122, 0.35);
  outline-offset: 3px;
}

.fd-restaurant-directory__result-count {
  color: #0d1f1e;
  font-size: 1.125rem;
  font-weight: 800;
}

.fd-restaurant-directory__quick-filters a:focus-visible,
.fd-restaurant-directory__active-chip:focus-visible,
.fd-restaurant-directory__card a:focus-visible,
.fd-restaurant-directory__pagination a:focus-visible {
  outline: 3px solid rgba(33, 134, 122, 0.35);
  outline-offset: 3px;
}

.fd-restaurant-directory__cuisine-filter .boonia-select__trigger {
  min-width: 10rem;
}

@media (min-width: 640px) {
  .fd-restaurant-directory__detail-panel .boonia-popover__header {
    display: none;
  }

  .fd-restaurant-directory__detail-panel .boonia-popover__body {
    border-bottom: 0;
    padding-block: 0.75rem;
  }

  .fd-restaurant-directory__detail-panel .boonia-popover__footer {
    border-top: 1px solid rgba(13, 31, 30, 0.05);
    padding-block: 0.65rem;
  }
}

.fd-restaurant-directory__card {
  box-shadow: 0 8px 24px rgba(16, 32, 31, 0.07);
}

.fd-restaurant-directory__card:hover {
  box-shadow: 0 16px 34px rgba(16, 32, 31, 0.13);
}

.fd-restaurant-directory__card img {
  transition: transform 280ms ease;
}

.fd-restaurant-directory__card:hover img {
  transform: scale(1.04);
}

.fd-restaurant-directory__pagination {
  justify-content: space-between;
}

@keyframes fd-directory-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fd-restaurant-directory__intro,
  .fd-restaurant-directory [data-restaurant-list-form] {
    animation: none;
  }

  .fd-restaurant-directory__card img {
    transition: none;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  [data-restaurant-list-primary-row] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-restaurant-list-primary-row] .fd-restaurant-directory__search-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .fd-restaurant-directory__intro {
    padding-top: 1.75rem;
  }

  .fd-restaurant-directory [data-restaurant-list-form] {
    margin-top: 1rem;
  }

  .fd-restaurant-directory [data-restaurant-list-primary-row] {
    gap: 0.5rem;
  }

  .fd-restaurant-directory [data-restaurant-list-primary-row] > .fd-restaurant-directory__search-field,
  .fd-restaurant-directory [data-restaurant-list-primary-row] > .fd-restaurant-directory__location-field,
  .fd-restaurant-directory [data-restaurant-list-primary-row] > [data-boonia-popover] .boonia-popover__trigger,
  .fd-restaurant-directory [data-restaurant-list-primary-row] > .boonia-select .boonia-select__trigger {
    padding-block: 0.6rem;
  }

  .fd-restaurant-directory__quick-filters {
    overflow-x: auto;
    overflow-y: visible;
    padding-inline-end: 1.25rem;
  }

  .fd-restaurant-directory__cuisine-filter .boonia-select__trigger {
    max-width: 11rem;
  }

  .fd-restaurant-directory__pagination {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .fd-restaurant-directory__pagination nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.25rem;
  }
}

[data-shop-htmx-root] {
  position: relative;
}

[data-shop-htmx-root][aria-busy='true'] [data-shop-htmx-loading] {
  display: flex !important;
}

[data-shop-htmx-root][aria-busy='true'] [data-shop-htmx-content] {
  opacity: 0.96;
}

@keyframes fd-boonia-loader-breathe {
  0%,
  100% {
    transform: scale(0.985);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes fd-boonia-loader-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fd-boonia-loader-ring {
  0% {
    opacity: 0.6;
    transform: scale(0.82);
  }

  70% {
    opacity: 0;
    transform: scale(1.18);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes fd-boonia-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-loading-spinner-svg,
  .fd-loading-spinner-pin-core,
  .fd-loading-spinner-pin-pulse {
    animation: none;
  }
}

/* Operations dashboard presentation stays scoped to the dashboard workspace. */
.boonia-admin-dashboard {
  --boonia-dashboard-status-pending: var(--boonia-admin-warning);
  --boonia-dashboard-status-confirmed: var(--boonia-admin-focus);
  --boonia-dashboard-status-preparing: var(--boonia-admin-info);
  --boonia-dashboard-status-delivered: var(--boonia-admin-success);
  --boonia-dashboard-status-cancelled: var(--boonia-admin-danger);
  display: block;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.boonia-admin-dashboard__workspace {
  display: grid;
  gap: 1.25rem;
}

.boonia-admin-dashboard__hero {
  display: grid;
  align-items: end;
  gap: 1rem 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.boonia-admin-dashboard__header h1 {
  margin-top: 0.2rem;
  color: var(--boonia-admin-text);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: var(--boonia-admin-weight-bold);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

#admin-dashboard-workspace { display: block; }

.boonia-admin-dashboard__controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex: 0 1 auto;
  flex-wrap: nowrap;
}

.boonia-admin-dashboard__controls > .boonia-admin-dropdown {
  flex: 0 1 11.5rem;
  min-width: 11.5rem;
  max-width: 15rem;
  min-height: var(--boonia-admin-control-height);
}

.boonia-admin-dashboard__controls > .boonia-admin-dropdown .boonia-admin-dropdown__trigger {
  width: 100%;
}

.boonia-admin-dashboard__period {
  display: inline-flex;
  min-height: var(--boonia-admin-control-height);
  overflow: hidden;
  border: 1px solid var(--boonia-admin-border);
  border-radius: var(--boonia-admin-radius);
  background: var(--boonia-admin-surface-card);
}

.boonia-admin-dashboard__period-button {
  min-width: 4.5rem;
  border: 0;
  border-right: 1px solid rgba(13, 31, 30, 0.08);
  background: transparent;
  color: var(--boonia-admin-text-muted);
  cursor: pointer;
  padding: 0 0.8rem;
  font-size: 0.78rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.boonia-admin-dashboard__period-button:last-child { border-right: 0; }
.boonia-admin-dashboard__period-button.is-active { background: var(--boonia-admin-brand-dark); color: #fff; }

.boonia-admin-dashboard__updated {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.45rem;
  margin-left: 0;
  color: var(--boonia-admin-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.boonia-admin-dashboard__updated-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #58b5a4;
}

.boonia-admin-dashboard__refresh { min-height: var(--boonia-admin-control-height); white-space: nowrap; }
.boonia-admin-dashboard__refresh .htmx-indicator { display: none; }
.boonia-admin-dashboard__refresh.htmx-request .htmx-indicator { display: inline-flex; }
.boonia-admin-dashboard__refresh svg { width: 1rem; height: 1rem; }

.boonia-admin-dashboard__calendar { position: relative; min-height: var(--boonia-admin-control-height); flex: 0 0 auto; }
.boonia-admin-dashboard__calendar-toggle { display: inline-flex; width: var(--boonia-admin-control-height); min-width: var(--boonia-admin-control-height); min-height: var(--boonia-admin-control-height); align-items: center; justify-content: center; padding: 0; }
.boonia-admin-dashboard__calendar-toggle.is-selected { border-color: var(--boonia-admin-focus); background: var(--boonia-admin-pale-teal, #edf7f6); color: var(--boonia-admin-focus); }
.boonia-admin-dashboard__calendar-toggle svg { width: 1rem; }
.boonia-admin-dashboard__calendar-popover { position: absolute; z-index: 30; top: calc(100% + 0.5rem); right: 0; width: min(22rem, calc(100vw - 1rem)); border: 1px solid var(--boonia-admin-border); border-radius: 0.9rem; background: var(--boonia-admin-surface-card); padding: 0.9rem; box-shadow: 0 1rem 2.5rem rgba(13, 31, 30, 0.16); }
.boonia-admin-dashboard__calendar-popover fieldset { border: 0; margin: 0; padding: 0; }
.boonia-admin-dashboard__calendar-popover legend { color: var(--boonia-admin-text); font-size: 0.78rem; font-weight: var(--boonia-admin-weight-bold); }
.boonia-admin-dashboard__calendar-fields { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.45rem 0.6rem; margin-top: 0.7rem; }
.boonia-admin-dashboard__calendar-fields label { color: var(--boonia-admin-text-muted); font-size: 0.7rem; font-weight: var(--boonia-admin-weight-semibold); }
.boonia-admin-dashboard__calendar-fields input { min-width: 0; border: 1px solid var(--boonia-admin-border); border-radius: 0.55rem; padding: 0.5rem; color: var(--boonia-admin-text); font: inherit; font-size: 0.72rem; }
.boonia-admin-dashboard__calendar-fields input:focus-visible { outline: 2px solid var(--boonia-admin-focus); outline-offset: 2px; }
.boonia-admin-dashboard__calendar-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.8rem; }
.boonia-admin-dashboard__calendar-popover .boonia-admin-form-error { margin-top: 0.55rem; }

.boonia-admin-dashboard__setup,
.boonia-admin-dashboard__panel,
.boonia-admin-dashboard__kpi {
  border: 1px solid rgba(13, 31, 30, 0.1);
  border-radius: 1rem;
  background: var(--boonia-admin-surface-card);
  box-shadow: 0 0.75rem 2rem rgba(13, 31, 30, 0.045);
}

.boonia-admin-dashboard__setup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(90deg, rgba(252, 191, 73, 0.12), rgba(255, 255, 255, 0.9));
}

.boonia-admin-dashboard__setup h2 { margin-top: 0.25rem; font-size: 1rem; font-weight: var(--boonia-admin-weight-bold); }
.boonia-admin-dashboard__setup p:last-child { margin-top: 0.25rem; color: var(--boonia-admin-text-muted); font-size: 0.78rem; font-weight: 600; }
.boonia-admin-dashboard__eyebrow { color: var(--boonia-admin-brand-amber); font-size: 0.68rem; font-weight: var(--boonia-admin-weight-bold); letter-spacing: 0.12em; text-transform: uppercase; }

.boonia-admin-dashboard__kpis {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.boonia-admin-dashboard__kpi {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--boonia-admin-text);
  text-decoration: none;
}

.boonia-admin-dashboard__kpi--interactive { transition: border-color 160ms ease; }
.boonia-admin-dashboard__kpi--interactive:hover { border-color: rgba(33, 134, 122, 0.35); }
.boonia-admin-dashboard__kpi:not(.boonia-admin-dashboard__kpi--interactive) { cursor: default; }
.boonia-admin-dashboard__kpi-icon,
.boonia-admin-dashboard__icon-surface {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: var(--teal-pale, #edf7f6);
  color: var(--boonia-admin-focus);
}

.boonia-admin-dashboard__kpi--attention .boonia-admin-dashboard__kpi-icon,
.boonia-admin-dashboard__icon-surface--amber { background: rgba(252, 191, 73, 0.18); color: #a96800; }
.boonia-admin-dashboard__kpi-copy { display: grid; min-width: 0; gap: 0.12rem; }
.boonia-admin-dashboard__kpi-copy > span { color: var(--boonia-admin-text-muted); font-size: 0.76rem; font-weight: var(--boonia-admin-weight-semibold); }
.boonia-admin-dashboard__kpi-copy strong { overflow-wrap: anywhere; font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: var(--boonia-admin-weight-bold); letter-spacing: -0.04em; line-height: 1.1; }
.boonia-admin-dashboard__kpi-copy small { color: var(--boonia-admin-text-muted); font-size: 0.68rem; font-weight: 700; }
.boonia-admin-dashboard__kpi-copy small.is-positive { color: #17865f; }
.boonia-admin-dashboard__kpi-copy small.is-negative { color: var(--boonia-admin-danger); }
.boonia-admin-dashboard__kpi-copy small em { font-style: normal; }
.boonia-admin-dashboard__kpi-arrow { width: 1rem; margin-left: auto; color: var(--boonia-admin-focus); }

.boonia-admin-dashboard__primary-grid,
.boonia-admin-dashboard__lower-grid { display: grid; align-items: start; gap: 1.25rem; grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.9fr); }
.boonia-admin-dashboard__lower-grid { grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr); }
.boonia-admin-dashboard__panel { min-width: 0; overflow: hidden; padding: 1.1rem; }
.boonia-admin-dashboard__primary-grid > .boonia-admin-dashboard__panel { min-height: 24rem; }
.boonia-admin-dashboard__panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.boonia-admin-dashboard__heading-group { display: flex; min-width: 0; align-items: center; gap: 0.7rem; }
.boonia-admin-dashboard__heading-group > div { min-width: 0; }
.boonia-admin-dashboard__heading-group h2 { color: var(--boonia-admin-text); font-size: 1rem; font-weight: var(--boonia-admin-weight-bold); line-height: 1.2; }
.boonia-admin-dashboard__heading-group p { margin-top: 0.22rem; color: var(--boonia-admin-text-muted); font-size: 0.72rem; font-weight: 600; }
.boonia-admin-dashboard__panel-total,
.boonia-admin-dashboard__count-badge { color: var(--boonia-admin-focus); font-size: 0.76rem; font-weight: var(--boonia-admin-weight-bold); white-space: nowrap; }
.boonia-admin-dashboard__count-badge { border-radius: 999px; background: rgba(252, 191, 73, 0.2); color: #915e00; padding: 0.4rem 0.65rem; }
.boonia-admin-dashboard__text-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--boonia-admin-focus); font-size: 0.72rem; font-weight: var(--boonia-admin-weight-bold); text-decoration: none; white-space: nowrap; }
.boonia-admin-dashboard__text-link svg { width: 0.9rem; }

.boonia-admin-dashboard__chart-wrap { margin-top: 1rem; }
.boonia-admin-dashboard__chart-plot { display: grid; min-width: 0; grid-template-columns: 2.35rem minmax(0, 1fr); align-items: stretch; }
.boonia-admin-dashboard__chart-axis { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; justify-content: space-between; padding: 0.25rem 0; color: var(--boonia-admin-text-muted); font-size: 0.58rem; font-weight: var(--boonia-admin-weight-semibold); line-height: 1; }
.boonia-admin-dashboard__chart-axis span:empty { display: none; }
.boonia-admin-dashboard__chart-unit { margin-bottom: 0.3rem; color: var(--boonia-admin-text-muted); font-size: 0.62rem; font-weight: var(--boonia-admin-weight-bold); letter-spacing: 0.06em; text-align: right; text-transform: uppercase; }
.boonia-admin-dashboard__chart { display: block; width: 100%; min-width: 0; aspect-ratio: 720 / 250; height: auto; min-height: 0; overflow: visible; }
.boonia-admin-dashboard__chart-grid { stroke: var(--boonia-admin-border); stroke-dasharray: 1 1; stroke-width: 0.35; }
.boonia-admin-dashboard__chart-area { fill: var(--boonia-admin-focus); opacity: 0.12; }
.boonia-admin-dashboard__chart-line { stroke: var(--boonia-admin-brand-dark); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.boonia-admin-dashboard__chart-previous-line { stroke: var(--boonia-admin-text-muted); stroke-dasharray: 4 4; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1; opacity: 0.7; }
.boonia-admin-dashboard__chart-point { fill: transparent; stroke: transparent; stroke-width: 0.9; cursor: pointer; outline: none; pointer-events: all; }
.boonia-admin-dashboard__chart-point.is-nonzero { fill: var(--boonia-admin-surface-card); stroke: var(--boonia-admin-brand-dark); }
.boonia-admin-dashboard__chart-point:hover,
.boonia-admin-dashboard__chart-point:focus-visible,
.boonia-admin-dashboard__chart-point.is-active { fill: var(--boonia-admin-brand-amber); stroke: var(--boonia-admin-text); stroke-width: 1.25; }
.boonia-admin-dashboard__tooltip { position: fixed; z-index: 100; max-width: min(18rem, calc(100vw - 1rem)); border: 1px solid var(--boonia-admin-border); border-radius: 0.55rem; background: var(--boonia-admin-brand-dark); color: #fff; padding: 0.45rem 0.6rem; box-shadow: 0 0.6rem 1.5rem rgba(13, 31, 30, 0.2); font-size: 0.7rem; font-weight: var(--boonia-admin-weight-semibold); pointer-events: none; }
.boonia-admin-dashboard__chart-labels { display: flex; justify-content: space-between; gap: 0.5rem; color: var(--boonia-admin-text-muted); font-size: 0.63rem; font-weight: 700; }
.boonia-admin-dashboard__chart-data { margin-top: 0.7rem; border-top: 1px solid rgba(13, 31, 30, 0.08); color: var(--boonia-admin-focus); font-size: 0.7rem; font-weight: var(--boonia-admin-weight-semibold); }
.boonia-admin-dashboard__chart-data[open] { max-height: min(22rem, 60vh); overflow: auto; }
.boonia-admin-dashboard__chart-data summary { cursor: pointer; padding: 0.65rem 0 0.1rem; }
.boonia-admin-dashboard__chart-data table { width: 100%; margin-top: 0; border-collapse: collapse; color: var(--boonia-admin-text-muted); font-size: 0.7rem; }
.boonia-admin-dashboard__chart-data th,
.boonia-admin-dashboard__chart-data td { border-bottom: 1px solid rgba(13, 31, 30, 0.08); padding: 0.35rem; text-align: left; }
.boonia-admin-dashboard__chart-data th { position: sticky; top: 0; background: var(--mist, #f6fbf9); color: var(--boonia-admin-text); }
.boonia-admin-dashboard__chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.55rem; color: var(--boonia-admin-text-muted); font-size: 0.65rem; font-weight: 700; }
.boonia-admin-dashboard__chart-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.boonia-admin-dashboard__chart-legend i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--boonia-admin-brand-dark); }
.boonia-admin-dashboard__chart-legend i.is-previous { border-radius: 0; background: var(--boonia-admin-text-muted); }

.boonia-admin-dashboard__metric-toggle { display: inline-flex; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--boonia-admin-border); border-radius: 0.65rem; background: var(--mist, #f6fbf9); }
.boonia-admin-dashboard__metric-toggle button { border: 0; background: transparent; color: var(--boonia-admin-text-muted); cursor: pointer; padding: 0.45rem 0.7rem; font: inherit; font-size: 0.68rem; font-weight: var(--boonia-admin-weight-bold); }
.boonia-admin-dashboard__metric-toggle button.is-active { border-radius: 0.55rem; background: var(--boonia-admin-brand-dark); color: #fff; }

.boonia-admin-dashboard__status-layout { display: grid; align-items: center; gap: 1rem; grid-template-columns: 10rem minmax(0, 1fr); margin-top: 1rem; }
.boonia-admin-dashboard__donut { position: relative; display: flex; width: 9rem; height: 9rem; align-items: center; justify-content: center; margin: auto; }
.boonia-admin-dashboard__donut svg { width: 100%; height: 100%; overflow: visible; }
.boonia-admin-dashboard__donut-total { fill: var(--boonia-admin-text); font-size: 1.45rem; font-weight: var(--boonia-admin-weight-bold); text-anchor: middle; }
.boonia-admin-dashboard__donut-label { fill: var(--boonia-admin-text-muted); font-size: 0.65rem; font-weight: 700; text-anchor: middle; }
.boonia-admin-dashboard__status-segment { cursor: pointer; fill: var(--boonia-admin-focus); stroke: var(--boonia-admin-surface-card); stroke-linejoin: round; stroke-width: 1.5; outline: none; }
.boonia-admin-dashboard__status-segment--pending { fill: var(--boonia-dashboard-status-pending); }
.boonia-admin-dashboard__status-segment--confirmed { fill: var(--boonia-dashboard-status-confirmed); }
.boonia-admin-dashboard__status-segment--preparing { fill: var(--boonia-dashboard-status-preparing); }
.boonia-admin-dashboard__status-segment--delivered { fill: var(--boonia-dashboard-status-delivered); }
.boonia-admin-dashboard__status-segment--cancelled { fill: var(--boonia-dashboard-status-cancelled); }
.boonia-admin-dashboard__status-segment:hover,
.boonia-admin-dashboard__status-segment:focus-visible,
.boonia-admin-dashboard__status-segment.is-active { stroke: var(--boonia-admin-text); stroke-width: 3.5; }
.boonia-admin-dashboard__status-legend { display: grid; gap: 0.45rem; }
.boonia-admin-dashboard__status-row { display: grid; grid-template-columns: minmax(0, 1fr) 4rem 5rem; align-items: center; gap: 0.5rem; }
.boonia-admin-dashboard__status-row > strong,
.boonia-admin-dashboard__status-row > small { text-align: right; }
.boonia-admin-dashboard__status-row { width: 100%; border: 0; border-radius: 0.65rem; background: var(--mist, #f6fbf9); padding: 0.55rem 0.65rem; color: var(--boonia-admin-text); cursor: pointer; font: inherit; font-size: 0.72rem; font-weight: var(--boonia-admin-weight-semibold); text-align: left; }
.boonia-admin-dashboard__status-row:hover,
.boonia-admin-dashboard__status-row:focus-visible,
.boonia-admin-dashboard__status-row.is-active { background: color-mix(in srgb, var(--boonia-admin-focus) 12%, var(--mist, #f6fbf9)); outline: 2px solid color-mix(in srgb, var(--boonia-admin-focus) 38%, transparent); outline-offset: 2px; }
.boonia-admin-dashboard__status-label { display: inline-flex; min-width: 0; align-items: center; gap: 0.45rem; }
.boonia-admin-dashboard__status-label i { width: 0.55rem; height: 0.55rem; flex: 0 0 auto; border-radius: 50%; }
.boonia-admin-dashboard__status-percent { color: var(--boonia-admin-text-muted); font-size: 0.67rem; }
.boonia-admin-dashboard__metric-value { max-width: 100%; font-variant-numeric: tabular-nums; line-height: 1.05; white-space: nowrap; }

.boonia-admin-dashboard__attention-heading-actions { display: inline-flex; align-items: center; gap: 0.8rem; }
.boonia-admin-dashboard__attention-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; }
.boonia-admin-dashboard__attention-row { display: grid; align-items: center; gap: 0.8rem; grid-template-columns: auto minmax(0, 1fr) auto auto; border-top: 1px solid rgba(13, 31, 30, 0.08); padding: 0.8rem 1.1rem; color: var(--boonia-admin-text); text-decoration: none; }
.boonia-admin-dashboard__attention-row + .boonia-admin-dashboard__attention-row { border-left: 1px solid rgba(13, 31, 30, 0.08); }
.boonia-admin-dashboard__attention-row:hover { background: var(--mist, #f6fbf9); }
.boonia-admin-dashboard__attention-icon { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: #fff0ed; color: var(--boonia-admin-danger); }
.boonia-admin-dashboard__attention-icon svg { width: 1rem; }
.boonia-admin-dashboard__attention-copy { display: grid; min-width: 0; gap: 0.12rem; }
.boonia-admin-dashboard__attention-copy strong { font-size: 0.78rem; }
.boonia-admin-dashboard__attention-copy span,
.boonia-admin-dashboard__attention-row time { overflow-wrap: anywhere; color: var(--boonia-admin-text-muted); font-size: 0.68rem; font-weight: 600; }
.boonia-admin-dashboard__attention-row > svg { width: 1rem; color: var(--boonia-admin-focus); }
.boonia-admin-dashboard__empty-inline { margin: 1rem 0 0; border-radius: 0.75rem; background: var(--mist, #f6fbf9); }

.boonia-admin-dashboard__recent-orders { display: grid; margin-top: 1rem; }
.boonia-admin-dashboard__recent-orders-head,
.boonia-admin-dashboard__recent-orders > a { display: grid; align-items: center; gap: 0.7rem; grid-template-columns: minmax(7rem, 1.1fr) minmax(5rem, 0.9fr) minmax(6rem, 1fr) minmax(5rem, 0.8fr) minmax(5rem, 0.8fr) minmax(5rem, 0.8fr) auto; }
.boonia-admin-dashboard__recent-orders-head { padding: 0 0 0.45rem; color: var(--boonia-admin-text-muted); font-size: 0.63rem; font-weight: var(--boonia-admin-weight-bold); letter-spacing: 0.06em; text-transform: uppercase; }
.boonia-admin-dashboard__recent-orders > a { border-top: 1px solid rgba(13, 31, 30, 0.08); padding: 0.7rem 0; color: var(--boonia-admin-text); font-size: 0.72rem; text-decoration: none; }
.boonia-admin-dashboard__recent-orders > a:hover { color: var(--boonia-admin-focus); }
.boonia-admin-dashboard__recent-orders small { color: var(--boonia-admin-text-muted); font-size: 0.64rem; }
.boonia-admin-dashboard__recent-orders > a > strong:first-child,
.boonia-admin-dashboard__recent-orders > a > strong:nth-child(5),
.boonia-admin-dashboard__recent-orders > a > time { white-space: nowrap; }
.boonia-admin-dashboard__recent-orders > a > span:nth-child(2),
.boonia-admin-dashboard__recent-orders > a > span:nth-child(3),
.boonia-admin-dashboard__recent-orders time { overflow-wrap: anywhere; color: var(--boonia-admin-text-muted); font-size: 0.68rem; font-weight: 600; }
.boonia-admin-dashboard__recent-orders > a > span:nth-child(4) { border-radius: 999px; padding: 0.28rem 0.5rem; font-size: 0.65rem; font-weight: var(--boonia-admin-weight-semibold); white-space: nowrap; }
.boonia-admin-dashboard__recent-orders > a > svg { width: 0.9rem; color: var(--boonia-admin-focus); }
.boonia-admin-dashboard__side-stack { display: grid; align-content: start; gap: 1.25rem; }
.boonia-admin-dashboard__side-stack .boonia-admin-dashboard__panel { padding: 1rem; }
.boonia-admin-dashboard__snapshot-list { display: grid; gap: 0.4rem; margin-top: 0.9rem; }
.boonia-admin-dashboard__snapshot-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.55rem; border-radius: 0.7rem; background: var(--mist, #f6fbf9); padding: 0.6rem 0.7rem; color: var(--boonia-admin-text); font-size: 0.7rem; text-decoration: none; }
.boonia-admin-dashboard__snapshot-row:hover { color: var(--boonia-admin-focus); }
.boonia-admin-dashboard__snapshot-row small { color: var(--boonia-admin-text-muted); font-size: 0.64rem; }
.boonia-admin-dashboard__status-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; }
.boonia-admin-dashboard__status-dot--success { background: var(--boonia-dashboard-status-delivered); }
.boonia-admin-dashboard__status-dot--warning { background: var(--boonia-dashboard-status-pending); }
.boonia-admin-dashboard__status-dot--danger { background: var(--boonia-dashboard-status-cancelled); }
.boonia-admin-dashboard__status-dot--pending { background: var(--boonia-dashboard-status-pending); }
.boonia-admin-dashboard__status-dot--confirmed { background: var(--boonia-dashboard-status-confirmed); }
.boonia-admin-dashboard__status-dot--preparing { background: var(--boonia-dashboard-status-preparing); }
.boonia-admin-dashboard__status-dot--delivered { background: var(--boonia-dashboard-status-delivered); }
.boonia-admin-dashboard__status-dot--cancelled { background: var(--boonia-dashboard-status-cancelled); }
.boonia-admin-dashboard__status-dot--neutral { background: var(--boonia-admin-text-muted); }
.boonia-admin-dashboard__muted-empty { margin-top: 0.8rem; color: var(--boonia-admin-text-muted); font-size: 0.72rem; font-weight: 600; }
.boonia-admin-dashboard__availability { display: grid; gap: 0.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0.9rem; }
.boonia-admin-dashboard__availability span { display: flex; min-width: 0; align-items: center; gap: 0.3rem; color: var(--boonia-admin-text-muted); font-size: 0.65rem; font-weight: 700; }
.boonia-admin-dashboard__availability strong { color: var(--boonia-admin-text); font-size: 0.85rem; }
.boonia-admin-dashboard__availability i { width: 0.5rem; height: 0.5rem; flex: 0 0 auto; border-radius: 50%; background: #11a36e; }
.boonia-admin-dashboard__availability i.is-closed { background: #ef4444; }
.boonia-admin-dashboard__availability i.is-muted { background: #f0a83b; }
.boonia-admin-dashboard__quick-action-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem; margin-top: 0.8rem; }
.boonia-admin-dashboard__quick-action-list a { display: flex; min-width: 0; align-items: center; gap: 0.35rem; border-radius: 0.6rem; background: var(--mist, #f6fbf9); padding: 0.55rem 0.6rem; color: var(--boonia-admin-focus); font-size: 0.67rem; font-weight: var(--boonia-admin-weight-bold); text-decoration: none; }
.boonia-admin-dashboard__quick-action-list a svg:first-child { flex: 0 0 auto; width: 0.85rem; }
.boonia-admin-dashboard__quick-action-list a svg:last-child { flex: 0 0 auto; width: 0.8rem; margin-left: auto; }

@media (max-width: 1100px) {
  .boonia-admin-dashboard__hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .boonia-admin-dashboard__controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .boonia-admin-dashboard__controls > .boonia-admin-dropdown {
    flex: 1 1 13rem;
    min-width: min(13rem, 100%);
    max-width: none;
  }

  .boonia-admin-dashboard__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boonia-admin-dashboard__primary-grid,
  .boonia-admin-dashboard__lower-grid { grid-template-columns: minmax(0, 1fr); }
  .boonia-admin-dashboard__side-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .boonia-admin-dashboard__hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1rem; }
  .boonia-admin-dashboard__header,
  .boonia-admin-dashboard__controls { width: 100%; min-width: 0; }
  .boonia-admin-dashboard__controls { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 0.75rem; }
  .boonia-admin-dashboard__controls > .boonia-admin-dropdown,
  .boonia-admin-dashboard__period,
  .boonia-admin-dashboard__calendar,
  .boonia-admin-dashboard__updated,
  .boonia-admin-dashboard__refresh { width: 100%; }
  .boonia-admin-dashboard__updated { justify-content: center; margin-left: 0; }
  .boonia-admin-dashboard__controls > .boonia-admin-dropdown { min-width: 0; max-width: none; }
  .boonia-admin-dashboard__calendar-popover { position: static; width: 100%; margin-top: 0.5rem; }
  .boonia-admin-dashboard__refresh { min-height: var(--boonia-admin-control-height); }
  .boonia-admin-dashboard__period-button { flex: 1; }
  .boonia-admin-dashboard__setup { align-items: stretch; flex-direction: column; }
  .boonia-admin-dashboard__setup .boonia-admin-button { width: 100%; }
  .boonia-admin-dashboard__status-layout { display: block; }
  .boonia-admin-dashboard__donut { width: min(9rem, 48vw); height: min(9rem, 48vw); margin-top: 0.5rem; }
  .boonia-admin-dashboard__status-legend { margin-top: 0.9rem; }
  .boonia-admin-dashboard__primary-grid > .boonia-admin-dashboard__panel { min-height: 0; }
  .boonia-admin-dashboard__primary-grid .boonia-admin-dashboard__heading-group #dashboard-activity-title + p { display: none; }
  .boonia-admin-dashboard__chart-plot { grid-template-columns: 1.8rem minmax(0, 1fr); }
  .boonia-admin-dashboard__attention-list { grid-template-columns: minmax(0, 1fr); }
  .boonia-admin-dashboard__attention-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .boonia-admin-dashboard__attention-row + .boonia-admin-dashboard__attention-row { border-left: 0; }
  .boonia-admin-dashboard__attention-row time { display: none; }
  .boonia-admin-dashboard__recent-orders-head { display: none; }
  .boonia-admin-dashboard__recent-orders > a { grid-template-columns: minmax(0, 1fr) auto auto; }
  .boonia-admin-dashboard__recent-orders > a > [role="cell"] { grid-column: 1 / -1; }
  .boonia-admin-dashboard__recent-orders > a > [role="cell"]::before { display: block; margin-bottom: 0.12rem; color: var(--boonia-admin-text-muted); content: attr(data-label); font-size: 0.58rem; font-weight: var(--boonia-admin-weight-bold); letter-spacing: 0.05em; text-transform: uppercase; }
  .boonia-admin-dashboard__recent-orders > a > strong:nth-child(1) { grid-column: 1 / 2; }
  .boonia-admin-dashboard__recent-orders > a > strong:nth-child(5) { grid-column: 2 / 3; grid-row: 1; }
  .boonia-admin-dashboard__recent-orders > a > time { grid-column: 1 / 2; }
  .boonia-admin-dashboard__recent-orders > a > svg { grid-column: 3 / 4; grid-row: 1 / span 2; }
  .boonia-admin-dashboard__recent-orders > a > .boonia-admin-dashboard__recent-order-action { grid-column: 3 / 4; grid-row: 1 / span 2; }
  .boonia-admin-dashboard__side-stack { grid-template-columns: minmax(0, 1fr); }
  .boonia-admin-dashboard__quick-action-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .boonia-admin-dashboard__kpis { gap: 0.7rem; }
  .boonia-admin-dashboard__kpi { align-items: flex-start; flex-wrap: wrap; padding: 0.85rem; }
  .boonia-admin-dashboard__kpi-icon { width: 2.35rem; height: 2.35rem; }
  .boonia-admin-dashboard__kpi-arrow { display: none; }
  .boonia-admin-dashboard__kpi-copy strong { font-size: 1.3rem; }
  .boonia-admin-dashboard__panel { padding: 0.9rem; }
  .boonia-admin-dashboard__attention-row { padding-right: 0; padding-left: 0; }
  .boonia-admin-dashboard__recent-orders > a > time { white-space: normal; }
  .boonia-admin-dashboard__chart-labels { font-size: 0.57rem; }
  .boonia-admin-dashboard__status-row { grid-template-columns: minmax(0, 1fr) 3.5rem 4.5rem; }
  .boonia-admin-dashboard__snapshot-row { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .boonia-admin-dashboard__availability { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boonia-admin-dashboard__availability span:last-child { grid-column: 1 / -1; }
}

@media (max-width: 479px) {
  .boonia-admin-dashboard__kpis { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 375px) {
  .boonia-admin-dashboard__period-button { min-width: 0; padding-right: 0.4rem; padding-left: 0.4rem; }
  .boonia-admin-dashboard__heading-group p { font-size: 0.66rem; }
  .boonia-admin-dashboard__panel-header { align-items: flex-start; flex-wrap: wrap; }
  .boonia-admin-dashboard__metric-toggle { width: 100%; }
  .boonia-admin-dashboard__metric-toggle button { flex: 1; }
}

.fd-admin-card {
  border: 1px solid rgba(13, 31, 30, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(16, 32, 31, 0.07);
}

.fd-owner-restaurants-page {
  display: grid;
  min-width: 0;
  gap: 1.25rem;
}

.fd-owner-restaurants-page__header {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.fd-owner-restaurants-page__header > div {
  min-width: 0;
}

.fd-owner-restaurants-page__header h1 {
  margin-top: 0.2rem;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: var(--boonia-admin-weight-bold);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.fd-owner-restaurants-page__header p:last-child {
  margin-top: 0.45rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.95rem;
  font-weight: 600;
}

.fd-owner-restaurants-page__summary {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(33, 134, 122, 0.14);
  border-radius: 999px;
  background: var(--boonia-admin-surface-muted, #edf7f6);
  padding: 0.55rem 0.8rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.8rem;
  font-weight: 700;
}

.fd-owner-restaurants-page__summary strong {
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 1rem;
}

.fd-owner-restaurants-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: 1rem;
}

.fd-owner-restaurant-card {
  display: grid;
  min-width: 0;
  gap: 1.25rem;
  border: 1px solid rgba(13, 31, 30, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 14px 38px rgba(16, 32, 31, 0.06);
}

.fd-owner-restaurant-card__header {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}

.fd-owner-restaurant-card__icon,
.fd-owner-restaurants-empty__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #edf7f6;
  color: #1d6f60;
}

.fd-owner-restaurant-card__icon {
  width: 3.5rem;
  height: 3.5rem;
}

.fd-owner-restaurant-card__identity {
  min-width: 0;
}

.fd-owner-restaurant-card__identity h2 {
  overflow-wrap: anywhere;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 1.2rem;
  font-weight: var(--boonia-admin-weight-bold);
  line-height: 1.2;
}

.fd-owner-restaurant-card__identity p {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.8rem;
  font-weight: 600;
}

.fd-owner-restaurant-card__badges {
  display: flex;
  grid-column: 2;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.fd-owner-restaurant-card__progress {
  display: grid;
  gap: 0.55rem;
}

.fd-owner-restaurant-card__progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.78rem;
}

.fd-owner-restaurant-card__progress-label strong {
  color: var(--boonia-admin-text, #0d1f1e);
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-owner-restaurant-card__progress-track {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13, 31, 30, 0.08);
}

.fd-owner-restaurant-card__progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #21867a;
}

.fd-owner-restaurant-card__next {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(13, 31, 30, 0.08);
  padding-top: 1rem;
}

.fd-owner-restaurant-card__next > div {
  min-width: 0;
}

.fd-owner-restaurant-card__next h3 {
  margin-top: 0.3rem;
  overflow-wrap: anywhere;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 0.95rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-owner-restaurant-card__next p:last-child {
  margin-top: 0.3rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
}

.fd-owner-restaurant-card__next .boonia-admin-button {
  flex: 0 0 auto;
}

.fd-owner-restaurants-empty {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  border: 1px dashed rgba(33, 134, 122, 0.28);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem 1.5rem;
  text-align: center;
}

.fd-owner-restaurants-empty__icon {
  width: 3rem;
  height: 3rem;
}

.fd-owner-restaurants-empty h2 {
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: 1.05rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-owner-restaurants-empty p {
  max-width: 30rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.85rem;
  font-weight: 600;
}

.fd-owner-restaurants-empty .boonia-admin-button {
  margin-top: 0.45rem;
}

.fd-restaurant-create-page .fd-restaurant-details-page__intro h1 {
  margin-top: 0.2rem;
  color: var(--boonia-admin-text, #0d1f1e);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: var(--boonia-admin-weight-bold);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.fd-restaurant-create-page .fd-restaurant-details-page__intro > div > p:last-child {
  margin-top: 0.45rem;
  color: var(--boonia-admin-text-muted, #526763);
  font-size: 0.95rem;
  font-weight: 600;
}

.fd-restaurant-create-form-card {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.fd-menu-category-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(13, 31, 30, 0.06);
  border-radius: 1rem;
  background: #f6fbf9;
  padding: 1rem;
}

.fd-menu-category-card h3 {
  overflow-wrap: anywhere;
  color: #0d1f1e;
  font-size: 1rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-menu-category-card p {
  margin-top: 0.35rem;
  color: #526763;
  font-size: 0.75rem;
  font-weight: 700;
}

.fd-financial-page {
  --fd-financial-line: rgba(13, 31, 30, 0.11);
  --fd-financial-muted: #526763;
}

.fd-financial-eyebrow {
  color: #21867a;
  font-size: 0.72rem;
  font-weight: var(--boonia-admin-weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fd-financial-summary-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
  border: 1px solid var(--fd-financial-line);
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.8rem 1rem;
  box-shadow: 0 10px 28px rgba(16, 32, 31, 0.05);
}

.fd-financial-summary-card dt,
.fd-financial-summary-card dd {
  min-width: 0;
}

.fd-financial-summary-card dt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #526763;
  font-size: 0.75rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-financial-summary-card dd {
  grid-column: 2;
  margin-top: -0.65rem;
  color: #0d1f1e;
  font-size: 1rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-financial-icon {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf7f6;
  color: #21867a;
}

.fd-financial-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.fd-financial-icon--warning {
  background: rgba(252, 191, 73, 0.18);
  color: #8a5700;
}

.fd-financial-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.fd-financial-section-heading p,
.fd-financial-method > p {
  margin-top: 0.2rem;
  color: var(--fd-financial-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.fd-financial-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.7rem;
  font-weight: var(--boonia-admin-weight-bold);
  line-height: 1;
}

.fd-financial-status.is-ready {
  background: #e4f5ed;
  color: #176b4d;
}

.fd-financial-status.is-incomplete {
  background: #fff0cf;
  color: #8a5700;
}

.fd-financial-status.is-disabled {
  background: #eef1f0;
  color: #526763;
}

.fd-financial-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-financial-field {
  min-width: 0;
}

.fd-financial-field > label,
.fd-financial-method legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #0d1f1e;
  font-size: 0.78rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-financial-field > p,
.fd-financial-field .boonia-admin-dropdown + p {
  margin-top: 0.35rem;
  color: var(--fd-financial-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.fd-financial-input-suffix {
  display: flex;
  align-items: stretch;
  margin-top: 0.4rem;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 30, 0.14);
  border-radius: 0.75rem;
  background: #fff;
}

.fd-financial-input-suffix input {
  width: 100%;
  border: 0;
  border-radius: 0;
}

.fd-financial-input-suffix > span {
  display: inline-flex;
  min-width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(13, 31, 30, 0.08);
  background: #f6fbf9;
  color: #526763;
  font-size: 0.78rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-financial-error {
  border: 1px solid #f0b2ad;
  border-radius: 0.75rem;
  background: #fff0ef;
  color: #a33a32;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.fd-financial-error-text {
  margin-top: 0.35rem;
  color: #a33a32;
  font-size: 0.72rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-financial-preview-region {
  min-width: 0;
}

.fd-financial-preview-panel {
  border: 1px solid rgba(33, 134, 122, 0.16);
  border-radius: 1rem;
  background: #f6fbf9;
  padding: 1rem;
}

.fd-financial-preview-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.fd-financial-preview-heading h2 {
  color: #0d1f1e;
  font-size: 0.95rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-financial-preview-heading p {
  margin-top: 0.2rem;
  color: #526763;
  font-size: 0.72rem;
  font-weight: 600;
}

.fd-financial-preview-values {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fd-financial-preview-values > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  border: 1px solid rgba(13, 31, 30, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.7rem 0.8rem;
}

.fd-financial-preview-values span {
  color: #526763;
  font-size: 0.7rem;
  font-weight: var(--boonia-admin-weight-semibold);
  overflow-wrap: anywhere;
}

.fd-financial-preview-values strong {
  color: #0d1f1e;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  font-weight: var(--boonia-admin-weight-bold);
  overflow-wrap: anywhere;
}

.fd-financial-preview-values .is-total {
  border-color: rgba(33, 134, 122, 0.24);
  background: #edf7f6;
  grid-column: span 3;
}

.fd-financial-preview-values .is-total strong {
  color: #21867a;
  font-size: 1.15rem;
}

.fd-financial-preview-error {
  border: 1px solid #f0b2ad;
  border-radius: 0.75rem;
  background: #fff0ef;
  color: #a33a32;
  padding: 0.8rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.fd-financial-preview-error ul {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.35rem;
  padding-left: 1.1rem;
}

.fd-financial-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  border-top: 1px solid rgba(13, 31, 30, 0.08);
  padding-top: 1rem;
}

.fd-financial-switch {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  color: #0d1f1e;
  font-size: 0.78rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-financial-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.fd-financial-switch-track {
  position: relative;
  display: inline-flex;
  width: 2.7rem;
  height: 1.55rem;
  align-items: center;
  border-radius: 999px;
  background: #cbd7d3;
  transition: background-color 180ms ease;
}

.fd-financial-switch-track span {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.18rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(13, 31, 30, 0.2);
  transition: transform 180ms ease;
}

.fd-financial-switch input:checked + .fd-financial-switch-track {
  background: #21867a;
}

.fd-financial-switch input:checked + .fd-financial-switch-track span {
  transform: translateX(1.12rem);
}

.fd-financial-switch input:focus-visible + .fd-financial-switch-track {
  outline: 3px solid rgba(33, 134, 122, 0.35);
  outline-offset: 3px;
}

.fd-financial-progress {
  height: 0.55rem;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0ed;
}

.fd-financial-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #21867a;
}

.fd-financial-checklist,
.fd-financial-history {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.fd-financial-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.fd-financial-check-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #21867a;
  color: #fff;
}

.fd-financial-checklist li.is-incomplete .fd-financial-check-icon {
  background: #ff6b4a;
}

.fd-financial-check-icon svg {
  width: 0.8rem;
  height: 0.8rem;
}

.fd-financial-checklist strong,
.fd-financial-history strong {
  color: #0d1f1e;
  font-size: 0.76rem;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-financial-checklist p,
.fd-financial-history small {
  display: block;
  margin-top: 0.15rem;
  color: var(--fd-financial-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.fd-financial-method-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fd-financial-method {
  min-width: 0;
  border: 1px solid rgba(13, 31, 30, 0.08);
  border-radius: 1rem;
  background: #f6fbf9;
  padding: 1rem;
}

.fd-financial-method legend {
  width: 100%;
  flex-wrap: wrap;
}

.fd-financial-method legend svg,
.fd-financial-credential-panel h3 svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #21867a;
}

.fd-financial-method legend .fd-financial-status {
  margin-left: auto;
}

.fd-financial-credential-panel {
  margin-top: 1rem;
  border-radius: 0.9rem;
  background: rgba(233, 247, 245, 0.75);
  padding: 0.85rem;
}

.fd-financial-credential-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  color: #0d1f1e;
  font-size: 0.78rem;
  font-weight: var(--boonia-admin-weight-bold);
}

.fd-financial-history > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 0.75rem;
  background: #f6fbf9;
  padding: 0.7rem 0.8rem;
}

.fd-financial-history time {
  flex-shrink: 0;
  color: #526763;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: var(--boonia-admin-weight-semibold);
}

.fd-financial-empty {
  color: #526763;
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 639px) {
  .fd-financial-form-grid,
  .fd-financial-method-grid {
    grid-template-columns: 1fr;
  }

  .fd-financial-preview-values {
    grid-template-columns: 1fr;
  }

  .fd-financial-preview-values .is-total {
    grid-column: auto;
  }

  .fd-financial-back,
  .fd-financial-card-footer > button {
    width: 100%;
  }

  .fd-financial-card-footer {
    flex-direction: column-reverse;
  }

  .fd-financial-method legend .fd-financial-status {
    margin-left: 0;
  }
}

.fd-admin-icon-badge {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

#admin-content table.min-w-full {
  border-collapse: separate;
  border-spacing: 0;
  overflow: visible;
  border: 1px solid rgba(13, 31, 30, 0.06);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(16, 32, 31, 0.08);
}

#admin-content table.min-w-full thead th {
  background: #f6fbf9;
}

#admin-content table.min-w-full tbody tr {
  transition: background-color 180ms ease, transform 180ms ease;
}

#admin-content table.min-w-full tbody tr:hover {
  background: rgba(233, 247, 245, 0.7);
}

.food-hero {
  isolation: isolate;
}

.food-hero-search__row {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
}
.food-hero-search__input {
  display: flex;
  min-width: 0;
  min-height: 3.5rem;
  align-items: center;
  gap: .75rem;
  border: 1px solid rgba(13, 31, 30, .1);
  border-radius: 1.1rem;
  background: #fff;
  padding-inline: 1rem;
}
.food-hero-search__input input { min-width: 0; flex: 1 1 auto; }
.food-hero-search__submit {
  display: inline-flex;
  width: 100%;
  min-width: 8rem;
  min-height: 3.5rem;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding-inline: 1rem;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}
@media (min-width: 30.0625rem) {
  .food-hero-search__row { grid-template-columns: minmax(0, 1fr) auto; }
  .food-hero-search__submit { width: auto; }
}

.food-hero-video-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, .5) 0%, transparent 50%);
}

.fd-cuisine-scroller {
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(33, 134, 122, .35) transparent;
}

.fd-cuisine-scroller:focus-visible {
  outline: 2px solid rgba(33, 134, 122, .45);
  outline-offset: 5px;
}

.food-hero::before,
.food-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.food-hero::before {
  right: -12%;
  top: 8%;
  width: 62%;
  height: 78%;
  border-radius: 40% 0 0 55%;
  background: linear-gradient(135deg, rgba(252, 191, 73, 0.24), rgba(33, 134, 122, 0.18));
  transform: rotate(-8deg);
}

.food-hero::after {
  left: -10%;
  bottom: 7%;
  width: 38%;
  height: 44%;
  border-radius: 0 55% 45% 0;
  background: linear-gradient(135deg, rgba(255, 247, 230, 0.08), rgba(42, 170, 156, 0.14));
}

.food-visual-card {
  animation: floatSoft 5.5s ease-in-out infinite;
}

.food-option-dialog {
  width: 100vw;
  max-width: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.food-option-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.food-option-dialog::backdrop {
  background: rgba(13, 31, 30, 0.48);
  backdrop-filter: blur(4px);
}

html.fd-option-dialog-open { overflow: hidden; }
html.fd-option-dialog-open body::before {
  position: fixed;
  z-index: 79;
  inset: 0;
  content: '';
  background: rgba(13, 31, 30, 0.48);
  backdrop-filter: blur(4px);
}
html.fd-option-dialog-open .food-option-dialog[open] {
  position: fixed;
  z-index: 80;
  inset: 0;
  margin: 0;
}

.current-location-dialog {
  width: 100vw;
  max-width: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.current-location-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.current-location-dialog::backdrop {
  background: rgba(13, 31, 30, 0.24);
}

.current-location-dialog__panel {
  width: min(100%, 42rem);
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
}

@media (min-width: 640px) {
  .current-location-dialog[open] {
    padding: 1rem;
  }

  .current-location-dialog__panel {
    width: min(100%, 46rem);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
  }
}

.food-option-dialog__panel {
  max-height: min(84vh, 900px);
  overflow: hidden;
}

.food-option-dialog__panel [data-option-pagination] {
  max-height: calc(min(84vh, 900px) - 180px);
  overflow: auto;
  padding-right: 0.25rem;
}

.phone-animation {
  position: relative;
  width: min(100%, 340px);
}

.phone-shell {
  position: relative;
  margin-inline: auto;
  border-radius: 36px;
  background: #fff;
  border: 3px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(252, 191, 73, 0.3);
  animation: floatSoft 5.5s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 17px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #fafafa;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(13, 31, 30, 0.36));
}

.vid-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}

.rating-float {
  position: absolute;
  right: -26px;
  bottom: 44px;
  z-index: 4;
}

.category-card,
.restaurant-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -36px auto;
  width: 118px;
  height: 72px;
  border-radius: 28px;
  background: rgba(252, 191, 73, 0.18);
  transform: rotate(-16deg);
  transition: transform 220ms ease;
}

.category-card:hover,
.restaurant-card:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 134, 122, 0.22);
  box-shadow: 0 22px 60px rgba(13, 31, 30, 0.14);
}

.category-card:hover::after {
  transform: translate(-12px, -12px) rotate(-16deg) scale(1.12);
}

.restaurant-card img {
  transition: transform 280ms ease;
}

.restaurant-card:hover img {
  transform: scale(1.04);
}

.delivery-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.delivery-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(252, 191, 73, 0.11) 54%, transparent 100%);
  pointer-events: none;
}

.delivery-cta__media {
  overflow: hidden;
  background: #17665d;
}

.delivery-cta__overlay {
  background: linear-gradient(90deg, #21867a 0%, #21867a 24%, rgba(33, 134, 122, 0.94) 42%, rgba(33, 134, 122, 0.55) 64%, rgba(33, 134, 122, 0) 100%);
  pointer-events: none;
}

@media (max-width: 767px) {
  .delivery-cta__overlay {
    background: linear-gradient(180deg, #21867a 0%, rgba(33, 134, 122, 0.98) 34%, rgba(33, 134, 122, 0.62) 58%, rgba(33, 134, 122, 0) 100%);
  }
}

.fd-toast-region {
  position: fixed;
  inset: 1rem 1rem auto;
  z-index: 80;
  pointer-events: none;
}

.fd-toast-stack {
  display: grid;
  gap: 0.75rem;
}

.fd-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  border: 1px solid transparent;
  border-radius: 1.5rem;
  padding: 1rem 1rem 1rem 0.9rem;
  box-shadow: 0 18px 50px rgba(16, 32, 31, 0.12);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
  pointer-events: auto;
}

.fd-toast[data-toast-dismissing="true"] {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.fd-toast--success {
  background: rgba(238, 250, 243, 0.98);
  border-color: rgba(184, 229, 206, 0.98);
  color: #185f56;
}

.fd-toast--error {
  background: rgba(255, 241, 242, 0.98);
  border-color: rgba(246, 185, 194, 0.98);
  color: #8f1d2d;
}

.fd-toast--warning {
  background: rgba(255, 248, 230, 0.98);
  border-color: rgba(242, 211, 140, 0.98);
  color: #9a6b05;
}

.fd-toast--info {
  background: rgba(237, 247, 255, 0.98);
  border-color: rgba(181, 215, 246, 0.98);
  color: #1f5d7d;
}

.fd-toast__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  margin-top: 0.05rem;
}

.fd-toast__icon--success {
  background: rgba(33, 134, 122, 0.12);
  color: #1e7a6d;
}

.fd-toast__icon--error {
  background: rgba(167, 29, 46, 0.12);
  color: #a71d2e;
}

.fd-toast__icon--warning {
  background: rgba(194, 136, 0, 0.14);
  color: #9a6b05;
}

.fd-toast__icon--info {
  background: rgba(31, 93, 125, 0.12);
  color: #1f5d7d;
}

.fd-toast__text {
  color: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.fd-toast__close {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  border-radius: 999px;
  color: currentColor;
  opacity: 0.7;
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.fd-toast__close:hover,
.fd-toast__close:focus-visible {
  background: rgba(13, 31, 30, 0.06);
  opacity: 1;
  transform: scale(1.02);
  outline: none;
}

.fd-notification-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 70;
  width: min(30rem, calc(100vw - 1.5rem));
  max-height: min(32rem, calc(100vh - 8rem));
  overflow: hidden;
  border: 1px solid rgba(13, 31, 30, 0.08);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(16, 32, 31, 0.16);
  backdrop-filter: blur(16px);
}

.fd-notification-panel__body {
  display: grid;
  gap: 0.75rem;
  max-height: calc(min(32rem, calc(100vh - 8rem)) - 4.75rem);
  overflow-y: auto;
  padding: 1rem;
}

.fd-notification-empty {
  display: grid;
  place-items: center;
  min-height: 7.5rem;
  text-align: center;
}

.fd-notification-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  padding: 0.95rem 1rem;
  text-align: left;
  box-shadow: 0 10px 28px rgba(16, 32, 31, 0.05);
}

.fd-notification-item:hover,
.fd-notification-item:focus-visible {
  transform: translateY(-1px);
}

.fd-notification-item--unread {
  border-color: rgba(33, 134, 122, 0.14);
  background: rgba(237, 247, 246, 0.85);
}

.fd-notification-item--read {
  border-color: rgba(13, 31, 30, 0.06);
  background: rgba(255, 255, 255, 0.96);
}

.fd-notification-item__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  margin-top: 0.05rem;
}

.fd-notification-item__icon--success {
  background: rgba(33, 134, 122, 0.12);
  color: #1e7a6d;
}

.fd-notification-item__icon--error {
  background: rgba(255, 107, 74, 0.14);
  color: #c23e24;
}

.fd-notification-item__content {
  min-width: 0;
  flex: 1;
}

.fd-notification-item__title {
  color: #0d1f1e;
  font-size: 0.93rem;
  font-weight: var(--boonia-admin-weight-semibold);
  line-height: 1.45;
}

.fd-notification-item__meta {
  margin-top: 0.35rem;
  color: rgba(13, 31, 30, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.fd-notification-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: var(--boonia-admin-weight-semibold);
  line-height: 1;
}

.fd-notification-chip--muted {
  background: rgba(13, 31, 30, 0.06);
  color: rgba(13, 31, 30, 0.72);
}

.fd-notification-chip--warning {
  background: rgba(255, 107, 74, 0.12);
  color: #c23e24;
}

.fd-notification-chip--success {
  background: rgba(33, 134, 122, 0.12);
  color: #1e7a6d;
}

.animate-fade-up {
  animation: fadeUp 700ms ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 640px) {
  .phone-animation {
    width: min(100%, 292px);
  }

  .phone-shell {
    border-radius: 36px;
  }

  .rating-float {
    right: -18px;
    bottom: 36px;
  }

  .fd-toast-region {
    top: 0.75rem;
    inset-inline: 0.75rem;
  }

  .fd-notification-panel {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: 5rem;
    width: auto;
    max-height: calc(100vh - 6rem);
  }

  .fd-notification-panel__body {
    max-height: calc(100vh - 10.75rem);
  }
}

@media (min-width: 1024px) {
  .fd-toast-region {
    top: 1.5rem;
    right: 1.5rem;
    left: auto;
    width: 24rem;
  }

  .fd-notification-panel__body {
    max-height: calc(32rem - 4.75rem);
  }
}

button,
a,
input {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(33, 134, 122, 0.35);
  outline-offset: 3px;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.fd-restaurant-summary__image { aspect-ratio: 16 / 7; min-height: 10rem; }
.fd-restaurant-summary__body { display: grid; align-content: center; gap: 1rem; }
.fd-eyebrow { color: var(--teal, #21867a); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fd-restaurant-fact { display: grid; min-width: 0; gap: .15rem; border-radius: 1rem; background: var(--mist, #f6fbf9); padding: .7rem .75rem; }
.fd-restaurant-fact strong { min-width: 0; overflow-wrap: anywhere; font-size: .84rem; line-height: 1.2; }
.fd-restaurant-fact small { color: #667085; font-size: .68rem; font-weight: 700; line-height: 1.2; }
.fd-commerce-search:focus-within { border-color: var(--teal, #21867a); box-shadow: 0 0 0 3px rgb(33 134 122 / 16%); }
.fd-menu-category-chip { display: inline-flex; min-height: 2.75rem; flex: 0 0 auto; align-items: center; gap: .4rem; border: 1px solid rgb(13 31 30 / 10%); border-radius: 999px; background: #fff; padding: 0 1rem; color: var(--ink, #0d1f1e); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.fd-menu-category-chip span { color: #667085; font-size: .72rem; }
.fd-menu-category-chip--active { border-color: var(--teal, #21867a); background: var(--teal, #21867a); color: #fff; }
.fd-menu-category-chip--active span { color: rgb(255 255 255 / 80%); }
.fd-meal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fd-meal-card { display: grid; min-width: 0; overflow: hidden; border: 1px solid rgb(13 31 30 / 8%); border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgb(16 32 31 / 4%); }
.fd-meal-card__media-link { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist, #f6fbf9); }
.fd-meal-card__media { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .2s ease; }
.fd-meal-card:hover .fd-meal-card__media { transform: scale(1.03); }
.fd-meal-card__badge, .fd-meal-card__unavailable { position: absolute; left: .7rem; top: .7rem; border-radius: 999px; background: #fff; padding: .35rem .65rem; color: var(--ink, #0d1f1e); font-size: .68rem; font-weight: 800; }
.fd-meal-card__unavailable { left: auto; right: .7rem; background: #fff0ed; color: #b42318; }
.fd-meal-card__body { display: grid; min-width: 0; gap: .75rem; padding: .9rem; }
.fd-meal-card__title { min-width: 0; font-size: 1rem; font-weight: 850; line-height: 1.2; }
.fd-meal-card__title a { color: var(--ink, #0d1f1e); }
.fd-meal-card__description { display: -webkit-box; overflow: hidden; margin-top: .35rem; color: #667085; font-size: .78rem; line-height: 1.35rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fd-meal-card__footer { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; }
.fd-meal-card__price { white-space: nowrap; font-size: .95rem; }
.fd-meal-card__action { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .35rem; border-radius: .8rem; background: #fcbf49; padding: 0 .8rem; color: #0d1f1e; font-size: .78rem; font-weight: 850; white-space: nowrap; }
.fd-meal-card__action:hover { background: #e0a832; }
.fd-meal-card__action--disabled { background: #eef0ef; color: #98a2b3; pointer-events: none; }
.fd-mobile-cart-action { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: .75rem max(1rem, env(safe-area-inset-right)) calc(.75rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgb(255 250 240 / 94%); border-top: 1px solid rgb(13 31 30 / 10%); backdrop-filter: blur(.75rem); }
@media (max-width: 75rem) { .fd-meal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 56.25rem) { .fd-restaurant-summary__image { aspect-ratio: 16 / 8; min-height: 0; } .fd-meal-grid { grid-template-columns: minmax(0, 1fr); } .fd-meal-card { grid-template-columns: minmax(7rem, 34%) minmax(0, 1fr); } .fd-meal-card__media-link { aspect-ratio: auto; min-height: 8rem; } .fd-meal-card__body { align-content: center; } }
@media (max-width: 30rem) { .fd-meal-card { grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr); } .fd-meal-card__body { padding: .75rem; } .fd-meal-card__action { min-height: 2.6rem; padding-inline: .65rem; } .fd-meal-card__price { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .fd-meal-card__media { transition: none; } }

/* Keep the meal detail composition available even while optional utility CSS loads. */
.fd-meal-detail-page { min-width: 0; }
.fd-meal-detail-form { display: grid; min-width: 0; gap: 1.5rem; }
.fd-meal-detail-form__primary,
.fd-meal-detail-form__aside { min-width: 0; }
.fd-meal-detail-card { display: block; min-width: 0; overflow: hidden; border-radius: 2rem; background: #fff; box-shadow: 0 18px 50px rgb(16 32 31 / 10%); }
.fd-meal-detail-card__media { position: relative; min-height: 17.5rem; overflow: hidden; background: var(--mist, #f6fbf9); }
.fd-meal-detail-card__media > img { display: block; width: 100%; height: 100% !important; min-height: 17.5rem; object-fit: cover; }
.fd-meal-detail-card__body { min-width: 0; }
.fd-meal-detail-form__error { grid-column: 1 / -1; }
.fd-restaurant-menu [data-restaurant-menu-results][aria-busy="true"] { opacity: .68; pointer-events: none; }
.fd-restaurant-menu .htmx-indicator { display: none; }
.fd-restaurant-menu .htmx-request.htmx-indicator,
.fd-restaurant-menu .htmx-request .htmx-indicator,
.fd-restaurant-menu .htmx-indicator.htmx-request { display: block; }
.fd-sticky-commerce-bar { display: none; }
.fd-meal-purchase-panel {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(0, auto) auto;
  overflow: hidden;
}
.fd-meal-purchase-panel__header,
.fd-meal-purchase-panel__options,
.fd-meal-purchase-panel__footer { min-width: 0; }
.fd-meal-purchase-panel__options {
  min-height: 0;
  max-height: 62dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-padding-block: .75rem;
}
.fd-meal-purchase-panel__options[data-scroll-top="true"] {
  box-shadow: inset 0 .75rem 1rem -1rem rgb(14 38 35 / 35%);
}
.fd-meal-purchase-panel__options[data-scroll-bottom="true"] {
  box-shadow: inset 0 -.75rem 1rem -1rem rgb(14 38 35 / 35%);
}
.fd-meal-purchase-panel__footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgb(13 31 30 / 7%);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -.75rem 1.5rem rgb(14 38 35 / 6%);
}
.fd-meal-purchase-panel__options::-webkit-scrollbar { width: .55rem; }
.fd-meal-purchase-panel__options::-webkit-scrollbar-thumb { border: .15rem solid transparent; border-radius: 999px; background: rgb(33 134 122 / 45%); background-clip: padding-box; }
.fd-meal-purchase-panel__options::-webkit-scrollbar-track { background: rgb(33 134 122 / 7%); border-radius: 999px; }
.fd-meal-recommendations__list { min-width: 0; }
.fd-meal-recommendation-card { min-width: 0; scroll-snap-align: start; }
.fd-meal-detail-mobile-header__cart { border-radius: 1rem; border: 1px solid rgb(13 31 30 / 8%); box-shadow: 0 .35rem 1rem rgb(14 38 35 / 10%); }
.fd-mobile-commerce-card {
  pointer-events: none;
  border: 1px solid rgb(13 31 30 / 8%);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 1rem 2.5rem rgb(14 38 35 / 16%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.fd-mobile-commerce-card > div { pointer-events: auto; }
@media (min-width: 64rem) {
  .fd-meal-detail-form { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
  .fd-meal-detail-card__media,
  .fd-meal-detail-card__media > img { min-height: 0; aspect-ratio: 5 / 3; }
  .fd-meal-detail-form__aside { position: static; align-self: start; }
  .fd-meal-purchase-panel {
    position: sticky;
    top: calc(var(--fd-header-height, 5rem) + 1rem);
    height: min(52rem, calc(100dvh - var(--fd-header-height, 5rem) - 5rem));
    min-height: 36rem;
    max-height: 52rem;
    grid-template-rows: auto minmax(0, 1fr) auto;
    border-radius: 1.75rem;
  }
  .fd-meal-purchase-panel__options { max-height: none; }
}
@media (max-width: 63.99rem) {
  .fd-meal-detail-form { grid-template-columns: minmax(0, 1fr); }
  .fd-meal-detail-card__media,
  .fd-meal-detail-card__media > img { min-height: 0; aspect-ratio: 4 / 3; }
  .fd-meal-detail-form__aside { position: static; }
  .fd-sticky-commerce-bar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; }
}

/* Meal detail uses the same customer shell with a focused purchase composition. */
.fd-meal-detail-shell .fd-food-delivery-header-utility { display: none; }
.fd-meal-detail-shell .fd-food-delivery-header-main { border-bottom: 1px solid rgb(13 31 30 / 7%); }
.fd-meal-detail-shell .fd-meal-detail-page { padding-top: 2rem; }
.fd-meal-detail-shell .fd-meal-detail-form__aside { min-width: 0; }
.fd-meal-detail-customization { min-width: 0; }
.fd-meal-detail-summary { min-width: 0; }
.fd-meal-detail-price { white-space: nowrap; }
.fd-meal-detail-mobile-header { display: none; }
.fd-meal-option-group { min-width: 0; }
.fd-meal-option-group__header { min-width: 0; }
.fd-meal-option-group__title { overflow-wrap: normal; }
.fd-meal-option-group__choices { min-width: 0; }
.fd-meal-option-choice { min-width: 0; }
.fd-meal-option-choice:has([data-option-choice-input]:checked) { border-color: var(--teal, #21867a); box-shadow: 0 0 0 1px var(--teal, #21867a); background: #f7fffd; }
.fd-meal-option-choice__label { min-width: 0; }
.fd-meal-option-choice__label input { accent-color: var(--teal, #21867a); }
.fd-meal-option-choice__quantity { min-width: 0; }
.fd-meal-option-choice__quantity[hidden],
.fd-meal-option-group__choices [data-option-choice-item][hidden],
.fd-meal-option-group__search[hidden] { display: none; }
.fd-meal-option-group__disclosure { border: 1px solid rgb(33 134 122 / 16%); }

@media (min-width: 64rem) {
  .fd-meal-detail-shell .fd-food-delivery-header-main nav { padding-block: .7rem; }
  .fd-meal-detail-shell .fd-meal-detail-mobile-header { display: none; }
  .fd-meal-detail-shell .fd-meal-detail-page { padding-top: 1rem; }
  .fd-meal-detail-shell .fd-meal-detail-back-link { margin-bottom: .65rem; }
  .fd-meal-detail-shell .fd-meal-detail-form__aside { align-self: start; }
  .fd-meal-detail-shell .fd-meal-detail-customization { box-shadow: 0 18px 50px rgb(16 32 31 / 8%); }
}

/* Recommendations use compact commerce cards rather than repeating the full menu tile. */
.fd-meal-recommendations__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
}
.fd-meal-detail-shell .fd-meal-recommendations { width: 100%; max-width: 100%; }
.fd-meal-card--compact { grid-template-columns: 4.75rem minmax(0, 1fr); grid-template-rows: minmax(4.75rem, auto) auto; min-width: 0; min-height: 0; column-gap: .75rem; row-gap: .4rem; align-items: stretch; border-radius: 1.15rem; padding: .75rem; }
.fd-meal-card--compact .fd-meal-card__media-link { grid-column: 1; grid-row: 1; aspect-ratio: 1; width: 4.75rem; min-width: 0; min-height: 0; height: 4.75rem; margin: 0; align-self: start; border-radius: .8rem; }
.fd-meal-card--compact .fd-meal-card__body { display: contents; }
.fd-meal-card--compact .fd-meal-card__body > div:first-child { grid-column: 2; grid-row: 1; min-width: 0; align-self: start; padding: 0; }
.fd-meal-card--compact .fd-meal-card__description { display: none; }
.fd-meal-card--compact .fd-meal-card__title { min-width: 0; font-size: .82rem; line-height: 1.2; overflow-wrap: anywhere; }
.fd-meal-card--compact .fd-meal-card__footer { grid-column: 1 / -1; grid-row: 2; display: grid; min-width: 0; width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: 0; }
.fd-meal-card--compact .fd-meal-card__price { font-size: .78rem; }
.fd-meal-card--compact .fd-meal-card__action { min-width: 0; min-height: 2.75rem; justify-self: end; border-radius: .75rem; padding-inline: .65rem; font-size: .72rem; }
.fd-meal-card--compact .fd-meal-card__quick-add { min-width: 0; max-width: 100%; }
.fd-meal-card--compact .fd-meal-card__badge { left: .4rem; top: .4rem; padding: .25rem .4rem; font-size: .58rem; }
.fd-meal-detail-shell .fd-meal-detail-card__media,
.fd-meal-detail-shell .fd-meal-detail-card__media > img { border-radius: 1.65rem; }

@media (max-width: 63.99rem) {
  .fd-meal-detail-shell .fd-meal-recommendations { width: 100%; }
  .fd-meal-recommendations__grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(15rem, 78%);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 1rem;
    padding: .125rem 1rem .75rem;
  }
  .fd-meal-detail-shell .fd-meal-detail-card__media,
  .fd-meal-detail-shell .fd-meal-detail-card__media > img { border-radius: 1.25rem; }
}

@media (min-width: 64rem) and (max-height: 52rem) {
  /* Keep the first required choice above the footer on short laptop viewports. */
  .fd-meal-purchase-panel__footer > p { display: none; }
  .fd-meal-purchase-panel__footer > .htmx-indicator { display: none; }
  .fd-meal-purchase-panel__footer dl { gap: .25rem; padding-block: .25rem !important; }
}

@media (max-width: 63.99rem) {
  .fd-meal-detail-shell .fd-food-delivery-header-main { background: #fffdf8; }
  .fd-meal-detail-shell .fd-food-delivery-header-main nav,
  .fd-meal-detail-shell [data-food-delivery-mobile-search-shell],
  .fd-meal-detail-shell #foodMobileMenu { display: none; }
  .fd-meal-detail-shell .fd-meal-detail-mobile-header {
    display: grid;
    min-height: 4.75rem;
    grid-template-columns: 3rem minmax(0, 1fr) 3.5rem;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
  }
  .fd-meal-detail-mobile-header__back,
  .fd-meal-detail-mobile-header__cart { min-height: 2.75rem; min-width: 2.75rem; }
  .fd-meal-detail-mobile-header__back { display: inline-flex; align-items: center; justify-content: flex-start; color: var(--ink, #0d1f1e); }
  .fd-meal-detail-mobile-header__brand { display: flex; min-width: 0; justify-content: center; }
  .fd-meal-detail-mobile-header__brand img { max-width: min(13rem, 100%); }
  .fd-meal-detail-mobile-header__cart { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding-inline: .55rem; }
  .fd-meal-detail-shell .fd-meal-detail-page { padding-top: 1rem; padding-bottom: 8.5rem; }
  .fd-meal-detail-shell .fd-meal-detail-back-link { display: none; }
  .fd-meal-detail-shell .fd-meal-detail-form { gap: 1rem; }
  .fd-meal-detail-shell .fd-meal-detail-card { border-radius: 1.5rem; box-shadow: 0 12px 30px rgb(16 32 31 / 7%); }
  .fd-meal-detail-shell .fd-meal-detail-card__media,
  .fd-meal-detail-shell .fd-meal-detail-card__media > img { aspect-ratio: 1.35 / 1; }
  .fd-meal-detail-shell .fd-meal-detail-card__body { padding: 1.25rem; }
  .fd-meal-detail-shell .fd-meal-detail-card__body h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .fd-meal-detail-shell .fd-meal-detail-card__body > .space-y-3 { gap: .45rem; }
  .fd-meal-detail-shell .fd-meal-detail-price { display: block; width: 100%; padding: 0; background: transparent; color: var(--ink, #0d1f1e); font-size: 2rem; font-weight: 850; }
  .fd-meal-detail-shell .fd-meal-detail-price__label,
  .fd-meal-detail-shell .fd-meal-detail-price svg { display: none; }
  .fd-meal-detail-shell .fd-meal-detail-card__body > .flex.flex-wrap { align-items: center; gap: .5rem; }
  .fd-meal-detail-shell .fd-meal-detail-card__body > .flex.flex-wrap .fd-chip:not(.fd-meal-detail-price) { padding: .55rem .75rem; }
  .fd-meal-detail-shell .fd-meal-detail-customization { border-radius: 1.5rem; box-shadow: 0 12px 30px rgb(16 32 31 / 7%); }
  .fd-meal-detail-shell .fd-meal-purchase-panel__footer { display: none; }
  .fd-meal-detail-shell .fd-meal-detail-customization h2 { font-size: 1.75rem; }
  .fd-meal-detail-shell .fd-meal-purchase-panel__header > div:first-child { align-items: flex-start; }
  .fd-meal-detail-shell .fd-meal-purchase-panel__header > div:first-child > div:last-child { min-width: 7.5rem; }
  .fd-meal-detail-shell .fd-meal-option-group { border-radius: 1.25rem; padding: .9rem; }
  .fd-meal-detail-shell .fd-meal-option-group__choices { gap: .5rem; }
  .fd-meal-detail-shell .fd-meal-option-choice { grid-template-columns: minmax(0, 1fr); gap: .5rem; border-radius: 1rem; padding: .75rem; }
  .fd-meal-detail-shell .fd-meal-option-choice__quantity { justify-self: stretch; }
  .fd-meal-detail-shell .fd-meal-option-choice__quantity [data-quantity-stepper] { max-width: 100%; }
  .fd-meal-detail-shell .fd-meal-option-group__info { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .fd-meal-detail-shell .fd-meal-detail-summary { margin-top: 1.25rem; padding-top: 1.25rem; }
  .fd-meal-detail-shell .fd-meal-detail-summary > div:first-child { align-items: flex-end; }
  .fd-meal-detail-shell .fd-meal-detail-summary [data-meal-total-estimate] { font-size: 2rem; }
  .fd-meal-detail-shell .fd-meal-detail-summary button,
  .fd-meal-detail-shell .fd-meal-detail-summary a { display: none; }
  .fd-meal-detail-shell .fd-mobile-commerce-card {
    left: max(.75rem, env(safe-area-inset-left));
    right: max(.75rem, env(safe-area-inset-right));
    bottom: max(.75rem, env(safe-area-inset-bottom));
    padding-top: .25rem;
    background: rgb(255 255 255 / 97%);
  }
  .fd-meal-detail-shell .fd-sticky-commerce-bar > div {
    align-items: center;
    padding-top: .25rem;
  }
  .fd-meal-detail-shell .fd-sticky-commerce-bar [data-sticky-commerce-amount] { font-size: 1.5rem; }
  .fd-meal-detail-shell .fd-mobile-commerce-card [data-sticky-commerce-amount] {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .fd-meal-detail-shell .fd-sticky-commerce-bar button,
  .fd-meal-detail-shell .fd-sticky-commerce-bar a { min-height: 3.5rem; border-radius: 1rem; padding-inline: 1.1rem; }
}

@media (max-width: 30rem) {
  .fd-meal-detail-shell .fd-meal-detail-mobile-header { grid-template-columns: 2.75rem minmax(0, 1fr) 3.25rem; padding-inline: .75rem; }
  .fd-meal-detail-shell .fd-meal-detail-mobile-header__brand img { max-width: 11.5rem; }
  .fd-meal-detail-shell .fd-meal-detail-page { padding-inline: .75rem; padding-bottom: calc(10rem + env(safe-area-inset-bottom)); }
  .fd-meal-detail-shell .fd-meal-detail-card__body,
  .fd-meal-detail-shell .fd-meal-detail-customization { padding: 0; }
  .fd-meal-detail-shell .fd-meal-detail-summary dl { gap: .55rem; }
  .fd-meal-detail-shell .fd-sticky-commerce-bar > div { gap: .65rem; padding-inline: .75rem; }
  .fd-meal-detail-shell .fd-sticky-commerce-bar button,
  .fd-meal-detail-shell .fd-sticky-commerce-bar a { padding-inline: .8rem; font-size: .76rem; }
}

@media (max-width: 22.5rem) {
  .fd-meal-detail-shell .fd-mobile-commerce-card > div { flex-wrap: wrap; }
  .fd-meal-detail-shell .fd-mobile-commerce-card > div > div,
  .fd-meal-detail-shell .fd-mobile-commerce-card > div > button,
  .fd-meal-detail-shell .fd-mobile-commerce-card > div > a { flex-basis: 100%; width: 100%; }
  .fd-meal-detail-shell .fd-mobile-commerce-card > div > button,
  .fd-meal-detail-shell .fd-mobile-commerce-card > div > a { min-height: 3rem; }
}

/* Final meal-detail rail contract: only the option list scrolls on split layouts. */
.fd-meal-purchase-panel { grid-template-rows: auto minmax(0, 1fr) auto; }
.fd-meal-purchase-panel__options {
  padding-block: .75rem 1.5rem;
  overscroll-behavior-y: auto;
  scroll-padding-block: .75rem 1.5rem;
}
.fd-meal-option-group:first-child { margin-top: .25rem; }
.fd-meal-option-group__toggle { cursor: pointer; }
.fd-meal-option-group__panel[hidden] { display: none; }
.fd-meal-purchase-panel--empty { height: auto; min-height: 0; max-height: none; }
.fd-meal-purchase-panel--empty .fd-meal-purchase-panel__options { min-height: 0; overflow: visible; }
.fd-meal-no-options { max-width: 34rem; margin-inline: auto; }
.fd-option-modal-choice--selected { border-color: var(--teal, #21867a); background: #f1fbf8; box-shadow: 0 0 0 1px var(--teal, #21867a); }
.fd-option-modal-choice:disabled { cursor: not-allowed; opacity: .5; }
[data-option-page-prev]:disabled,
[data-option-page-next]:disabled { cursor: not-allowed; opacity: .45; }

@media (min-width: 64rem) {
  .fd-meal-purchase-panel {
    height: min(52rem, calc(100dvh - 10rem));
    min-height: 0;
    max-height: calc(100dvh - 10rem);
  }
  .fd-meal-purchase-panel__header { padding: 1rem !important; }
  .fd-meal-purchase-panel__header > div:first-child { flex-wrap: nowrap; }
  .fd-meal-purchase-panel__header [data-meal-required-progress] { margin-top: .75rem; padding: .6rem; }
  .fd-meal-purchase-panel__options { min-height: 0; overflow-y: auto; padding-inline: 1rem !important; }
  .fd-meal-purchase-panel__footer {
    display: grid;
    gap: .35rem;
    padding: .75rem !important;
  }
  .fd-meal-purchase-panel__footer > * { margin-top: 0 !important; }
  .fd-meal-purchase-panel__footer [data-meal-total-estimate] { margin-top: .15rem; font-size: 2rem; }
  .fd-meal-purchase-panel__footer dl { padding-block: .35rem !important; line-height: 1.15rem; }
  .fd-meal-purchase-panel__footer > p { font-size: .7rem; line-height: 1.1rem; }
  .fd-meal-purchase-panel__footer button,
  .fd-meal-purchase-panel__footer a { min-height: 2.75rem; padding-block: .5rem; }
}

@media (max-width: 63.99rem) {
  .fd-meal-detail-shell .fd-meal-purchase-panel {
    grid-template-rows: auto auto auto;
    max-height: none;
    overflow: visible;
  }
  .fd-meal-detail-shell .fd-meal-purchase-panel__options {
    max-height: none;
    overflow: visible;
    overscroll-behavior-y: auto;
    scrollbar-gutter: auto;
  }
  .fd-meal-detail-shell .fd-meal-detail-page { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .fd-meal-detail-shell .fd-meal-detail-card__media,
  .fd-meal-detail-shell .fd-meal-detail-card__media > img {
    aspect-ratio: auto;
    height: clamp(12rem, 52vw, 15rem) !important;
  }
  .fd-meal-detail-shell .fd-meal-recommendations__grid {
    gap: .875rem;
    grid-auto-columns: minmax(15rem, 82%);
    padding-inline: 1rem;
    scroll-padding-inline: 1rem;
  }
}

[data-meal-commerce-hidden="true"] { display: none !important; }
[data-home-section="ordering-steps"] {
  scroll-margin-top: 6rem;
}

.food-ordering-journey__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.food-ordering-journey__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #b47a18;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.food-ordering-journey__eyebrow span {
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: #e0a92d;
}

.food-ordering-journey__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.food-ordering-journey__moment {
  min-width: 0;
  padding: 0 clamp(1rem, 2vw, 1.75rem);
  text-align: center;
}

.food-ordering-journey__moment + .food-ordering-journey__moment { border-inline-start: 1px solid rgba(33, 134, 122, .18); }

.food-ordering-journey__index {
  display: block;
  margin-bottom: 1rem;
  color: #21867a;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .04em;
  line-height: 1;
}

.food-ordering-journey__moment:nth-child(even) .food-ordering-journey__index { color: #bd8120; }

.food-ordering-journey__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: .9rem;
  background: #edf9f6;
  color: #21867a;
}

.food-ordering-journey__icon svg { width: 1.9rem; height: 1.9rem; stroke-width: 1.7; }
.food-ordering-journey__moment:nth-child(2) .food-ordering-journey__icon { color: #bd8120; }
.food-ordering-journey__moment:nth-child(3) .food-ordering-journey__icon { color: #267a98; }
.food-ordering-journey__moment:nth-child(4) .food-ordering-journey__icon { color: #456c5c; }
.food-ordering-journey__copy h3 { color: #102c2a; font-size: 1.05rem; font-weight: 850; line-height: 1.25; }
.food-ordering-journey__copy > p { max-width: 15rem; margin: .45rem auto 0; color: #5c6e82; font-size: .875rem; line-height: 1.5; }
.food-ordering-journey__brands { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .85rem auto 0; max-width: 100%; }
.food-ordering-journey__brands .boonia-payment-method-brand { width: 3.75rem; height: 2.25rem; flex: 0 0 3.75rem; border-radius: .55rem; padding: .25rem; }

.food-faq__layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.food-faq__eyebrow { color: #b47a18; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.food-faq__support-link { box-shadow: 0 .35rem .8rem rgba(16, 32, 31, .04); }
.food-faq__accordion { overflow: hidden; border: 1px solid rgba(16, 32, 31, .1); border-radius: 1.5rem; background: #fff; }
.food-faq__accordion > details { border-bottom: 1px solid rgba(16, 32, 31, .1); padding: 0; box-shadow: none; }
.food-faq__accordion > details:last-child { border-bottom: 0; }
.food-faq__accordion > details > summary { display: flex; min-height: 3.75rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; color: #102c2a; font-weight: 800; line-height: 1.4; }
.food-faq__accordion > details > summary::-webkit-details-marker { display: none; }
.food-faq__disclosure { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; color: #21867a; font-size: 1.35rem; font-weight: 500; line-height: 1; text-align: center; }
.food-faq__accordion > details > summary:focus-visible { outline: 2px solid #21867a; outline-offset: -3px; }
.food-faq__accordion > details[open] .food-faq__disclosure { font-size: 0; }
.food-faq__accordion > details[open] .food-faq__disclosure::after { content: '\00d7'; font-size: 1.35rem; }
.food-faq__accordion > details > p { max-width: 42rem; margin: 0; padding: 0 1.25rem 1.15rem; color: #5c6e82; font-size: .875rem; line-height: 1.6; }

@media (max-width: 63.99rem) {
  .food-ordering-journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .food-ordering-journey__moment + .food-ordering-journey__moment { border-inline-start: 0; }
  .food-ordering-journey__moment:nth-child(odd) { border-inline-end: 1px solid rgba(33, 134, 122, .18); }
  .food-ordering-journey__moment:nth-child(n + 3) { border-top: 1px solid rgba(33, 134, 122, .18); padding-top: 2.5rem; }
  .food-faq__layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 39.99rem) {
  .food-ordering-journey__heading { align-items: stretch; flex-direction: column; gap: 1.25rem; }
  .food-ordering-journey__cta { align-self: flex-start; }
  .food-ordering-journey__steps { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .food-ordering-journey__moment,
  .food-ordering-journey__moment:nth-child(odd) { display: grid; grid-template-columns: 2rem 3.5rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: 0; border: 0; text-align: left; }
  .food-ordering-journey__moment + .food-ordering-journey__moment,
  .food-ordering-journey__moment:nth-child(n + 3) { border-inline: 0; border-top: 1px solid rgba(33, 134, 122, .18); padding-top: 1.5rem; }
  .food-ordering-journey__index { margin-top: .35rem; margin-bottom: 0; }
  .food-ordering-journey__icon { margin: 0; }
  .food-ordering-journey__copy > p { margin-inline: 0; }
  .food-ordering-journey__brands { justify-content: flex-start; margin-inline: 0; }
  .food-faq__layout { gap: 1.5rem; }
  .food-faq__accordion { border-radius: 1.25rem; }
  .food-faq__accordion > details > summary { padding-inline: 1rem; }
  .food-faq__accordion > details > p { padding-inline: 1rem; }
}
