/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V3 (bounded repair, not redesign).
   Hallmark · macrostructure: existing catalogue · theme: studied-DNA (teknikfix.se).
   Repair scope: existing catalogue / technical retail / light /
   Montserrat + Nunito Sans / compact rhythm / instant disclosure.
   Preserve the established brand; this is not a new theme or full redesign. */
:root {
  --tf-live-body: "Nunito Sans", sans-serif;
  --tf-live-heading: "Montserrat", sans-serif;
  --tf-live-focus: #000f20;
}

/* First-party additions previously brought their own Arial/Helvetica stacks.
   Do not alter icon fonts, logos, third-party widgets or checkout components. */
:is(.tf-infobar, .tf-top-banner, .tf-repair-cta, .tf-trust-block,
    .tf-product-trust, .tf-brand-internlinks, .tf-kontakt-wrap) {
  font-family: var(--tf-live-body) !important;
}
:is(.tf-infobar, .tf-top-banner, .tf-repair-cta, .tf-trust-block,
    .tf-product-trust, .tf-brand-internlinks, .tf-kontakt-wrap)
  :is(p, a, div, span, strong, button) {
  font-family: var(--tf-live-body) !important;
}
:is(.tf-trust-block, .tf-product-trust, .tf-brand-internlinks, .tf-kontakt-wrap)
  :is(h1, h2, h3) {
  font-family: var(--tf-live-heading) !important;
}
.single-product #tab-description,
.single-product #tab-description :is(p, li, div),
.page-id-16416 .wp-block-post-content :is(p, li, div) {
  font-family: var(--tf-live-body) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}
.single-product #tab-description :is(h2, h3) {
  font-family: var(--tf-live-heading) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin-block: 24px 12px;
}
.single-product #tab-description > :is(h2, h3):first-child { margin-top: 0; }
.products-block-post-template .teknikfix-product-title a {
  font-family: var(--tf-live-heading) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  -webkit-line-clamp: 3;
  max-height: none;
  min-height: 4.2em;
}
.products-block-post-template .quick-facts .fact {
  font-family: var(--tf-live-body) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  height: auto;
}
.teknikfix-price-wrapper { font-variant-numeric: tabular-nums; }
.tf-category-disclosure {
  min-height: 44px;
  white-space: nowrap;
}
.tf-category-disclosure:focus-visible {
  outline: 2px solid var(--tf-live-focus);
  outline-offset: 3px;
}
.tf-category-disclosure:disabled { opacity: .55; cursor: not-allowed; }
.tf-category-disclosure:active { text-decoration: underline; }
.tf-category-intro[hidden], .tf-category-more[hidden] { display: none !important; }

@media (max-width: 580px) {
  .home .teknikfix-hero-banner-wrapper {
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    padding-top: 160px;
    padding-bottom: 16px;
    background-position: 50% 4%;
  }
  .home .teknikfix-hero-banner-content {
    top: 0;
    padding: 24px;
    box-shadow: none;
  }
  .home .teknikfix-hero-banner-content h1 { line-height: 1.25; }
  .home .teknikfix-hero-banner-content .wp-block-button { margin-top: 16px; }
  .single-product #tab-description :is(h2, h3) { font-size: 18px !important; }
}
