/* =====================================================
   RTL Arabic Override — emiratefix theme
   تحويل الثيم الكامل من LTR إلى RTL مع justify
   ===================================================== */

/* ===== 1. الجسم الرئيسي ===== */
html,
body {
    direction: rtl !important;
    text-align: right !important;
}

/* ===== 2. النصوص العامة — justify مع RTL ===== */
body,
p,
li,
td,
th,
blockquote,
.body-content,
.archive_description_container,
.content-model-faq,
.faq p,
post-content p,
.single-post-parent-container-content,
.single-post-parent-container-content *,
.P-content,
.ArticleDetails,
.answer-single.-ToggleContentValue,
.faq .answer,
.about-content p,
.info-contact-model,
services--block p,
.step-desc p,
p.bk-content,
p.sub-content,
p.goolge-content {
    text-align: justify !important;
    direction: rtl !important;
}

/* ===== 3. العناوين — يمين ===== */
h1, h2, h3, h4, h5, h6,
.info-model,
post-content h1,
post-content h2,
post-content h3,
.single-post-parent-container-heading > h1,
.faq h2,
.faq-model h2,
.services h1,
.price h2,
.model .model-info h2,
.form-contact h2,
.contact h2,
.feature .feature-info h2,
.about-content h2,
h2.bk-title,
h1.slice-title,
h2.slice-title,
.slice-title,
.step-desc h3,
.postgrid-title h3 {
    text-align: right !important;
    direction: rtl !important;
}

/* ===== 4. عكس margin-left / margin-right الأساسية ===== */

/* الهيدر */
.header .rnav { margin-left: 0 !important; margin-right: 12px !important; }
.header .web-logo { margin-left: 0 !important; margin-right: 10px !important; }
.header .top-header .menu-nav { margin-right: auto !important; margin-left: 0 !important; }
.close-menu { right: auto !important; left: 0 !important; }

/* القائمة */
.menu-nav { margin-left: 0 !important; margin-right: auto !important; }
.menu-nav > ul { margin-inline-end: 0 !important; }
.menu-nav > ul > li > ul { right: 0 !important; left: auto !important; }
.menu-nav > ul > li > ul > li > ul { right: 100% !important; left: auto !important; transform: translate(40px, 0) !important; }
.menu-nav > ul > li > ul.sub-menu > li.menu-item-has-children:before {
    left: auto !important;
    right: 20px !important;
    content: "\f0da" !important;
}

/* شريط التنقل */
.nav-bar { margin-right: 0 !important; margin-left: -15px !important; }
.search-icon { margin-right: 0 !important; margin-left: 10px !important; }

/* الشبكة الاجتماعية */
.social-header ul { margin-right: 0 !important; margin-left: -14px !important; }

/* الفوتر */
footer .info-footer { margin-left: 0 !important; margin-right: var(--margin-v1) !important; }
footer .info-footer .icons-header { margin-left: 0 !important; margin-right: 8px !important; }

/* ===== 5. عكس float ===== */
ul.CommentsListInner li > .CommentContent { float: left !important; }
ul.CommentsListInner li > .CommentInfo { float: right !important; }
ul.CommentsListInner li > .UserAvatar { margin-left: 0 !important; margin-right: 22px !important; }

/* ===== 6. المحتوى الأحادي (single post) ===== */
.single-content { margin-left: 0 !important; margin-right: 20px !important; }
.single-sidebar { left: auto !important; right: 0 !important; }
.single-sidebar .p-block-box .img-project { margin-left: 0 !important; margin-right: 9px !important; }
.single-post-parent-container-tags strong { margin-left: 0 !important; margin-right: 8px !important; }
.single-post-parent-container-tags > p > a > i { margin-left: 0 !important; margin-right: 6px !important; }
.single-post-parent-container-heading > .single-bar > li > i { margin-left: 0 !important; margin-right: 10px !important; }
.single-post-parent-container-share.change span { margin-right: 0 !important; margin-left: 6px !important; }

/* محاذاة breadcrumb */
.single-post-parent breadcrumb { justify-content: flex-start !important; }

/* ===== 7. عناصر التعليقات ===== */
.CommentsList__Title { margin-right: 0 !important; margin-left: auto !important; }
.CommentsList__Title i { margin-right: 0 !important; margin-left: 10px !important; }
.NoComments > i { margin-left: 0 !important; margin-right: 10px !important; }
.comment-box button { margin-right: 0 !important; margin-left: auto !important; }
.comment-box button i { margin: 4px 4px 0 0 !important; }

