/* (2026-10-27) Tablets (901–1180px, e.g. iPads and Android tablets in landscape) were getting the full desktop layout:
   the staff menu stayed fully open and squeezed the ordering area into a thin strip. Here the staff menu collapses to
   icons (tap ☰ to open it over the page, like phones), and the ordering area gets most of the width. */
@media(min-width:901px) and (max-width:1180px){
  body.staff-site-active{padding-left:60px}
  #staff-site-sidebar{width:60px}
  .staff-site-nav-group,.staff-site-nav-label,.staff-site-settings-chevron{display:none}
  .staff-site-settings-links{display:none!important}
  #staff-site-sidebar nav a,.staff-site-view,.staff-site-settings-toggle{justify-content:center}
  .staff-site-nav-toggle{display:block}
  #staff-site-sidebar.open{width:258px}
  #staff-site-sidebar.open .staff-site-nav-group{display:block}
  #staff-site-sidebar.open .staff-site-nav-label,#staff-site-sidebar.open .staff-site-settings-chevron{display:inline}
  #staff-site-sidebar.open nav a,#staff-site-sidebar.open .staff-site-view,#staff-site-sidebar.open .staff-site-settings-toggle{justify-content:flex-start}
  #staff-site-sidebar.open .staff-site-settings.open .staff-site-settings-links{display:block!important}

  .layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px;padding-left:18px;padding-right:18px}
  /* three tiles per row left the names ~25px wide ("To mat o"); fit as many ~190px tiles as there is room for */
  .pizza-controls .choice-grid.food-choice-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
  /* the pizza filters scrolled sideways and cut off "All pizzas"; let them wrap instead */
  .signature-filters{flex-wrap:wrap;justify-content:center;overflow:visible;max-width:100%;border-radius:18px}
  /* the category bar runs the full width (over the Your order column) with every tile shrunk to fit,
     and Your order starts below it */
  .builder-card{padding-left:20px!important;padding-right:20px!important}
  .builder-card .section-head{max-width:none!important}
  .builder-card .cat-bar.tabs{width:calc(100% + 338px)!important;max-width:none!important;overflow:visible!important;flex-wrap:nowrap!important;gap:6px!important;justify-content:space-between!important}
  .cat-bar .tab:not([hidden]){flex:1 1 0!important;min-width:0!important;padding-left:2px!important;padding-right:2px!important}
  .cat-bar .tab img{width:42px;height:42px}
  #cart.cart-card{margin-top:152px}
}
