:root{
        --wp-sync-ui-font-xs:11.5px;
        --wp-sync-ui-font-sm:12.5px;
        --wp-sync-ui-font-base:14px;
        --wp-sync-ui-font-md:15px;
        --wp-sync-ui-font-lg:17px;
        --wp-sync-ui-font-xl:20px;
        --wp-sync-ui-font-title:clamp(22px,2.35vw,30px);
        --wp-sync-ui-font-section:clamp(18px,1.75vw,22px);
        --wp-sync-ui-font-card-title:13.5px;
        --wp-sync-ui-font-price-card:clamp(15.5px,1.45vw,18px);
        --wp-sync-ui-font-price-detail:clamp(22px,2.4vw,28px);
        --wp-sync-ui-font-price-sticky:22px;
        --wp-sync-ui-weight-regular:400;
        --wp-sync-ui-weight-medium:600;
        --wp-sync-ui-weight-bold:700;
        --wp-sync-ui-weight-heavy:800;
    }

    html body :where(
        body.wp-sync-standalone-checkout-body,body.wp-sync-account-body,body.wp-sync-thankyou-body,
        .wp-sync-detail,.wp-sync-cc,.wp-sync-cart,.wp-sync-checkout,
        .wp-sync-template,.wp-sync-template-shop,.wp-sync-template-post,.wp-sync-cc-template,
        .wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2023,.wp-sync-shop-v2024,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wp-sync-shop-auto-archive,
        .wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,
        .wp-sync-news-page-v2033,.wp-sync-news-v2032,
        .wpsxo-page,.wpsxt-page,.wpsac-page,.wpsnav,.wpscc-shell,.wpsd,.wpsjps,.wp-sync-json-product-search,.wps-flash-v2198,.wps-items-v2179,.wps-shop-items-v2184
    ){
        font-family:var(--wp-sync-theme-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif)!important;
        font-size:var(--wp-sync-ui-font-base)!important;
        line-height:1.48!important;
        font-weight:var(--wp-sync-ui-weight-regular)!important;
        letter-spacing:normal!important;
    }

    html body :where(
        .wp-sync-detail,.wp-sync-cc,.wp-sync-cart,.wp-sync-checkout,.wp-sync-template,.wp-sync-template-shop,.wp-sync-template-post,.wp-sync-cc-template,
        .wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2023,.wp-sync-shop-v2024,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wp-sync-shop-auto-archive,
        .wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,
        .wp-sync-news-page-v2033,.wp-sync-news-v2032,.wpsxo-page,.wpsxt-page,.wpsac-page,.wpsnav,.wpscc-shell,.wpsd,.wpsjps,.wp-sync-json-product-search,.wps-flash-v2198,.wps-items-v2179,.wps-shop-items-v2184
    ) :where(p,li,td,th,label,input,select,textarea,button,a,small,span,div){
        font-family:var(--wp-sync-theme-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif)!important;
    }

    /* Global heading scale: no giant hero text inside plugin templates. */
    html body .wp-sync-shop-v2021 h1,html body .wp-sync-shop-v2022 h1,html body .wp-sync-shop-v2030 h1,html body .wp-sync-shop-v2030-list h1,
    html body .wp-sync-pdetail-v2002 .wpsd2-identity h1,html body .wp-sync-pdetail-v2013 .wpsd3-title,html body .wp-sync-pdetail-v2020 .wpsd4-title,html body .wp-sync-detail-v1987 .wp-sync-detail-title,
    html body .wp-sync-news-page-v2033 h1,html body .wp-sync-news-v2032 h1,
    html body .wpsxo-title h1,html body .wpsac-hero h1,html body .wps-items-v2179__head h2,html body .wps-shop-items-v2184 .wps-shop-items-head h2{
        font-size:var(--wp-sync-ui-font-title)!important;
        line-height:1.18!important;
        font-weight:var(--wp-sync-ui-weight-heavy)!important;
        letter-spacing:-.015em!important;
    }
    html body :where(.wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wpsxo-page,.wpsac-page,.wpscc-shell,.wps-items-v2179,.wps-shop-items-v2184) :where(h2,.wpscc-summary h2,.wpscc-order-card h2,.wp-sync-detail-card__title,.wpsd2-card-title,.wpsnp-section-head h2,.wpsn1-related h2,.wpsn2-related h2){
        font-size:var(--wp-sync-ui-font-section)!important;
        line-height:1.25!important;
        font-weight:var(--wp-sync-ui-weight-bold)!important;
        letter-spacing:normal!important;
    }
    html body :where(.wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wpsxo-page,.wpsac-page,.wpscc-shell) :where(h3,h4,h5,h6){
        font-weight:var(--wp-sync-ui-weight-bold)!important;
        letter-spacing:normal!important;
    }

    /* Product card titles and supporting labels. */
    html body .wp-sync-shop-v2021 .wpss1-card-title,
    html body .wp-sync-shop-v2022 .wpss2-card h3,
    html body .wp-sync-shop-v2030 .wpss3-body h3,
    html body .wp-sync-shop-v2030-list .wpss4-info h3,
    html body .wp-sync-product-card__title,
    html body .wps-card-v2179__title,
    html body .wps-shop-items-v2184 .wpss1-card-title,
    html body .wps-flash-v2198__title{
        font-size:var(--wp-sync-ui-font-card-title)!important;
        line-height:1.36!important;
        font-weight:var(--wp-sync-ui-weight-bold)!important;
        letter-spacing:normal!important;
    }
    html body :where(.wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,.wps-items-v2179,.wps-shop-items-v2184,.wps-flash-v2198) :where(.wpss1-pills span,.wpss2-pills span,.wpss3-pills span,.wpss4-specs span,.wp-sync-detail-badge,.wp-sync-detail-meta,.wpsd2-spec-name,.wpsd2-spec-value,.wpsd3-spec-name,.wpsd3-spec-value,.wp-sync-product-card__stock,.wps-flash-v2198__regular,.wps-flash-v2198__save){
        font-size:var(--wp-sync-ui-font-sm)!important;
        line-height:1.35!important;
        font-weight:var(--wp-sync-ui-weight-medium)!important;
    }

    /* Product prices: clear but not oversized. */
    html body .wp-sync-shop-v2021 .wpss1-card-price,
    html body .wp-sync-shop-v2022 .wpss2-price,
    html body .wp-sync-shop-v2030 .wpss3-price,
    html body .wp-sync-shop-v2030-list .wpss4-price,
    html body .wps-shop-items-v2184 .wpss1-card-price,
    html body .wp-sync-product-card__price,
    html body .wps-flash-v2198__sale{
        font-size:var(--wp-sync-ui-font-price-card)!important;
        line-height:1.12!important;
        font-weight:var(--wp-sync-ui-weight-heavy)!important;
        letter-spacing:-.01em!important;
        white-space:normal!important;
    }
    html body .wp-sync-shop-v2021 .wpss1-card-price *,html body .wp-sync-shop-v2022 .wpss2-price *,html body .wp-sync-shop-v2030 .wpss3-price *,html body .wp-sync-shop-v2030-list .wpss4-price *,html body .wp-sync-product-card__price *{
        font-size:inherit!important;
        line-height:inherit!important;
        font-weight:inherit!important;
        letter-spacing:inherit!important;
    }
    html body :where(.wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wp-sync-product-card__price,.wps-shop-items-v2184,.wps-flash-v2198) :where(del,.wpss1-old-price,.wpss2-old-price,.wpss3-old-price,.wpss4-old-price){
        font-size:12px!important;
        font-weight:var(--wp-sync-ui-weight-medium)!important;
    }

    /* Detail and sticky buy price caps. */
    html body .wp-sync-detail-price__value,
    html body .wp-sync-detail-price__value .amount,
    html body .wp-sync-pdetail-v2002 .wpsd2-price-box strong,
    html body .wp-sync-pdetail-v2002 .wpsd2-price-box .ttgdw-price-v2138__current,
    html body .wp-sync-pdetail-v2013 .ttgdw-price-v2138__current,
    html body .wp-sync-pdetail-v2020 .wpsd4-current-price,
    html body .wp-sync-pdetail-v2020 .wpsd4-price-box.ttgdw-price-v2138 .ttgdw-price-v2138__main,
    html body .wp-sync-pdetail-v2020 .wpsd4-price-box.ttgdw-price-v2138 .ttgdw-price-v2138__main ins,
    html body .ttgdw-price-v2138__main,
    html body .ttgdw-price-v2138__main ins{
        font-size:var(--wp-sync-ui-font-price-detail)!important;
        line-height:1.08!important;
        font-weight:var(--wp-sync-ui-weight-heavy)!important;
        letter-spacing:-.018em!important;
    }
    html body .wp-sync-detail-price__label,
    html body .wpsd2-price-box > span,
    html body .wpsd2-price-box span,
    html body .ttgdw-price-v2138__vat,
    html body .ttgdw-price-v2138__discount{
        font-size:var(--wp-sync-ui-font-sm)!important;
        line-height:1.25!important;
        font-weight:var(--wp-sync-ui-weight-bold)!important;
    }
    html body .wp-sync-detail-price__value del,
    html body .ttgdw-price-v2138__main del,
    html body .ttgdw-price-v2138__regular,
    html body .wpsd4-old-price{
        font-size:13px!important;
        font-weight:var(--wp-sync-ui-weight-medium)!important;
        line-height:1.15!important;
    }
    html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .ttgdw-price-v2138__current,
    html body .wp-sync-mobile-buy-slot .wp-sync-detail-price__value,
    html body .wp-sync-mobile-buy-slot .wp-sync-detail-price__value .amount,
    html body .wpsd2-mobile-buy-slot .ttgdw-price-v2138__current,
    html body .wpsd4-mobile-buy-slot .ttgdw-price-v2138__current{
        font-size:var(--wp-sync-ui-font-price-sticky)!important;
        line-height:1.05!important;
        font-weight:var(--wp-sync-ui-weight-heavy)!important;
        letter-spacing:-.015em!important;
    }
    html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-price__label,
    html body .wp-sync-mobile-buy-slot .wp-sync-detail-price__label,
    html body .wpsd2-mobile-buy-slot .wpsd2-price-box > span,
    html body .wpsd4-mobile-buy-slot .wpsd4-price-label{
        font-size:12.5px!important;
        line-height:1.25!important;
        font-weight:var(--wp-sync-ui-weight-bold)!important;
    }

    /* Buttons should follow theme font and not look like oversized badges. */
    html body :where(.wp-sync-detail,.wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,.wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wpscc-shell,.wpsxo-page,.wpsac-page,.wps-items-v2179,.wps-shop-items-v2184,.wp-sync-json-product-search,.wps-flash-v2198) :where(button,.button,a.button,.wp-sync-detail-btn,.wpsd2-call-btn,.wpsd4-btn,.wp-sync-product-card__btn,.wpss2-main-cta,.wpsjps-button,.wps-flash-v2198__btn){
        font-family:var(--wp-sync-theme-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif)!important;
        font-size:var(--wp-sync-ui-font-sm)!important;
        line-height:1.15!important;
        font-weight:var(--wp-sync-ui-weight-heavy)!important;
        letter-spacing:normal!important;
    }

    /* Search, popup, account, checkout, news/article templates. */
    html body .wp-sync-json-product-search .wpsjps-input,
    html body .wp-sync-json-product-search .wpsjps-template-promo_yellow .wpsjps-input,
    html body .wp-sync-json-product-search .wpsjps-template-red_hot .wpsjps-input,
    html body .wp-sync-json-product-search .wpsjps-template-blue_bar .wpsjps-input,
    html body .wp-sync-json-product-search .wpsjps-template-minimal_line .wpsjps-input,
    html body .wp-sync-json-product-search .wpsjps-template-button_right .wpsjps-input{
        font-size:15px!important;
        line-height:1.3!important;
        font-weight:var(--wp-sync-ui-weight-regular)!important;
    }
    html body .wp-sync-json-product-search .wpsjps-icon,
    html body .wp-sync-json-product-search .wpsjps-template-red_hot .wpsjps-button:before,
    html body .wp-sync-json-product-search .wpsjps-template-button_right .wpsjps-button:before{
        font-size:20px!important;
    }
    html body .wp-sync-json-product-search .wpsjps-name{font-size:13.5px!important;font-weight:var(--wp-sync-ui-weight-bold)!important;}
    html body .wp-sync-json-product-search .wpsjps-keyword{font-size:12.5px!important;font-weight:var(--wp-sync-ui-weight-medium)!important;}
    html body .wpsac-avatar,html body .wp-sync-reviews-score strong,html body .wpsd2-review-score strong{font-size:30px!important;}
    html body .wpsac-stat strong{font-size:22px!important;font-weight:var(--wp-sync-ui-weight-heavy)!important;}
    html body .wpscc-summary-rows .is-total strong,html body .wpscc-checkout-summary-rows .is-total strong,html body .wpsac-summary-row.total strong{font-size:17px!important;font-weight:var(--wp-sync-ui-weight-heavy)!important;}
    html body .wp-sync-news-v2032 .wpsn1-article,html body .wp-sync-news-v2032.is-news-02 .wpsn2-article{font-size:15px!important;line-height:1.75!important;}
    html body .wp-sync-news-v2032 .wpsn1-article h2,html body .wp-sync-news-v2032.is-news-02 .wpsn2-article h2{font-size:clamp(20px,2vw,24px)!important;}
    html body .wp-sync-news-v2032 .wpsn1-article h3,html body .wp-sync-news-v2032.is-news-02 .wpsn2-article h3{font-size:clamp(17px,1.7vw,20px)!important;}

    @media (max-width:640px){
        :root{
            --wp-sync-ui-font-base:13.5px;
            --wp-sync-ui-font-title:clamp(20px,5.6vw,24px);
            --wp-sync-ui-font-section:17px;
            --wp-sync-ui-font-card-title:12.5px;
            --wp-sync-ui-font-price-card:15px;
            --wp-sync-ui-font-price-detail:22px;
            --wp-sync-ui-font-price-sticky:20px;
        }
        html body .wp-sync-shop-v2021 .wpss1-grid,html body .wp-sync-shop-v2022 .wpss2-grid,html body .wp-sync-shop-v2030 .wpss3-grid,html body .wps-shop-items-v2184 .wpss1-grid{gap:10px!important;}
        html body .wp-sync-shop-v2021 .wpss1-card-body,html body .wp-sync-shop-v2022 .wpss2-card-body,html body .wp-sync-shop-v2030 .wpss3-body,html body .wps-shop-items-v2184 .wpss1-card-body{padding:9px!important;}
        html body .wp-sync-shop-v2021 .wpss1-card-price,html body .wp-sync-shop-v2022 .wpss2-price,html body .wp-sync-shop-v2030 .wpss3-price,html body .wp-sync-shop-v2030-list .wpss4-price,html body .wp-sync-product-card__price{letter-spacing:-.005em!important;}
        html body :where(.wp-sync-detail,.wp-sync-pdetail-v2002,.wp-sync-pdetail-v2013,.wp-sync-pdetail-v2020,.wp-sync-detail-v1987,.wp-sync-shop-v2021,.wp-sync-shop-v2022,.wp-sync-shop-v2030,.wp-sync-shop-v2030-list,.wpscc-shell,.wpsxo-page,.wpsac-page,.wps-items-v2179,.wps-shop-items-v2184,.wp-sync-json-product-search,.wps-flash-v2198) :where(button,.button,a.button,.wp-sync-detail-btn,.wpsd2-call-btn,.wpsd4-btn,.wp-sync-product-card__btn,.wpss2-main-cta,.wpsjps-button,.wps-flash-v2198__btn){font-size:12.5px!important;}
    }
