/**
 * Site typography: Jost (UI/body) + Fraunces (headings).
 * Beats the global `* { font-family: Jost !important }` rule.
 */

:root {
  --isarva-font-sans: "Jost", system-ui, Arial, sans-serif;
  --isarva-font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* Display headings — brand voice */
h1,
h2,
h3,
.entry-title,
.page-title,
.product_title,
.isarva-product-title,
.woocommerce-products-header__title,
.woocommerce-loop-category__title,
.mhp-section-head h2,
.mhp-section-title,
.isarva-op-head h2,
.isarva-testimonials__head h2,
.isarva-testimonials__dialog-title,
.mhp-video-gallery__intro h2,
.mhp-trust-feature .mhp-section-title,
.related.products .mhp-section-head h2,
.bootscore-title,
.card-title.h5,
#masthead .offcanvas-title {
  font-family: var(--isarva-font-display) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

/* Keep compact UI labels / card product names in Jost */
h4,
h5,
h6,
.mhp-product-body h3,
.mhp-product-body h3 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__title,
.nav-link,
.btn,
button,
input,
select,
textarea,
.price,
.mhp-price,
.isarva-op-kicker,
.mhp-chip,
.mhp-category-name,
.custom-search-input,
.custom-search-btn {
  font-family: var(--isarva-font-sans) !important;
  letter-spacing: normal;
}

/* Slightly softer display on small screens */
@media (max-width: 767.98px) {
  h1,
  h2,
  .entry-title,
  .page-title,
  .product_title,
  .isarva-product-title,
  .mhp-section-head h2,
  .isarva-op-head h2 {
    letter-spacing: -0.015em;
  }
}
