/* Admin shell */
.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  background: var(--color-surface);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
}

.admin-header-brand:hover {
  text-decoration: none;
  color: var(--brand-accent);
}

.admin-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-accent), #4f46e5);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
}

.admin-header-brand-tagline {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.75;
  line-height: 1.2;
}

.admin-header-brand-text {
  letter-spacing: -0.02em;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.billing-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}
.billing-badge-trial { background: var(--color-info-bg); color: var(--color-info); }
.billing-badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.billing-badge-error { background: var(--color-error-bg); color: var(--color-error); }
.admin-billing-badge-wrap { display: inline-flex; align-items: center; }

.admin-floor-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
}

.admin-floor-bell.is-active {
  color: var(--color-warning);
  border-color: var(--color-warning);
  animation: floor-bell-ring 1.2s ease-in-out infinite;
}

@keyframes floor-bell-ring {
  0%, 100% { transform: rotate(0deg); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-4deg); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.admin-floor-bell-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--color-error);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

.admin-header-tenant {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-header-user {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.admin-header-logout {
  color: var(--color-text-muted) !important;
}

.admin-header-logout:hover {
  color: var(--color-text) !important;
  background: var(--color-bg) !important;
}

.admin-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  border-radius: var(--radius-md);
}

.admin-menu-toggle:hover {
  background: var(--color-bg);
}

.admin-menu-toggle-icon {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.admin-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.admin-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--admin-sidebar-bg);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition);
  z-index: 200;
}

.admin-sidebar.is-open {
  transform: translateX(0);
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 150;
}

.admin-sidebar-overlay.is-visible {
  display: block;
}

.admin-nav {
  padding: var(--space-md) var(--space-sm) var(--space-xl);
}

.admin-nav-brand-block {
  padding: 0 var(--space-md) var(--space-md);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav-brand-title {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--admin-sidebar-muted);
}

.admin-nav-brand-sub {
  display: block;
  margin-top: 0.125rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.admin-nav-group {
  margin-bottom: 0.375rem;
}

.admin-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem var(--space-md);
  margin: 0;
  border: none;
  background: transparent;
  color: var(--admin-sidebar-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.admin-nav-group-toggle:hover {
  background: var(--admin-sidebar-hover);
  color: var(--admin-sidebar-text);
}

.admin-nav-group-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-nav-group-icon {
  opacity: 0.85;
  font-size: 0.75rem;
}

.admin-nav-chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--transition);
  opacity: 0.7;
}

.admin-nav-chevron.is-open {
  transform: rotate(45deg);
}

.admin-nav-items {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0 0 0.25rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5625rem var(--space-md);
  margin: 0.125rem var(--space-xs);
  color: var(--admin-sidebar-text);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.admin-nav-icon {
  width: 1.125rem;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.75;
  flex-shrink: 0;
}

.admin-nav-link:hover {
  background: var(--admin-sidebar-hover);
  text-decoration: none;
  color: #fff;
}

.admin-nav-link.is-active {
  background: var(--admin-sidebar-active);
  border-left-color: var(--brand-accent);
  color: #fff;
  font-weight: 500;
}

.admin-nav-link.is-active .admin-nav-icon {
  opacity: 1;
}

.admin-nav-link.is-pulsing {
  animation: floor-alert-pulse 1.2s ease-in-out infinite;
}

.insights-chip.is-attention-active {
  animation: floor-alert-pulse 1.2s ease-in-out infinite;
  border-color: var(--color-warning);
  color: var(--color-warning);
}

@keyframes floor-alert-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.admin-main {
  flex: 1;
  padding: var(--space-lg);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.admin-page-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.admin-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.admin-page-subtitle {
  margin: var(--space-xs) 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .admin-menu-toggle {
    display: none;
  }

  .admin-sidebar {
    position: sticky;
    top: var(--header-height);
    transform: none;
    flex-shrink: 0;
    align-self: flex-start;
    max-height: calc(100vh - var(--header-height));
  }

  .admin-sidebar-overlay {
    display: none !important;
  }

  .admin-body {
    align-items: flex-start;
  }

  .admin-main {
    padding: var(--space-lg) var(--space-xl);
  }
}

/* Login page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1a3028 100%);
}

.login-card {
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  color: #fff;
  margin-bottom: var(--space-lg);
}

.login-logo h1 {
  font-size: 1.75rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-brand-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  opacity: 0.85;
}

.login-brand-sub {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* Public menu shell — mobile first (celulares y tablets en locales) */
body.menu-page {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
}

.menu-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + var(--space-md));
  position: relative;
  font-family: var(--font-sans);
  color: var(--color-text);
}

