/* The supplied JM mark is embedded unchanged; existing brand names stay readable. */
.jm-brand-link { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.jm-brand-link .jm-brand-mark { display: block; position: static; width: 54px; height: 32px; min-width: 0; flex: 0 0 auto; object-fit: contain; mix-blend-mode: multiply; }
.jm-brand-name { white-space: nowrap; }
.site-footer .footer-brand .jm-brand-link,
.support-page .site-footer .footer-brand .jm-brand-link { gap: 8px; font-size: clamp(20px, 1.7vw, 26px); }
.site-footer .jm-brand-mark { width: 40px; height: 24px; }
.site-footer .jm-brand-mark,
.custom-footer .jm-brand-mark { filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen; }
.custom-footer .jm-brand-link { gap: 6px; }
.custom-footer .jm-brand-mark { width: 30px; height: 18px; }

@media (min-width: 1051px) and (max-width: 1280px) {
  .site-header { gap: 16px; padding-inline: 28px; }
  .site-header .jm-brand-link { gap: 7px; font-size: 21px; }
  .site-header .jm-brand-mark { width: 40px; height: 24px; }
  .site-header .desktop-nav { gap: 14px; }
  .site-footer .footer-brand .jm-brand-link,
.support-page .site-footer .footer-brand .jm-brand-link { gap: 7px; font-size: 20px; }
  .site-footer .jm-brand-mark { width: 34px; height: 20px; }
}

@media (max-width: 767px) {
  .site-header .jm-brand-link,
  .catalog-header .jm-brand-link { gap: 7px; }
  .site-header .jm-brand-mark,
  .catalog-header .jm-brand-mark { width: 44px; height: 26px; }
  .site-footer .footer-brand .jm-brand-link,
.support-page .site-footer .footer-brand .jm-brand-link { gap: 8px; font-size: 25px; }
}

@media (max-width: 380px) {
  .catalog-header .jm-brand-link { font-size: 21px; gap: 6px; }
  .site-header .jm-brand-link { gap: 6px; }
  .site-header .jm-brand-mark,
  .catalog-header .jm-brand-mark { width: 38px; height: 23px; }
  .site-footer .footer-brand .jm-brand-link,
.support-page .site-footer .footer-brand .jm-brand-link { font-size: 23px; }
  .site-footer .jm-brand-mark { width: 36px; height: 22px; }
}
