@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto+Slab:wght@500;600;700;800;900&display=swap');

:root {
  --hw-heading-font: 'Roboto Slab', Georgia, serif;
  --hw-body-font: 'Montserrat', Arial, sans-serif;
}

/* The site includes older page-specific font rules. Override those on text elements
   while leaving icon glyphs and artwork to their original styles. */
html body,
html body :is(#hw3-shop, #wg-store, main, header, footer, section, article, form),
html body :is(#hw3-shop, #wg-store, *):is(#hw-site-header, *) :is(p, a, li, span, small, strong, b, em, dt, dd, label, button, input, select, textarea, summary, blockquote, figcaption):not([class*="icon"]) {
  font-family: var(--hw-body-font) !important;
}

html body :is(#hw3-shop, #wg-store, *):is(#hw-site-header, *) :is(h1, h2, h3, h4, h5, h6, .hw3-title, .hw3-product-name, .hw3-pack-total),
html body :is(#hw3-shop, #wg-store, *):is(#hw-site-header, *) :is(h1, h2, h3, h4, h5, h6) :is(span, strong, b, em, a) {
  font-family: var(--hw-heading-font) !important;
}

html body.hw-page-gear #wg-store .wg-hero-simplified .wg-lead {
  font-family: var(--hw-body-font) !important;
}


/* Center customer-facing copy on phones without changing form or navigation alignment. */
@media (max-width: 760px) {
  html body.hw-page-gear #wg-store :is(.wg-card, .wg-hero, .wg-collection, .wg-custom, .wg-section-head, .wg-krapper-copy) :is(h1, h2, h3, h4, p),
  html body :is(h1, h2, h3, h4, h5, h6, p, summary, figcaption, .hw3-title, .hw3-product-name):not(:where(nav, nav *, form *, [role="navigation"] *, [role="dialog"] *)) {
    text-align: center !important;
  }
}