.menu-shell.has-menu-watermark::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--menu-watermark-image);
  background-repeat: no-repeat;
  background-position: center 35%;
  background-size: min(70vw, 320px);
  opacity: var(--menu-watermark-opacity, 0.12);
}

.menu-shell > * {
  position: relative;
  z-index: 1;
}

.menu-header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.menu-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: var(--color-bg);
}

.menu-category-tab-promos {
  border-color: color-mix(in srgb, var(--brand-accent) 45%, transparent);
  color: var(--brand-accent);
  position: relative;
  overflow: hidden;
}

.menu-category-tab-promos.menu-promos-tab-pill:not(.is-active) {
  background: color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 16%, var(--color-surface));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 55%, transparent);
}

.menu-promos-tab-spark {
  font-size: 0.65rem;
  opacity: 0.85;
  animation: menu-promos-spark-pulse 4.5s ease-in-out infinite;
}

.menu-category-tab-promos.is-active {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

.menu-category-tab-promos.is-active .menu-promos-tab-spark {
  animation: none;
  opacity: 1;
}

/* Pill vidrioso — banner y sección promos */
.menu-promos-glass-pill {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  border-radius: 1.25rem;
  background: var(--promo-panel-background, linear-gradient(
    145deg,
    color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 38%, #fff) 0%,
    color-mix(in srgb, var(--promo-panel-accent-end, var(--brand-primary)) 30%, #fff) 55%,
    color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 22%, var(--color-bg)) 100%
  ));
  border: 1.5px solid color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 48%, #fff 22%);
  box-shadow:
    0 8px 32px color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 26%, transparent),
    0 0 0 1px color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 color-mix(in srgb, var(--promo-panel-accent-end, var(--brand-primary)) 14%, transparent);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.menu-promos-glass-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
}

.menu-promos-glass-shine::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -60%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: menu-promos-glass-sweep 7s ease-in-out infinite;
}

.menu-promos-banner-inner,
.menu-promos-section-inner {
  position: relative;
  z-index: 1;
}

.menu-promos-banner-head,
.menu-promos-section-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.menu-promos-banner-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  color: var(--promo-badge-text, #fff);
  background: var(--promo-badge-color, var(--brand-accent));
  border: none;
  box-shadow:
    0 2px 10px color-mix(in srgb, var(--promo-badge-color, var(--brand-accent)) 45%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: menu-promos-spark-pulse 3.2s ease-in-out infinite;
}

.menu-promos-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu-promos-section-full .menu-promos-section-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu-promo-glass-card {
  border: 1px solid color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 32%, var(--color-border));
  border-left: 3px solid var(--promo-panel-accent, var(--brand-accent));
  border-radius: 1rem;
  background: color-mix(in srgb, var(--promo-card-bg, var(--color-surface)) 88%, var(--promo-panel-accent, var(--brand-accent)) 12%);
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-promo-glass-card:active {
  transform: scale(0.985);
}

.menu-promo-card {
  border: none;
}

.menu-promo-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.menu-promo-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--promo-text-color, var(--color-text));
}

.menu-promo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.menu-promo-footer .badge-accent {
  box-shadow: 0 1px 6px color-mix(in srgb, var(--brand-accent) 25%, transparent);
}

.menu-promo-validity {
  font-size: 0.8125rem;
}

.menu-promos-banner-validity,
.menu-promo-validity,
.menu-promos-banner-meta .text-muted {
  color: var(--promo-meta-color, var(--color-text-muted));
}

