/* Arabic (RTL) adjustments, loaded only on /ar/ pages. Source: content/arabic/ar.src.css (copied to dist/ar/ar.css). */
html[lang=ar] body,
html[lang=ar] :is(h1,h2,h3,h4,h5,h6,p,a,span,li,button,input,select,textarea,label,strong,small,td,th,dt,dd,summary,option,div,figcaption,em,b,legend,caption,blockquote) {
  font-family: Montserrat, "IBM Plex Sans Arabic", Tahoma, sans-serif !important;
}
/* Letter-spacing breaks the joins between Arabic letters. */
html[lang=ar] body, html[lang=ar] body * { letter-spacing: 0 !important; }
html[lang=ar] :is(h1,h2,h3) { line-height: 1.3 !important; }
html[lang=ar] input, html[lang=ar] textarea { text-align: right; }
html[lang=ar] :is(input[type=email], input[type=tel], input[type=url]) { direction: ltr; text-align: right; }
/* Phone numbers, emails and codes keep their left-to-right order inside Arabic sentences. */
html[lang=ar] a[href^="tel:"], html[lang=ar] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
/* Off-screen spam trap on the vendor form: park it to the right, which does not create a scroll area in RTL. */
html[dir=rtl] .vr-trap { left: auto !important; right: -10000px !important; }
html[lang=ar] form input:not([type=checkbox]):not([type=radio]), html[lang=ar] form select, html[lang=ar] form textarea { max-width: 100%; box-sizing: border-box; }
