@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//parts.parhantech.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//parts.parhantech.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "KalamehWeb(FaNum)-Regular", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(38,38,38);
	--wd-text-font-size: 14px;
	--wd-title-font: "KalamehWeb(FaNum)-Bold", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "KalamehWeb(FaNum)-Medium", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(38,38,38);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "KalamehWeb(FaNum)-Medium", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "KalamehWeb(FaNum)-Medium", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "KalamehWeb(FaNum)-Bold", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,88,251);
	--wd-alternative-color: rgb(28,28,28);
	--btn-default-bgcolor: rgb(0,88,251);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,88,251);
	--btn-accented-bgcolor-hover: rgb(28,28,28);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(234,53,53);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(0,88,251);
	--wd-link-color-hover: rgb(36,36,36);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(175,40,40);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	color: rgb(247,247,247);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(173,39,39);
	color: rgb(244,244,244);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

@font-face {
	font-family: "KalamehWeb(FaNum)-Regular";
	src: url("//parts.parhantech.com/wp-content/uploads/KalamehWebFaNum-Regular.woff2") format("woff2"), 
url("//parts.parhantech.com/wp-content/uploads/KalamehWebFaNum-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "KalamehWeb(FaNum)-Medium";
	src: url("//parts.parhantech.com/wp-content/uploads/KalamehWebFaNum-Medium.woff2") format("woff2"), 
url("//parts.parhantech.com/wp-content/uploads/KalamehWebFaNum-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "KalamehWeb(FaNum)-Bold";
	src: url("//parts.parhantech.com/wp-content/uploads/KalamehWebFaNum-Bold.woff2") format("woff2"), 
url("//parts.parhantech.com/wp-content/uploads/KalamehWebFaNum-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

/*جابجایی توضیح متغیر پس از انتخاب آن در صفحه محصول از بالای سکسن به پایین دکمه انتخاب متغیر*/
.wd-single-add-cart.wd-design-justify .variations_form>* {display:flex; flex-direction:column;}
.variations table {display:flex; order: 1;}
.woocommerce-variation {display:flex; flex-direction:column; order: 2;}
.wd-single-add-cart.wd-design-justify.wd-btn-design-full .single_variation_wrap {display: flex; flex-direction: row; order: 3;}
/* لیبل فروخته شد*/
add_action('woocommerce_before_single_product_summary', 'show_featured_label_on_single_product', 5);
function show_featured_label_on_single_product() {
    global $product;

    if ( $product && $product->is_featured() ) {
        echo '<div class="custom-featured-label">ویژه</div>';
    }
}
// استایل ظاهری لیبل
add_action('wp_head', 'custom_featured_label_style');
function custom_featured_label_style() {
    ?>
    <style>
    .custom-featured-label {
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: #e74c3c;
        color: #fff;
        padding: 6px 12px;
        font-size: 14px;
        font-weight: bold;
        border-radius: 4px;
        z-index: 100;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    </style>
    <?php
}

/*تغییرات فیلتر و سرچ باکس جدول عمده فروشی*/
.wcpt-dropdown-option {text-align: right;}
.wcpt-search-input {text-align: center;}
/*سرچ فرم هدر*/
[class*="wd-header-search-form"] {background-color: #ffffff00;
    border-bottom: 1px solid #17499e;}