/************************************************
 * Tipografía global del sitio: Montserrat
 *
 * Se carga DESPUÉS del resto de hojas (incluidas las de cada página) para
 * sobrescribir las fuentes que traían la plantilla y Bootstrap.
 *
 * Importante: aquí NO se listan `span`, `i` ni `div`. Esos elementos heredan
 * Montserrat desde `body`, mientras que los iconos (FontAwesome / Flaticon /
 * Glyphicons), que sí declaran su propia `font-family`, quedan intactos.
 * Aplicar la fuente con `*` rompería todos los iconos del sitio.
 ************************************************/

:root {
    --mupsa-font: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
}

html,
body {
    font-family: var(--mupsa-font) !important;
}

/* Elementos que traen font-family propia desde bootstrap.css o style.css */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body ul,
body ol,
body li,
body dl,
body dt,
body dd,
body table,
body th,
body td,
body label,
body legend,
body blockquote,
body figcaption,
body address,
body pre,
body input,
body select,
body textarea,
body button,
body optgroup,
body option,
body .btn,
body .form-control,
body .input-group-addon,
body .navbar,
body .nav,
body .dropdown-menu,
body .tooltip,
body .popover,
body .modal-title,
body .panel-title,
body .alert,
body .badge,
body .label,
body .close,
body .tp-caption,
body .sec-title,
body .owl-nav,
body .owl-dots {
    font-family: var(--mupsa-font) !important;
}

/* Salvaguarda: si alguna regla anterior alcanzara a un icono, se restaura su
   familia. Los brands (fab) usan una familia distinta a los solid/regular. */
body .fa,
body .fas,
body .far,
body .fal,
body .fa-solid,
body .fa-regular,
body .fa-light,
body [class^="fa-"],
body [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
}

body .fab,
body .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

body .flaticon,
body [class^="flaticon-"],
body [class*=" flaticon-"] {
    font-family: "Flaticon" !important;
}

body .glyphicon,
body [class^="glyphicon-"],
body [class*=" glyphicon-"] {
    font-family: 'Glyphicons Halflings' !important;
}
