/**
 * GROWCRM global typography — MTN (Brighter Sans) from /public/fonts/
 */
@font-face {
  font-family: "MTN";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/200-mtnbrightersans-extralight-webfont.woff2") format("woff2"),
    url("../fonts/200-mtnbrightersans-extralight-webfont.woff") format("woff");
}

@font-face {
  font-family: "MTN";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/300-mtnbrightersans-light-webfont.woff2") format("woff2"),
    url("../fonts/300-mtnbrightersans-light-webfont.woff") format("woff");
}

@font-face {
  font-family: "MTN";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/400-mtnbrightersans-regular-webfont.woff2") format("woff2"),
    url("../fonts/400-mtnbrightersans-regular-webfont.woff") format("woff");
}

@font-face {
  font-family: "MTN";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/500-mtnbrightersans-medium-webfont.woff2") format("woff2"),
    url("../fonts/500-mtnbrightersans-medium-webfont.woff") format("woff");
}

@font-face {
  font-family: "MTN";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/700-mtnbrightersans-bold-webfont.woff2") format("woff2"),
    url("../fonts/700-mtnbrightersans-bold-webfont.woff") format("woff");
}

:root {
  --growcrm-font-family: "MTN", "MTN Brighter Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: var(--growcrm-font-family);
  --wp--preset--font-family--inter: var(--growcrm-font-family);
}

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

/* CRM (Montserrat / Roboto / Source Sans from themes & vendor) */
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.navbar,
.nav,
.dropdown-menu,
.modal,
.card,
.table,
h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
legend,
.breadcrumb,
.alert,
.login-box,
.login-logo,
.login-background,
.form-material,
.form-material .form-control,
.form-material .box-title,
.setup,
.setup-header,
.setup-wrapper,
.setup-content,
.logged-out #main-wrapper {
  font-family: var(--growcrm-font-family) !important;
}

/* Marketing / Ethical Research Solution clone (Inter, Space Mono, WordPress presets) */
#primary,
main#primary,
.wp-block-group,
.wp-block-heading,
.wp-block-button__link,
.wp-element-button,
.has-inter-font-family,
.font-inter,
[class*="has-"][class*="font-size"],
.data-values {
  font-family: var(--growcrm-font-family);
}

/* Legacy theme / vendor font names */
[style*="font-family: Montserrat"],
[style*="font-family: \"Montserrat\""],
[style*="font-family: 'Montserrat'"],
[style*="font-family: Roboto"],
[style*="font-family: \"Roboto\""],
[style*="font-family: 'Roboto'"],
[style*="font-family: Inter"],
[style*="font-family: 'Inter'"],
[style*="font-family: inter"] {
  font-family: var(--growcrm-font-family) !important;
}

[style*="font-family: \"Space Mono\""],
[style*="font-family: Space Mono"] {
  font-family: var(--growcrm-font-family) !important;
}
