/* OrderBite phone portrait language switch — true viewport middle-right v2 */
@media (max-width:620px) and (orientation:portrait){
  .customer-menu-page .menu-header > .menu-shell{
    flex-wrap:nowrap!important;
    gap:8px;
  }
  .customer-menu-page .menu-header .restaurant-identity{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .customer-menu-page .menu-header .restaurant-identity>div{min-width:0!important}
  .customer-menu-page .menu-header .restaurant-identity h1{
    max-width:min(51vw,205px)!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .customer-menu-page .menu-header .cart-trigger{
    order:initial!important;
    flex:0 0 auto!important;
    margin-left:auto!important;
  }

  body.customer-menu-page > .menu-language-switch.menu-language-switch-floating,
  body.customer-menu-page.menu-lang-rtl > .menu-language-switch.menu-language-switch-floating{
    position:fixed!important;
    top:50%!important;
    right:max(8px,env(safe-area-inset-right))!important;
    left:auto!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    z-index:48!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:44px!important;
    padding:4px!important;
    margin:0!important;
    box-sizing:border-box!important;
    border:2px solid var(--ink,#17120e)!important;
    border-radius:13px!important;
    background:rgba(255,253,248,.97)!important;
    box-shadow:3px 3px 0 var(--ink,#17120e)!important;
    direction:ltr!important;
    pointer-events:auto!important;
    isolation:isolate;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }
  body.customer-menu-page > .menu-language-switch.menu-language-switch-floating a{
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
    margin:0!important;
    border-radius:8px!important;
    line-height:1!important;
  }
  body.customer-menu-page > .menu-language-switch.menu-language-switch-floating a b{
    font-size:10px!important;
    line-height:1!important;
  }
  body.customer-menu-page > .menu-language-switch.menu-language-switch-floating a span{display:none!important}
}