.menu-promo-schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.menu-promo-schedule.is-live {
  color: color-mix(in srgb, var(--brand-accent) 82%, var(--color-text));
  font-weight: 600;
}

.menu-promo-schedule-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: color-mix(in srgb, var(--brand-accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 35%, transparent);
}

.menu-promo-glass-card.is-applies-now,
.menu-promos-banner-card.is-applies-now {
  border-color: color-mix(in srgb, var(--brand-accent) 45%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--brand-accent) 18%, transparent),
    0 8px 24px color-mix(in srgb, var(--brand-accent) 12%, transparent);
}

.menu-promos-banner-body .menu-promo-schedule {
  margin: 0.25rem 0 0.35rem;
}

.menu-footer-social {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.menu-footer-social .menu-social-link {
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
}

.menu-footer {
  text-align: center;
  padding: var(--space-md);
  margin-top: auto;
}

.menu-footer-link {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.menu-privacy-line {
  margin: var(--space-md) 0 0;
  font-size: 0.8125rem;
}

.identity-mode-selector {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.identity-mode-option {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  cursor: pointer;
  background: var(--color-surface);
}

.identity-mode-option:has(input:checked) {
  border-color: var(--brand-primary);
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-weight: 500;
}

.promo-selector-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  font-size: 0.875rem;
}

.promo-selector-option:last-child {
  border-bottom: none;
}

.checkout-section-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--brand-primary);
}

.privacy-disclaimer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  cursor: pointer;
}

.privacy-page {
  background: var(--color-bg);
}

.privacy-page-header .menu-header-brand {
  align-items: center;
  gap: 0.75rem;
}

.privacy-page-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.privacy-content {
  box-shadow: var(--shadow-md);
}

.privacy-lead {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  background: var(--color-surface-muted, #f8fafc);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.privacy-section-title {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  color: var(--brand-primary);
}

.privacy-contact-card {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.06), rgba(var(--brand-accent-rgb), 0.08));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.privacy-contact-card-muted {
  background: var(--color-surface-muted, #f8fafc);
}

.privacy-contact-card .privacy-section-title {
  margin-top: 0;
  font-size: 0.9375rem;
}

.privacy-contact-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.privacy-content h3 {
  margin: 1rem 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.privacy-content p {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.privacy-content ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.privacy-content li {
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.privacy-page-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.menu-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.menu-header-inner {
  max-width: 640px;
  margin: 0 auto;
}

.menu-business-name {
  font-family: var(--menu-title-font, var(--font-sans));
  font-size: var(--menu-title-size, 1.25rem);
  font-weight: 700;
  color: var(--menu-title-color, var(--brand-primary));
  margin: 0;
  line-height: 1.2;
}

.menu-welcome {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: var(--space-xs) 0 0;
}

.menu-social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.menu-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
}

.menu-search-bar {
  position: sticky;
  top: calc(var(--menu-header-offset, 0px) + 0.5rem);
  z-index: 40;
  margin-bottom: var(--space-md);
}

.menu-search-input {
  width: 100%;
}

.menu-promos-banner {
  margin-bottom: 0;
}

.menu-promos-banner-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--promo-title-color, var(--promo-panel-accent, var(--brand-accent)));
  animation: menu-promos-title-glow 5s ease-in-out infinite;
}

@keyframes menu-promos-spark-pulse {
  0%, 78%, 100% { opacity: 0.55; transform: scale(1); }
  82% { opacity: 1; transform: scale(1.12); }
  86% { opacity: 0.7; transform: scale(1); }
}

@keyframes menu-promos-title-glow {
  0%, 85%, 100% { text-shadow: 0 0 0 transparent; }
  88% { text-shadow: 0 0 16px color-mix(in srgb, var(--promo-panel-accent, var(--brand-accent)) 65%, transparent); }
}

@keyframes menu-promos-glass-sweep {
  0%, 72%, 100% {
    left: -65%;
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  88% {
    left: 130%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-promos-glass-shine::after,
  .menu-promos-banner-pill-badge,
  .menu-promos-tab-spark,
  .menu-promos-banner-title {
    animation: none;
  }
}

.menu-promos-banner-track {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-xs);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-promos-banner-track::-webkit-scrollbar {
  display: none;
}

.menu-promos-banner-card {
  flex: 0 0 min(78vw, 280px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-promos-banner-card.menu-promo-glass-card .menu-promos-banner-body {
  background: color-mix(in srgb, var(--color-surface) 70%, rgba(255, 255, 255, 0.35));
}

.menu-promos-banner-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.menu-promos-banner-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-xs);
  padding: var(--space-sm);
  text-align: left;
}

.menu-promos-banner-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--promo-text-color, var(--color-text));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-promos-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}

.menu-promos-banner-validity {
  font-size: 0.75rem;
  line-height: 1.3;
}

.menu-promo-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.menu-content {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-md);
}

