/* Mountain Tree global brand typography.
   Univia Pro and Poppins are self-hosted from the child theme. */

:root {
  --mt-font-display: "univia-pro", "Poppins", "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mt-font-body: "poppins", "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mt-shop-font-heading: "univia-pro", "Poppins", "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mt-shop-font-body: "poppins", "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
}

html body#top {
  font-family: var(--mt-font-body) !important;
  letter-spacing: 0 !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body#top *:where(:not(svg):not(svg *):not([class*="icon"]):not([class*="Icon"]):not([class*="dashicons"]):not(.star-rating):not(.star-rating *)) {
  font-family: var(--mt-font-body) !important;
  letter-spacing: 0 !important;
}

html body#top h1,
html body#top h1 *,
html body#top h2,
html body#top h2 *,
html body#top h3,
html body#top h3 *,
html body#top h4,
html body#top h4 *,
html body#top h5,
html body#top h5 *,
html body#top h6,
html body#top h6 *,
html body#top .headline,
html body#top .headline *,
html body#top .av-special-heading-tag,
html body#top .av-special-heading-tag *,
html body#top .product_title,
html body#top .product_title *,
html body#top .woocommerce-loop-product__title,
html body#top .woocommerce-loop-product__title *,
html body#top .mt-shop-hero h1,
html body#top .mt-shop-hero h1 *,
html body#top .mt-cat-hero h1,
html body#top .mt-cat-hero h1 *,
html body#top .mt-landing-hero h1,
html body#top .mt-landing-hero h1 *,
html body#top .mt-hero__headline,
html body#top .mt-hero__headline *,
html body#top .mt-hero__headline-line,
html body#top .mt-section-title,
html body#top .mt-section-title *,
html body#top .mt-card-title,
html body#top .mt-card-title *,
html body#top .mt-footer h2,
html body#top .mt-footer h2 *,
html body#top .mt-footer h3,
html body#top .mt-footer h3 *,
html body#top .mt-mh__drawer-title,
html body#top .mt-mh__drawer-title *,
html body#top .cart_totals h2,
html body#top .cart_totals h2 *,
html body#top #order_review_heading,
html body#top #order_review_heading *,
html body#top .woocommerce-billing-fields h3,
html body#top .woocommerce-billing-fields h3 *,
html body#top .woocommerce-shipping-fields h3,
html body#top .woocommerce-shipping-fields h3 *,
html body#top .woocommerce-MyAccount-content h2,
html body#top .woocommerce-MyAccount-content h2 *,
html body#top .woocommerce-MyAccount-content h3 {
  font-family: var(--mt-font-display) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html body#top .woocommerce-MyAccount-content h3 *,
html body#top.woocommerce-account #customer_login h2,
html body#top.woocommerce-account #customer_login h2 *,
html body#top.woocommerce-account .u-column1 h2,
html body#top.woocommerce-account .u-column2 h2,
html body#top.woocommerce-account .u-column1 h2 *,
html body#top.woocommerce-account .u-column2 h2 * {
  font-family: var(--mt-font-display) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html body#top input,
html body#top select,
html body#top textarea,
html body#top button,
html body#top .button,
html body#top .avia-button,
html body#top .mt-mh a,
html body#top .mt-mh button,
html body#top .mt-drawer a,
html body#top .mt-drawer button,
html body#top .main_menu a,
html body#top .menu-item a,
html body#top .avia-menu-text {
  font-family: var(--mt-font-body) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body#top input::placeholder,
html body#top textarea::placeholder {
  font-family: var(--mt-font-body) !important;
  letter-spacing: 0 !important;
}

html body#top strong,
html body#top b,
html body#top th,
html body#top label,
html body#top .button,
html body#top button,
html body#top .avia-button {
  font-weight: 500 !important;
}

html body#top .mt-drawer__nav a,
html body#top .mt-foot__links a,
html body#top .mt-footer a,
html body#top .mt-hero__scroll-label,
html body#top .mt-eyebrow,
html body#top .mt-section-kicker,
html body#top .mt-shop-toolbar label,
html body#top .price,
html body#top .price.mt-login-for-price,
html body#top .mt-login-for-price,
html body#top .amount,
html body#top .woocommerce-Price-amount,
html body#top.woocommerce .price.mt-login-for-price,
html body#top.woocommerce-page .price.mt-login-for-price {
  font-family: var(--mt-font-body) !important;
  letter-spacing: 0 !important;
}

html body#top .mt-shop-hero h1,
html body#top .mt-cat-hero h1,
html body#top .mt-hero__headline {
  font-weight: 700 !important;
}

html body#top .mt-hero__headline,
html body#top .mt-hero__headline *,
html body#top .mt-hero__headline-line {
  font-family: var(--mt-font-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html body#top .mt-shop-hero,
html body#top .mt-cat-hero,
html body#top .mt-shop-hero *,
html body#top .mt-cat-hero * {
  color: #fff !important;
}

/* Beat older high-specificity shop/account rules that still referenced Inter. */
html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column1 > h2,
html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column2 > h2,
html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column1 > h2 *,
html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column2 > h2 *,
html body#top.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body#top.woocommerce ul.products li.product h2,
html body#top.woocommerce ul.products li.product h3,
html body#top.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
html body#top.single-product .related.products ul.products li.product h2,
html body#top.single-product .related.products ul.products li.product h3,
html body#top.single-product .up-sells ul.products li.product .woocommerce-loop-product__title,
html body#top.single-product .up-sells ul.products li.product h2,
html body#top.single-product .up-sells ul.products li.product h3 {
  font-family: var(--mt-font-display) !important;
  letter-spacing: 0 !important;
}

html body#top.b2bking_logged_out .price.mt-login-for-price,
html body#top.woocommerce.b2bking_logged_out ul.products li.product .price.mt-login-for-price,
html body#top.woocommerce.b2bking_logged_out ul.products li.product .price,
html body#top.single-product.b2bking_logged_out .summary p.price.mt-login-for-price,
html body#top.single-product.b2bking_logged_out div.product .summary .price.mt-login-for-price,
html body#top.single-product.woocommerce.b2bking_logged_out div.product .summary .price.mt-login-for-price,
html body#top.single-product.b2bking_logged_out .related.products ul.products li.product .price.mt-login-for-price,
html body#top.single-product.b2bking_logged_out .up-sells ul.products li.product .price.mt-login-for-price {
  font-family: var(--mt-font-body) !important;
  font-weight: 430 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account.woocommerce-page:not(.logged-in) #customer_login .u-column1 > h2,
html body#top.woocommerce-account.woocommerce-page:not(.logged-in) #customer_login .u-column2 > h2,
html body#top.woocommerce-account.woocommerce-page:not(.logged-in) #customer_login .u-column1 > h2 *,
html body#top.woocommerce-account.woocommerce-page:not(.logged-in) #customer_login .u-column2 > h2 * {
  font-family: var(--mt-font-display) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html body#top .mt-hero__scroll-label {
  text-transform: none !important;
}
