/* Unixsee ScrapSee font system — Vazirmatn.
   Scoped to plugin admin screens, product-specs editor, and Unixsee frontend specs only. */
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 100;
	src: url('../../assets/fonts/vazir/Vazirmatn-Thin.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 200;
	src: url('../../assets/fonts/vazir/Vazirmatn-ExtraLight.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 300;
	src: url('../../assets/fonts/vazir/Vazirmatn-Light.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 400;
	src: url('../../assets/fonts/vazir/Vazirmatn-Regular.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 500;
	src: url('../../assets/fonts/vazir/Vazirmatn-Medium.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 600;
	src: url('../../assets/fonts/vazir/Vazirmatn-SemiBold.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 700;
	src: url('../../assets/fonts/vazir/Vazirmatn-Bold.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 800;
	src: url('../../assets/fonts/vazir/Vazirmatn-ExtraBold.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 900;
	src: url('../../assets/fonts/vazir/Vazirmatn-Black.woff2') format('woff2');
	font-display: swap;
}

:root {
	--unixsee-font-family: 'Vazirmatn', 'Vazir', Tahoma, Arial, sans-serif;
}

/* Plugin admin pages. */
body.toplevel_page_unixsee-scrapsee,
body.admin_page_unixsee-scrapsee,
body[class*="unixsee-scrapsee"],
body[class*="unixsee-scrapsee"] #wpwrap,
body[class*="unixsee-scrapsee"] #wpcontent,
body[class*="unixsee-scrapsee"] #wpbody-content,
body[class*="unixsee-scrapsee"] .wrap,
body[class*="unixsee-scrapsee"] .unixsee-scrapsee-wrap,
body[class*="unixsee-scrapsee"] .unixsee-theme-modern,
.unixsee-scrapsee-wrap,
.unixsee-theme-modern,
.unixsee-card,
.unixsee-admin-specs,
.unixsee-specs,
.unixsee-price-percent-override-field,
.unixsee-variation-price-percent-override-field {
	font-family: var(--unixsee-font-family) !important;
	letter-spacing: 0;
	font-synthesis: none;
}

body[class*="unixsee-scrapsee"] .unixsee-scrapsee-wrap :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
body[class*="unixsee-scrapsee"] .unixsee-theme-modern :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
.unixsee-scrapsee-wrap :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
.unixsee-theme-modern :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
.unixsee-admin-specs :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
.unixsee-specs :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
.unixsee-price-percent-override-field :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
.unixsee-variation-price-percent-override-field :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre) {
	font-family: var(--unixsee-font-family) !important;
	letter-spacing: 0;
	font-synthesis: none;
}

body[class*="unixsee-scrapsee"] input,
body[class*="unixsee-scrapsee"] select,
body[class*="unixsee-scrapsee"] textarea,
body[class*="unixsee-scrapsee"] button,
body[class*="unixsee-scrapsee"] table,
body[class*="unixsee-scrapsee"] th,
body[class*="unixsee-scrapsee"] td,
.unixsee-scrapsee-wrap input,
.unixsee-scrapsee-wrap select,
.unixsee-scrapsee-wrap textarea,
.unixsee-scrapsee-wrap button,
.unixsee-theme-modern input,
.unixsee-theme-modern select,
.unixsee-theme-modern textarea,
.unixsee-theme-modern button,
.unixsee-admin-specs input,
.unixsee-admin-specs select,
.unixsee-admin-specs textarea,
.unixsee-admin-specs button,
.unixsee-specs input,
.unixsee-specs select,
.unixsee-specs textarea,
.unixsee-specs button,
.unixsee-price-percent-override-field input,
.unixsee-price-percent-override-field label,
.unixsee-variation-price-percent-override-field input,
.unixsee-variation-price-percent-override-field label,
body[class*="unixsee-scrapsee"] .select2-container,
body[class*="unixsee-scrapsee"] .select2-results__option,
body[class*="unixsee-scrapsee"] .selectWoo-container,
body[class*="unixsee-scrapsee"] .selectWoo-results__option {
	font-family: var(--unixsee-font-family) !important;
}

/* Product edit screen specs tab only. */
#woocommerce-product-data .unixsee_specs_tab,
#woocommerce-product-data .unixsee_specs_tab a,
#woocommerce-product-data .unixsee-admin-specs,
#woocommerce-product-data .unixsee-price-percent-override-field,
#woocommerce-product-data .unixsee-variation-price-percent-override-field,
#woocommerce-product-data .unixsee-admin-specs :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
#woocommerce-product-data .unixsee-price-percent-override-field :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre),
#woocommerce-product-data .unixsee-variation-price-percent-override-field :where(*):not(.dashicons):not(.dashicons-before):not([class^="dashicons"]):not([class*=" dashicons"]):not(code):not(pre) {
	font-family: var(--unixsee-font-family) !important;
}

/* Keep WordPress/WooCommerce icon fonts and code blocks safe. */
body[class*="unixsee-scrapsee"] code,
body[class*="unixsee-scrapsee"] pre,
body[class*="unixsee-scrapsee"] textarea.unixsee-import-textarea,
.unixsee-scrapsee-wrap code,
.unixsee-scrapsee-wrap pre,
.unixsee-theme-modern code,
.unixsee-theme-modern pre,
.unixsee-admin-specs code,
.unixsee-admin-specs pre {
	font-family: Consolas, Monaco, monospace !important;
}

body[class*="unixsee-scrapsee"] .dashicons,
body[class*="unixsee-scrapsee"] .dashicons-before:before,
body[class*="unixsee-scrapsee"] [class^="dashicons"],
body[class*="unixsee-scrapsee"] [class*=" dashicons"],
.unixsee-scrapsee-wrap .dashicons,
.unixsee-scrapsee-wrap .dashicons-before:before,
.unixsee-theme-modern .dashicons,
.unixsee-theme-modern .dashicons-before:before,
#woocommerce-product-data .unixsee_specs_tab a::before {
	font-family: dashicons !important;
}