/* ===== 8. FAQ ===== */
.faq .head-faq i { margin-left: 0 !important; margin-right: 8px !important; }
.faq .answer { margin-right: 0 !important; margin-left: 70px !important; }
.head-faq-single i { margin-left: 0 !important; margin-right: 8px !important; }

/* ===== 9. السعر والمشاريع ===== */
.project .small-block { margin-right: 0 !important; margin-left: 18px !important; }
.foot-project a { margin-left: 0 !important; margin-right: 6px !important; }
.info-project span { margin-left: 0 !important; margin-right: 9px !important; }
.info-project span:last-child { margin-right: 0 !important; }
.info-project span i { margin-left: 0 !important; margin-right: 8px !important; }
.foot-project-v2 > span { padding-left: 0 !important; padding-right: 8px !important; }
.foot-project-v2 > span > i { margin-left: 0 !important; margin-right: 6px !important; }
.foot-project-v2 span { margin-left: 0 !important; margin-right: 6px !important; }

/* ===== 10. زر الاتصال وواتساب — اليسار ===== */
.btn-phone,
.btn-whatsapp {
    right: auto !important;
    left: 20px !important;
}
.btn-phone i,
.btn-whatsapp i {
    margin-right: 0 !important;
    margin-left: 14px !important;
}

/* ===== 11. زر الصعود للأعلى — اليمين ===== */
#button {
    left: auto !important;
    right: 20px !important;
}

/* ===== 12. YC contact two — اليمين ===== */
.YC-contact-two {
    left: auto !important;
    right: 24px !important;
}

/* ===== 13. الأرشيف والتصنيفات ===== */
.Blog_BottomBar { text-align: right !important; }
.Blog_BottomBar > a > i { padding-right: 0 !important; padding-left: 15px !important; }
.archive_description_showmore { margin-left: 0 !important; margin-right: auto !important; }
.archive_description_showmore > i { margin-left: 0 !important; margin-right: 5px !important; }

/* ===== 14. شريط الـ Tags ===== */
.up-tagss li { direction: rtl !important; }

/* ===== 15. الكونتاكت ===== */
.contact li a i { margin-left: 0 !important; margin-right: 6px !important; }
.contact-info .dt-contact { margin-right: 0 !important; margin-left: 12px !important; }
.contact-body .form-contact button > i { margin-left: 0 !important; margin-right: 8px !important; }
.contact-body .social-contact a { margin: 0 0 0 6px !important; }
.contact-info .social-header ul.list-unstyled { margin-left: 0 !important; margin-right: 18px !important; }

/* ===== 16. سايدبار المقال ===== */
.search-footer { margin-right: 0 !important; margin-left: 16px !important; }

