/* Barid US — English (LTR) layer.
 * Loaded only when the page is served in English (barid_is_en()).
 * Mirrors the handful of RTL-specific rules in barid.css / chrome.css / forms.css
 * and switches the Latin typeface. Everything else already uses logical properties. */

body.lang-en{font-family:"Plus Jakarta Sans","IBM Plex Sans Arabic",system-ui,-apple-system,sans-serif}
body.lang-en h1,body.lang-en h2,body.lang-en h3,body.lang-en h4,body.lang-en h5,body.lang-en h6,
body.lang-en .bc-word b,body.lang-en .fact b,body.lang-en .rf b,body.lang-en .price,body.lang-en .fee span,
body.lang-en .q button,body.lang-en .bc-btn,body.lang-en .cta h2{font-family:"Plus Jakarta Sans",sans-serif}
body.lang-en h1,body.lang-en h2{letter-spacing:-.025em}
body.lang-en h1{line-height:1.12}

/* Containers other plugins still stamp as rtl (calculator, forms). */
body.lang-en [dir="rtl"]{direction:ltr}
body.lang-en .bc-top,body.lang-en .bc-hdr,body.lang-en .bc-drawer,body.lang-en .barid-footer{direction:ltr}
body.lang-en .bs-wrap,body.lang-en .entry-content [dir="rtl"]{direction:ltr;text-align:left}

/* Mirrored alignments (rules that use physical text-align:right for Arabic). */
body.lang-en th,body.lang-en .cmp th,body.lang-en .cmp td,body.lang-en .zone,body.lang-en .q button,
body.lang-en .track input,body.lang-en .field input,body.lang-en .field select,
body.lang-en .price,body.lang-en .price-sar,
body.lang-en .user-registration .field-user_email input{text-align:left}
body.lang-en .field select,body.lang-en .track input{direction:ltr}
body.lang-en .bar-val{text-align:right}

/* Mega menu is centred with a translateX that flips with direction. */
body.lang-en .bc-mega{transform:translateX(-50%) translateY(-6px)}
body.lang-en .bc-has-mega:hover .bc-mega,body.lang-en .bc-has-mega:focus-within .bc-mega,
body.lang-en .bc-has-mega.is-open .bc-mega{transform:translateX(-50%) translateY(0)}

/* Latin text no longer needs isolation tricks meant for mixed RTL lines. */
body.lang-en .lat{unicode-bidi:normal}

/* Wordmark: the Arabic name + Latin small-caps pair becomes a duplicate in English. */
body.lang-en .bc-word span{display:none}
body.lang-en .bc-word b{font-size:21px;letter-spacing:-.3px}

/* The language bar speaks the language it offers, so it keeps its own direction. */
body.lang-en .bc-langbar[dir="rtl"]{direction:rtl}
body.lang-en .bc-langbar[lang="ar"]{font-family:"Tajawal",sans-serif}
