/* Reversible typography layer. Original styles are preserved at before-typography-20261117. */
.pk-site { --pk-type-button:16px;--pk-type-button-compact:12px;--pk-type-title:36px;--pk-type-product:32px;--pk-type-card:18px;--pk-type-list:20px;--pk-type-compact:14px; }

/* Header and every navigation dropdown. */
#legacy-header .legacy-header-phone>button { font-size:16px;line-height:1.4; }
#legacy-header #pk-nav .menu-item-text-wrapper { font-size:16px;line-height:22px; }
#legacy-header .legacy-catalog-grid a { font-size:15px;line-height:1.5; }
#legacy-header .legacy-catalog-grid a.legacy-catalog-title { font-size:16px; }
#legacy-header .legacy-production-dropdown a,#legacy-header .legacy-all-catalog { font-size:15px;line-height:1.5; }
#legacy-header .legacy-production-dropdown { max-height:min(70vh,650px);overflow:auto;overscroll-behavior:contain; }

/* Deliberate button tiers replace legacy page-specific sizes of 10–14 px. */
body.pk-site .pk-btn,body.pk-site .legacy-button { font-size:var(--pk-type-button)!important;line-height:1.4; }
body.pk-site .pk-catalog-cards[data-catalog-layout=compact] .pk-card-quote { font-size:var(--pk-type-button-compact)!important; }

/* Page names; already large custom heroes such as delivery keep their scale. */
body.pk-site .pk-page>h1,body.pk-site .pk-page-heading>h1,body.pk-site h1.mark-detail-title { font-size:var(--pk-type-title);line-height:1.3; }
body.pk-site .pk-product-title { font-size:var(--pk-type-product)!important;line-height:1.35!important; }
body.pk-site #main h1.bz-tasks__h1 { font-size:var(--pk-type-title)!important;line-height:1.3!important; }
body.pk-site #main .legacy-banner .widget-item-header { font-size:44px!important;line-height:1.25; }

/* Product names remain on one line in the compact layout. */
body.pk-site .pk-listing-card .pk-product-body h3 { font-size:var(--pk-type-card);line-height:1.5; }
body.pk-site .pk-catalog-cards[data-catalog-layout=list] .pk-product-body h3 { font-size:var(--pk-type-list); }
body.pk-site .pk-catalog-cards[data-catalog-layout=compact] .pk-product-body h3,
body.pk-site .pk-catalog-cards[data-catalog-layout=compact] .pk-card-grade-name { font-size:var(--pk-type-compact); }
body.pk-site .pk-catalog-sections .pk-section-tile h3 { font-size:18px;line-height:1.45; }
body.pk-site .pk-subsections a { font-size:14px;line-height:1.5; }
body.pk-site .pk-subsections a span { font-size:.85em; }
body.pk-site .marki-item-link { font-size:16px;line-height:1.5; }
body.pk-site .pk-tabs-nav>a { font-size:16px; }

/* Names on service/production cards and search results. */
body.pk-site .pk-service-card h2,body.pk-site .pk-service-card h3 { font-size:22px;line-height:1.4; }
body.pk-site .pk-service-card>span:last-child { font-size:14px; }
body.pk-site .fp-bg__title { font-size:20px;line-height:1.4; }
body.pk-site .legacy-popular-grid .widget-item-name,body.pk-site .legacy-advantages-grid .widget-item-name { font-size:20px;line-height:1.4; }
#legacy-header .pk-search-group-title { font-size:15px; }
#legacy-header .pk-search-option-title { font-size:15px; }
#legacy-header .pk-search-option-detail { font-size:12px; }
body.pk-site .pk-search-page .pk-search-page-title { font-size:18px; }
body.pk-site .pk-search-page-group li a { font-size:15px; }

@media(max-width:1200px) {
  #legacy-header #pk-nav .menu-item-text-wrapper { font-size:14px;line-height:20px; }
}
@media(max-width:768px) {
  .pk-site { --pk-type-button:14px;--pk-type-title:28px;--pk-type-product:26px;--pk-type-card:16px;--pk-type-list:17px;--pk-type-compact:12px; }
  #legacy-header #pk-nav .menu-item-text-wrapper { font-size:16px;line-height:22px; }
  body.pk-site #main .legacy-banner .widget-item-header { font-size:28px!important;line-height:1.3!important; }
  body.pk-site .pk-catalog-sections .pk-section-tile h3 { font-size:16px; }
  body.pk-site .pk-subsections a { font-size:13px; }
  body.pk-site .marki-item-link { font-size:15px; }
  body.pk-site .pk-tabs-nav>a { font-size:14px; }
  body.pk-site .pk-service-card h2,body.pk-site .pk-service-card h3 { font-size:18px; }
  body.pk-site .pk-service-card>span:last-child { font-size:13px; }
  body.pk-site .fp-bg__title { font-size:18px; }
  body.pk-site .legacy-advantages-grid .widget-item-name { font-size:18px; }
  #legacy-header .pk-search-group-title,#legacy-header .pk-search-option-title { font-size:14px; }
  body.pk-site .pk-search-page .pk-search-page-title { font-size:17px; }
}
@media(max-width:600px) {
  body.pk-site .pk-service-directory .pk-services-grid { grid-template-columns:minmax(0,1fr); }
}
