/* RTL companion stylesheet. Text content is not translated; only document flow is mirrored for RTL WordPress installs. */
html[dir="rtl"], body.rtl{direction:rtl;text-align:right;}
body.rtl .nav-links{direction:rtl;}
body.rtl .dmenu{left:auto;right:50%;transform:translateX(50%) translateY(-8px);}
body.rtl .ndrop:hover .dmenu, body.rtl .ndrop:focus-within .dmenu{transform:translateX(50%) translateY(0);}
body.rtl .di:hover{padding-left:22px;padding-right:28px;}
body.rtl .ib, body.rtl .adv-card, body.rtl .flegal{border-left:0;border-right:2px solid var(--g0);}
body.rtl .steps li{padding:0 56px 26px 0;border-left:0;border-right:1px solid var(--rule);margin-left:0;margin-right:15px;}
body.rtl .steps li::before{left:auto;right:-16px;}
body.rtl .dico{margin-left:0;margin-right:16px;}
body.rtl select.fi{padding-right:16px;padding-left:36px;}
body.rtl .mobile-menu{transform:translateX(-100%);}body.rtl .mobile-menu.open{transform:translateX(0);}

/* ═══════════════════════════════════════════════════════════
   FARSI (RTL) LOCALIZATION OVERRIDES  —  appended for fa_IR build
   Persian script: no letter-spacing, no uppercase, taller line-height,
   Vazirmatn primary. Latin brand/number runs keep DM Sans / Cormorant.
   ═══════════════════════════════════════════════════════════ */
:root{ --fa-font:'Vazirmatn','DM Sans',system-ui,sans-serif; }
html{ direction:rtl; }
body{ font-family:var(--fa-font); line-height:1.85; }
h1,h2,h3,h4,h5,h6{ font-family:var(--fa-font) !important; }
/* Persian script must not be letter-spaced or uppercased */
h1,h2,h3,h4,.ey,.flbl,.ti,.vtype,.vtag,.dcol-h,.feyebrow,.fhead,
.mm-colh,.mm-head span,.pcard h3,.btn,.na,.pa-go,.fc-phone,.mm-link,
.mm-sub,.plink,.cap,.bmd,.blg{
  letter-spacing:normal !important;
  text-transform:none !important;
}
h1{ line-height:1.25 !important; }
h2{ line-height:1.3 !important; }
.bmd,.blg,p{ line-height:1.95; }
.ey,.flbl{ line-height:1.7; }
/* Numeric / display figures stay Cormorant + LTR so $7.15M, 4.9★, dates read correctly */
.stat-n,.va,.adv-number,.hnum,.rstars,.fbar{ font-family:'Cormorant Garamond',serif !important; }
/* Latin brand names / phone / email wrapped in spans keep Latin font + tracking */
[lang="en"],[dir="ltr"]{ font-family:'DM Sans',system-ui,sans-serif; }
em{ font-family:'Cormorant Garamond',serif; }
/* Bidi isolation helper for inline LTR runs inside RTL sentences */
.ltr{ unicode-bidi:isolate; direction:ltr; display:inline-block; }
/* Flip the few directional list/step markers to the right side */
.steps{ padding-right:0; }
.steps li::before{ left:auto !important; right:-16px !important; }
.steps li{ padding-left:0; padding-right:24px; }
/* Inputs/selects read right-to-left */
.fi,input,select,textarea{ font-family:var(--fa-font); text-align:right; direction:rtl; }
input[type="tel"],input[type="email"]{ text-align:left; direction:ltr; }
/* Funnel back-arrow points the correct way in RTL */
.fgate .btn svg, .na svg{ }
/* ── RTL HERO FIX: keep the photo where it is (subject on the right). Pin the Farsi hero
   text to the LEFT light panel (right-aligned RTL text within it) so it stays readable. ── */
@media(min-width:861px){
  header.sph > .w > *{ max-width:560px; margin-left:0 !important; margin-right:auto !important; text-align:right; }
  header.sph > .w > .bc{ max-width:none; }
  /* Homepage dark hero: dark gradient is already on the left, so pin the hero copy left over it */
  .hero-dark .hero-copy{ margin-left:0 !important; margin-right:auto !important; }
}

/* فرم‌ها در RTL */
body.rtl .na-style-c47b1ec46e{right:auto;left:14px;}
body.rtl .na-style-411889ef8e{border-left:0;border-right:2px solid var(--gb);}
body.rtl .na-hf-thankyou,body.rtl .na-hf-thankyou p{text-align:right;}
