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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//niktruck.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("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//niktruck.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--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: iranyekan;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(1,76,132);
	--wd-alternative-color: rgb(248,168,177);
	--btn-default-font-family: iranyekan;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: iranyekan;
	--btn-accented-bgcolor: rgb(7,68,97);
	--btn-accented-bgcolor-hover: rgba(221,51,51,0.58);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.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;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1200px;
--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: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

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


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

div.elementor-widget-container p.price span.woocommerce-Price-amount {
	color : #015f9f !important;
}

.single_add_to_cart_button {
	background-color : #DD261A !important;
}


p.stock.in-stock.wd-style-default {
    display: none;
}

/* مخفی کردن دکمه سبد خرید در کارت المنتوری برای محصولات بدون قیمت */
.niktruck-empty-price .nik-cart-btn {
    display: none !important;
}


.niktruck-empty-price .niktruck-price-cart {
        justify-content: center !important;

}


.wd-suggestion .wd-suggestion-content p.price a {
    display: none !important;
}

.products .wd-product .product-wrapper .product-element-bottom .wrap-price span.price{
	width:100%;
}


.wd-dropdown-menu.wd-design-aside.wd-style-default .wd-dropdown {
       padding: 10px 18px;
}

.wd-dropdown-menu.wd-design-aside.wd-style-default .wd-sub-menu-wrapp>.wd-sub-menu>li:hover>a {
    background-color: #dbeefc !important;
    color: #e75555 !important;
}

//کاستوم پست تایپ

add_action('wp_head', function() {
    if (!is_shop() && !is_product_taxonomy()) return;
    ?>
    <style>
    .product-condition-filter {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .product-condition-filter li {
        padding: 8px 0;
    }
    .product-condition-filter label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        font-size: 14px;
    }
    .product-condition-filter input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #4CAF50;
        cursor: pointer;
    }
    </style>
    <?php
});

.call-for-price {
	display: inline-block;
	padding: 11px 20px; 
	background-color: #c5c5c5; 
	color: #d32f2f; 
	border-radius: 6px; 
	font-weight: bold; 
	font-size: 18px; 
	text-align: center; 
	text-decoration: none; 
	line-height: 1.5; 
	box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
	width: 100%; 
	display: block;
}


//استایل نمایش بج نو دست دوم بودن
.woocommerce ul.products li.product {
    position: relative;
}

.condition-badge {
		position: absolute;
    bottom: 5px;
    right: 2px;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    pointer-events: none;
    line-height: 1.5;
}


.condition-badge--new {
    background-color: #e53935;
}

.condition-badge--used {
    background-color: #1e88e5;
}

//استایل موجود شد خبرم کن
.notify-btn {
    display: inline-block;
    background-color: #2271b1;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
	
}

.notify-btn:hover {
    background-color: #135e96;
    color: #fff !important;
}
a.button.notify-btn {
			width: 100%;
       border-radius: 9px;
	    background-color: #135e96;
    color: #fff !important;
}@media (min-width: 1025px) {
	.elementor-element.elementor-widget.elementor-widget-woocommerce-product-price {
    width: 100%;
}
}

@media (max-width: 576px) {
	.wd-suggestions-group {
    display: flex !important;
    flex-direction: column;
  }



.whb-row.whb-top-bar.whb-not-sticky-row.whb-with-bg.whb-without-border.whb-color-dark.whb-flex-flex-middle {
    margin-top: 12px;
}
.elementor-element.elementor-widget.elementor-widget-woocommerce-product-price {
    width: unset;
}
}

