/* WebZone Balanced Typography System — v2.8.0
 * A compact hierarchy for the variable Yekan Bakh face.
 * Standalone invoice and postal-label documents are intentionally excluded.
 */
body.wxz-zone-runtime,body.wxz-zone-admin-runtime{
    --wxz-type-weight-body:400;
    --wxz-type-weight-muted:450;
    --wxz-type-weight-label:550;
    --wxz-type-weight-control:600;
    --wxz-type-weight-heading:650;
    --wxz-type-weight-title:700;
    --wxz-type-leading-body:1.78;
    --wxz-type-leading-compact:1.55;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
){
    font-weight:var(--wxz-type-weight-body)!important;
    line-height:var(--wxz-type-leading-body);
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(p,li,dd,dt,td,address){
    font-weight:var(--wxz-type-weight-body)!important;
    line-height:var(--wxz-type-leading-body)!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(small,.description,.woocommerce-form-row__description,.wxz-account-muted,em:not(.amount),.meta){
    font-size:var(--wxz-theme-font-small,12px)!important;
    font-weight:var(--wxz-type-weight-muted)!important;
    line-height:1.7!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(label,th,legend,.wxz-field-label){
    font-size:var(--wxz-theme-font-button,13px)!important;
    font-weight:var(--wxz-type-weight-label)!important;
    line-height:1.65!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(input,select,textarea){
    font-size:var(--wxz-theme-font-button,13px)!important;
    font-weight:var(--wxz-type-weight-body)!important;
    line-height:1.55!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(button,.button,[role="button"],input[type="submit"],input[type="button"]){
    font-size:var(--wxz-theme-font-button,13px)!important;
    font-weight:var(--wxz-type-weight-control)!important;
    line-height:var(--wxz-type-leading-compact)!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(strong,b){
    font-weight:var(--wxz-type-weight-control)!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(h2,h3,h4,.wxz-section-title){
    font-weight:var(--wxz-type-weight-heading)!important;
    line-height:1.55!important;
}

:where(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :where(h1,.wxz-page-title){
    font-weight:var(--wxz-type-weight-title)!important;
    line-height:1.45!important;
}

/* WooCommerce account forms need a tighter hierarchy than most themes provide. */
body.wxz-account-ultimate .woocommerce-EditAccountForm :where(label,legend),
body.wxz-account-ultimate .woocommerce-address-fields :where(label,legend){
    font-size:13px!important;
    font-weight:var(--wxz-type-weight-label)!important;
}
body.wxz-account-ultimate .woocommerce-EditAccountForm fieldset>legend{
    margin-bottom:14px!important;
    font-size:16px!important;
    font-weight:var(--wxz-type-weight-heading)!important;
}
body.wxz-account-ultimate .woocommerce-EditAccountForm :where(input,textarea,select){
    font-size:13px!important;
    font-weight:var(--wxz-type-weight-body)!important;
}
body.wxz-account-ultimate :where(.wxz-account-avatar-upload-content strong,.wxz-account-nav-meta strong){
    font-weight:var(--wxz-type-weight-heading)!important;
}

/* Plugin admin UI uses the same balanced weights, not the frontend color theme. */
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin){
    --wxz-theme-font-base:14px;
    --wxz-theme-font-small:12px;
    --wxz-theme-font-button:13px;
    font-weight:var(--wxz-type-weight-body)!important;
    line-height:var(--wxz-type-leading-body);
}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :where(p,li,td){font-weight:var(--wxz-type-weight-body)!important}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :where(.description,small){font-weight:var(--wxz-type-weight-muted)!important}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) label{font-weight:var(--wxz-type-weight-label)!important}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :where(input,select,textarea){font-weight:var(--wxz-type-weight-body)!important}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :where(button,.button){font-weight:var(--wxz-type-weight-control)!important}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :where(strong,b,h3,h4){font-weight:var(--wxz-type-weight-heading)!important}
:where(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :where(h1,h2){font-weight:var(--wxz-type-weight-title)!important}

@media(max-width:720px){
    body.wxz-account-ultimate .woocommerce-EditAccountForm fieldset>legend{font-size:15px!important}
}

/* WooCommerce Zone 4.2.12 Global Feature Typography Lock
   Balanced weights across all module UIs, including filters, search, mini-cart,
   compare, bottom nav, gallery/swatches, checkout/cart and admin screens. */
body.wxz-zone-runtime,body.wxz-zone-admin-runtime{
    --wxz-type-weight-body:400;
    --wxz-type-weight-muted:450;
    --wxz-type-weight-label:500;
    --wxz-type-weight-control:600;
    --wxz-type-weight-heading:650;
    --wxz-type-weight-title:700;
}
:where(
    .wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-search-mobile,.wxz-ultra-search,
    .wxz-product-compare,.wxz-compare-dialog,.wxz-bottom-nav,.wxz-bn-bar,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,
    .wxz-product-gallery,.wxz-gallery,.wxzvsw-admin,.wxpg-admin,.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin,
    [class^='wxz-'],[class*=' wxz-'],[class^='wxpr-'],[class*=' wxpr-'],[class^='wxpg-'],[class*=' wxpg-'],[class^='wxdb-'],[class*=' wxdb-'],[class^='wxpq-'],[class*=' wxpq-']
){
    font-family:var(--wxz-font-family)!important;
    font-weight:var(--wxz-type-weight-body)!important;
}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(p,li,dd,dt,td,address){font-weight:var(--wxz-type-weight-body)!important;line-height:1.78!important;}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(small,.description,.meta,em:not(.amount)){font-weight:var(--wxz-type-weight-muted)!important;}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(label,th,legend){font-weight:var(--wxz-type-weight-label)!important;}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(button,.button,[role='button'],input[type='submit'],input[type='button']){font-weight:var(--wxz-type-weight-control)!important;}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(strong,b){font-weight:var(--wxz-type-weight-control)!important;}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(h2,h3,h4,.wxz-section-title){font-weight:var(--wxz-type-weight-heading)!important;}
:where(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^='wxz-'],[class*=' wxz-']) :where(h1,.wxz-page-title){font-weight:var(--wxz-type-weight-title)!important;}


/* WooCommerce Zone 4.2.14 YekanBakh VF final lock
   Uses /assets/fonts/YekanBakh-VF.woff through webzone-font.css. */
:where(
    .wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-search-mobile,.wxz-ultra-search,
    .wxz-product-compare,.wxz-compare-dialog,.wxz-bottom-nav,.wxz-bn-bar,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,
    .wxz-product-gallery,.wxz-gallery,.wxz-variation-swatches,.wxz-account-ultimate,
    .wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin,.wxpg-admin,.wxzvsw-admin,
    [class^='wxz-'],[class*=' wxz-'],[class^='wxpr-'],[class*=' wxpr-'],[class^='wxpg-'],[class*=' wxpg-'],[class^='wxdb-'],[class*=' wxdb-'],[class^='wxpq-'],[class*=' wxpq-'],[class^='wxzvsw-'],[class*=' wxzvsw-'],
    [data-wxz-module],[data-wxz-feature],[data-wxz-mini-cart],[data-wxz-search],[data-wxz-product-filters]
){
    font-family:var(--wxz-font-family,'WXZYekanBakhVF',Tahoma,Arial,sans-serif)!important;
    font-synthesis-weight:none!important;
    -webkit-font-feature-settings:var(--wxz-font-features,'locl' 1)!important;
    font-feature-settings:var(--wxz-font-features,'locl' 1)!important;
    font-variant-numeric:normal!important;
}
/* Text naturally inherits from each module root. Only native form controls need an
   explicit inheritance bridge; blanket descendant locks break icon fonts. */
:where(
    .wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-search-mobile,.wxz-ultra-search,
    .wxz-product-compare,.wxz-compare-dialog,.wxz-bottom-nav,.wxz-bn-bar,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,
    .wxz-product-gallery,.wxz-gallery,.wxz-variation-swatches,.wxz-account-ultimate,
    .wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin,.wxpg-admin,.wxzvsw-admin,
    [data-wxz-module],[data-wxz-feature],[data-wxz-mini-cart],[data-wxz-search],[data-wxz-product-filters]
) :where(button,input,select,textarea,option){
    font-family:inherit!important;
    font-synthesis-weight:none!important;
}

/* Icon-font firewall. OpenType features used by Persian text must never leak
   into private-use icon glyphs. This remains scoped to WooCommerce Zone UI. */
:where(
    .wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-search-mobile,.wxz-ultra-search,
    .wxz-product-compare,.wxz-compare-dialog,.wxz-bottom-nav,.wxz-bn-bar,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,
    .wxz-product-gallery,.wxz-gallery,.wxz-variation-swatches,.wxz-account-ultimate,
    .wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin,.wxpg-admin,.wxzvsw-admin
) :where(.dashicons,[class^='dashicons-'],[class*=' dashicons-']){
    font-family:dashicons!important;
    font-feature-settings:normal!important;
    -webkit-font-feature-settings:normal!important;
    font-variant:normal!important;
    font-synthesis:none!important;
}
:where(
    .wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-search-mobile,.wxz-ultra-search,
    .wxz-product-compare,.wxz-compare-dialog,.wxz-bottom-nav,.wxz-bn-bar,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,
    .wxz-product-gallery,.wxz-gallery,.wxz-variation-swatches,.wxz-account-ultimate,
    .wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin,.wxpg-admin,.wxzvsw-admin
) :where(.dashicons-before)::before{
    font-family:dashicons!important;
    font-feature-settings:normal!important;
    -webkit-font-feature-settings:normal!important;
    font-variant:normal!important;
}

/* WooCommerce Zone isolated button overrides moved from assets/css/typography-system.css. */
body.wxz-zone-runtime :is(
    .wxz-checkout-page,.wxz-checkout-modal,.wxz-cart-page,.wxz-mini-cart,
    .wxz-sfl,.wxz-rv,.wxz-product-compare,.wxz-compare-dialog,
    .wxz-ultra-search,.wxz-search-panel,.wxz-search-mobile,
    body.wxz-account-ultimate .woocommerce,
    [class^="wxpr-"],[class*=" wxpr-"]
) :is(button.wxz-button:not(#wxz-button),.button.wxz-button:not(#wxz-button),[role="button.wxz-button:not(#wxz-button)"],input[type="submit"],input[type="button.wxz-button:not(#wxz-button)"]){font-size:var(--wxz-theme-font-button,13px)!important;font-weight:var(--wxz-type-weight-control)!important;line-height:var(--wxz-type-leading-compact)!important}
body.wxz-zone-runtime :is(.wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin) :is(button.wxz-button:not(#wxz-button),.button.wxz-button:not(#wxz-button)){font-weight:var(--wxz-type-weight-control)!important}
body.wxz-zone-runtime :is(.wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-product-compare,.wxz-compare-dialog,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,[class^="wxz-"],[class*=" wxz-"]) :is(button.wxz-button:not(#wxz-button),.button.wxz-button:not(#wxz-button),[role="button.wxz-button:not(#wxz-button)"],input[type="submit"],input[type="button.wxz-button:not(#wxz-button)"]){font-weight:var(--wxz-type-weight-control)!important}
body.wxz-zone-runtime :is(
    .wxz-product-filters,.wxz-mini-cart,.wxz-search-panel,.wxz-search-side,.wxz-search-mobile,.wxz-ultra-search,
    .wxz-product-compare,.wxz-compare-dialog,.wxz-bottom-nav,.wxz-bn-bar,.wxz-cart-page,.wxz-checkout-page,.wxz-checkout-modal,
    .wxz-product-gallery,.wxz-gallery,.wxz-variation-swatches,.wxz-account-ultimate,
    .wxz-zone-admin,.wxz-theme-admin,.wxpr-dark-admin,.wxpg-admin,.wxzvsw-admin,
    [class^="wxz-"],[class*=" wxz-"],[class^="wxpr-"],[class*=" wxpr-"],[class^="wxpg-"],[class*=" wxpg-"],[class^="wxdb-"],[class*=" wxdb-"],[class^="wxpq-"],[class*=" wxpq-"],[class^="wxzvsw-"],[class*=" wxzvsw-"],
    [data-wxz-module],[data-wxz-feature],[data-wxz-mini-cart],[data-wxz-search],[data-wxz-product-filters]
) :is(button.wxz-button:not(#wxz-button),input,select,textarea,option,a,span,strong,b,em,small,div,p,li,label,h1,h2,h3,h4,h5,h6,table,thead,tbody,tfoot,tr,td,th){font-family:inherit!important;font-synthesis-weight:none!important}

/* WooCommerce Zone isolated button overrides moved from assets/css/webzone-font.css. */
body.wxz-zone-runtime :is(
    [class^="wxz-"],[class*=" wxz-"],
    [class^="wxpr-"],[class*=" wxpr-"],
    [class^="wxpg-"],[class*=" wxpg-"],
    [class^="wxdb-"],[class*=" wxdb-"],
    [class^="wxpq-"],[class*=" wxpq-"],
    [class^="wxzvsw-"],[class*=" wxzvsw-"],
    .wxpr-dark-admin,.wxz-zone-admin,.wxz-theme-admin,.wxpg-admin,.wxzvsw-admin,
    body.wxz-account-ultimate .woocommerce,
    [data-wxz-module],[data-wxz-feature],[data-wxz-mini-cart],[data-wxz-search],[data-wxz-product-filters]
) :is(button.wxz-button:not(#wxz-button),input,select,textarea,option,a,span,strong,b,em,small,div,p,li,label,h1,h2,h3,h4,h5,h6){font-family:inherit!important;font-synthesis-weight:none!important}
