/* v820 fast mobile order search: branded, single-column and keyboard aware.
   Uses existing Staff/Customer appearance variables; no hardcoded restaurant palette. */
body.shop-page .search-box .tt-search-actions-v820{display:flex;align-items:center;gap:5px;margin-inline-start:5px;flex:0 0 auto}
body.shop-page .search-box .tt-search-actions-v820 button{background:var(--app-secondary-v703,var(--customer-secondary-button-bg-v701,#f2e5d5));color:var(--app-secondary-text-v703,var(--customer-secondary-button-text-v701,#352522));border:1px solid var(--app-border-v701,var(--customer-border-v691,#a88d6e));border-radius:10px;min-height:38px;padding:5px 9px;font-weight:800;font-size:13px}
body.shop-page .search-box .tt-search-actions-v820 button[hidden]{display:none!important}
body.shop-page .search-box .tt-search-done-v820{display:none}
body.shop-page .tt-search-summary-v820{font-size:13px;font-weight:750;color:var(--app-muted-v701,var(--customer-muted-text-v701,#64564c));padding:8px 12px;background:var(--app-card-v701,var(--customer-card-background-v691,#fff));border-radius:12px;margin:6px 0}
body.shop-page .tt-search-summary-v820[hidden]{display:none!important}
@media(max-width:767px){
  body.shop-page .menu-toolbar .search-box{min-width:0;width:100%;max-width:100%;display:flex;align-items:center}
  body.shop-page .menu-toolbar .search-box input#menu-search{min-width:0;flex:1 1 auto;font-size:16px!important;max-width:100%;height:44px}
  body.shop-page .search-box .tt-search-done-v820{display:inline-flex;align-items:center;justify-content:center}
  body.shop-page.tt-menu-search-focused-v820 .menu-toolbar{position:sticky!important;top:0!important;z-index:35!important;padding:8px 2px 7px!important;margin-top:0!important;background:var(--app-page-v701,var(--customer-page-bg-v691,#f7f3ec))!important;box-shadow:0 4px 10px rgba(0,0,0,.06)}
  body.shop-page.tt-menu-search-focused-v820 .menu-toolbar > div:first-child:not(.search-box){display:none!important}
  body.shop-page.tt-menu-search-focused-v820 #customer-category-first-v494,
  body.shop-page.tt-menu-search-focused-v820 #customer-menu-nav-v494,
  body.shop-page.tt-menu-search-focused-v820 #customer-category-context-v497,
  body.shop-page.tt-menu-search-focused-v820 #customer-more-categories-v497,
  body.shop-page.tt-menu-search-focused-v820 .category-strip{display:none!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:0!important;min-width:0!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .premium-food-card:not([hidden]){display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;min-height:82px!important;padding:6px!important;margin:0!important;overflow:visible!important;box-shadow:none!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .food-media{width:72px!important;height:72px!important;min-height:72px!important;max-height:72px!important;border-radius:10px!important;overflow:hidden!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .food-media img{width:100%!important;height:100%!important;object-fit:cover!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .food-info{min-width:0!important;padding:2px 4px!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .food-info p,
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .mini-options,
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .featured-badge,
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .heart{display:none!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .food-title-row h3{font-size:15px!important;line-height:1.25!important;margin:0!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .food-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:6px!important;padding:0!important}
  body.shop-page.tt-menu-search-focused-v820 .menu-grid .add-btn{min-height:40px!important;min-width:58px!important;padding:7px 13px!important;border-radius:12px!important}
  /* Customer/Staff bottom cart stays available; OS keyboard takes priority when open. */
  body.shop-page.tt-menu-keyboard-open-v820 .mobile-cart-button-v33{bottom:calc(env(safe-area-inset-bottom,0px) + 5px)!important}
}
@media(prefers-reduced-motion:reduce){body.shop-page.tt-menu-search-focused-v820 .premium-food-card{transition:none!important;animation:none!important}}
