/* Arabic text reads naturally while all components keep the English layout. */
html[lang="ar"],
html[lang="ar"] body { direction: ltr; }
html[lang="ar"] body { font-family:var(--cintrl-font); text-align: left; }

/* Resolve each paragraph from its text, without reversing flex/grid children.
   Alignment, images, navigation, arrows and column positions stay shared. */
html[lang="ar"] :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,em,a,button,label,summary,th,td) {
  unicode-bidi: plaintext;
}
html[lang="ar"] :is(input,select,textarea) {
  direction: rtl;
  text-align: start;
  unicode-bidi: plaintext;
}
/* The native select arrow stays on the same side as the English control. */
html[lang="ar"] select { direction: ltr; text-align: left; }
html[lang="ar"] :is(input[type="email"],input[type="tel"],input[type="number"],input[name="whatsapp"],a[href^="mailto:"],a[href^="tel:"],.catalog-card-title h3,.catalog-model-code,.compare-model,.model-mark) {
  direction: ltr;
  unicode-bidi: isolate;
}
html[lang="ar"] .locale-arabic-text { direction: rtl; unicode-bidi: isolate; }
html[lang="ar"] .locale-ltr { direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] :is(.conversion-form,.landing-hero-copy,.catalog-hero-content,.resource-hero,.rc6-hero-copy) {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 767px) {
  html[lang="ar"] :is(.conversion-primary,.conversion-secondary,.landing-primary,.landing-secondary) {
    white-space: normal;
    height: auto;
    min-height: 44px;
  }
}
html[lang="ar"] .enquiry-trap {
  position: absolute !important;
  left: auto !important;
  right: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
}
html[lang="ar"] .skip-link:not(:focus) {
  left: auto;
  right: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
}
