/*
 * Findar V46127 — Findar Signature typography system.
 * Manrope: display, property titles and prices.
 * Inter: navigation, controls and supporting information.
 * Noto Sans Arabic: Arabic UI and seller-authored Arabic content.
 * Fonts are bundled locally; no external request or plugin is required.
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/findar-signature/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/findar-signature/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../fonts/findar-signature/noto-sans-arabic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --fmp-font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --fmp-font-display: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --fmp-font-arabic: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --fmp-font-premium: var(--fmp-font-ui);
  --fmp-font-calm: var(--fmp-font-ui);
}

html {
  font-family: var(--fmp-font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body.findar-mobile-premium,
body.findar-mobile-premium :where(input, select, textarea, button) {
  font-family: var(--fmp-font-ui);
}

body.findar-mobile-premium :where(h1, h2, h3, h4, h5, h6),
body.findar-mobile-premium :where(
  .fmp-property-price,
  .fmp-property-title,
  .fmp16a-sticky-price,
  .fmp16a-sticky-title,
  .fmp-scroll-summary-price,
  .fmp-trulia-price,
  .fmp-trulia-title,
  .fmp25-location-name,
  .fmp-home-command-copy
) {
  font-family: var(--fmp-font-display);
  font-optical-sizing: auto;
}

body.findar-mobile-premium :where(h1, h2, h3, .fmp-property-title, .fmp16a-sticky-title, .fmp-trulia-title) {
  letter-spacing: -.025em;
}

body.findar-mobile-premium :where(
  .fmp-property-price,
  .fmp16a-sticky-price,
  .fmp-scroll-summary-price,
  .fmp-trulia-price
) {
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.035em;
}

body.findar-mobile-premium :where(
  input,
  textarea,
  select,
  button,
  .fmp-theme-nav,
  .fmp-theme-actions,
  .fmp-property-specs,
  .fmp-property-location,
  .fmp-results-count,
  .fmp-filter-shell,
  .fmp-tp-language-switcher
) {
  font-family: var(--fmp-font-ui);
}

body.fmp-tp-rtl,
html[lang^="ar"] body {
  --fmp-font-ui: var(--fmp-font-arabic);
  --fmp-font-display: var(--fmp-font-arabic);
  --fmp-font-premium: var(--fmp-font-arabic);
  --fmp-font-calm: var(--fmp-font-arabic);
  font-family: var(--fmp-font-arabic);
}

body.fmp-tp-rtl .fmp16e-body-cleanup,
html[lang^="ar"] body .fmp16e-body-cleanup {
  --f16e-font: var(--fmp-font-arabic);
}

body.fmp-tp-rtl :where(h1, h2, h3, h4, h5, h6, .fmp-property-title, .fmp16a-sticky-title, .fmp-trulia-title),
html[lang^="ar"] body :where(h1, h2, h3, h4, h5, h6, .fmp-property-title, .fmp16a-sticky-title, .fmp-trulia-title) {
  font-family: var(--fmp-font-arabic);
  letter-spacing: 0;
  line-height: 1.55;
}

body.fmp-tp-rtl :where(.fmp-property-price, .fmp16a-sticky-price, .fmp-scroll-summary-price, .fmp-trulia-price),
html[lang^="ar"] body :where(.fmp-property-price, .fmp16a-sticky-price, .fmp-scroll-summary-price, .fmp-trulia-price) {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums lining-nums;
}

@media (max-width: 768px) {
  body.findar-mobile-premium :where(h1, h2, h3, .fmp-property-title, .fmp16a-sticky-title, .fmp-trulia-title) {
    letter-spacing: -.018em;
  }

  body.fmp-tp-rtl :where(h1, h2, h3, .fmp-property-title, .fmp16a-sticky-title, .fmp-trulia-title),
  html[lang^="ar"] body :where(h1, h2, h3, .fmp-property-title, .fmp16a-sticky-title, .fmp-trulia-title) {
    letter-spacing: 0;
  }
}

@media (prefers-reduced-data: reduce) {
  body.findar-mobile-premium {
    font-family: var(--fmp-font-ui);
  }
}
