/* =====================================================================
   MEDITEX - RTL Adjustments (Arabic)
   ===================================================================== */

.section-title .eyebrow { padding-left: 0; padding-right: 40px; }
.section-title .eyebrow::before { left: auto; right: 0; }

.product-badge { left: auto; right: 14px; }
.product-stock { right: auto; left: 14px; }

.float-whatsapp { right: auto; left: 28px; }
.back-to-top { left: auto; right: 28px; }

.search-box input { padding-left: 16px; padding-right: 42px; }
.search-box i { left: auto; right: 14px; }

.footer-links a:hover { padding-left: 0; padding-right: 5px; }

.cta-banner::before { right: auto; left: -60px; }

/* Bootstrap RTL already handles most flex-direction; minor tweaks */
.navbar-nav { padding-right: 0; }
.breadcrumb-item + .breadcrumb-item { padding-left: .5rem; padding-right: 0; }
html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { padding-left: .5rem; padding-right: 0; }

/* Modern Naskh / Display Naskh Typography for Arabic */
html[dir="rtl"] body {
  font-family: var(--font-body-ar, 'Almarai', 'Cairo', 'Tajawal', sans-serif) !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .products-hero h1,
html[dir="rtl"] .section-title h2,
html[dir="rtl"] .navbar-brand,
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .company-name-ar {
  font-family: var(--font-display-naskh, 'Cairo', 'Almarai', 'Alexandria', 'Noto Naskh Arabic', sans-serif) !important;
  font-weight: 800;
}