.menu-categories {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-categories::-webkit-scrollbar {
  display: none;
}

.menu-category-tab {
  flex-shrink: 0;
  padding: 0.625rem 1.125rem;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  touch-action: manipulation;
}

.menu-category-tab-loyalty {
  border-color: #166534;
  color: #166534;
  background: #f0fdf4;
  font-weight: 600;
}

.menu-category-tab-loyalty.is-active {
  background: #166534;
  border-color: #166534;
  color: #fff;
}

.menu-loyalty-header-btn {
  flex-shrink: 0;
  border-color: #166534;
  color: #166534;
  background: #f0fdf4;
  font-weight: 600;
}

.menu-loyalty-header-badge {
  margin-left: 0.25rem;
  font-size: 0.625rem;
  vertical-align: middle;
}

.menu-category-tab.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.menu-product-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu-product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}

.menu-product-card.is-expanded {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.menu-product-card-summary {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  min-width: 0;
}

.menu-product-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.order-tracker {
  background: var(--order-card-bg, var(--color-surface));
  color: var(--order-text-color, var(--color-text));
}

.order-tracker .card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  background: var(--order-header-background, linear-gradient(
    135deg,
    var(--order-header-bg, transparent) 0%,
    var(--order-header-bg-end, var(--order-header-bg, transparent)) 100%
  ));
  color: var(--order-header-text, inherit);
}

.order-tracker .card-header .card-title {
  color: var(--order-header-text, var(--color-text));
}

.order-tracker .card-header .text-muted {
  color: color-mix(in srgb, var(--order-header-text, var(--color-text-muted)) 78%, transparent);
}

.order-status-steps {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  padding: 0.35rem 0 var(--space-xs);
  margin-bottom: var(--space-md);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.order-status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 4.5rem;
  flex-shrink: 0;
  opacity: 0.45;
  padding-top: 0.2rem;
  scroll-snap-align: center;
}

.order-status-step.is-done,
.order-status-step.is-current {
  opacity: 1;
}

.order-status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-border-strong);
}

.order-status-step.is-done .order-status-dot {
  background: var(--brand-primary);
}

.order-status-step.is-current .order-status-dot {
  background: var(--order-status-color, var(--brand-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--order-status-color, var(--brand-accent)) 28%, transparent);
  position: relative;
  top: 0.05rem;
}

.order-status-label {
  font-size: 0.6875rem;
  text-align: center;
  color: var(--order-muted-text-color, var(--color-text-muted));
  line-height: 1.2;
}

.order-status-step.is-current .order-status-label {
  color: var(--color-text);
  font-weight: 600;
}

.order-track-items {
  list-style: none;
  margin: 0 0 var(--space-sm);
  padding: 0;
}

.order-track-items li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.375rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
}

.order-adding-banner {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-info-bg);
  color: var(--color-info);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.menu-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.menu-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-left: auto;
}

.menu-waiter-status {
  flex-shrink: 0;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.menu-lookup-btn {
  flex-shrink: 0;
}

.menu-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(15, 23, 42, 0.55);
  background: color-mix(in srgb, var(--welcome-overlay-bg, var(--brand-primary)) 52%, rgba(0, 0, 0, 0.42));
}

.menu-loyalty-register-overlay {
  z-index: var(--z-modal);
}

.menu-welcome-card {
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  background: var(--welcome-card-bg, var(--color-surface));
}

.menu-contact-card {
  max-width: 440px;
}

