/* All designed product category pages, EN/ZH. Typography only. */
main.product-category-page {
    font-family: 'Poppins', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.1px;
    font-synthesis: none;
}
main.product-category-page :is(h1,h2,h3,h4,p,li,a,button,input,textarea,select,label,th,td,dt,dd,summary,figcaption) {
    font-family: 'Poppins', 'Microsoft YaHei', 'Noto Sans SC', sans-serif !important;
    letter-spacing: 0.1px !important;
}
main.product-category-page :is(h1,h2,h3,h4) {
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-shadow: none !important;
}
main.product-category-page h1 { font-size: 40px !important; overflow-wrap: anywhere; }
main.product-category-page h2 { font-size: 36px !important; }
main.product-category-page :is(h3,h4) { font-size: 24px !important; }
main.product-category-page :is(p,li) { font-size: 18px !important; font-weight: 400 !important; line-height: 1.8 !important; }
main.product-category-page :is(strong,b,th) { font-weight: 500 !important; }
main.product-category-page .product-detail-main { color: #454545; }
main.product-category-page .product-detail-main > p:not(.has-text-color):not([style*="color"]) { color: #454545 !important; }
main.product-category-page .product-detail-main > :is(h2,h3,h4):not(.has-text-color):not([style*="color"]) { color: #424242 !important; }
/* Preserve contrast on the existing category banners. */
main.product-category-page .product-category-page__title { color: #fff !important; }
main.product-category-page .product-category-page__intro { color: rgba(255,255,255,.9) !important; }

main.product-category-page .bc-product-grid__title {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}
main.product-category-page .bc-product-grid__title a { font-size: inherit !important; font-weight: 500 !important; line-height: inherit !important; }
main.product-category-page .product-detail-sidebar :is(h2,h3,h4) { font-size: 20px !important; line-height: 1.4 !important; }
main.product-category-page .product-detail-sidebar :is(a,p,li) { font-size: 16px !important; line-height: 1.8 !important; }
main.product-category-page .product-detail-main :is(table,table p,table li,th,td,dt,dd) { font-size: 16px !important; line-height: 1.7 !important; }
main.product-category-page .product-detail-main :is(td,dd) { font-weight: 400 !important; }
main.product-category-page .product-detail-main :is(th,dt) { font-weight: 500 !important; }
main.product-category-page :is(.wp-block-button__link,.wp-element-button,.cta-btn,.bc-product-grid__button,input[type="submit"],button[type="submit"]) {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    font-synthesis: none;
}
main.product-category-page :is(input:not([type="submit"]),textarea,select,label) { font-size: 16px !important; font-weight: 400 !important; line-height: 1.6 !important; }
main.product-category-page figcaption { font-size: 14px !important; line-height: 1.7 !important; }
@media(max-width:767px) {
    main.product-category-page h1 { font-size: 32px !important; }
    main.product-category-page h2 { font-size: 28px !important; }
    main.product-category-page :is(h3,h4) { font-size: 22px !important; }
    main.product-category-page .bc-product-grid__title,
    main.product-category-page .product-detail-sidebar :is(h2,h3,h4) { font-size: 20px !important; }
}
