/* ======================================
   RTL FONT - FINAL SAFE VERSION
   UIcore + Elementor + WPML
   ====================================== */

/* ---------- Font Faces ---------- */
@font-face {
    font-family: "Yekan Bakh NoEn";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/woff2/YekanBakhNoEn-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Yekan Bakh NoEn";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/woff2/YekanBakhNoEn-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "Yekan Bakh NoEn";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/woff2/YekanBakhNoEn-Bold.woff2") format("woff2");
}

/* ---------- Override UIcore font variables (RTL only) ---------- */
html[dir="rtl"] {
    --uicore-primary-font-family: "Yekan Bakh NoEn", sans-serif;
    --uicore-secondary-font-family: "Yekan Bakh NoEn", sans-serif;
    --uicore-accent-font-family: "Yekan Bakh NoEn", sans-serif;
    --uicore-text-font-family: "Yekan Bakh NoEn", sans-serif;
}

/* ---------- Apply RTL font ONLY to real text elements ---------- */
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] a,
html[dir="rtl"] li,
html[dir="rtl"] label,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: "Yekan Bakh NoEn", sans-serif !important;
}

/* ---------- Elementor text widgets ---------- */
html[dir="rtl"] .elementor-heading-title,html[dir="rtl"] .elementor-text-editor,html[dir="rtl"] .elementor-button-text,html[dir="rtl"] .elementor-nav-menu a {
    font-family: "Yekan Bakh NoEn", sans-serif !important;}

/* ======================================
   PROTECT ICON FONTS (CRITICAL)
   ====================================== */

/* Themify */
html[dir="rtl"] [class^="ti-"],html[dir="rtl"] [class*=" ti-"] {
    font-family: "themify" !important;}

/* UIcore Icons */
html[dir="rtl"] [class^="uicore-i-"],html[dir="rtl"] [class*=" uicore-i-"] {
    font-family: "uicore-icons" !important;}

/* Font Awesome */
html[dir="rtl"] [class^="fa"],html[dir="rtl"] [class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;}

/* Elementor Icons */
html[dir="rtl"] [class^="eicon"],html[dir="rtl"] [class*=" eicon"] {
    font-family: "eicons" !important;}







b, strong {color: #737373;}

html[dir="rtl"] .no-rtl-reverse .elementor-button-content-wrapper {
    flex-direction: row !important;}
    
html[lang="fa"].no-rtl-reverse.ui-e-accordion-title {
    flex-direction: row;}
.rtl .elementor-widget-uicore-accordion .ui-e-accordion-title {
    flex-direction: row !important;}


html[dir="rtl"] .elementor-element.elementor-button-info .elementor-button {
    text-align: right;direction: rtl;}
html[dir="rtl"] .elementor-element.elementor-button-info .elementor-button span.elementor-button-content-wrapper{
    flex-direction: row;}
html[dir="rtl"] .elementor-widget-uicore-accordion>div {
    text-align: right;}


body,ol,p,ul,form p {
    color: inherit;}












