/* Arabic / RTL overrides — higher specificity than styles.rtl.css (loads earlier in bundle order) */

html[dir="rtl"] .shopping-cart-page .cart-total-left span.selected-shipping-method, html[dir="rtl"] .checkout-page.spc .shopping-cart-page .cart-total-left span.selected-shipping-method {
  unicode-bidi: bidi-override;
  display: inline-block;
  direction: ltr;
}

html[dir="rtl"] .shopping-cart-page .cart-sidebar-totals .terms-of-service-text a.read,
html[dir="rtl"] .checkout-page.spc .shopping-cart-page .cart-sidebar-totals .terms-of-service-text a.read {
  font-family: var(--secondary-font);
}

/* Terms checkbox tick — centered checkmark in RTL */
html[dir="rtl"] .shopping-cart-page .cart-sidebar-totals .terms-of-service input[type="checkbox"]:checked::after,
html[dir="rtl"] .checkout-page.spc .shopping-cart-page .cart-sidebar-totals .terms-of-service input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: translate(50%, -50%) rotate(45deg);
}
