/*
Theme Name:     Listpress Child Theme
Template:       listpress
Theme URI:      https://radiustheme.net/themes/listpress
Author:         RadiusTheme
Author URI:     http://radiustheme.com
Description:    Listpress is an Listing and Directory based WordPress Theme.
Version:        1.0.0
Tested up to: 	6.8
Requires PHP: 	7.4
Text Domain:    listpress
Tags: 			custom-background, custom-header, custom-logo, editor-style, featured-images, one-column, two-columns, right-sidebar, left-sidebar, sticky-post, threaded-comments, translation-ready, blog, grid-layout, e-commerce
License:   	  	Envato split License
License URI:  	https://themeforest.net/licenses/terms/regular

Copyright (C) 2025 RadiusTheme. All rights reserved.
*/

/* ==========================================================================
   Vazirmatn (RD-FD) - Persian font + Persian digits (glyph-level)
   ========================================================================== */

@font-face {
	font-family: "Vazirmatn";
	src: url("fonts/Vazirmatn-RD-FD-Regular.woff2") format("woff2");
	font-weight: 300 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Vazirmatn";
	src: url("fonts/Vazirmatn-RD-FD-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Vazirmatn";
	src: url("fonts/Vazirmatn-RD-FD-Bold.woff2") format("woff2");
	font-weight: 600 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--lp-font-fa: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}

/* ==========================================================================
   فونت سراسری سایت (آیکون‌فونت‌ها، SVG و کدها عمداً مستثنی هستند)
   ========================================================================== */
html body,
html body :where(
	div, span, p, a, li, ul, ol, label, small, strong, b, em, i:not([class]),
	h1, h2, h3, h4, h5, h6,
	button, input, select, textarea, optgroup,
	table, th, td, form, nav, header, footer, section, article, aside
):not([class*="icon"], [class*="fa-"], [class^="fa"], .dashicons, [class*="dashicons"], [class*="eicon"], .material-icons, .material-symbols-outlined) {
	font-family: var(--lp-font-fa);
}

/* ==========================================================================
   افزونه‌های سفارشی (پیشوند lpc-): دکمه شناور موبایلی، منوی اشتراک‌گذاری و ...
   !important لازم است چون افزونه Inter را مستقیم روی کلاس خودش تعریف کرده
   ========================================================================== */
html body [class^="lpc-"],
html body [class*=" lpc-"],
html body [class^="lpc-"] *,
html body [class*=" lpc-"] * {
	font-family: var(--lp-font-fa) !important;
}