/* ---------------------------------------------------------------------------
   Cyrillic display face — Bulgarian (bg) and Macedonian (mk) store views ONLY.
   v2 — 2026-09-08

   WHY: MADE Outer Sans contains zero Cyrillic glyphs — verified with fontTools
   across all 24 shipped styles (215 codepoints, nothing in U+04xx). Every
   Cyrillic heading on .bg and .mk fell through to whatever system font the
   visitor's OS picked. Latin rendered correctly, Cyrillic did not.

   HOW: Montserrat is declared under the MADE family NAMES rather than as a new
   family. The display font is named directly in 57 inline style attributes across
   30 templates and in ~12,000 inline declarations inside CMS page content in the
   database — none of which a selector-based override can reach. Repointing the
   family reaches all of them at once. unicode-range confines it to Cyrillic, so
   Latin and digits still render in the real MADE Outer Sans.

   Montserrat carries locl tables for cyrl/BGR, cyrl/MKD and cyrl/SRB, so
   Bulgarian and Macedonian letterforms draw correctly rather than the Russian way.

   *** THE WEIGHT LIST IS LOAD-BEARING — DO NOT ADD WEIGHTS ***
   Only declare weights that the REAL family actually has:
       MADE Outer Sans          100 300 400 500 700 800
       MADE Outer Sans Alt      700
       MADE Outer Sans Outline  700
   Declaring a weight the real family lacks (200, 600, 900) creates a face that
   only Montserrat answers. Latin text at that weight then matches it, finds no
   glyph, and drops OUT of the family into a system font. v1 of this file did
   exactly that and silently broke Latin nav, breadcrumbs and product-card size
   lines at weight 200 on both stores. Templates that ask for 200 are fine —
   the browser picks the nearest real face (100 or 300), which has both scripts.

   CACHE: this file is linked from an UNVERSIONED /static/ URL and nginx serves it
   with max-age=315360000 (10 years); Cloudflare caches it. It is therefore NOT
   busted by a static-content deploy. After editing, bump the ?v= number in
   design/head/includes on stores 5 and 9 or the edit will never reach anyone.

   TO REVERT: clear design/head/includes on the bg and mk store views
   (Content > Design > Configuration > <store view> > HTML Head). This file
   becomes inert; nothing else has to be undone.
   --------------------------------------------------------------------------- */

/* MADE Outer Sans — the six weights the real family ships */
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:100;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:300;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:800;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* MADE Outer Sans Alt — one real face (700), used by --font-badge */
@font-face{font-family:'MADE Outer Sans Alt';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* MADE Outer Sans Outline — one real face (700). The outline effect comes from
   -webkit-text-stroke on the element, not the font file, so this reproduces it. */
@font-face{font-family:'MADE Outer Sans Outline';src:url(../fonts/montserrat-cyrillic.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* cyrillic-ext: MK and BG sit entirely inside the block above, so this is
   insurance only. Separate range = never downloaded unless one appears. */
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'MADE Outer Sans';src:url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}

/* ---------------------------------------------------------------------------
   Cyrillic legibility — 2026-09-24. Cyrillic stores only (bg + mk); this file
   loads via design/head/includes, so Latin markets are untouched.

   WHY: montserrat-cyrillic.woff2 is VARIABLE with its DEFAULT instance at
   wght 100 (fvar 100-900). Any text styled font-weight:200 matches the 100
   SLOT and renders almost invisibly — the product-tile "Налични размери" and
   Klarna lines (inline font-weight:200) and the footer link list. Nav labels
   also read washed-out because Montserrat is visually lighter than MADE at the
   same number. The @font-face weight list is NOT touched (it is load-bearing
   for Latin matching, see the warning above) and bold text is left alone, so
   prices, headings and badges keep their exact weight.
   --------------------------------------------------------------------------- */
[style*="font-weight: 200"],
[style*="font-weight:200"],
[style*="font-weight: 100"],
[style*="font-weight:100"],
.font-\[100\], .font-\[200\], .font-\[300\],
.font-thin, .font-extralight, .font-light { font-weight: 500 !important; }

footer a,
.footer a { font-weight: 500 !important; }

nav a { font-weight: 600 !important; }

/* ---------------------------------------------------------------------------
   2026-09-27 — CMS content pages (customer-center, legal, store finder).
   These pages set thin weights with CLASS rules inside their own inline <style>
   (e.g. `.cs-main p{font-weight:200}`), which the attribute/utility selectors
   above never match, so privacy/terms/help body text still hit the 100 slot
   and rendered as hairlines (Mitja, BG screenshot). Mapped to the same visual
   weight latin-ext v7 gives the Latin markets: 200 → 400, 300 → 500.
   The active nav item keeps its own 500. Cyrillic stores only (bg + mk).
   --------------------------------------------------------------------------- */
.cs-main p, .cs-main li, .cs-main td, .cs-main .legal-version,
.cs-nav-link:not(.cs-nav-active), .cs-contact-row, .cs-hub-card p { font-weight: 400 !important; }

.sf-stores-header p, .sf-hero-sub, .sf-cta p, .sf-detail-tagline,
.sf-court-text, .sf-about-text { font-weight: 500 !important; }

/* 2026-09-27 — account UI (R262, account-vN.css) uses weight 300 as its base text
   (.ds-acct*, toasts, dialogs, inputs). On Cyrillic that renders Montserrat wght 300,
   lighter than the Latin-ext look (v7 maps 300 → Montserrat 500). Parity: → 500.
   Children with their own weight (labels 500, headings 700) keep it. */
.ds-acct, .ds-acct-menu, .ds-acct-sheet, .ds-toast-stack, .ds-acct-dialog,
.ds-acct-nav, .ds-acct-input, .ds-acct-form .form-input, .ds-acct-form .form-select,
.ds-acct-form .field.choice .label, .ds-acct-order__ship { font-weight: 500 !important; }

/* 2026-09-27 — account H1 (.ds-acct-h1, 800, line-height 1.02). Cyrillic glyphs come from
   Montserrat, taller than MADE: on a wrapped heading the descenders (у р ц д) touched the
   next line's Й/Ё marks. 1.1 opens that gap; single-line headings look the same. */
.ds-acct-h1 { line-height: 1.1 !important; }
