/* Alalaas i18n v2: legibility fixes only. Existing page layout and payment CSS untouched. */
html[lang="ar"] { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
html[dir="rtl"] input[type="number"], html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="date"],
html[dir="rtl"] [data-currency], html[dir="rtl"] [data-phone],
html[dir="rtl"] .price, html[dir="rtl"] .product-price,
html[dir="rtl"] .invoice-number, html[dir="rtl"] .order-number {
  direction:ltr;
  unicode-bidi:isolate;
}
html[dir="rtl"] .al-i18n-control, html[dir="rtl"] .al-i18n-menu { direction:ltr; }
/* Keep controls and LTR reference numbers readable without mirroring images/icons. */
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] {unicode-bidi:isolate;}
html[dir="rtl"] img, html[dir="rtl"] video, html[dir="rtl"] canvas { transform:none; }
html[dir="rtl"] input::placeholder, html[dir="rtl"] textarea::placeholder {text-align:start;}
/* Natural wrapping for longer Somali and Arabic navigation labels. */
html[lang="ar"] .al-i18n-panel-slot, html[lang="so"] .al-i18n-panel-slot {min-width:max-content;}
