/* Storefront type scale: supporting 14px, body 16px, section headings 28–36px. */
:root {
  --wa-type-small: 14px;
  --wa-type-body: 16px;
  --wa-type-section: clamp(28px, 3vw, 36px);
}
#page-home.wa-home .section-header .section-title,
#page-product .pd-h2 {
  font-size: var(--wa-type-section) !important;
}
#page-home.wa-home .section-header .section-sub,
#page-product .product-info-copy > p {
  font-size: var(--wa-type-body) !important;
}
#page-home .wa-home-product-info h3,
#page-products #productsGrid .product-card .product-name,
#page-home #featuredGrid .product-card .product-name {
  font-size: var(--wa-type-body) !important;
}
#page-checkout .form-section h2 {
  font-size: 20px !important;
}
#page-checkout .form-section label,
footer.footer .footer-col :is(li a, p),
footer.footer .footer-brand > p {
  font-size: var(--wa-type-small) !important;
}

/* Product story sections use the same scale; image badges are unaffected. */
#page-product .wa-koza :is(.km-hero-copy, .km-copy, .km-detail-copy, .km-family-copy, .km-measure-copy, .km-included-head) h2 {
  font-size: var(--wa-type-section) !important;
  line-height: 1.15;
}
#page-product .wa-koza .km-lede {
  font-size: var(--wa-type-body) !important;
  line-height: 1.6;
}
#page-product .wa-koza .km-small {
  font-size: var(--wa-type-small) !important;
  line-height: 1.5;
}
@media (max-width: 600px) {
  #page-home.wa-home .wa-bestsellers .section-header .section-title { font-size: 20px !important; }
  #page-product .wa-koza .km-lede { font-size: 15px !important; }
  #page-home.wa-home .section-header .section-sub,
  #page-product .product-info-copy > p { font-size: 15px !important; }
  #page-home .wa-home-product-info h3,
  #page-products #productsGrid .product-card .product-name,
  #page-home #featuredGrid .product-card .product-name { font-size: var(--wa-type-small) !important; }
}
