/* AUTO LTR v1.2 — frontend only. Never affects WP admin or saved content. */
html[dir="ltr"] body.ysal-english-ltr {
  direction: ltr !important;
}
/* Text direction is inherited by every descendant, including 3rd-party Elementor
 * and WooCommerce widgets. This intentionally does NOT force left alignment,
 * change product copy, reverse Flexbox layout or flip logos/icons. */
body.ysal-english-ltr,
body.ysal-english-ltr * {
  direction: ltr !important;
}
/* Override hard-coded RTL direction attributes on text controls and menu wrappers. */
body.ysal-english-ltr :is(
  header, footer, nav, main, form, input, select, textarea, button, label,
  .site-header, .site-footer, .elementor-location-header, .elementor-location-footer,
  .elementor-widget-container, .wp-block-navigation, .woocommerce, .woocommerce-page,
  .e-con, .elementor-container, .woocommerce-checkout, .woocommerce-cart
) { direction: ltr !important; }
body.ysal-english-ltr :is(input, textarea, select, .select2-search__field) {
  text-align: start;
}
/* Isolate numbers / amounts without changing prices or product content. */
body.ysal-english-ltr :is(.woocommerce-Price-amount, .amount, .price, [data-price]) {
  unicode-bidi: isolate;
}
/* Keep semantic centered text, intentional alignment, and icon orientation. */
@media (prefers-reduced-motion: reduce) {
  body.ysal-english-ltr { scroll-behavior: auto; }
}
