:root {
  --havi-font-heading: "Playfair Display", Georgia, serif;
  --havi-font-body: "Fira Sans", Arial, sans-serif;
}

html body,
html body :where(.elementor-kit-37, .elementor) {
  --e-global-typography-primary-font-family: "Playfair Display";
  --e-global-typography-secondary-font-family: "Playfair Display";
  --e-global-typography-text-font-family: "Fira Sans";
  --e-global-typography-accent-font-family: "Fira Sans";
  --wp--preset--font-family--system-sans: var(--havi-font-body);
}

html body,
html body :is(p, li, dd, dt, label, legend, blockquote, figcaption, button, input, select, textarea),
html body :is(.havi2, .havi-split-main, .havi-contact-stack, .havi-footer-policy-links, .cppw-page-body),
html body .elementor :is(.elementor-widget-text-editor, .elementor-icon-list-text, .elementor-button),
html body .havi-header03-main .elementor-widget-wp-widget-nav_menu ul.menu > li > a,
html body .havi-header03-main .elementor-widget-wp-widget-nav_menu ul.sub-menu a,
html body :is(.havi-hero-slider__button, .havi-mobile-drawer a, .woocommerce-Price-amount, .wc-block-components-button, .wc-block-components-totals-item, .wc-block-checkout__terms, .havi-checkout-disclaimer) {
  font-family: var(--havi-font-body) !important;
}

html body :is(h1, h2, h3, h4, h5, h6, [role="heading"]),
html body .elementor :is(.elementor-heading-title, .havi2-heading, .elementor-widget-heading .elementor-heading-title),
html body .havi-footer-main :is(h1, h2, h3, h4, h5, h6, .havi-accept-title, .havi-courier-title, .havi-contact-row strong),
html body :is(.havi-hero-slider__content h2, .woocommerce-loop-product__title, .wp-block-post-title, .havi-mobile-drawer__title, .wc-block-components-title, .wc-block-components-checkout-step__title) {
  font-family: var(--havi-font-heading) !important;
}

/* HAVI storefront card and section sizing */
body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(17px, 1.5vw, 22px) !important;
  line-height: 1.25 !important;
}
body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) ul.products li.product .havi-card-actions :is(a.button.add_to_cart_button, button.button.havi-buy-now) {
  min-height: 42px !important;
  padding: 8px 4px !important;
  font-size: clamp(12px, 1.05vw, 14px) !important;
}
body.page-id-126 .havi2-head .havi2-heading {
  font-size: clamp(25px, 2.4vw, 34px) !important;
}
@media (max-width: 420px) {
  body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) ul.products li.product .havi-card-actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) .havi-card-actions .added_to_cart {
    grid-row: auto;
  }
}


/* HAVI product features heading */
body.single-product .cpmb-wc-tab-panel[data-panel="features"] .cpmb-wc-feature-grid > div > h2 { color: #000 !important; }

/* HAVI product card supporting text */
body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) ul.products li.product :is(.havi-card-inspiration, .havi-card-tagline) {
  font-size: 18px !important;
  line-height: 1.4;
}
body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) ul.products li.product .price,
body :is(.page-id-126 .havi2-woo, .havi-shop-content .havi-shop-catalog) ul.products li.product .price :is(.amount, bdi, .woocommerce-Price-currencySymbol, ins, del) {
  font-size: 18px !important;
  color: #e3175b !important;
  font-weight: 600 !important;
}
/* HAVI home product action alignment */
body.page-id-126 .havi2-woo ul.products { align-items: stretch !important; }
body.page-id-126 .havi2-woo ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    min-width: 0;
}
body.page-id-126 .havi2-woo ul.products li.product > .woocommerce-LoopProduct-link {
    display: block;
    flex: 0 0 auto;
    width: 100%;
}
body.page-id-126 .havi2-woo ul.products li.product > .havi-card-actions {
    margin-top: auto !important;
    padding-top: 10px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
