/*
 * RTL corrections.
 *
 * The theme is built with CSS logical properties, so it flips on its own.
 * This file only patches WooCommerce core rules that still use physical
 * floats and directions, plus the two drawers that slide in from a side.
 */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce ul.products li.product {
  float: none;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-checkout .form-row label,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  text-align: right;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li { margin-right: 0; }

.woocommerce .quantity input.qty { direction: ltr; }

.pg-price, .woocommerce div.product p.price { direction: ltr; justify-content: flex-end; }
.pg-card__foot .pg-price { justify-content: flex-start; }

/* Latin brand strings and codes stay left to right inside an RTL page */
.pg-card__brand,
.pg-course__code,
.pg-data,
.pg-pay span,
.pg-brands a { direction: ltr; unicode-bidi: isolate; }
