/* DAWASOUQ Arabic RTL overrides — net-new work (no RTL existed in Infra Hydra).
   Scoped to [dir="rtl"] / body.rtl. Mirrors the funnel sections and keeps the
   Aero (WFACP) checkout form usable in Arabic. docs/wpml-language-routing.md */

/* ── base text direction ── */
[dir="rtl"] body, body.rtl { direction: rtl; text-align: right; }
[dir="rtl"] .tib-page, body.rtl .tib-page { direction: rtl; text-align: right; }
[dir="rtl"] .tib-hero, body.rtl .tib-hero,
[dir="rtl"] .tib-featured, body.rtl .tib-featured,
[dir="rtl"] .tib-cta-bottom, body.rtl .tib-cta-bottom { text-align: center; } /* hero stays centered */

/* lists: bullets/cards flow right→left */
[dir="rtl"] .tib-benefits li, body.rtl .tib-benefits li,
[dir="rtl"] .tib-ty-steps li, body.rtl .tib-ty-steps li { text-align: right; }

/* price: compare-at strike sits to the right of the sale price in RTL */
[dir="rtl"] .tib-price del, body.rtl .tib-price del { margin-inline-end: 8px; }

/* ── WooCommerce / Aero (WFACP) checkout form in RTL ── */
body.rtl .wfacp-form,
[dir="rtl"] .wfacp-form { direction: rtl; text-align: right; }

/* field labels + inputs align right */
body.rtl .wfacp-form label,
body.rtl .wfacp-form input,
body.rtl .wfacp-form select,
body.rtl .wfacp-form textarea,
[dir="rtl"] .wfacp-form label,
[dir="rtl"] .wfacp-form input,
[dir="rtl"] .wfacp-form select,
[dir="rtl"] .wfacp-form textarea { text-align: right; direction: rtl; }

/* phone numbers read LTR even in Arabic */
body.rtl .wfacp-form input[type="tel"],
[dir="rtl"] .wfacp-form input[type="tel"] { direction: ltr; text-align: right; }

/* two-column field rows mirror */
body.rtl .wfacp-form .wfacp-row,
[dir="rtl"] .wfacp-form .wfacp-row { flex-direction: row-reverse; }

/* radio/checkbox (payment method, order bump toggle) — control on the right */
body.rtl .wfacp_payment li label,
[dir="rtl"] .wfacp_payment li label { padding-right: 8px; padding-left: 0; }
body.rtl #wfob_wrap .wfob_checkbox,
[dir="rtl"] #wfob_wrap .wfob_checkbox { margin-left: 8px; margin-right: 0; }
body.rtl #wfob_wrap .wfob_text_inner,
[dir="rtl"] #wfob_wrap .wfob_text_inner { text-align: right; }

/* order summary table */
body.rtl .wfacp_order_summary_container th,
body.rtl .wfacp_order_summary_container td,
[dir="rtl"] .wfacp_order_summary_container th,
[dir="rtl"] .wfacp_order_summary_container td { text-align: right; }
body.rtl .wfacp_order_summary_container td:last-child,
[dir="rtl"] .wfacp_order_summary_container td:last-child { text-align: left; } /* amounts flush left */

/* WooCommerce native blocks (product page / order received) */
body.rtl .woocommerce table.shop_table th,
body.rtl .woocommerce table.shop_table td { text-align: right; }
body.rtl .woocommerce div.product .summary { text-align: right; direction: rtl; }

/* arrows in CTA copy flip visually via direction; keep explicit safety */
body.rtl .tib-cta { direction: rtl; }

/* sticky mobile CTA inherits centered layout — nothing to flip */
