/* v568 Customer purchase-path responsive recovery.
   Customer storefront only. Loaded last so legacy hard-coded customer colors/layouts cannot
   override App Branding or hide purchase actions on tablet/split-screen workspaces. */

body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"]{
  --customer-text-v568:var(--ink,#111827);
  --customer-brand-v568:var(--customer-theme-color,var(--brand,#f97316));
  --customer-brand-contrast-v568:#fff;
  --customer-surface-v568:var(--customer-card-bg,#fff);
  --customer-page-v568:var(--customer-bg,#fffaf4);
  --customer-muted-v568:color-mix(in srgb,var(--customer-text-v568) 62%,transparent);
  --customer-line-v568:color-mix(in srgb,var(--customer-text-v568) 14%,transparent);
  --customer-soft-v568:color-mix(in srgb,var(--customer-brand-v568) 9%,var(--customer-surface-v568));
  color:var(--customer-text-v568)!important;
  overflow-x:clip;
}

/* App Branding is the source of truth on normal/light customer surfaces. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-header,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-column,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-toolbar,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-heading-v494,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-menu-nav-v494,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-rail-v497,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-more-categories-v497,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-search-context-v497,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .premium-food-card,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #order-panel{
  color:var(--customer-text-v568)!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .brand-lockup strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-nav,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-nav a,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-toolbar h2,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-heading-v494 h3,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494 strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-menu-nav-v494 strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-rail-v497>strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-rail-heading-v498 strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-more-heading-v497 strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-more-card-v497 strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-search-context-v497 strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-title-row h3,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .benefit-v212 b,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .order-head h2,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .cart-main strong{
  color:var(--customer-text-v568)!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .brand-lockup span,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-toolbar p,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-heading-v494 p,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494>span:not(.customer-category-meta-v494),
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-rail-heading-v498 span,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-more-heading-v497 span,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-search-context-v497 span,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-info p,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .benefit-v212 span,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .summary-muted,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .order-head span,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .cart-main small{
  color:var(--customer-muted-v568)!important;
}

/* Customer operating-status bar follows the same branded surface/text palette. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .store-status-v290{
  --status-ink:var(--customer-text-v568)!important;
  --status-muted:var(--customer-muted-v568)!important;
  --status-border:var(--customer-line-v568)!important;
  --status-bg:color-mix(in srgb,var(--customer-surface-v568) 96%,transparent)!important;
  color:var(--customer-text-v568)!important;
  background:color-mix(in srgb,var(--customer-page-v568) 92%,white)!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .store-status-chip-v290,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .store-status-happy-v290{
  color:var(--customer-text-v568)!important;
}

/* Every primary customer action uses the Customer App theme color and computed readable contrast. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .primary-cta,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .add-btn,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .place-order,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .modal-add-button-v33,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mode-btn.active,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] [data-fulfillment-choice],
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-open-v494,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-menu-nav-v494 button,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-more-heading-v497 button,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-search-context-v497 button,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button{
  background:var(--customer-brand-v568)!important;
  color:var(--customer-brand-contrast-v568)!important;
  border-color:color-mix(in srgb,var(--customer-brand-v568) 74%,var(--customer-text-v568))!important;
  text-shadow:none!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-count-v494,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mini-options span{
  background:var(--customer-soft-v568)!important;
  color:var(--customer-text-v568)!important;
  border-color:color-mix(in srgb,var(--customer-brand-v568) 26%,transparent)!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-footer strong{
  color:var(--customer-brand-v568)!important;
}

/* Secondary / header controls cannot disappear into the surface. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mode-switch{
  background:var(--customer-surface-v568)!important;
  color:var(--customer-text-v568)!important;
  border:1px solid var(--customer-line-v568)!important;
  box-shadow:0 8px 24px color-mix(in srgb,var(--customer-text-v568) 9%,transparent)!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mode-btn:not(.active),
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .reserve-link-v306,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-account-pill-v115.light,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .secondary-cta{
  background:var(--customer-surface-v568)!important;
  color:var(--customer-text-v568)!important;
  border:1px solid var(--customer-line-v568)!important;
  box-shadow:none!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-account-pill-v115.orange,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-account-pill-v115.dark{
  background:var(--customer-brand-v568)!important;
  color:var(--customer-brand-contrast-v568)!important;
  border:1px solid color-mix(in srgb,var(--customer-brand-v568) 74%,var(--customer-text-v568))!important;
}

/* Hero text intentionally stays high-contrast because it is rendered over photography. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .premium-hero,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-copy h1,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-copy p,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-location-v306,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-location-v306__text strong,
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-location-v306__text small{
  color:#fff!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-location-v306__map{
  background:var(--customer-surface-v568)!important;
  color:var(--customer-text-v568)!important;
  border:1px solid var(--customer-line-v568)!important;
}

/* Category cards: image is a bounded media region; copy/actions own their own space. */
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-card-v494{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
  background:var(--customer-surface-v568)!important;
  border-color:var(--customer-line-v568)!important;
}
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-image-v494{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  border-radius:0!important;
}
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-image-v494 img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important;
}
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494>span:not(.customer-category-meta-v494){
  min-height:0!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-meta-v494{
  margin-top:auto!important;
  min-width:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-open-v494{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  max-width:100%!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

/* Product cards: do not allow photography to cover price/Add actions. */
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .premium-food-card{
  min-width:0!important;
  overflow:hidden!important;
  background:var(--customer-surface-v568)!important;
  border-color:var(--customer-line-v568)!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-media{
  overflow:hidden!important;
  min-width:0!important;
  max-width:100%!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-info{
  min-width:0!important;
  overflow:hidden!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-title-row h3{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-footer{
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:auto!important;
  padding-top:12px!important;
}
body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .add-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:92px!important;
  min-height:44px!important;
  padding:10px 16px!important;
  border-radius:14px!important;
  opacity:1!important;
  visibility:visible!important;
}

/* The cart itself follows customer surfaces/text instead of hardcoded white/navy. */
@media(max-width:1279px){
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #order-panel,
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .order-panel{
    background:var(--customer-surface-v568)!important;
    color:var(--customer-text-v568)!important;
    border-color:var(--customer-line-v568)!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mobile-cart-close{
    background:var(--customer-soft-v568)!important;
    color:var(--customer-text-v568)!important;
    border:1px solid var(--customer-line-v568)!important;
  }
}

/* Tablet/landscape sales layout. Width is the available viewport, never a device name. */
@media(min-width:768px) and (max-width:1279px){
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"]{
    padding-bottom:max(92px,calc(76px + env(safe-area-inset-bottom,0px)))!important;
  }
  body.shop-page.has-store-status-v290[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-header{
    top:auto!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-header{
    position:relative!important;
    min-height:0!important;
    height:auto!important;
    padding:10px clamp(14px,2vw,22px)!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"brand nav" "mode mode"!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    align-content:start!important;
    gap:8px 14px!important;
    background:color-mix(in srgb,var(--customer-surface-v568) 96%,transparent)!important;
    border-color:var(--customer-line-v568)!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .brand-lockup{grid-area:brand!important;min-width:0!important;gap:10px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .brand-lockup img,
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .logo-mark{width:44px!important;height:44px!important;border-radius:13px!important;object-fit:contain!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .brand-lockup strong{font-size:clamp(18px,2.2vw,22px)!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-nav-v306{grid-area:nav!important;min-width:0!important;margin:0!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-header-account-v306{display:flex!important;width:auto!important;gap:7px!important;flex-wrap:nowrap!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-header-account-v306 .customer-account-pill-v115,
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .reserve-link-v306{min-height:38px!important;padding:8px 11px!important;font-size:14px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mode-switch{
    grid-area:mode!important;
    width:min(100%,460px)!important;
    max-width:460px!important;
    min-height:0!important;
    margin:0!important;
    padding:5px!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    justify-self:start!important;
    overflow:visible!important;
    border-radius:16px!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mode-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    opacity:1!important;
    visibility:visible!important;
  }

  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .premium-hero{
    width:min(1180px,calc(100% - 28px))!important;
    max-width:1180px!important;
    min-height:280px!important;
    margin:14px auto 16px!important;
    padding:clamp(24px,3.4vw,36px)!important;
    border-radius:26px!important;
    grid-template-columns:1fr!important;
    align-items:end!important;
    gap:0!important;
    background-position:center!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-copy{padding:0!important;max-width:760px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-copy h1{font-size:clamp(38px,5.6vw,58px)!important;line-height:.98!important;max-width:13ch!important;margin:12px 0 10px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-copy p{font-size:16px!important;line-height:1.4!important;margin:0!important;max-width:56ch!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-card{display:none!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-location-v306{margin-top:13px!important;padding:9px 11px!important;border-radius:16px!important;width:min(100%,680px)!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-actions{margin-top:14px!important;gap:9px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .hero-actions a{min-height:42px!important;padding:10px 15px!important;border-radius:13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-benefits-v212{
    width:min(1180px,calc(100% - 28px))!important;
    max-width:1180px!important;
    margin:0 auto 16px!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .benefit-v212{min-width:0!important;padding:10px!important}

  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-shell{
    width:min(1180px,calc(100% - 28px))!important;
    max-width:1180px!important;
    margin:0 auto 38px!important;
    padding:0!important;
  }
  body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-menu-nav-v494{position:static!important;top:auto!important}
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-toolbar{
    grid-template-columns:minmax(0,1fr) minmax(230px,320px)!important;
    gap:12px!important;
    margin:10px 0 12px!important;
  }
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-toolbar h2{font-size:clamp(28px,3.8vw,38px)!important}
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-heading-v494{margin-bottom:12px!important}
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-heading-v494 h3{font-size:clamp(27px,3.8vw,38px)!important}

  /* Three readable category cards on common tablet landscape widths; never four squeezed cards. */
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-grid-v494{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494{padding:13px!important}
  body.shop-page.category-first-v497[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-info-v494 strong{font-size:clamp(17px,2vw,20px)!important}

  /* Selected category: every item card keeps its Add action visible. */
  body.shop-page.category-first-v496.category-selected-v494[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-grid,
  body.shop-page.category-first-v496.category-searching-v494[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .premium-food-card{
    grid-template-columns:138px minmax(0,1fr)!important;
    gap:12px!important;
    min-height:168px!important;
    padding:10px!important;
    border-radius:20px!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-media{width:138px!important;height:148px!important;border-radius:16px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-info{padding:2px 2px 2px 0!important;display:flex!important;flex-direction:column!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-title-row h3{font-size:18px!important;margin:4px 0 5px!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-info p{font-size:13px!important;line-height:1.35!important;min-height:0!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mini-options{margin-top:6px!important;gap:4px!important;max-height:48px!important;overflow:hidden!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .food-footer strong{font-size:19px!important}

  /* Persistent, unmistakable Cart dock on tablet/split-screen. It stays discoverable even when empty. */
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button.mobile-cart-button,
  body.shop-page.cart-empty-v160[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button.mobile-cart-button{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(14px,env(safe-area-inset-bottom,0px))!important;
    transform:translateX(-50%)!important;
    width:min(520px,calc(100% - 32px))!important;
    max-width:calc(100% - 32px)!important;
    min-height:58px!important;
    height:auto!important;
    z-index:2147482000!important;
    padding:10px 16px!important;
    border:1px solid color-mix(in srgb,var(--customer-brand-v568) 76%,var(--customer-text-v568))!important;
    border-radius:18px!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    box-shadow:0 18px 46px color-mix(in srgb,var(--customer-text-v568) 24%,transparent)!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button span,
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button strong{color:inherit!important;font-weight:950!important}
  body.shop-page.cart-open[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button,
  body.shop-page.item-modal-open-v130[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button,
  body.shop-page.item-modal-open-v523[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* Compact tablet / split-view: two categories and one item card per row. */
@media(min-width:768px) and (max-width:899px){
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .shop-header{
    grid-template-columns:1fr!important;
    grid-template-areas:"brand" "nav" "mode"!important;
    gap:7px!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-nav-v306{justify-content:flex-start!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mode-switch{width:100%!important;max-width:100%!important}
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-toolbar{grid-template-columns:1fr!important}
  body.shop-page.category-first-v496[data-staff-table-order="false"][data-staff-quick-order="false"] .customer-category-grid-v494{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.shop-page.category-first-v496.category-selected-v494[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-grid,
  body.shop-page.category-first-v496.category-searching-v494[data-staff-table-order="false"][data-staff-quick-order="false"] .menu-grid{grid-template-columns:1fr!important}
}

/* Phone app already has a persistent bottom navigation Cart action. Keep only one cart launcher. */
@media(max-width:767px){
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] #mobile-cart-button{display:none!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mobile-bottom-nav-v132{
    background:color-mix(in srgb,var(--customer-surface-v568) 96%,transparent)!important;
    border-color:var(--customer-line-v568)!important;
  }
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mobile-bottom-nav-v132 a{color:var(--customer-muted-v568)!important}
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] .mobile-bottom-nav-v132 .active-v132{color:var(--customer-brand-v568)!important;background:var(--customer-soft-v568)!important}
}

@media(prefers-reduced-motion:reduce){
  body.shop-page[data-staff-table-order="false"][data-staff-quick-order="false"] *{scroll-behavior:auto!important;transition:none!important}
}
