/*
 * RabtPCS Theme — rtl.css
 * This is an Arabic-first theme: RTL is the DEFAULT direction in base.css.
 * This file handles edge cases where WordPress auto-RTL flips things incorrectly,
 * or where LTR sub-elements need explicit overrides.
 */

/* Preserve LTR for data-entry fields */
input[type="email"],
input[type="url"],
input[type="number"],
input[type="tel"] {
  direction: ltr;
  text-align: end; /* Align right visually in RTL context */
}

/* WooCommerce price display (numbers are LTR) */
.woocommerce .price,
.woocommerce .amount {
  direction: ltr;
  unicode-bidi: embed;
}

/* Code blocks stay LTR */
code, pre {
  direction: ltr;
  text-align: left;
}

/* Social icon order (visual left-to-right) */
.rabtpcs-footer__social {
  flex-direction: row;
}