/* GLite money direction patch 0.9.09 — presentation only.
 * WooCommerce's "left (with space)" output is currency symbol then amount in
 * DOM order; isolate that order from the surrounding Persian RTL interface.
 * Avoid affecting site-wide prices, checkout math, and non-money labels.
 */
:is(
  .glite-cart,
  .glite-cart-mobile-bar,
  .glite-header-cart-shell,
  .glite-header-cart,
  .glite-qc-panel,
  .glite-hqc-panel,
  .glite-quick-cart,
  .glite-checkout,
  .glite-checkout-aside,
  .glite-payment-totals,
  .glite-payment-review,
  .glite-purchase-sticky,
  body.woocommerce-cart,
  body.woocommerce-checkout
) .woocommerce-Price-amount bdi {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline;
  white-space: nowrap;
}

/* This small label is composed in JavaScript (not via wc_price()). Its
 * currency-first text follows the same physical ordering as left_space.
 */
.glite-shipping-card__price {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline;
  gap: 3px;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap;
}
