/* Base typography - Pet Shop Fereshteh
 *
 * Woodmart's typography settings were never configured, so the theme fell back to
 * its default Lato/Poppins pair. Neither has Persian glyphs, so every Persian string
 * on the site rendered in the browser's Arial/Tahoma fallback. YekanBakh is the
 * house face.
 *
 * The weights were never declared either, so every "bold" was a browser-synthesised
 * fake of the Regular file. The @font-face rules below map the real files onto their
 * weights, which is what makes 600/700/800 look right.
 *
 * Scoped to text elements on purpose: icon fonts (woodmart-font, Font Awesome,
 * eicons) set font-family on their own classes and must not be touched.
 */

@font-face {
	font-family: "YekanBakh";
	src: url("/wp-content/uploads/2025/04/YekanBakh-Regular.woff2") format("woff2"),
	     url("/wp-content/uploads/2025/04/YekanBakh-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "YekanBakh";
	src: url("/wp-content/uploads/2025/04/YekanBakh-SemiBold.woff2") format("woff2"),
	     url("/wp-content/uploads/2025/04/YekanBakh-SemiBold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "YekanBakh";
	src: url("/wp-content/uploads/2025/04/YekanBakh-Bold.woff2") format("woff2"),
	     url("/wp-content/uploads/2025/04/YekanBakh-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "YekanBakh";
	src: url("/wp-content/uploads/2025/04/YekanBakh-ExtraBold.woff2") format("woff2"),
	     url("/wp-content/uploads/2025/04/YekanBakh-ExtraBold.woff") format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "YekanBakh";
	src: url("/wp-content/uploads/2025/04/YekanBakh-ExtraBlack.woff2") format("woff2"),
	     url("/wp-content/uploads/2025/04/YekanBakh-ExtraBlack.woff") format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--psf-font: "YekanBakh", Tahoma, Arial, sans-serif;
}

/* Woodmart drives every font through these variables, and re-declares them on
   :root in a stylesheet that loads after this file. `html:root` is one specificity
   point higher, so it wins regardless of load order — which is cleaner than
   !important and covers theme markup this file never lists. */
html:root {
	--wd-text-font: var(--psf-font);
	--wd-title-font: var(--psf-font);
	--wd-widget-title-font: var(--psf-font);
	--wd-entities-title-font: var(--psf-font);
	--wd-header-el-font: var(--psf-font);
	--wd-alternative-font: var(--psf-font);
}

body,
button,
input,
select,
textarea,
optgroup,
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-button .elementor-button,
.wd-entities-title,
.woocommerce-Price-amount,
.psf-header,
.psf-footer,
.psf-home {
	font-family: var(--psf-font);
}

/* Latin fallbacks kick in for digits and break the rhythm; pin them too. */
.psf-topbar__phone,
.psf-fphone a,
.cfp-tel {
	font-family: var(--psf-font);
}
