@charset "UTF-8";
/*--------------------------------------------------------------
# Luxa - Persian (fa_IR) native RTL adjustments
# Loaded only when the site locale is RTL, after main-rtl.css /
# woocommerce-*-rtl.css so these rules can fine-tune typography
# that pure mirroring (rtlcss) cannot fix.
--------------------------------------------------------------*/

/* This intentionally overrides whatever font is picked in Theme
   Options > Typography: that panel's font picker only lists Google
   Fonts and has no way to list a self-hosted local font like Estedad,
   so there is no "select it in the admin" path - the site-wide
   override below is the supported way to apply it for Persian. */
html[dir="rtl"] body,
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,
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"] .section-title,
html[dir="rtl"] .widget-title {
  font-family: "Estedad", "Poppins", Tahoma, sans-serif;
}

/* Persian script has no letter-case, so uppercase transforms and
   the extra letter-spacing added for Latin caps just add ugly gaps */
html[dir="rtl"] * {
  letter-spacing: normal !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"] .section-title,
html[dir="rtl"] .widget-title,
html[dir="rtl"] .btn,
html[dir="rtl"] button,
html[dir="rtl"] input[type="submit"],
html[dir="rtl"] .uppercase,
html[dir="rtl"] .text-uppercase {
  text-transform: none;
}

/* Estedad renders visually smaller than Poppins at the same
   font-size, bump body copy slightly and loosen line-height */
html[dir="rtl"] body {
  font-size: 17px;
  line-height: 1.8;
}

html[dir="rtl"] h1 { line-height: 1.3; }
html[dir="rtl"] h2 { line-height: 1.35; }
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 { line-height: 1.4; }

/* Keep numerals, currency, latin logos, code and icon fonts in their
   original faces so digits/prices and icon glyphs never break */
html[dir="rtl"] .amount,
html[dir="rtl"] bdi,
html[dir="rtl"] .woocommerce-Price-amount,
html[dir="rtl"] code,
html[dir="rtl"] pre,
html[dir="rtl"] .logo,
html[dir="rtl"] [class*="base-icon-"],
html[dir="rtl"] [class^="fa-"],
html[dir="rtl"] [class*=" fa-"],
html[dir="rtl"] .fab,
html[dir="rtl"] .fas,
html[dir="rtl"] .far {
  font-family: inherit;
}

/* WooCommerce price/currency stays LTR inside RTL flow */
html[dir="rtl"] .woocommerce-Price-amount {
  direction: ltr;
  unicode-bidi: embed;
}

/* Placeholders and form fields should follow reading direction */
html[dir="rtl"] input,
html[dir="rtl"] textarea {
  text-align: right;
}

html[dir="rtl"] input[type="number"] {
  text-align: left;
}

/* Blockquotes / testimonials border flips with content direction */
html[dir="rtl"] blockquote {
  border-left: none;
  border-right: 3px solid currentColor;
  padding-right: 20px;
  padding-left: 0;
}
