/* ABRASIA FONT READABILITY 3.1.3
   Important: in this theme ybakh 600 = Bold, 700 = Heavy, 900 = Fat.
   Use 400 (Regular) for normal text and 500 (Medium) only for headings.
   Scope to Phoenix Managed; preserve family, colors, dimensions, icons. */
html body.pm-shell.pm-shell :not(:where(i,svg,path,.fa,.fas,.far,.fab,.fal,.fad,.isax,[class^="fa-"],[class*=" fa-"],[class^="isax-"],[class*=" isax-"])) {
    font-weight: 400 !important;
}
/* Headings remain distinguishable but never use the YekanBakh Bold file. */
html body.pm-shell.pm-shell :is(h1,h2,h3,h4,h5,h6,.pm-static-title,.pm-static-qtitle,.pm-login-title,.card-title,.panel-title,.section-title):not(i):not(.fas):not(.far):not(.fab) {
    font-weight: 500 !important;
}
/* Explicitly target homepage button and navbar; the old styles used 800/950. */
html body.pm-shell.pm-shell .pm-static-home .pm-static-search button,
html body.pm-shell.pm-shell .pm-static-home .pm-static-search button span,
html body.pm-shell.pm-shell .pm-header .pm-nav a,
html body.pm-shell.pm-shell .pm-header .pm-nav summary,
html body.pm-shell.pm-shell .pm-header .pm-nav a span:not(.fas):not(.far):not(.fab),
html body.pm-shell.pm-shell .pm-header .pm-nav .pm-links a {
    font-weight: 400 !important;
}
/* Preserve FontAwesome families and glyph weights instead of flattening icons. */
html body.pm-shell.pm-shell :is(.fas,[class^="fas fa-"],[class*=" fas fa-"]) {
    font-weight: 900 !important;
}

/* ABRASIA BALANCED HOME FONT V3.1.4
   500 = genuine YekanBakh Medium, unlike 600 = Bold in this theme.
   Only modifies font-weight on homepage. No colors, sizes, backgrounds or layout. */

/* Homepage text, headline, captions and CTAs: Medium, not Regular or Bold. */
html body.pm-shell.pm-shell.pm-page-home .pm-static-home :not(:where(i, svg, path, .fa, .fas, .far, .fab, .fal, .fad, .isax, [class^="fa-"], [class*=" fa-"], [class^="isax-"], [class*=" isax-"])) {
  font-weight: 500 !important;
}

/* Longer supporting copy and input placeholders stay Regular for legibility. */
html body.pm-shell.pm-shell.pm-page-home .pm-static-home .pm-static-desc,
html body.pm-shell.pm-shell.pm-page-home .pm-static-home .pm-static-desc *,
html body.pm-shell.pm-shell.pm-page-home .pm-static-home .pm-static-qtext p,
html body.pm-shell.pm-shell.pm-page-home .pm-static-home .pm-static-qtext p *,
html body.pm-shell.pm-shell.pm-page-home .pm-static-home .pm-static-search input,
html body.pm-shell.pm-shell.pm-page-home .pm-static-home .pm-static-search input::placeholder {
  font-weight: 400 !important;
}

/* The home-page navbar was explicitly forced back to 400 by v3.1.3. */
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-links a,
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-links a span:not(.fa):not(.fas):not(.far):not(.fab),
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-dd summary,
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-login,
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-register,
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-account,
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-account span:not(.fa):not(.fas):not(.far):not(.fab),
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-cart,
html body.pm-shell.pm-shell.pm-page-home > .pm-header .pm-nav .pm-cart span:not(.fa):not(.fas):not(.far):not(.fab) {
  font-weight: 500 !important;
}

