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

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

:root {
	--wd-text-font: "hamed", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #000000;
	--wd-text-font-size: 14px;
	--wd-title-font: "hamed", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: #000000;
	--wd-entities-title-font: "hamed", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "hamed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "hamed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #000000;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "hamed", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #992bd8;
	--wd-alternative-color: #4e4e4e;
	--btn-default-bgcolor: #dd9933;
	--btn-default-bgcolor-hover: #4e4e4e;
	--btn-accented-bgcolor: #dd9933;
	--btn-accented-bgcolor-hover: #4e4e4e;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #992bd8;
	--notices-success-color: #ffffff;
	--notices-warning-bg: #992bd8;
	--notices-warning-color: #ffffff;
	--wd-link-color: rgb(214,164,24);
	--wd-link-color-hover: #4e4e4e;
}
.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: 280px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(75,0,130);
	background-image: none;
}
html .wd-nav.wd-nav-main > li > a {
	color: rgb(255,255,255);
}
html .wd-nav.wd-nav-main > li:hover > a, html .wd-nav.wd-nav-main > li.current-menu-item > a {
	color: rgb(222,169,29);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--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-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-page-title {
background-color: #992bd8;
}

@font-face {
	font-family: "hamed";
	src: url("//saratorabi.ir/wp-content/uploads/2020/12/hamedfv.woff2") format("woff2"), 
url("//saratorabi.ir/wp-content/uploads/2020/12/hamedfv.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/* --- شروع کد هوشمند حساب کاربری (نسخه نهایی) --- */

/* 1. استایل کلی دکمه (طلایی و دکمه‌ای شدن) - مشترک برای هر دو حالت */
body .wd-header-my-account > a {
    background-color: #D4AF37;       /* رنگ طلایی */
    color: #ffffff !important;       /* رنگ متن سفید */
    padding: 8px 12px !important;    /* پدینگ جمع‌وجور */
    border-radius: 5px;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;             /* جلوگیری از شکستن متن */
}

/* 2. تنظیم آیکون */
body .wd-header-my-account > a .wd-tools-icon:before {
    color: #ffffff !important;
    font-size: 16px !important;
}

/* 3. هاور دکمه */
body .wd-header-my-account > a:hover {
    background-color: #bfa34a;
    color: #ffffff !important;
}

/* --- بخش هوشمند تغییر متن --- */

/* الف) وقتی کاربر لاگین کرده: اسمش را مخفی کن */
body.logged-in .wd-header-my-account > a .wd-tools-text {
    display: none !important;
}

/* ب) وقتی کاربر لاگین کرده: متن "پنل کاربری" را اضافه کن */
body.logged-in .wd-header-my-account > a:after {
    content: "پنل کاربری";   /* متنی که بعد از ورود نشان داده می‌شود */
    font-size: 13px;
    margin-right: 5px;       /* فاصله ریز از آیکون */
}

/* ج) وقتی کاربر لاگین نکرده (مهمان): متن پیش‌فرض خود قالب را نشان بده */
/* نکته: اگر متن پیش‌فرض انگلیسی بود یا می‌خواستید عوضش کنید، کد زیر را از حالت کامنت خارج کنید: */

body:not(.logged-in) .wd-header-my-account > a .wd-tools-text {
    display: none !important;
}
body:not(.logged-in) .wd-header-my-account > a:after {
    content: "ورود / ثبت نام";
    font-size: 13px;
    margin-right: 5px;
}

/* --- استایل اجباری برای تمام ویدیوها (ویژوال کامپوزر + وودمارت) --- */

/* 1. هدف قرار دادن انواع کانتینرهای ویدیو */
.wpb_video_wrapper,         /* ویژوال کامپوزر استاندارد */
.wpb_video_widget,
.wd-video-element,          /* المان اختصاصی وودمارت */
.wd-el-video,
.entry-content iframe[src*="aparat"], /* اگر ویدیو آپارات مستقیم گذاشته شده */
.entry-content iframe[src*="youtube"] {
    border-radius: 20px !important;       /* گرد کردن شدید */
    overflow: hidden !important;          /* برش زدن لبه‌های تیز ویدیو */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important; /* سایه مشکی */
    border: 4px solid #ffffff !important; /* قاب سفید ضخیم */
    transform: translateZ(0);             /* فیکس کردن باگ مرورگرها */
    display: block !important;
    background: #000;                     /* جلوگیری از گوشه سفید در حال لود */
}

/* 2. هدف قرار دادن خودِ تگ iframe داخل کانتینرها */
.wpb_video_wrapper iframe,
.wd-video-element iframe,
.wpb_video_widget iframe {
    border-radius: 20px !important; /* گرد کردن خود پلیر */
    width: 100% !important;
    height: 100% !important;
}

/* 3. افکت هاور (حرکت به بالا) */
.wpb_video_wrapper:hover,
.wd-video-element:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25) !important;
}@media (min-width: 768px) and (max-width: 1024px) {
	#content .wpb_alert p:last-child, #content .wpb_text_column :last-child, #content .wpb_text_column p:last-child, .wpb_alert p:last-child, .wpb_text_column :last-child, .wpb_text_column p:last-child {
    margin-bottom: 0;
    margin-top: 100px;
}
}

@media (min-width: 577px) and (max-width: 767px) {
	#content .wpb_alert p:last-child, #content .wpb_text_column :last-child, #content .wpb_text_column p:last-child, .wpb_alert p:last-child, .wpb_text_column :last-child, .wpb_text_column p:last-child {
    margin-bottom: 0;
    margin-top: 100px;
}
}

@media (max-width: 576px) {
	#content .wpb_alert p:last-child, #content .wpb_text_column :last-child, #content .wpb_text_column p:last-child, .wpb_alert p:last-child, .wpb_text_column :last-child, .wpb_text_column p:last-child {
    margin-bottom: 0;
    margin-top: 100px;
}
}

