/* Shared customer-facing brand utilities, including markup generated by app.js. */
.bg-orange-500,
[class~="bg-orange-400/90"] {
  background-color: var(--bq-accent, #000) !important;
  color: var(--bq-accent-text, #fff) !important;
}
[class*="from-orange-"] {
  background-image: linear-gradient(120deg, var(--bq-accent, #000), var(--bq-accent-hover, #262626)) !important;
  color: var(--bq-accent-text, #fff) !important;
}
.text-orange-600,
[class~="hover:text-orange-700"]:hover { color: var(--bq-accent-ink, #000) !important; }
.text-orange-100 { color: var(--bq-accent-text, #fff) !important; }
[class*="from-orange-"] .text-white,
.bg-orange-500 .text-white { color: var(--bq-accent-text, #fff) !important; }
[class~="hover:bg-orange-400"]:hover,
[class~="hover:bg-orange-600"]:hover { background-color: var(--bq-accent-hover, #262626) !important; }
.ring-orange-600,
[class~="focus:ring-orange-500"]:focus { --tw-ring-color: rgba(var(--bq-accent-rgb, 0,0,0), .4); }
/* The customisation submit button uses red utilities as its original brand style. */
#customizeTotal {
  background-image: linear-gradient(120deg, var(--bq-accent, #000), var(--bq-accent-hover, #262626)) !important;
  color: var(--bq-accent-text, #fff) !important;
}

/* Customer account: quieter navigation, compact overview, and consistent branding. */
#tab-dashboard .dash-sidebar { width: 224px; background: #fff; border-right: 1px solid #e5eaf0; box-shadow: none; }
#tab-dashboard .dash-sidebar-profile { padding: 24px 16px 20px; background: #fff; border-bottom: 1px solid #eef1f5; }
#tab-dashboard .dash-sidebar-avatar { width: 54px; height: 54px; font-size: 23px; margin: 0 auto 12px; background: rgba(var(--bq-accent-rgb, 0,0,0), .07); color: var(--bq-accent-ink, #000); border: 1px solid rgba(var(--bq-accent-rgb, 0,0,0), .1); box-shadow: none; }
#tab-dashboard .dash-sidebar-profile h3 { font-size: 14px; margin-bottom: 4px; }
#tab-dashboard .dash-sidebar-profile p { font-size: 11px; overflow-wrap: anywhere; line-height: 1.6; }
#tab-dashboard .dash-sidebar-nav { padding: 12px 10px; gap: 4px; }
#tab-dashboard .dash-nav-item { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 10px 12px; border: 0; border-radius: 7px; font-size: 12px; font-weight: 500; color: #64748b; }
#tab-dashboard .dash-nav-item:hover { background: #f5f7fa; }
#tab-dashboard .dash-nav-item.active { background: rgba(var(--bq-accent-rgb, 0,0,0), .07); color: var(--bq-accent-ink, #000); font-weight: 650; box-shadow: inset 3px 0 var(--bq-accent, #000); }
.dash-nav-icon { width: 18px; height: 18px; flex: 0 0 18px; }
#tab-dashboard .dash-nav-logout { margin-top: 10px; border-top: 1px solid #edf0f4; border-radius: 0; color: #b64747; }
#tab-dashboard .dash-main { min-width: 0; background: #f6f8fb; padding: 24px; }
#dashPage-dashboard > * + * { margin-top: 16px; }
#dashPage-dashboard .dash-welcome { padding: 22px 24px; gap: 20px; justify-content: space-between; background: #fff; border: 1px solid #e3e9f1; border-left: 3px solid var(--bq-accent, #000); border-radius: 11px; box-shadow: none; }
.dash-welcome-eyebrow { display: block; margin-bottom: 7px; color: var(--bq-accent-ink, #000); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
#dashPage-dashboard .dash-welcome-text h2 { font-size: 23px; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 7px; }
#dashPage-dashboard .dash-welcome-text p { font-size: 13px; color: #748297; line-height: 1.6; }
#dashPage-dashboard .dash-qr { flex-shrink: 0; padding: 8px; border: 1px solid #e5eaf0; border-radius: 8px; background: #fff; box-shadow: none; }
#dashPage-dashboard .dash-qr:not(:has(img)) { display: none; }
#dashPage-dashboard .dash-qr img { width: 64px; max-width: 64px !important; height: auto; }
#dashPage-dashboard .dash-qr a { color: var(--bq-accent-ink, #000); font-size: 10px !important; }
#dashPage-dashboard .dash-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#dashPage-dashboard .dash-stat { position: relative; padding: 20px; border: 1px solid #e3e9f1; border-radius: 10px; background: #fff; box-shadow: none; }
#dashPage-dashboard .dash-stat-num { color: #223249; font-size: 30px; line-height: 1.2; font-weight: 700; margin: 0 0 9px; font-variant-numeric: tabular-nums; }
#dashPage-dashboard .dash-stat-label { font-size: 12px; color: #748297; font-weight: 500; }
.dash-stat-icon { position: absolute; top: 18px; right: 16px; width: 32px; height: 32px; padding: 7px; border-radius: 8px; background: rgba(var(--bq-accent-rgb, 0,0,0), .06); color: var(--bq-accent-ink, #000); }
#dashPage-dashboard .dash-card { padding: 20px; border: 1px solid #e3e9f1; border-radius: 11px; box-shadow: none; }
#dashPage-dashboard .dash-card h3 { font-size: 15px; margin: 0 0 16px; }
.dash-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
#dashPage-dashboard .dash-card-heading h3 { margin: 0; }
.dash-card-heading button { padding: 7px 10px; border: 1px solid #e5eaf0; border-radius: 6px; background: #fff; color: var(--bq-accent-ink, #000); font-size: 11px; cursor: pointer; }
#dashPage-dashboard .dash-table th { background: #f7f9fc; padding: 11px 12px; font-size: 10px; font-weight: 600; color: #7a8799; }
#dashPage-dashboard .dash-table td { padding: 13px 12px; font-size: 12px; border-color: #edf1f5; }
#dashPage-dashboard .dash-table .action-link { font-size: 11px; color: var(--bq-accent-ink, #000); white-space: nowrap; }
#dashPage-dashboard .dash-action-btn { flex-direction: row; justify-content: center; gap: 8px; padding: 14px 10px; border: 1px solid #e6ebf2; border-radius: 8px; background: #fafbfd; font-size: 16px; }
#dashPage-dashboard .dash-action-btn span { font-size: 12px; font-weight: 550; }
#dashPage-dashboard .dash-action-btn:hover { background: rgba(var(--bq-accent-rgb, 0,0,0), .05); border-color: rgba(var(--bq-accent-rgb, 0,0,0), .25); }
@media (max-width: 1023px) {
  #tab-dashboard .dash-sidebar { width: 200px; }
  #tab-dashboard .dash-main { padding: 18px; }
  #dashPage-dashboard .dash-stat { padding: 16px 12px; }
  .dash-stat-icon { top: 14px; right: 10px; width: 27px; height: 27px; padding: 6px; }
}
@media (max-width: 639px) {
  #tab-dashboard .dash-main { padding: 12px; }
  #dashPage-dashboard .dash-welcome { padding: 16px; gap: 12px; }
  #dashPage-dashboard .dash-welcome-text h2 { font-size: 18px; }
  #dashPage-dashboard .dash-welcome-text p { font-size: 11px; }
  #dashPage-dashboard .dash-qr img { width: 52px; max-width: 52px !important; }
  #dashPage-dashboard .dash-stats-grid { gap: 8px; }
  #dashPage-dashboard .dash-stat { padding: 13px 10px; }
  #dashPage-dashboard .dash-stat-num { font-size: 25px; margin-bottom: 6px; }
  #dashPage-dashboard .dash-stat-label { font-size: 10px; }
  .dash-stat-icon { display: none; }
  #dashPage-dashboard .dash-card { padding: 14px; }
  #dashPage-dashboard .dash-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
/* Menu cards: compact images, honest fallbacks, and a clear price/action hierarchy. */
#menuGrid { gap: 16px; }
#menuGrid .menu-card { border: 1px solid #e3e9f0; border-radius: 12px; box-shadow: 0 2px 5px #17233505; transition: box-shadow .18s, border-color .18s; }
#menuGrid .menu-card:hover { border-color: rgba(var(--bq-accent-rgb, 0,0,0), .25); box-shadow: 0 6px 20px #1723350c; }
#menuGrid .menu-card-image { position: relative; height: 150px; padding: 14px; background: #f5f7fa; border-bottom: 1px solid #edf1f5; }
#menuGrid .menu-card-image > img { max-height: 100%; max-width: 100%; object-fit: contain; }
#menuGrid .menu-card-image > img[hidden] { display: none; }
.menu-card-placeholder { display: none; flex-direction: column; align-items: center; gap: 8px; color: rgba(var(--bq-accent-rgb, 0,0,0), .35); }
.menu-card-placeholder svg { width: 56px; height: 56px; }
.menu-card-placeholder > span { color: #95a1b1; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#menuGrid .menu-card-image.image-unavailable { background: linear-gradient(135deg, #f7f9fc, rgba(var(--bq-accent-rgb, 0,0,0), .045)); }
.image-unavailable .menu-card-placeholder { display: flex; }
#menuGrid .menu-card-body { padding: 14px; }
.menu-card-category { display: block; margin-bottom: 5px; color: #8996a8; font-size: 9px; font-weight: 650; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#menuGrid .menu-card-header { margin-bottom: 6px; }
#menuGrid .menu-card-name { font-size: 15px; line-height: 1.45; font-weight: 650; color: #223249; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 43px; overflow: hidden; }
#menuGrid .menu-card-desc-wrap { flex: 0 0 auto; margin-bottom: 8px; }
#menuGrid .menu-card-desc-wrap.is-empty { display: none; }
#menuGrid .menu-card-desc { font-size: 12px; line-height: 1.6; color: #7a8799; }
#menuGrid .menu-card-show-more { font-size: 11px; }
#menuGrid .menu-card-food-info { gap: 5px; margin: 0 0 10px; }
#menuGrid .menu-card-food-chip { padding: 3px 7px; font-size: 9px; line-height: 1.5; gap: 4px; }
#menuGrid .menu-card-food-chip img { width: 14px; height: 14px; }
#menuGrid .menu-card-price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: auto 0 12px; padding-top: 10px; font-size: 18px; font-weight: 700; color: #223249; line-height: 1.4; font-variant-numeric: tabular-nums; }
#menuGrid .menu-card-price .actual-price { font-size: 18px; color: #223249; }
#menuGrid .cancelled-price { font-size: 11px; }
#menuGrid .discount-pct { padding: 2px 5px; border-radius: 4px; background: #fff0ef; color: #bd4339; font-size: 9px; line-height: 1.4; }
#menuGrid .menu-card-actions { margin-top: 0; }
#menuGrid .add-btn { min-height: 42px; padding: 10px 12px; border-radius: 8px; font-size: 12px; font-weight: 650; }
#menuGrid .qty-controls { min-height: 42px; border-radius: 8px; }
#menuGrid .qty-btn { min-width: 42px; min-height: 42px; }
#menuGrid .menu-card.out-of-stock { opacity: .65; }
@media (min-width: 480px) and (max-width: 639px) { #menuGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  #menuGrid { gap: 12px; }
  #menuGrid .menu-card-image { height: 140px; }
  #menuGrid .menu-card-body { padding: 12px; }
  #menuGrid .menu-card-name { font-size: 14px; min-height: 40px; }
  #menuGrid .add-btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { #menuGrid .menu-card { transition: none; } }