.menu-contact-header {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.menu-contact-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand-primary) 12%, var(--color-surface));
}

.menu-contact-lead {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.menu-contact-section {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-bg) 65%, var(--color-surface));
}

.menu-contact-section-title {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.menu-contact-section .form-group:last-child {
  margin-bottom: 0;
}

.menu-contact-privacy {
  margin: 0.5rem 0 var(--space-md);
}

.menu-contact-submit {
  margin-top: 0.25rem;
}

.contact-form-card .card-body {
  padding: var(--space-lg);
}

.contact-form-intro {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-form-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--brand-primary) 14%, var(--color-surface));
  font-size: 1.2rem;
}

.contact-form-title {
  margin: 0;
  font-size: 1.125rem;
}

.contact-form-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.contact-form-span-2 {
  grid-column: 1 / -1;
}

.contact-form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.contact-form-error {
  width: 100%;
  margin: 0;
  color: var(--color-danger);
}

.contact-form-success {
  width: 100%;
  margin: 0;
  color: var(--color-success, #15803d);
}

.contact-form-section-block {
  padding-bottom: 0.25rem;
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

.menu-welcome-title {
  margin: 0 0 var(--space-sm);
  font-size: 1.375rem;
  color: var(--welcome-title-color, var(--brand-primary));
}

.menu-welcome-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 var(--space-lg);
  color: var(--welcome-text-color, var(--color-text-muted));
}

.menu-welcome-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.menu-lookup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.lookup-results-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lookup-result-card {
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.lookup-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: 0.25rem;
}

.lookup-result-meta {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.lookup-result-items {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--color-text);
}

.lookup-result-items li {
  padding: 0.125rem 0;
}

.order-confirmed-title {
  margin: 0 0 var(--space-sm);
  font-size: 1.25rem;
  color: var(--brand-primary);
}

.order-confirmed-folio {
  font-size: 1.5rem;
  margin: 0 0 var(--space-md);
}

.order-share-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  word-break: break-all;
  padding: var(--space-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
}

.menu-product-info {
  flex: 1;
  min-width: 0;
}

.menu-product-name {
  font-weight: 600;
  margin: 0 0 var(--space-xs);
}

.menu-product-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.menu-product-price {
  font-weight: 700;
  color: var(--brand-accent);
}

.menu-product-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
}

.menu-product-actions .btn {
  width: 100%;
  min-height: 44px;
}

.menu-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.menu-bottom-bar-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.menu-cart-count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.menu-cart-total {
  font-weight: 700;
  font-size: 1.125rem;
}

.order-tracker-draft {
  border: 2px dashed var(--color-border);
}

.order-host-name {
  word-break: break-word;
  white-space: normal;
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity var(--transition);
}

