/* Ready Book Store — global Estedad typography (1.0.90.282).
 * The two local font files are intentionally referenced from assets/fonts.
 * Body/UI text uses Estedad-Regular; headings/emphasis use Estedad.
 */
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Regular.woff2?ver=1.0.90.282') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Regular.woff2?ver=1.0.90.282') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad.woff2?ver=1.0.90.282') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad.woff2?ver=1.0.90.282') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad.woff2?ver=1.0.90.282') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad.woff2?ver=1.0.90.282') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --pbsp-panel-font: 'Estedad', Tahoma, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --pbsp-site-font: 'Estedad', Tahoma, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/*
 * Force the local family across storefront, wp-admin and PB standalone shells.
 * !important is deliberate: many themes/builders set component-level families.
 */
html,
html body,
html body #page,
html body #content,
html body #primary,
html body #main,
html body #wpwrap,
html body #wpcontent,
html body #wpbody,
html body #wpbody-content,
html body #pbsp-app,
html body .pbsp-panel-shell,
html body .pb-bm-wrap,
html body .pb-bookshop-report-wrap {
  font-family: var(--pbsp-site-font) !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body *:not(.dashicons):not(.dashicons-before):not(.ab-icon):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.eicon):not([class^='eicon-']):not([class*=' eicon-']):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.fa-light):not(.fa-thin):not(.fa-duotone):not(.material-icons):not(.material-symbols-outlined):not([class^='wcicon-']):not([class*=' wcicon-']):not([class*='icon-']):not([class*=' icon-']):not(code):not(pre):not(kbd):not(samp) {
  font-family: var(--pbsp-site-font) !important;
}

html body input,
html body button,
html body select,
html body textarea,
html body optgroup,
html body option {
  font-family: var(--pbsp-site-font) !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body strong,
html body b,
html body .button,
html body button,
html body input[type='submit'],
html body input[type='button'] {
  font-family: var(--pbsp-site-font) !important;
  font-weight: 700;
}

/* Explicit PB surfaces for standalone/admin shells. */
#pbsp-app,
#pbsp-app *,
.pbsp-panel-shell,
.pbsp-panel-shell *,
.pbsp-modal,
.pbsp-modal *,
.pb-bm-wrap,
.pb-bm-wrap *,
.pb-bookshop-report-wrap,
.pb-bookshop-report-wrap *,
.pbsp-remote-wrap,
.pbsp-remote-wrap * {
  font-family: var(--pbsp-panel-font) !important;
}

/* Preserve icon fonts. */
.dashicons,
.dashicons::before,
.dashicons-before::before,
.ab-icon,
.ab-icon::before,
.wp-menu-image::before {
  font-family: dashicons !important;
}
.fa,
.fas { font-family: 'Font Awesome 5 Free', 'FontAwesome' !important; }
.far { font-family: 'Font Awesome 5 Free', 'FontAwesome' !important; }
.fab,
.fa-brands { font-family: 'Font Awesome 5 Brands', 'Font Awesome 6 Brands', 'FontAwesome' !important; }
.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone { font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important; }
.material-icons,
.material-symbols-outlined { font-family: 'Material Icons', 'Material Symbols Outlined' !important; }
.eicon,
[class^='eicon-'],
[class*=' eicon-'] { font-family: eicons !important; }

/* Preserve code/editor utility fonts. */
code,
pre,
kbd,
samp,
.CodeMirror,
.CodeMirror * {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important;
}
