/* 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;
}

/* Unified item popup: one scroll area for details/options, with a sticky action. */
#productViewModal { padding:16px; }
#productViewModal #productViewContent { display:block; width:100%; max-width:620px; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; border-radius:16px; scrollbar-width:thin; background:#fff; }
#productViewModal .pv-image-wrap { height:170px; max-height:170px; background:#f5f7fa; }
#productViewModal .pv-image-wrap img { height:100%; max-height:170px; width:100%; object-fit:contain; padding:12px; }
#productViewModal .pv-close-btn { width:44px; height:44px; min-width:44px; min-height:44px; top:10px; right:10px; background:#25344be6; }
#productViewModal .pv-body { overflow:visible; padding:16px 20px; gap:8px; }
#productViewModal .pv-title { font-size:21px; line-height:1.35; }
#productViewModal .pv-price { font-size:19px; }
#productViewModal .pv-description { font-size:13px; }
#productViewModal .pv-footer { position:sticky; bottom:0; z-index:3; background:#fff; border-top:1px solid #e1e7ef; }
#productCustomizeContent { overflow:visible; }
#productCustomizeContent > div:first-child { overflow:visible; padding:0 20px 12px; }
#productCustomizeContent > div:first-child > div { padding:12px; border:1px solid #dfe6ef; border-radius:10px; background:#f7f9fc !important; background-image:none !important; color:#24364e !important; }
#productCustomizeContent > div:first-child > div + div { margin-top:12px; }
#productCustomizeContent h3 { font-size:14px; color:#24364e; }
#productCustomizeContent .customize-option { min-height:56px; padding:10px; border:1px solid #d9e1ec; border-radius:8px; background:#fff !important; background-image:none !important; color:#24364e !important; box-shadow:none; }
#productCustomizeContent .customize-option * { color:inherit !important; }
#productCustomizeContent .customize-option:hover { border-color:var(--bq-accent-ink,#24364e); }
#productCustomizeContent .customize-option[aria-selected="true"] { background:var(--bq-accent,#000) !important; color:var(--bq-accent-text,#fff) !important; border-color:var(--bq-accent,#000); outline:2px solid var(--bq-accent-ink,#24364e); outline-offset:2px; }
#productCustomizeContent .customize-option:focus-visible { outline:2px solid var(--bq-accent-ink,#24364e); outline-offset:2px; }
#productCustomizeContent > div:last-child { position:sticky; bottom:0; z-index:3; padding:12px 20px; border-top:1px solid #dfe6ef; border-radius:0; background:#fff; box-shadow:0 -5px 16px #172b4509; }
#productCustomizeContent #customizeTotal { min-height:46px; padding:12px; font-size:14px; border-radius:9px; box-shadow:none; }
@media (max-width:639px), (max-height:600px) {
  #productViewModal { padding:10px; }
  #productViewModal #productViewContent { max-height:calc(100vh - 20px); max-height:calc(100dvh - 20px); border-radius:12px; }
  #productViewModal .pv-image-wrap,#productViewModal .pv-image-wrap img { height:120px; max-height:120px; }
  #productViewModal .pv-body { padding:12px 14px; }
  #productCustomizeContent > div:first-child { padding:0 14px 10px; }
  #productCustomizeContent > div:last-child { padding:10px 14px; }
  #productCustomizeContent .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Cart: reserve the available height for items rather than oversized totals. */
#cartModal { padding:12px; }
#cartModal .cart-modal { width:100%; max-width:740px; height:92vh; height:92dvh; max-height:760px; display:flex; flex-direction:column; overflow:hidden; border-radius:14px; background:#fff; }
#cartModal .cart-header { flex:0 0 auto; padding:10px 16px; }
#cartModal .cart-header-inner { grid-template-columns:minmax(0,1fr) auto auto; grid-template-areas:"title empty close"; gap:8px; }
#cartModal .cart-header-left { gap:6px; }
#cartModal .cart-header h2 { font-size:19px; line-height:1.3; }
#cartModal .cart-count { padding:3px 8px; font-size:11px; }
#cartModal .clear-cart-btn { min-height:44px; padding:7px 10px; font-size:11px; }
#cartModal .cart-modal-close-btn { width:44px; height:44px; min-width:44px; min-height:44px; align-self:center; }
#cartModal #cartItemsList { flex:1 1 0; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:12px 16px; gap:10px; scrollbar-width:thin; }
#cartModal .cart-item { flex:0 0 auto; padding:12px; gap:12px; border-radius:10px; }
#cartModal .cart-item-details h3 { font-size:14px; line-height:1.4; }
#cartModal .cart-item-details .price { font-size:13px; margin-top:4px; }
#cartModal .cart-item-opt { font-size:11px; line-height:1.5; }
#cartModal .cart-item-total { font-size:14px; font-variant-numeric:tabular-nums; }
#cartModal .cart-qty-btn { width:44px; height:44px; min-width:44px; min-height:44px; font-size:20px; }
#cartModal #cartFooter { flex:0 0 auto; padding:12px 16px; background:#f7f9fc; }
#cartModal #cartFooter:not(.hidden) { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,42%); align-items:center; gap:16px; }
#cartModal #priceBreakdown { margin:0; gap:2px; }
#cartModal #priceBreakdown .price-row { padding:2px 0; margin:0; font-size:11px; line-height:1.4; }
#cartModal #priceBreakdown .price-row.total { margin-top:5px; padding-top:7px; border-top:1px solid #dce4ef; font-size:15px; }
#cartModal .checkout-btn { min-height:48px; padding:12px; border-radius:9px; font-size:13px; line-height:1.4; }
@media (max-width:600px) {
  #cartModal { box-sizing:border-box; padding:8px 8px max(8px,env(safe-area-inset-bottom)); height:100%; height:100svh; max-height:100dvh; overflow:hidden; align-items:stretch; }
  #cartModal .cart-modal { height:100%; max-height:100%; min-height:0; box-sizing:border-box; margin:0; }
  #cartModal .cart-header { padding:8px 12px; }
  #cartModal .cart-header h2 { font-size:17px; }
  #cartModal .clear-cart-btn { width:44px; padding:0; font-size:0; gap:0; }
  #cartModal .clear-cart-btn svg { width:18px; height:18px; }
  #cartModal #cartItemsList { padding:10px 12px; }
  #cartModal .cart-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 10px; padding:10px; }
  #cartModal .cart-item-details h3 { font-size:13px; margin:0; }
  #cartModal .cart-item-details .price { font-size:11px; margin-top:3px; }
  #cartModal .cart-item-modifiers { margin:4px 0; }
  #cartModal .cart-item-opt { font-size:10px; line-height:1.45; margin:2px 0; }
  #cartModal .cart-item-row { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:6px; width:auto; padding:0; margin:0; border:0; }
  #cartModal .cart-item-qty { gap:0; }
  #cartModal .cart-qty-btn { width:44px; height:44px; min-width:44px; min-height:44px; border-radius:9px; font-size:19px; }
  #cartModal .cart-qty-value { width:26px; font-size:13px; }
  #cartModal .cart-item-total { font-size:12px; }
  #cartModal #cartFooter { padding:10px 12px; }
  #cartModal #cartFooter:not(.hidden) { grid-template-columns:1fr; gap:10px; }
  #cartModal #priceBreakdown { display:grid; grid-template-columns:1fr 1fr; gap:3px 14px; }
  #cartModal #priceBreakdown .price-row.total { grid-column:1 / -1; margin-top:2px; padding-top:5px; }
  #cartModal .checkout-btn { min-height:46px; padding:10px 12px; }
}

/* Colorful option picker, shared by image and Add to Order clicks. */
#customizeModal #customizeContent { width:100%; max-width:540px; max-height:90vh; max-height:90dvh; display:flex; flex-direction:column; overflow:hidden; border-radius:18px; background:#fff; }
#customizeModal .bq-customize-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-shrink:0; padding:20px 24px; background:linear-gradient(110deg,#df2017,#bc1914); color:#fff; }
#customizeModal .bq-customize-heading h2 { margin:0; font-size:23px; line-height:1.3; font-weight:800; text-transform:uppercase; overflow-wrap:anywhere; }
#customizeModal .bq-customize-heading button { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border:0; border-radius:50%; background:#ffffff30; color:#fff; font-size:30px; cursor:pointer; }
#customizeModal .bq-customize-scroll { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:18px; scrollbar-width:thin; scrollbar-color:#df2017 #fff; }
#customizeModal .bq-customize-scroll > div { padding:14px; border-radius:14px; }
#customizeModal .bq-customize-scroll > div + div { margin-top:16px; }
#customizeModal .bq-customize-scroll > [class*="from-orange-"] { background:linear-gradient(120deg,#f18c28,#e15d24) !important; color:#fff !important; }
#customizeModal .bq-customize-scroll > [class*="from-green-"] { background:linear-gradient(120deg,#1cbe62,#14b4a5) !important; color:#fff !important; }
#customizeModal .bq-customize-scroll > [class*="from-purple-"] { background:linear-gradient(120deg,#a34df1,#6658ed) !important; color:#fff !important; }
#customizeModal .customize-option { min-height:60px; border-radius:10px; }
#customizeModal .customize-option.sizes-opt { background:#ffffff38 !important; color:#fff !important; }
#customizeModal .customize-option[aria-selected="true"] { background:#fff !important; color:#25344b !important; outline:3px solid #fff; outline-offset:2px; }
#customizeModal .customize-option[aria-selected="true"] * { color:inherit !important; }
#customizeModal #customizeTotal { min-height:48px; background:linear-gradient(110deg,#df2017,#bc1914) !important; color:#fff !important; border-radius:12px; font-size:17px; }
#customizeModal .bq-customize-footer { display:flex; flex-direction:row; align-items:center; gap:10px; padding:12px 16px; }
#customizeModal .bq-customize-quantity { display:flex; flex:0 0 auto; align-items:center; padding:0; border:1px solid #e0e6ef; border-radius:10px; background:#f7f9fc; }
#customizeModal .bq-customize-quantity > span { display:none; }
#customizeModal .bq-customize-quantity > div { display:flex; align-items:center; gap:0; }
#customizeModal .bq-customize-quantity button { display:grid; place-items:center; width:48px; min-height:50px; padding:0; border:0; border-radius:9px; background:transparent; color:#24364e; font-size:25px; line-height:1; cursor:pointer; box-shadow:none; touch-action:manipulation; }
#customizeModal .bq-customize-quantity button:not(:disabled):hover { background:#eaf0f8; border-color:#9aacc3; }
#customizeModal .bq-customize-quantity button:not(:disabled):active { background:#dfe8f4; transform:scale(.96); }
#customizeModal .bq-customize-quantity button:disabled { opacity:.35; cursor:not-allowed; }
#customizeModal .bq-customize-quantity button:focus-visible { outline:2px solid #24364e; outline-offset:-3px; }
#customizeModal .bq-customize-quantity strong { display:grid; place-items:center; min-width:30px; min-height:50px; color:#24364e; text-align:center; font-size:19px; font-weight:750; font-variant-numeric:tabular-nums; }
#customizeModal .bq-customize-footer #customizeTotal { flex:1; width:auto; min-width:0; min-height:52px; padding:12px 10px; font-size:14px; line-height:1.4; touch-action:manipulation; }
@media (max-width:359px) {
  #customizeModal .bq-customize-footer { padding:10px; gap:8px; }
  #customizeModal .bq-customize-quantity button { width:44px; min-height:50px; }
  #customizeModal .bq-customize-quantity strong { min-width:26px; }
  #customizeModal .bq-customize-footer #customizeTotal { font-size:12px; }
}
@media (max-width:639px) {
  #customizeModal { padding:12px; }
  #customizeModal .bq-customize-heading { padding:16px; }
  #customizeModal .bq-customize-heading h2 { font-size:20px; }
  #customizeModal .bq-customize-scroll { padding:14px; }
}

/* 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-variants { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
#menuGrid .cart-variants-summary { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:44px; padding:8px 10px; border:1px solid rgba(var(--bq-accent-rgb,0,0,0),.18); border-radius:8px; background:rgba(var(--bq-accent-rgb,0,0,0),.055); color:var(--bq-accent-ink,#223249); font-size:11px; font-weight:600; cursor:pointer; }
#menuGrid .cart-variants-summary span:last-child { font-size:10px; font-weight:500; }
#menuGrid .cart-variants-summary:focus-visible { outline:2px solid var(--bq-accent,#002468); outline-offset:2px; }
#menuGrid .menu-card-variants .add-btn { min-height:44px; }
#menuGrid .menu-card-variants .cart-variants-summary { justify-content:center; flex-wrap:wrap; gap:5px; padding:8px 5px; font-size:11px; }
#menuGrid .menu-card-variants .variant-count { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 4px; border-radius:5px; background:var(--bq-accent,#000); color:var(--bq-accent-text,#fff); font-size:10px; font-weight:700; }
#productViewModal #productViewContent:has(.added-options-heading) { display:flex; flex-direction:column; max-width:500px; overflow:hidden; }
.added-options-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-shrink:0; padding:18px 20px; border-bottom:1px solid #e4eaf2; background:#f7f9fc; }
.added-options-heading > div > span { display:block; margin-bottom:4px; color:#718198; font-size:10px; font-weight:700; letter-spacing:.1em; }
.added-options-heading h2 { margin:0; color:#223249; font-size:20px; font-weight:700; overflow-wrap:anywhere; }
.added-options-heading > button { flex-shrink:0; width:44px; height:44px; border:1px solid #dce4ef; border-radius:10px; background:#fff; color:#53647b; font-size:26px; cursor:pointer; }
.added-options-list { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:16px 20px; background:#fff; }
.added-option-line { padding:14px; border:1px solid #e1e7ef; border-radius:10px; }
.added-option-line + .added-option-line { margin-top:12px; }
.added-option-title { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-bottom:9px; color:#24364e; font-size:13px; }
.added-option-title > span { font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; }
.added-option-line .cart-item-modifiers { margin:0 0 10px; }
.added-option-line .cart-item-opt,.added-options-standard { color:#62748c; font-size:12px; line-height:1.6; }
.added-option-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:10px; border-top:1px solid #edf1f6; }
.added-option-remove { min-height:44px; padding:7px 10px; border:0; border-radius:7px; background:#fff1f2; color:#b52b3d; font-size:12px; font-weight:600; cursor:pointer; }
.added-option-stepper { display:flex; align-items:center; border:1px solid #dbe3ee; border-radius:9px; overflow:hidden; background:#f7f9fc; }
.added-option-stepper > button { width:44px; min-height:44px; border:0; background:transparent; color:var(--bq-accent-ink,#223249); font-size:21px; cursor:pointer; }
.added-option-stepper > span { min-width:30px; text-align:center; color:#223249; font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
.added-option-controls button:disabled { opacity:.4; cursor:not-allowed; }
.added-options-locked { margin:8px 0 0; color:#718198; font-size:11px; }
.added-options-empty { padding:20px 0; color:#62748c; text-align:center; font-size:13px; }
.added-options-footer { display:flex; justify-content:space-between; gap:10px; flex-shrink:0; padding:12px 20px; border-top:1px solid #e4eaf2; background:#fff; }
.added-options-footer button { min-height:44px; padding:10px 14px; border:1px solid #dbe3ee; border-radius:9px; background:#fff; color:var(--bq-accent-ink,#223249); font-size:12px; font-weight:600; cursor:pointer; }
.added-options-footer .added-options-done { background:var(--bq-accent,#000); color:var(--bq-accent-text,#fff); border-color:transparent; }
.added-options-footer button:focus-visible,.added-option-controls button:focus-visible,.added-options-heading button:focus-visible { outline:2px solid var(--bq-accent-ink,#223249); outline-offset:2px; }
#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; } }
