:root{
  --coffeeno-font-family:inherit;
}

/*
 * Coffeeno storefront typography — Peyda 4 (Pro).
 *
 * Peyda is loaded by the WordPress/Elementor presentation layer. Coffeeno Core
 * intentionally does not ship another proprietary font binary; its UI inherits
 * the site typography so Elementor, WooCommerce and Coffeeno render the same
 * typeface without duplicate font downloads.
 *
 * Icon-font classes are not targeted so Elementor/Font Awesome/Dashicons keep
 * their own glyph font families.
 */
body :where(
  h1,h2,h3,h4,h5,h6,
  p,a,li,label,legend,
  button,input,select,textarea,option,optgroup,
  table,thead,tbody,tfoot,tr,th,td,
  small,strong,b,em,blockquote,figcaption,address,time
){
  font-family:var(--coffeeno-font-family)!important;
  font-synthesis:none;
}

body :where(
  .elementor-widget-container,
  .elementor-heading-title,
  .elementor-button,
  .elementor-nav-menu,
  .woocommerce,
  .woocommerce-page,
  [class^='wc-block-'],
  [class*=' wc-block-'],
  [class^='coffeeno-'],
  [class*=' coffeeno-']
){
  font-family:var(--coffeeno-font-family)!important;
  font-synthesis:none;
}

body :where(button,input,select,textarea)::placeholder{
  font-family:inherit!important;
}

/* Explicit Coffeeno component inheritance for dynamically injected UI. */
:where(
  .coffeeno-order-context,
  .coffeeno-branch-selector,
  .coffeeno-native-menu,
  .coffeeno-product-modal,
  .coffeeno-cart-drawer,
  .coffeeno-cart-fab,
  .coffeeno-otp-auth,
  .coffeeno-account-dashboard,
  .coffeeno-header-cart,
  .coffeeno-empty-cart
){
  font-family:var(--coffeeno-font-family)!important;
  font-synthesis:none;
}

:where(
  .coffeeno-order-context,
  .coffeeno-branch-selector,
  .coffeeno-native-menu,
  .coffeeno-product-modal,
  .coffeeno-cart-drawer,
  .coffeeno-cart-fab,
  .coffeeno-otp-auth,
  .coffeeno-account-dashboard,
  .coffeeno-header-cart,
  .coffeeno-empty-cart
) :is(button,input,select,textarea){
  font-family:inherit!important;
}

.coffeeno-order-context-head h2,
.coffeeno-selector-head h2,
.coffeeno-product-title,
.coffeeno-modal-info h3,
.coffeeno-cart-head strong,
.coffeeno-otp-auth__header h2,
body.coffeeno-customer-account .woocommerce-MyAccount-navigation a,
body.coffeeno-customer-account .coffeeno-account-card__head h3,
body.coffeeno-customer-account .coffeeno-native-orders h3{
  font-weight:700;
}

.coffeeno-category-chip,
.coffeeno-fulfillment-choice,
.coffeeno-order-branch-choice,
.coffeeno-branch-choice,
.coffeeno-modal-add,
.coffeeno-checkout-button,
.coffeeno-otp-auth__stage label,
.coffeeno-otp-auth__button,
.coffeeno-otp-auth__link{
  font-weight:600;
}

body.coffeeno-customer-account .coffeeno-account-hero h2{
  font-weight:800;
}

body.coffeeno-customer-account .coffeeno-account-stat strong,
body.coffeeno-customer-account .coffeeno-wallet-bucket strong,
body.coffeeno-customer-account .coffeeno-grant-row strong,
body.coffeeno-customer-account .woocommerce-orders-table th{
  font-weight:600;
}
