/* TasheelExpress v73.7 — force one KSA header geometry across all languages.
   Same official logo image, same market-switch size/position, RTL mirrors slots only. */
@media (max-width:1180px){
  .tx-global-header-v26 .txgh-inner{
    display:grid!important;
    grid-template-columns:158px 260px minmax(0,1fr) 54px 54px!important;
    grid-template-areas:"brand market . menu actions"!important;
    align-items:center!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    min-height:88px!important;height:auto!important;
    padding:12px clamp(12px,2vw,22px)!important;
    column-gap:12px!important;row-gap:0!important;
    direction:ltr!important;box-sizing:border-box!important;overflow:visible!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-inner{
    grid-template-columns:54px 54px minmax(0,1fr) 260px 158px!important;
    grid-template-areas:"actions menu . market brand"!important;
    direction:ltr!important;
  }
  .tx-global-header-v26 .txgh-logo{
    grid-area:brand!important;justify-self:start!important;align-self:center!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:158px!important;min-width:158px!important;max-width:158px!important;
    height:64px!important;min-height:64px!important;max-height:64px!important;
    margin:0!important;padding:0!important;overflow:visible!important;
    transform:none!important;translate:none!important;scale:1!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-logo{justify-self:end!important;justify-content:flex-end!important}
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{
    display:block!important;width:158px!important;min-width:158px!important;max-width:158px!important;
    height:64px!important;max-height:64px!important;object-fit:contain!important;object-position:center!important;
    margin:0!important;padding:0!important;transform:none!important;filter:none!important;
  }
  .tx-global-header-v26 .tx-market-switch{
    grid-area:market!important;justify-self:start!important;align-self:center!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:260px!important;min-width:260px!important;max-width:260px!important;height:58px!important;
    margin:0!important;padding:4px!important;box-sizing:border-box!important;overflow:hidden!important;
    direction:ltr!important;transform:none!important;z-index:2!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .tx-market-switch{justify-self:end!important}
  .tx-global-header-v26 .tx-market-switch>span,.tx-global-header-v26 .tx-market-switch>a{
    flex:0 0 50%!important;width:50%!important;min-width:50%!important;max-width:50%!important;
    height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;
    margin:0!important;padding:0 8px!important;box-sizing:border-box!important;overflow:hidden!important;white-space:nowrap!important;
  }
  .tx-global-header-v26 .tx-market-switch .tx-market-global-icon{
    width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;max-height:28px!important;
    object-fit:contain!important;margin:0!important;transform:none!important;
  }
  .tx-global-header-v26 .txgh-mobile{grid-area:menu!important;justify-self:center!important}
  .tx-global-header-v26 .txgh-actions{grid-area:actions!important;justify-self:center!important}
}
@media (max-width:1040px){
  .tx-global-header-v26 .txgh-inner{
    grid-template-columns:132px 220px minmax(0,1fr) 54px 54px!important;
    grid-template-areas:"brand market . menu actions"!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-inner{
    grid-template-columns:54px 54px minmax(0,1fr) 220px 132px!important;
    grid-template-areas:"actions menu . market brand"!important;
  }
  .tx-global-header-v26 .txgh-logo{width:132px!important;min-width:132px!important;max-width:132px!important;height:58px!important;max-height:58px!important}
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{width:132px!important;min-width:132px!important;max-width:132px!important;height:58px!important;max-height:58px!important}
  .tx-global-header-v26 .tx-market-switch{width:220px!important;min-width:220px!important;max-width:220px!important;height:56px!important}
  .tx-global-header-v26 .tx-market-switch .market-word{display:none!important}
}
@media (max-width:760px){
  .tx-global-header-v26 .txgh-inner{
    grid-template-columns:94px minmax(108px,1fr) 46px 46px!important;
    grid-template-areas:"brand market menu actions"!important;
    min-height:78px!important;padding:10px!important;column-gap:7px!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-inner{
    grid-template-columns:46px 46px minmax(108px,1fr) 94px!important;
    grid-template-areas:"actions menu market brand"!important;
  }
  .tx-global-header-v26 .txgh-logo{
    width:94px!important;min-width:94px!important;max-width:94px!important;height:50px!important;max-height:50px!important;
  }
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{
    width:94px!important;min-width:94px!important;max-width:94px!important;height:50px!important;max-height:50px!important;
  }
  .tx-global-header-v26 .tx-market-switch{
    justify-self:stretch!important;width:100%!important;min-width:108px!important;max-width:none!important;height:50px!important;padding:3px!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .tx-market-switch{justify-self:stretch!important}
  .tx-global-header-v26 .tx-market-switch>span,.tx-global-header-v26 .tx-market-switch>a{height:42px!important;min-height:42px!important;padding:0 3px!important}
  .tx-global-header-v26 .tx-market-switch .tx-market-global-icon{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;max-height:24px!important}
}
@media (max-width:420px){
  .tx-global-header-v26 .txgh-inner{
    grid-template-columns:82px minmax(96px,1fr) 44px 44px!important;
    grid-template-areas:"brand market menu actions"!important;
    padding:8px!important;column-gap:5px!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-inner{
    grid-template-columns:44px 44px minmax(96px,1fr) 82px!important;
    grid-template-areas:"actions menu market brand"!important;
  }
  .tx-global-header-v26 .txgh-logo{width:82px!important;min-width:82px!important;max-width:82px!important;height:46px!important;max-height:46px!important}
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{width:82px!important;min-width:82px!important;max-width:82px!important;height:46px!important;max-height:46px!important}
  .tx-global-header-v26 .tx-market-switch{min-width:96px!important;height:46px!important}
  .tx-global-header-v26 .tx-market-switch>span,.tx-global-header-v26 .tx-market-switch>a{height:38px!important;min-height:38px!important}
}
