/* BANUK Staging — Estedad Variable v2. OFL-1.1, self-hosted, paired with Instrument Sans.
   Scoped to Persian storefront; never targets admin, Partners, English, or Sorani roots. */
@font-face {
  font-family: "BANUK Estedad";
  src: url("./fonts/Estedad-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html[lang|="fa"] {
  --banuk-font-fa: "BANUK Estedad", "BANUK Instrument Sans", Tahoma, sans-serif;
  --wp--preset--font-family--primary: var(--banuk-font-fa);
}
html[lang|="fa"] body,
html[lang|="fa"] :is(.wp-site-blocks, .woocommerce, .woocommerce-page, .bn-header, .bn-footer, .wp-block, .wc-block-components-main, .wc-block-components-sidebar, .woocommerce-notices-wrapper, .woocommerce-form-login, .woocommerce-form-register) {
  font-family: var(--banuk-font-fa) !important;
  font-synthesis: none !important;
}
/* Cover text emitted by WooCommerce, checkout blocks and theme, including plugin notices.
   Keep brand logotype, icon fonts and explicitly tagged EN/KU subtrees independent. */
html[lang|="fa"] body :is(
  div, span, p, a, button, input, textarea, select, option, optgroup, label, legend,
  summary, small, strong, b, em, i, blockquote, cite, figcaption, caption,
  h1, h2, h3, h4, h5, h6, ul, ol, li, table, th, td, dt, dd, time, output,
  .wp-element-button, .wc-block-components-button, .wc-block-components-price
):not(:where(
  .bn-wordmark, .bn-wordmark *, .dashicons, .dashicons *,
  .fa, .fa *, [class^="fa-"], [class*=" fa-"], [class*="icon-font"],
  [lang|="en"], [lang|="en"] *, [lang|="ku"], [lang|="ku"] *,
  [lang|="ckb"], [lang|="ckb"] *
)) {
  font-family: var(--banuk-font-fa) !important;
  font-synthesis: none !important;
}
html[lang|="fa"] :is(input, textarea, select, button, .wc-block-components-button, .wp-element-button) {
  font-family: var(--banuk-font-fa) !important;
  font-synthesis: none !important;
}
html[lang|="fa"] :is(input::placeholder, textarea::placeholder) {
  font-family: var(--banuk-font-fa);
}
html[lang|="fa"] :is(h1,h2,h3,h4,h5,h6, .woocommerce div.product .product_title) {
  letter-spacing: 0;
  line-height: 1.52;
}
html[lang|="fa"] :is(.woocommerce .price, .woocommerce-page .price, .wc-block-components-formatted-money-amount, .woocommerce-Price-amount) {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  html[lang|="fa"] :is(.woocommerce div.product .product_title, .woocommerce-loop-product__title, .wc-block-components-product-name) {
    overflow-wrap: anywhere;
    line-height: 1.6;
  }
}
