/* ===========================
   RTL FULL OVERRIDE - Arabic
   يلغي كل LTR في main.css
   Specificity عالية جداً
   =========================== */

html[dir="rtl"] body,
html[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
}

/* الهيدر */
html[dir="rtl"] .header .top-header {
  flex-direction: row !important;
}

html[dir="rtl"] .menu-nav {
  margin-left: 0 !important;
  margin-right: auto !important;
  flex-direction: row-reverse !important;
}

html[dir="rtl"] .menu-nav > ul {
  flex-direction: row-reverse !important;
}

html[dir="rtl"] .header .web-logo {
  margin-left: 0 !important;
  margin-right: 10px !important;
}

html[dir="rtl"] .header .rnav {
  margin-left: 0 !important;
  margin-right: 12px !important;
}

html[dir="rtl"] .desktop-menu-bar {
  margin-right: 0 !important;
  margin-left: 20px !important;
}

html[dir="rtl"] .close-menu {
  right: auto !important;
  left: 0 !important;
}

html[dir="rtl"] .menu-nav > ul > li > ul {
  right: 0 !important;
  left: auto !important;
}

/* ===========================
   أزرار الاتصال → اليسار
   السهم → اليمين (لا يُمس)
   =========================== */

html[dir="rtl"] html[dir="rtl"] .btn-phone,
html[dir="rtl"] html[dir="rtl"] .btn-whatsapp,
html[dir="rtl"] body .btn-phone,
html[dir="rtl"] body .btn-whatsapp {
  left: 10px !important;
  right: auto !important;
}

html[dir="rtl"] body #button {
  right: 20px !important;
  left: auto !important;
}

html[dir="rtl"] body .YC-contact-two {
  left: 24px !important;
  right: auto !important;
}

/* ===========================
   الفوتر
   =========================== */
html[dir="rtl"] footer,
html[dir="rtl"] footer * {
  direction: rtl !important;
}

html[dir="rtl"] footer .blocks-footer {
  flex-direction: row-reverse !important;
}

/* نص الفوتر - موزع (justified) */
html[dir="rtl"] footer .textwidget,
html[dir="rtl"] footer .textwidget p,
html[dir="rtl"] footer .we-are p,
html[dir="rtl"] footer theme-widget--item .textwidget {
  text-align: justify !important;
}

html[dir="rtl"] footer allrights-reserved {
  text-align: center !important;
  display: block !important;
}

html[dir="rtl"] footer .desgin {
  text-align: center !important;
  justify-content: center !important;
}

html[dir="rtl"] footer .info-footer {
  margin-left: 0 !important;
  margin-right: var(--margin-v1) !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"] .info-model {
  text-align: right !important;
}

html[dir="rtl"] post-content p {
  text-align: right !important;
}

html[dir="rtl"] .Blog_BottomBar {
  text-align: right !important;
}

html[dir="rtl"] .container {
  direction: rtl !important;
}

html[dir="rtl"] .single-content {
  margin-left: 0 !important;
  margin-right: 20px !important;
}

html[dir="rtl"] .search-icon {
  margin-right: 0 !important;
  margin-left: 10px !important;
}

html[dir="rtl"] .faq .head-faq i,
html[dir="rtl"] .head-faq-single i {
  margin-left: 0 !important;
  margin-right: 8px !important;
}

html[dir="rtl"] header-mobile {
  flex-direction: row-reverse !important;
}
