/*
 * Herz Type global da loja /mm/ (FIG-00, DEC-FIG-01).
 * Carregado pelo headMarkup do site em TODAS as rotas, inclusive as públicas,
 * onde o styles.css do site não chega. Sobrescreve a variável base do tema
 * (BaseFont google:Poppins); as demais famílias do branding set herdam dela.
 * v2 (14/09/2026): seis pesos, 200 a 700. Os pesos 200, 300 e 500 vêm do CDN
 * oficial da Micromed (cdn.micromed.health/fonts/herz), o mesmo que serve
 * 400/600/700 com SHA-256 idêntico aos arquivos que a loja já hospedava.
 * v3 (15/09/2026): botões e campos nativos também em Herz. O botão Entrar do
 * login nativo saía em -apple-system, a pilha de fonte do SLDS, porque
 * lightning-button lê --lwc-fontFamily e não a família do tema. As variáveis
 * abaixo atravessam shadow DOM; a regra de elemento cobre o light DOM, onde
 * <button> e <input> não herdam fonte do navegador por padrão.
 * Nome versionado porque o static resource é servido com cache de 45 dias.
 */
@font-face {
  font-family: "Herz Type";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("Herz-Extralight-v1.woff2") format("woff2");
}
@font-face {
  font-family: "Herz Type";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("Herz-Light-v1.woff2") format("woff2");
}
@font-face {
  font-family: "Herz Type";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("Herz-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Herz Type";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("Herz-Medium-v1.woff2") format("woff2");
}
@font-face {
  font-family: "Herz Type";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("Herz-Semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Herz Type";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("Herz-Bold.woff2") format("woff2");
}
:root {
  --dxp-s-html-font-family: "Herz Type", "Montserrat", "Segoe UI", Arial,
    sans-serif !important;
  --dxp-s-button-font-family: var(--dxp-s-html-font-family) !important;
  --dxp-s-form-element-text-font-family: var(
    --dxp-s-html-font-family
  ) !important;
  --lwc-fontFamily: var(--dxp-s-html-font-family) !important;
  --slds-g-font-family: var(--dxp-s-html-font-family) !important;
  --slds-g-font-family-base: var(--dxp-s-html-font-family) !important;
}
button,
input,
select,
textarea,
.slds-button {
  font-family: var(--dxp-s-html-font-family);
}
