/* V152 — keep 2/4 view controls and item count on one line */
@media (min-width:721px){
  body.order-redesign .result-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    padding:14px 18px!important;
  }

  body.order-redesign .result-head h2{
    margin:0!important;
    flex:1 1 auto!important;
    min-width:0!important;
  }

  body.order-redesign .result-head-right{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:14px!important;
    flex:0 0 auto!important;
    margin:0!important;
    min-width:max-content!important;
    white-space:nowrap!important;
  }

  body.order-redesign .mobile-view-toggle{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
  }

  body.order-redesign .view-toggle-btn{
    min-width:68px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 14px!important;
    margin:0!important;
    white-space:nowrap!important;
  }

  body.order-redesign #resultCount,
  body.order-redesign .result-head .count{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:max-content!important;
    min-height:36px!important;
    height:36px!important;
    margin:0!important;
    padding:0 14px!important;
    white-space:nowrap!important;
  }
}

/* Narrow desktop: keep the same line but compact spacing/sizing */
@media (min-width:721px) and (max-width:980px){
  body.order-redesign .result-head{gap:10px!important;padding:12px 14px!important;}
  body.order-redesign .result-head-right{gap:8px!important;}
  body.order-redesign .mobile-view-toggle{gap:6px!important;}
  body.order-redesign .view-toggle-btn{min-width:58px!important;padding:0 10px!important;}
  body.order-redesign #resultCount,
  body.order-redesign .result-head .count{padding:0 10px!important;}
}
