/* ──────────────────────────────────────────────────────────────────────────
   Partner font: ONE PLACE for partner.chilli.ee (partner-landing-layout: esileht, Restoranidele, Chilli Plus,
   UGC, login), partnerweb v2 (firma-layout-v2) and v1 (firma-layout), onboarding / upload flow (vendor-upload-layout) and the contract
   page (firma/leping-kinnitamine). Same font as chilli.ee (chilli-frontend public/css/fonts.css), Manrope since
   2026-09-29. Partnerweb and onboarding take it through their own base rule: font-family: var(--pl-font, ...).

   To change the font edit only this file:
     1. the @import line: which font and weights are loaded
     2. --pl-font: font name and fallbacks
   then raise partner-fonts.css?v= in partner-landing-layout, firma-layout, firma-layout-v2, vendor-upload-layout and
   firma/leping-kinnitamine (git grep -l 'partner-fonts.css?v=').

   Weights: 400 text, 500 headings and buttons, 600 semibold, 700 bold, 800 big headings and prices.
   ────────────────────────────────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --pl-font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bs-font-sans-serif: var(--pl-font);
  --bs-body-font-family: var(--pl-font);
}

/* the layout also loads chilli.ee app.css/custom.css with their own font; this wins everywhere on the page.
   Icon fonts sit on ::before/::after and are not touched; code stays monospace. */
body.partner-landing-page,
body.partner-landing-page *:not(code):not(kbd):not(pre):not(samp):not([class*="mono"]) {
  font-family: var(--pl-font) !important;
}

/* partnerweb v1 (firma-layout): the minified style.css sets 'Open Sans' per selector, so the font wins here too.
   Icon classes keep their own icon font. */
body.partner-v1,
body.partner-v1 *:not(code):not(kbd):not(pre):not(samp):not([class*="mono"]):not([class*="icon"]):not([class^="fa"]):not([class*=" fa"]):not(.ui-icon) {
  font-family: var(--pl-font) !important;
}
