/* =============================================================================
   RTL (Arabic) overrides — loaded only when the page direction is rtl.
============================================================================= */
:root {
	--font-body: 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
	font-family: var(--font-body);
}

/* Arabic letters must stay joined: no tracking, no forced capitals. */
h1, h2, h3, h4, h5, h6,
.eyebrow,
.section-title .eyebrow,
.about-intro .eyebrow,
.about-split-content .eyebrow,
.badge,
.btn,
.quick-facts-row dt {
	letter-spacing: 0 !important;
	text-transform: none;
}

body {
	line-height: 1.8;
}

/* Directional glyphs */
.i-arrow {
	transform: scaleX(-1);
}

/* Base / utilities */
.skip-link { left: auto; right: 0; }
.section-title--left { text-align: right; margin-left: auto; margin-right: 0; }
.alignleft { float: right; margin-right: 0; margin-left: 1.5em; }
.alignright { float: left; margin-left: 0; margin-right: 1.5em; }
.entry-content ul,
.entry-content ol { padding-left: 0; padding-right: 1.4em; }

/* Header */
.primary-menu ul.sub-menu { left: auto; right: 0; }
.header-cart-count { right: auto; left: -2px; }
.mobile-menu-list .sub-menu { padding-left: 0; padding-right: 16px; }

/* Off-canvas menu slides in from the left in RTL */
.mobile-menu { right: auto; left: 0; transform: translateX(-100%); }
.mobile-menu.is-open { transform: translateX(0); }

/* Floating WhatsApp button */
.whatsapp-float { right: auto; left: 18px; }

/* Hero slider */
.hero-slider-arrow-prev { left: auto; right: 20px; }
.hero-slider-arrow-next { right: auto; left: 20px; }

@media (min-width: 768px) and (max-width: 1400px) {
	.hero-slider .hero-slide-content { padding-left: 16px; padding-right: 84px; }
}

/* Cards / components */
.testimonial-author-info { text-align: right; }
.about-mv-card,
.about-highlights { border-left: 0; border-right: 4px solid var(--color-accent); }
.about-split-tag { left: auto; right: 16px; }
.about-service:hover,
.about-service:focus-visible { transform: translateX(-4px); }

/* WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments { border-left: 0; border-right: 4px solid var(--color-primary); }
.woocommerce-message .button,
.woocommerce-info .button { margin-left: 0; margin-right: auto; }
.cart_totals { margin-left: 0; margin-right: auto; }
ul.products li.product .price del { margin-right: 0; margin-left: 6px; }
div.product p.price del { margin-right: 0; margin-left: 10px; }
.woocommerce-message { border-right-color: var(--color-success); }
.woocommerce-error { border-right-color: #d64545; }
ul.products li.product .onsale { left: auto; right: 12px; }
table.shop_table th { text-align: right; }

@media (max-width: 767px) {
	table.shop_table td { text-align: left; }
	table.shop_table td::before { text-align: right; }
}

@media (min-width: 1024px) {
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		border-right: 0;
		padding-right: 0;
		border-left: 1px solid var(--color-border);
		padding-left: 20px;
	}
}

/* Keep phone numbers, emails and prices readable left-to-right */
a[href^="tel:"] bdi,
a[href^="mailto:"],
.woocommerce-Price-amount {
	unicode-bidi: isolate;
}

/* Services page */
.feature-card-num { right: auto; left: 22px; }
.feature-card::after { transform-origin: right; }
.coverage-text .eyebrow { letter-spacing: 0; text-transform: none; }

/* Footer */
.footer-title::after { left: auto; right: 0; }
.footer-links a::before { transform: rotate(-135deg); }
.footer-links a:hover,
.footer-links a:focus-visible { transform: translateX(-3px); }

/* Landing pages */
.catalog-search .dashicons { left: auto; right: 16px; }
.catalog-search input { padding: 12px 46px 12px 18px; }
.contact-map-link { left: auto; right: 16px; }
@media (min-width: 1024px) {
	.step:not(:last-child)::after { left: -21px; right: calc(24px + 52px); }
}
.contact-method-label { letter-spacing: 0; text-transform: none; }

/* Shop & product */
.shop-main .woocommerce-result-count { float: right; }
.shop-main .woocommerce-ordering { float: left; }
.spec-table th, .spec-table td { text-align: right; }
.spec-features li { padding-left: 0; padding-right: 26px; }
.spec-features li::before { left: auto; right: 4px; }
.key-specs-title { letter-spacing: 0; text-transform: none; }
.weighbridge-content .eyebrow { letter-spacing: 0; text-transform: none; }
