/* Storefront type rules shared by every page (typography audit 2026-11-15).
   Faces: 'NatGard Lato' (NatGard Sans = Lato 2.015 with Cyrillic, 400/700) for brand text,
   'NatGard Noto Sans' (400/500/700) for interface chrome; both declared in /styles.css.
   The same family is used in Russian and English and on desktop and phone: no rule here
   may switch the face by language or device. Smoothing is the browser default everywhere. */

/* The account header and its menus stay in the interface face, in both languages. */
body.account-page .site-header {
  --locale-font: 'NatGard Noto Sans';
}

/* Universal header text remains Noto Sans in both languages. */
.site-header .account-link strong {
  font-size: 14px;
}

/* Desktop row labels: 20/26 bold (700 is the face that exists). */
@media (min-width: 768px) {
  body :is(#trending-now-title, #best-sellers-title) {
    font-weight: 700;
    line-height: 26px;
  }
}
@media (max-width: 600px) {
  body.catalog-page .catalog-shell h1 {
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 767px) {
  html body.local-cart-page .local-cart-promo h2 {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Standalone sign-in: Noto Sans is already bundled. Match the measured
   fixed tracking, and retain the existing responsive size choices. */
body.auth-page .auth-card {
  letter-spacing: .15008px;
}
body.auth-page .auth-card :is(h1, .auth-intro, .auth-alternative, .auth-keep-signed-in, .auth-scan h2, .auth-scan p, .auth-quality h2) {
  letter-spacing: inherit;
}
body.auth-page .auth-submit {
  letter-spacing: normal;
}
body.auth-page .auth-card h1 {
  line-height: 30px;
}
body.auth-page .auth-alternative {
  line-height: 19.2px;
}
body.auth-page .auth-scan h2 {
  line-height: 24px;
}
body.auth-page .auth-quality h2 {
  line-height: 26px;
}

/* Measured desktop security labels retain their fixed tracking. */
html:not([data-device="phone"]) body.account-page :is(.account-passkeys, .account-devices) .account-app-title,
html:not([data-device="phone"]) body.account-page .account-device-details p {
  letter-spacing: .13132px;
}
