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

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: " IRANSansWebFaNum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: " IRANSansWebFaNum_Bold", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: " IRANSansWebFaNum", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: " IRANSansWebFaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: " IRANSansWebFaNum_Bold", 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: " IRANSansWebFaNum_Bold", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 15px;
	--wd-primary-color: rgba(18,99,1,0.98);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-font-family: " IRANSansWebFaNum", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 400;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: " IRANSansWebFaNum", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 400;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--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-popup-width: 520px;
}
.header-banner {
	background-color: rgb(221,51,51);
	background-image: none;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(6,91,0);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a, html .wd-page-content .wd-product .product-wrapper .wd-entities-title, html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: " IRANSansWebFaNum", Arial, Helvetica, sans-serif;
	font-weight: 400;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 50px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 60px;
	}

}
:root{
--wd-form-brd-radius: 35px;
--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-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
}



@font-face {
	font-family: "IRANSansWebFaNum";
	src: url("//maneliplants.ir/wp-content/uploads/2021/11/IRANSansWebFaNum-1.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansWebFaNum_Bold";
	src: url("//maneliplants.ir/wp-content/uploads/2021/11/IRANSansWebFaNum_Bold-1.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

/* کوچک کردن و وسط‌چین کردن تصویر شاخص در صفحه تک محصول ووکامرس */
.single-product div.product div.woocommerce-product-gallery {
    text-align: center; /* وسط‌چین کردن تصویر */
}

.single-product div.product div.woocommerce-product-gallery img {
    max-width: 300px; /* اندازه دلخواه برای عرض تصویر */
    height: auto; /* ارتفاع متناسب با عرض تغییر می‌کند */
    margin: 0 auto; /* تنظیم فاصله به صورت خودکار برای وسط‌چین شدن */
}

@font-face {
    font-family: 'iransans';
    src: url('https://maneliplants.ir/wp-content/uploads/2021/11/IRANSansWebFaNum.woff') format('woff');
         
    font-weight: normal;
    font-style: normal;
}

body ,h1, h2, h3, h4, h5, h6 {
    font-family: 'iransans'; /* فونت سفارشی خود را به کل عناصر سایت اعمال کنید */
}

.bdi {
	color: #ff0000;
}


/* استایل برای بخش محصولات مرتبط سفارشی */
.custom-related-products-wrapper {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.custom-related-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.custom-related-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.custom-related-item {
    width: calc(25% - 20px);
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.3s;
}

.custom-related-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-related-thumb {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.custom-related-item-title {
    font-size: 16px;
    color: #555;
    margin: 0;
    padding: 0 5px;
    line-height: 1.3;
    min-height: 48px; /* برای تراز شدن ارتفاع عنوان‌ها */
}

/* واکنش‌گرا (نمایش در موبایل) */
@media screen and (max-width: 768px) {
    .custom-related-item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .custom-related-item {
        width: 100%;
    }
}