.cart-drawer.is-open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: min(90dvh, 100%);
  background: var(--color-surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: translateY(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open .cart-drawer-panel {
  transform: translateY(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background: var(--bill-header-background, linear-gradient(
    135deg,
    var(--bill-header-bg, var(--color-surface)) 0%,
    var(--bill-header-bg-end, var(--bill-header-bg, var(--color-surface))) 100%
  ));
  color: var(--bill-header-text, inherit);
}

.cart-drawer-header .card-title {
  color: var(--bill-header-text, var(--color-text));
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-lg);
}

.cart-drawer-footer {
  padding: var(--space-md) var(--space-lg) calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item:last-child {
  border-bottom: none;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-control button {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--color-bg);
  cursor: pointer;
  font-size: 1.125rem;
  touch-action: manipulation;
}

@media (min-width: 600px) {
  .menu-content,
  .menu-header-inner,
  .menu-bottom-bar-inner {
    max-width: 720px;
  }

  .menu-product-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    align-items: start;
  }

  .menu-product-card-summary {
    flex-direction: column;
  }

  .menu-product-image {
    width: 100%;
    height: 140px;
  }
}

@media (min-width: 1024px) {
  .menu-content,
  .menu-header-inner,
  .menu-bottom-bar-inner {
    max-width: 960px;
  }

  .menu-product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cart-drawer-panel {
    left: auto;
    right: 0;
    width: min(420px, 100%);
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    transform: translateX(100%);
  }

  .cart-drawer.is-open .cart-drawer-panel {
    transform: translateX(0);
  }
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 500;
}

/* Assistant widget */
.assistant-widget {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 600;
}

.assistant-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistant-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: 480px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.assistant-msg {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  max-width: 90%;
}

.assistant-msg-user {
  align-self: flex-end;
  background: var(--brand-primary);
  color: #fff;
}

.assistant-msg-bot {
  align-self: flex-start;
  background: var(--color-bg);
}

.assistant-msg-content p {
  margin: 0 0 0.5rem;
}

.assistant-msg-content p:last-child {
  margin-bottom: 0;
}

.assistant-msg-content ul,
.assistant-msg-content ol {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.25rem;
}

.assistant-msg-content strong {
  font-weight: 600;
}

.assistant-msg-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.assistant-msg-thinking {
  opacity: 0.85;
  font-style: italic;
}

.assistant-thinking-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--brand-accent);
  animation: assistant-pulse 1.2s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes assistant-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

.assistant-input-row {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.bill-ticket-card {
  padding: 1rem;
  background: var(--bill-card-bg, var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--bill-text-color, var(--color-text));
}

.bill-ticket-header {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin: -1rem -1rem 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px dashed var(--color-border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  text-align: center;
  background: var(--bill-header-background, linear-gradient(
    135deg,
    var(--bill-header-bg, transparent) 0%,
    var(--bill-header-bg-end, var(--bill-header-bg, transparent)) 100%
  ));
  color: var(--bill-header-text, inherit);
}

.bill-ticket-header strong {
  color: var(--bill-header-text, var(--color-text));
}

.bill-ticket-meta {
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--bill-header-text, var(--color-text-muted)) 75%, transparent);
}

.bill-ticket-items {
  margin-bottom: 0.5rem;
}

.bill-ticket-item-detail {
  font-size: 0.75rem;
  margin-top: 0.125rem;
}

.bill-ticket-totals {
  margin: 0;
  font-size: 0.875rem;
}

.bill-ticket-totals > div {
  padding: 0.25rem 0;
}

.bill-ticket-grand {
  font-weight: 600;
  margin-top: 0.375rem;
  padding-top: 0.375rem;
  border-top: 1px solid var(--color-border);
}

.bill-ticket-grand dd {
  color: var(--bill-accent-color, var(--brand-accent));
}

.bill-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bill-payment-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  text-align: left;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bill-payment-option.is-selected {
  border-color: var(--brand-primary, #2d5016);
  background: var(--color-surface-alt, #f5f5f5);
}

.bill-payment-option-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.bill-payment-option-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.bill-transfer-inline {
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--color-surface-alt, #f5f5f5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.bill-transfer-evidence {
  background: #fff;
}

.qcl-map-pin-wrap {
  background: transparent;
  border: none;
}

.qcl-map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  font-size: 1rem;
  line-height: 1;
}

.menu-delivery-orders {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.65rem;
  background: var(--color-surface-muted, #f8fafc);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.menu-delivery-orders-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.menu-delivery-orders-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.menu-delivery-order-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
  font-size: 0.75rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.menu-delivery-order-pill:hover {
  border-color: var(--color-primary);
}

.menu-delivery-order-pill.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary-bg, #eff6ff);
  font-weight: 600;
}

.menu-delivery-order-pill .pill-status {
  font-size: 0.65rem;
  opacity: 0.85;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}

.menu-delivery-order-pill.is-active .pill-status {
  background: rgba(37, 99, 235, 0.15);
}

.menu-delivery-order-pill-new {
  border-style: dashed;
  font-weight: 600;
  color: var(--color-primary);
}

.delivery-route-panel {
  padding: 0.75rem;
  background: var(--color-surface-muted, #f8fafc);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.bank-details {
  margin: 0;
  font-size: 0.875rem;
}

.bank-details > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--color-border);
}

.bank-details dt {
  color: var(--color-text-muted);
  font-weight: 500;
}

.bank-details dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  word-break: break-all;
}
