/* Arabic / RTL layer for /ar/ pages. Loaded after the Webflow CSS.
   Font: Tajawal (SIL Open Font License, self-hosted in assets/fonts/tajawal). */
@font-face{font-family:"Tajawal";font-style:normal;font-weight:300;font-display:swap;src:url(fonts/tajawal/tajawal-arabic-300-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:300;font-display:swap;src:url(fonts/tajawal/tajawal-latin-300-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/tajawal/tajawal-arabic-400-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/tajawal/tajawal-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/tajawal/tajawal-arabic-500-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/tajawal/tajawal-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/tajawal/tajawal-arabic-700-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/tajawal/tajawal-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/tajawal/tajawal-arabic-800-normal.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Tajawal";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/tajawal/tajawal-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

html[dir="rtl"]{--jm-ar-font:"Tajawal",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif}
html[dir="rtl"] body,
html[dir="rtl"] body :where(h1,h2,h3,h4,h5,h6,p,a,span,div,li,label,button,input,select,textarea,blockquote,figcaption,strong,em,small,td,th):not(.material-symbols-outlined):not(.material-icons){
  font-family:var(--jm-ar-font)!important;letter-spacing:0!important}
html[dir="rtl"] :where(h1,h2,h3,h4,h5,h6){line-height:1.3}
html[dir="rtl"] :where(p,li){line-height:1.75}
/* keep phone numbers, emails, model codes left-to-right inside Arabic text */
html[dir="rtl"] a[href^="tel:"],html[dir="rtl"] a[href^="mailto:"],html[dir="rtl"] .jmc__card-m{direction:ltr;unicode-bidi:isolate}

/* Page-level: IX2 entrance animations start some cards off-canvas; in RTL that overflow becomes scrollable. clip (not hidden) keeps position:sticky working. */
html[dir="rtl"] body>section,html[dir="rtl"] body>.section,html[dir="rtl"] body>.footer{overflow-x:clip}

/* Horizontal category slider (IX2 a-12 moves each card toward -X while scrolling).
   Mirror the track so motion runs right-to-left, then un-mirror each card's content. Uses the independent `scale`
   property so it composes with the IX2 inline transform (no JS / interaction changes). */
html[dir="rtl"] .service-slide-div{direction:ltr;scale:-1 1}
html[dir="rtl"] .service-slide-div>.services-card>.service-wrapper,
html[dir="rtl"] .service-slide-div>.services-card>.service-image-div{scale:-1 1;direction:rtl}
/* "How to order" step slider: same IX2 horizontal motion as the category slider */
html[dir="rtl"] .work-slide-div{direction:ltr;scale:-1 1}
html[dir="rtl"] .work-slide-div>.work-card>*{scale:-1 1;direction:rtl}
/* stat counters (2014, 11+, 150+, 6,000+) read the same as English */
html[dir="rtl"] .our-edge-number{direction:ltr;unicode-bidi:isolate}
/* English product data (names, specs, model codes, rich descriptions) inside RTL layout:
   detect direction per paragraph so "7.5 hp; 20-inch cutting" doesn't get reordered, keep right alignment. */
html[dir="rtl"] .jm-card-title,html[dir="rtl"] .jm-card-meta,html[dir="rtl"] .jm-card-title span,html[dir="rtl"] .jm-card-meta span,
html[dir="rtl"] main h1,html[dir="rtl"] .KjTQZ p,html[dir="rtl"] .KjTQZ span:not(.cpyBgD),html[dir="rtl"] [data-testid="pdp-breadcrumbs"]>span:last-child,
html[dir="rtl"] span.cpyBgD{unicode-bidi:plaintext;text-align:right}