/* ===== 17. المدونة mini-widgets ===== */
.article_thumb { margin-left: 0 !important; margin-right: var(--margin-v2) !important; }
mini-widgets--item-title > h4 { border-right: 6px solid #2a2a2a !important; border-left: none !important; padding-right: 5px !important; padding-left: 0 !important; }
.blog-info .article_info a { margin-right: 0 !important; margin-left: 6px !important; }
.blog-info .article_info i { margin-left: 0 !important; margin-right: 5px !important; }

/* ===== 18. نموذج الاتصال ===== */
.service-model form button { margin-right: 0 !important; margin-left: auto !important; }

/* ===== 19. فريق العمل (model) ===== */
.model .btn-model-contact a.phone { margin-left: 0 !important; margin-right: 8px !important; }

/* ===== 20. قسم cover ===== */
.t-cover { margin-left: 0 !important; margin-right: 51px !important; text-align: right !important; }

/* ===== 21. مؤشر رأس النافذة ===== */
.ReplyCommentPreview > h2 i { float: left !important; margin-left: 0 !important; margin-right: 10px !important; }

/* ===== 22. search box ===== */
.btn-search input { padding-right: 0 !important; padding-left: 37px !important; }
.btn-search input { transform-origin: left center !important; }
.btn-search form i { right: auto !important; left: 15px !important; }
.btn-search .fa-times-circle { right: auto !important; left: 30px !important; }

/* ===== 23. نص post-content ===== */
post-content p { text-align: justify !important; direction: rtl !important; }

/* ===== 24. روابط المدونة السفلى ===== */
.up-single .up-tfasel li { margin-left: 0 !important; margin-right: 16px !important; }

/* ===== 25. الـ faq الجانبي ===== */
section.faq.container > .info-faq { margin-left: 0 !important; margin-right: 40px !important; }

/* ===== 26. rate form ===== */
rate-formhead-score > strong { margin-right: 0 !important; margin-left: 8px !important; }
rate-formhead-score > p > strong { margin-right: 0 !important; margin-left: 5px !important; }
form#ReviewSubmit > button { text-align: left !important; padding-right: 0 !important; padding-left: 20px !important; }
form#ReviewSubmit > button > i { padding-left: 0 !important; padding-right: 8px !important; }

/* ===== 27. bot button ===== */
.Bot-Button.hoverable.move { left: auto !important; right: 100px !important; }
.Bot-Button lottie-player { border-radius: 50% 0 50% 50% !important; margin-left: 0 !important; margin-right: 9px !important; }
.Bot-Button span.txt-title { left: auto !important; right: 32px !important; }
.Bot-Button.hoverable > i { margin-left: 0 !important; margin-right: 8px !important; }

/* ===== 28. city section icon ===== */
.city-section .head-block-city i { margin-left: 0 !important; margin-right: 20px !important; }
section.city-intro a i { margin-left: 0 !important; margin-right: 10px !important; }

/* ===== 29. عناصر الـ list style ===== */
ol, ul { padding-right: 20px !important; padding-left: 0 !important; }
.list-unstyled { padding-right: 0 !important; }

/* ===== 30. Owl nav عكس الأزرار ===== */
.city-section .owl-nav .owl-prev { right: auto !important; left: 0 !important; }
.city-section .owl-nav .owl-next { left: auto !important; right: 0 !important; }
.Bot-Button.hoverable.hasButtontoTop,
.owl-nav .owl-prev { right: auto !important; left: 0 !important; }

/* ===== 31. صفحة البحث ===== */
.search-single button { border-radius: var(--miniradius) 0 0 var(--miniradius) !important; }
.search-single input { border-radius: 0 var(--miniradius) var(--miniradius) 0 !important; }

/* ===== 32. Btn contact price ===== */
.btn-contact-price i { margin-left: 0 !important; margin-right: 10px !important; }

/* ===== 33. مشاركة المقال ===== */
ul.single__container_social__right__share { direction: rtl !important; }

/* ===== 34. GridItem ===== */
.-GridItem-3 { direction: rtl !important; }

/* ===== 35. LoaderPosts ===== */
.LoaderPostsRelaterIndex-box { direction: rtl !important; }

/* ===== 36. answer-single padding ===== */
.answer-single.-ToggleContentValue {
    padding: 25px 28px 25px 0 !important;
    text-align: justify !important;
}

/* ===== 37. close-menu position ===== */
.close-menu { right: auto !important; left: 0 !important; top: 0 !important; }

/* ===== 38. TOC — يُبقى LTR خاص لأنه محتوى إنجليزي ===== */
/* (لا تغيير — الإعدادات الموجودة في additional_fixes.css تغطيه) */

/* ===== 39. counters تبقى LTR (أرقام) ===== */
.block-box .counter { direction: ltr !important; }
.box-price .box-num { direction: ltr !important; }

/* ===== 40. footer social ===== */
footer .social-header li { margin: 0 0 0 11px !important; }

/* ===== 41. blog-cat position ===== */
.blog-cat {
    right: auto !important;
    left: 0 !important;
    border-radius: 0 20px 0 0 !important;
}

/* ===== 42. ChildComments ===== */
ul.ChildComments { padding-right: 0 !important; padding-left: 18px !important; }

/* ===== 43. info-project-v2 auther ===== */
.info-project-v2 .auther i { margin-left: 0 !important; margin-right: 5px !important; }

/* ===== 44. auther-single ===== */
.auther-single span a { margin-right: 0 !important; margin-left: 8px !important; }

/* ===== 45. faq .form-contact button ===== */
.faq .form-contact button i { margin-left: 0 !important; margin-right: 6px !important; }

/* ===== 46. services .info-services-hover i ===== */
.services .info-services-hover i { margin-right: 0 !important; margin-left: 5px !important; }

/* ===== 47. footer menu before ===== */
footer .blocks-footer > theme-widget--item .menu > li > a:before {
    margin-left: 0 !important;
    margin-right: 6px !important;
}

/* ===== 48. project slider buttons ===== */
.project-slider button.owl-prev { right: auto !important; left: 0 !important; }
.project-slider button.owl-next { left: auto !important; right: 0 !important; }

/* ===== 49. #search-message ===== */
div#search-message { right: auto !important; left: 0 !important; }

/* ===== 50. show-SubMenu icon ===== */
.-Show-SubMenu-Icon > i { left: auto !important; right: 6px !important; }
.--Site--Menu > ul > li > a > i { left: auto !important; right: 6px !important; }

/* ===== 51. نموذج التعليق ===== */
.single-post-parent-container-comments > h4 > i { margin-left: 0 !important; margin-right: 14px !important; }

/* ===== 52. شريط المقال العلوي ===== */
.single-post-parent-container-heading > .single-bar > li:before {
    left: auto !important;
    right: -10px !important;
}
.single-post-parent-container-heading > .single-bar > li {
    padding-inline-start: 11px !important;
}

/* ===== 53. about content img ===== */
.about-content { flex-direction: row-reverse !important; }

/* ===== 54. feature section ===== */
.features--section .features { flex-direction: row-reverse !important; }

/* ===== 55. faq section ===== */
.faq-model .faq { flex-direction: row-reverse !important; }
section.faq { flex-direction: row-reverse !important; }

/* ===== 56. contact body ===== */
.model-contact .contact-body { flex-direction: row-reverse !important; }

/* ===== 57. footer blocks ===== */
footer .blocks-footer { flex-direction: row-reverse !important; }

/* ===== 58. header top-header ===== */
.header .top-header { flex-direction: row-reverse !important; }

/* ===== 59. nav-bar lnav-bar ===== */
.nav-bar { flex-direction: row-reverse !important; }

/* ===== 60. project small-block ===== */
.project .small-block { flex-direction: column !important; }
.project .block-offset .p-block-box { flex-direction: row !important; }

/* ===== 61. single-post layout ===== */
.single-post-parent-container { flex-direction: row-reverse !important; }

/* ===== 62. header mobile flex ===== */
header-mobile { direction: rtl !important; }

/* ===== 63. country-menu ===== */
.header .country-menu ul.city-menu { left: auto !important; right: 0 !important; }

/* ===== 64. pagination ===== */
.Blog_BottomBar.has_pagination { flex-direction: row-reverse !important; }

/* ===== 65. Breadcrumb ===== */
ol.BreadcrumbsFilters { direction: rtl !important; }
.breadcrumb { direction: rtl !important; text-align: right !important; }

/* ===== 66. نص الـ alignleft/right في محتوى المقال ===== */
.single-post-parent-container-content .alignleft { margin-left: 0 !important; margin-right: auto !important; float: right !important; }
.single-post-parent-container-content .alignright { margin-right: 0 !important; margin-left: auto !important; float: left !important; }

/* ===== 67. Btn-brand ===== */
.btn-brand { direction: rtl !important; }

/* ===== 68. رقم #button svg ===== */
#VoteforUs { direction: rtl !important; }

/* ===== 69. mobile-box ===== */
.mobile-box { direction: rtl !important; }

/* ===== 70. custreviews ===== */
.custreviews--google-flex { flex-direction: row-reverse !important; }
.custreviewsgoole-block { flex-direction: row-reverse !important; }

/* ===== 71. call-how-box ===== */
.call-how-box a { margin-inline-end: 0 !important; margin-inline-start: 11px !important; }

/* ===== 72. ترتيب flex عام للعناصر التي تحتاج RTL ===== */
.p-block-box { direction: rtl !important; }
.info-project { direction: rtl !important; text-align: right !important; }
.info-project p { text-align: justify !important; }
.box-price { direction: rtl !important; }
.city-block { direction: rtl !important; }
.q-answer { direction: rtl !important; }
.q-answer-single { direction: rtl !important; }
.services .p-block-box { direction: rtl !important; }
.model-section { direction: rtl !important; }
.model-section p { text-align: justify !important; }

/* ===== 73. ملاحظة: التواريخ والأرقام ===== */
.foot-project-v2 > span.date i { direction: ltr !important; }
.CommentInfo .CommentDate { direction: ltr !important; }
