/* TasheelExpress v73.3 — KSA header parity + RTL-safe geometry + seamless evidence bands */

/* Header: one explicit geometry owner on tablet/mobile widths.  English is the
   layout reference.  RTL languages mirror the same slots, not the contents. */
@media (max-width:1180px){
  .tx-global-header-v26{overflow:visible!important}
  .tx-global-header-v26 .txgh-inner{
    display:grid!important;
    grid-template-columns:max-content minmax(170px,1fr) 58px max-content!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:96px!important;height:auto!important;
    padding:14px clamp(12px,2vw,24px)!important;
    column-gap:clamp(9px,1.35vw,18px)!important;
    box-sizing:border-box!important;
    direction:ltr!important;
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-inner{
    grid-template-columns:max-content 58px minmax(170px,1fr) max-content!important;
    grid-template-areas:"actions menu market brand"!important;
  }
  .tx-global-header-v26 .txgh-logo{
    grid-area:brand!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:auto!important;min-width:0!important;max-width:220px!important;margin:0!important;padding:0!important;
    overflow:visible!important;text-decoration:none!important;line-height:1!important;white-space:nowrap!important
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-logo{direction:rtl!important;justify-self:end!important;text-align:right!important}
  html:not([dir="rtl"]) .tx-global-header-v26 .txgh-logo{direction:ltr!important;justify-self:start!important;text-align:left!important}
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{
    display:block!important;width:clamp(132px,16vw,166px)!important;max-width:166px!important;height:auto!important;max-height:68px!important;
    object-fit:contain!important;object-position:center!important;margin:0!important
  }
  .tx-global-header-v26 .tx-localized-brand{
    display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;
    width:auto!important;max-width:220px!important;min-width:0!important;overflow:visible!important;
    color:#fff!important;text-decoration:none!important;white-space:nowrap!important
  }
  html[dir="rtl"] .tx-global-header-v26 .tx-localized-brand{direction:rtl!important;flex-direction:row!important}
  html:not([dir="rtl"]) .tx-global-header-v26 .tx-localized-brand{direction:ltr!important;flex-direction:row!important}
  .tx-global-header-v26 .tx-localized-brand .tx-brand-mark{
    display:block!important;flex:0 0 38px!important;width:38px!important;max-width:38px!important;height:52px!important;max-height:52px!important;
    object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important
  }
  .tx-global-header-v26 .tx-localized-brand .tx-brand-wordmark-local{
    display:block!important;min-width:0!important;max-width:170px!important;margin:0!important;padding:0!important;
    overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;text-decoration:none!important;
    color:#fff!important;font-size:clamp(17px,2.15vw,22px)!important;font-weight:850!important;line-height:1.08!important
  }
  html[lang="hi"] .tx-global-header-v26 .tx-brand-wordmark-local,
  html[lang="ml"] .tx-global-header-v26 .tx-brand-wordmark-local{font-size:clamp(15px,1.9vw,20px)!important}

  .tx-global-header-v26 .tx-market-switch{
    grid-area:market!important;justify-self:stretch!important;align-self:center!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;max-width:340px!important;min-width:0!important;margin:0!important;padding:4px!important;
    overflow:hidden!important;box-sizing:border-box!important;direction:inherit!important
  }
  .tx-global-header-v26 .tx-market-switch>a,
  .tx-global-header-v26 .tx-market-switch>span{
    min-width:0!important;max-width:100%!important;min-height:42px!important;padding-inline:clamp(8px,1.2vw,14px)!important;
    font-size:clamp(11px,1.45vw,15px)!important;line-height:1!important;overflow:hidden!important
  }
  .tx-global-header-v26 .tx-market-switch .market-word{
    display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
  }
  .tx-global-header-v26 .tx-market-switch .tx-market-global-icon{
    display:block!important;flex:0 0 27px!important;width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important;
    object-fit:contain!important;margin:0!important
  }

  .tx-global-header-v26 .txgh-mobile{
    grid-area:menu!important;justify-self:center!important;align-self:center!important;
    display:flex!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
    margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:14px!important;
    background:rgba(255,255,255,.05)!important;color:#fff!important;font-size:0!important;overflow:hidden!important
  }
  .tx-global-header-v26 .tx-hamburger-line{width:25px!important;height:2px!important;flex:0 0 2px!important;margin:0!important;background:#fff!important}

  .tx-global-header-v26 .txgh-actions{
    grid-area:actions!important;justify-self:end!important;align-self:center!important;display:flex!important;align-items:center!important;
    gap:clamp(7px,.9vw,12px)!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;white-space:nowrap!important
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-actions{direction:rtl!important;justify-self:start!important}
  .tx-global-header-v26 .tx-search-trigger{flex:0 0 54px!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;margin:0!important}
  .tx-global-header-v26 .txgh-login,.tx-global-header-v26 .txgh-quote{
    display:inline-flex!important;min-height:52px!important;padding-inline:clamp(13px,1.6vw,22px)!important;
    font-size:clamp(12px,1.55vw,16px)!important;line-height:1!important;max-width:180px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
  }

  /* The original inline links are only a data source for the JS-created dropdown. */
  .tx-global-header-v26 .txgh-mobile-inline-langs{display:none!important}
  .tx-global-header-v26>.tx-language-rail-shell.tx-language-dropdown-shell{clear:both!important}

  /* Saudi market rail uses the same geometry for every language; only direction mirrors. */
  .tx-saudi-marketbar{overflow:hidden!important}
  .tx-saudi-marketbar>.inner{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:clamp(18px,3.2vw,42px)!important;
    width:100%!important;max-width:1540px!important;margin:0 auto!important;padding:16px clamp(18px,4vw,54px)!important;
    box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none!important
  }
  .tx-saudi-marketbar>.inner::-webkit-scrollbar{display:none!important}
  .tx-saudi-marketbar>.inner>*{flex:0 0 auto!important;margin:0!important}
  html[dir="rtl"] .tx-saudi-marketbar>.inner{direction:rtl!important}
  html:not([dir="rtl"]) .tx-saudi-marketbar>.inner{direction:ltr!important}
}

@media (max-width:960px){
  .tx-global-header-v26 .txgh-inner{column-gap:8px!important;padding-inline:12px!important}
  .tx-global-header-v26 .txgh-logo{max-width:180px!important}
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{width:134px!important;max-width:134px!important}
  .tx-global-header-v26 .tx-localized-brand{max-width:180px!important;gap:7px!important}
  .tx-global-header-v26 .tx-localized-brand .tx-brand-mark{flex-basis:31px!important;width:31px!important;max-width:31px!important;height:43px!important;max-height:43px!important}
  .tx-global-header-v26 .tx-localized-brand .tx-brand-wordmark-local{max-width:142px!important;font-size:16px!important}
  html[lang="hi"] .tx-global-header-v26 .tx-brand-wordmark-local,html[lang="ml"] .tx-global-header-v26 .tx-brand-wordmark-local{font-size:14.5px!important}
  .tx-global-header-v26 .tx-market-switch{max-width:290px!important}
  .tx-global-header-v26 .tx-market-switch>a,.tx-global-header-v26 .tx-market-switch>span{font-size:12px!important;padding-inline:9px!important}
  .tx-global-header-v26 .txgh-login,.tx-global-header-v26 .txgh-quote{font-size:12px!important;padding-inline:12px!important;max-width:145px!important}
}

@media (max-width:760px){
  .tx-global-header-v26 .txgh-inner{
    grid-template-columns:max-content minmax(92px,1fr) 48px 48px!important;
    grid-template-areas:"brand market menu actions"!important;min-height:82px!important;padding:10px!important
  }
  html[dir="rtl"] .tx-global-header-v26 .txgh-inner{
    grid-template-columns:48px 48px minmax(92px,1fr) max-content!important;
    grid-template-areas:"actions menu market brand"!important
  }
  .tx-global-header-v26 .txgh-logo{max-width:145px!important}
  .tx-global-header-v26 .txgh-logo>.tx-brand-logo{width:112px!important;max-width:112px!important}
  .tx-global-header-v26 .tx-localized-brand{max-width:145px!important;gap:5px!important}
  .tx-global-header-v26 .tx-localized-brand .tx-brand-mark{flex-basis:25px!important;width:25px!important;max-width:25px!important;height:35px!important;max-height:35px!important}
  .tx-global-header-v26 .tx-localized-brand .tx-brand-wordmark-local{max-width:114px!important;font-size:13.5px!important}
  html[lang="hi"] .tx-global-header-v26 .tx-brand-wordmark-local,html[lang="ml"] .tx-global-header-v26 .tx-brand-wordmark-local{font-size:12px!important}
  .tx-global-header-v26 .tx-market-switch{max-width:none!important;padding:3px!important}
  .tx-global-header-v26 .tx-market-switch>a,.tx-global-header-v26 .tx-market-switch>span{min-height:36px!important;padding-inline:6px!important;font-size:10px!important}
  .tx-global-header-v26 .tx-market-switch .market-word{display:none!important}
  .tx-global-header-v26 .tx-market-switch .tx-market-global-icon{width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;flex-basis:23px!important}
  .tx-global-header-v26 .txgh-mobile{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;border-radius:12px!important}
  .tx-global-header-v26 .txgh-actions{display:flex!important}
  .tx-global-header-v26 .txgh-actions>.txgh-login,.tx-global-header-v26 .txgh-actions>.txgh-quote{display:none!important}
  .tx-global-header-v26 .tx-search-trigger{display:grid!important;flex-basis:46px!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important}
}

/* Evidence/client passing bands: explicit LTR motion canvas for geometry, RTL only
   inside RTL cards.  This prevents the entire track from being positioned off-canvas. */
.tx68-marquee{direction:ltr!important;overflow:hidden!important;position:relative!important}
.tx68-marquee .tx68-track,
.tx-v68-testimonials .tx68-testimonial-track{
  display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;justify-content:flex-start!important;
  width:max-content!important;max-width:none!important;min-width:max-content!important;margin:0!important;
  position:relative!important;inset:auto!important;left:0!important;right:auto!important;
  direction:ltr!important;visibility:visible!important;opacity:1!important;
  animation:none!important;transition:none!important;
  transform:translate3d(var(--tx-v733-loop-x,0px),0,0)!important;
  will-change:transform!important;backface-visibility:hidden!important
}
.tx68-marquee .tx68-track{align-items:center!important}
.tx-v68-testimonials{height:auto!important;min-height:0!important;overflow:hidden!important}
.tx-v68-testimonials .tx68-marquee{width:100%!important;min-height:230px!important;overflow:hidden!important;direction:ltr!important}
.tx-v68-testimonials .tx68-testimonial-track{gap:24px!important;padding:12px 0 18px!important}
.tx-v68-testimonials .tx68-testimonial{
  display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 min(460px,82vw)!important;width:min(460px,82vw)!important;
  min-height:210px!important;box-sizing:border-box!important;transform:none!important
}
html[dir="rtl"] .tx-v68-testimonials .tx68-head{direction:rtl!important;text-align:center!important}
html[dir="rtl"] .tx-v68-testimonials .tx68-testimonial{direction:rtl!important;text-align:right!important}
html:not([dir="rtl"]) .tx-v68-testimonials .tx68-testimonial{direction:ltr!important;text-align:left!important}
.tx68-marquee .tx6811-logo-set{display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;direction:ltr!important}
@media(max-width:720px){
  .tx-v68-testimonials .tx68-marquee{min-height:220px!important}
  .tx-v68-testimonials .tx68-testimonial{flex-basis:min(420px,84vw)!important;width:min(420px,84vw)!important;min-height:196px!important}
}

/* v73.4 — logo-only header safeguard */
.tx-global-header-v26 .tx-brand-wordmark-local{display:none!important}
.tx-global-header-v26 .tx-localized-brand{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:none!important;gap:0!important}
.tx-global-header-v26 .tx-localized-brand .tx-brand-mark{display:block!important;flex:0 0 auto!important}
