/* Local Junco family for the customer storefront, not the brand artwork. */
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-Light.otf") format("opentype");font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-LightItalic.otf") format("opentype");font-style:italic;font-weight:300;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-Regular.otf") format("opentype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-Italic.otf") format("opentype");font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-Medium.otf") format("opentype");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-MediumItalic.otf") format("opentype");font-style:italic;font-weight:500;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-Bold.otf") format("opentype");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Junco Sans Display";src:url("/fonts/junco/JuncoSansDisplay-BoldItalic.otf") format("opentype");font-style:italic;font-weight:700;font-display:swap}

/* Keep weights, italics and layout from the existing components, including those with inline type styles. */
body#junco-storefront {
  --junco-ui: "Junco Sans Display", system-ui, sans-serif;
  font-family: var(--junco-ui);
  font-synthesis: none;
}
body#junco-storefront :where(*:not(svg, svg *, .sf-wordmark, .pj-sign, .pj-sign *, [data-brand-mark], [data-brand-mark] *)) {
  font-family: var(--junco-ui) !important;
}

html.sf-fonts-fallback body#junco-storefront {
  --junco-ui: system-ui, sans-serif;
}

/* Preserve the pickup signs (their letter codes are pictograms, not text). */
body#junco-storefront .pj-sign,
body#junco-storefront .pj-sign > span {
  font-family: "Muralla Signs", sans-serif !important;
}

/* Swap only the storefront header wordmark, preserving its contrast on the dark header. */
body#junco-storefront .sf-wordmark {
  height: auto;
  aspect-ratio: 697 / 206;
  -webkit-mask-image: url("/img/muralla-wordmark-junco-v1.svg");
  mask-image: url("/img/muralla-wordmark-junco-v1.svg");
}
