/**
 * Full font rollback — Vazirmatn + Cormorant (before Peyda/Ayandeh).
 * Loaded last. Protects Font Awesome + SVG icons.
 */

:root,
[data-theme="light"],
[data-theme="dark"] {
  --bn-font-display: 'Cormorant Garamond', 'Vazirmatn', Georgia, serif;
  --bn-font-body: 'Vazirmatn', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --bn-font-brand: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

html,
body,
body.app-shell {
  font-family: 'Vazirmatn', system-ui, sans-serif !important;
}

h1,
h2,
h3,
.bn-section-title,
.bn-screen-title,
.bn-profile-name,
.bn-page-hero__title,
.bn-display,
.bn-title,
[data-bn-font="display"] {
  font-family: 'Cormorant Garamond', 'Vazirmatn', Georgia, serif;
}

.bn-wordmark__text,
.bn-menu-hero-word,
.bn-menu-hero-word__letters,
.lux-menu-kicker--brand .bn-wordmark__text {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif !important;
}

/* Font Awesome — must beat any body/button font rules */
body .fa,
body .fas,
body .far,
body .fab,
body .fa-solid,
body .fa-regular,
body .fa-brands,
body.app-shell .fa,
body.app-shell .fas,
body.app-shell .far,
body.app-shell .fab,
body.app-shell button .fa,
body.app-shell button .fas,
body.app-shell button .far,
body.app-shell button .fab {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-variant: normal !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

body .fab,
body .fa-brands,
body.app-shell .fab,
body.app-shell .fa-brands,
body.app-shell button .fab {
  font-family: "Font Awesome 6 Brands" !important;
}

body .fas,
body .fa-solid,
body.app-shell .fas,
body.app-shell button .fas {
  font-weight: 900 !important;
}

body .far,
body .fa-regular,
body.app-shell .far,
body.app-shell button .far {
  font-weight: 400 !important;
}

/* SVG UI icons */
body svg.bn-ui-icon,
body.app-shell svg.bn-ui-icon,
body .bn-ui-icon {
  font-family: inherit !important;
  font-weight: inherit !important;
}
