:root {
	--wd-text-font: "iransans, sans-serif", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "iransans, sans-serif", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iransans, sans-serif", 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: "iransans, sans-serif", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iransans, sans-serif", 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: "iransans, sans-serif", Arial, Helvetica, sans-serif;
	--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: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--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-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: rgb(225,225,225);
	background-image: none;
}
.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: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--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);
--wd-brd-radius: 0px;
}

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


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

/* --- 1. تنظیم رنگ، فاصله خطوط و تراز متن (جاستیفای) --- */
.single-post .entry-content em, 
.single-post .wd-entry-content em,
.single-post .elementor-widget-theme-post-content em,
.single-post .entry-content i,
.single-post .wd-entry-content i,
.single-post .elementor-widget-theme-post-content i { 
    font-style: italic !important; 
}

.single-post .entry-content p, 
.single-post .wd-entry-content p,
.single-post .elementor-widget-theme-post-content p,
.single-post .entry-content li,
.single-post .wd-entry-content li,
.single-post .elementor-widget-theme-post-content li {
    color: #333333 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.8 !important;
}

/* --- 2. متمایز کردن کلمات بولد --- */
.single-post .entry-content strong, 
.single-post .wd-entry-content strong,
.single-post .elementor-widget-theme-post-content strong,
.single-post .entry-content b,
.single-post .wd-entry-content b,
.single-post .elementor-widget-theme-post-content b {
    font-weight: 800 !important;
    color: #000000 !important;
}

/* --- 3. جلوگیری از به هم ریختن عکس‌های داخل متن --- */
.single-post .entry-content p:has(img),
.single-post .wd-entry-content p:has(img),
.single-post .elementor-widget-theme-post-content p:has(img),
.single-post .entry-content figure,
.single-post .wd-entry-content figure,
.single-post .elementor-widget-theme-post-content figure {
    text-align: center !important;
}

.single-post .entry-content img.aligncenter,
.single-post .wd-entry-content img.aligncenter,
.single-post .elementor-widget-theme-post-content img.aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- 4. وسط‌چین کردن تصویر شاخص در قالب وودمارت --- */
.single-post .post-single-img, 
.single-post .entry-thumbnail,
.single-post .post-image,
.single-post .wd-post-thumb { 
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .post-single-img img, 
.single-post .entry-thumbnail img,
.single-post .post-image img,
.single-post .wd-post-thumb img {
    margin: 0 auto !important;
    display: inline-block !important;
}

/* --- 5. کادر خاکستری دور محتوای مقالات --- */
.single-post .entry-content,
.single-post .wd-entry-content,
.single-post .elementor-widget-theme-post-content {
    border: 1px solid #e2e2e2 !important;
    border-radius: 12px !important;
    padding: 25px !important;
}

/* بهینه‌سازی فاصله داخلی کادر برای موبایل */
@media (max-width: 767px) {
    .single-post .entry-content,
    .single-post .wd-entry-content,
    .single-post .elementor-widget-theme-post-content {
        padding: 15px !important;
    }
}

/* --- 6. استایل لینک‌های داخل متن (رنگ طلایی) --- */
.single-post .entry-content a,
.single-post .wd-entry-content a,
.single-post .elementor-widget-theme-post-content a {
    color: #d4af37 !important; /* رنگ طلایی */
    font-weight: bold !important; /* کمی ضخیم‌تر برای خوانایی بهتر */
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* افکت هاور برای لینک‌ها */
.single-post .entry-content a:hover,
.single-post .wd-entry-content a:hover,
.single-post .elementor-widget-theme-post-content a:hover {
    color: #b5952f !important; /* طلایی تیره‌تر موقع رفتن موس روی لینک */
    text-decoration: underline !important;
}
/* استایل کارت‌بندی و باکس برای ابزارک‌های سایدبار وبلاگ */
.sidebar-container .widget_categories,
.sidebar-container .widget_niceboo_backlinks_widget {
    background-color: #ffffff;
    border: 1px solid #f0ece1;
    border-radius: 14px;
    padding: 22px 20px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.sidebar-container .widget_categories:hover,
.sidebar-container .widget_niceboo_backlinks_widget:hover {
    box-shadow: 0 8px 25px rgba(166, 124, 51, 0.1);
    border-color: #e5dec9;
}

/* استایل عنوان باکس‌ها (موضوعات و پیشنهاد ویژه) */
.sidebar-container .widget_categories .widget-title,
.sidebar-container .widget_niceboo_backlinks_widget .widget-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #222222;
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f5f5f5;
    position: relative;
}

/* خط طلایی زیر عنوان‌ها */
.sidebar-container .widget_categories .widget-title::after,
.sidebar-container .widget_niceboo_backlinks_widget .widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 45px;
    height: 2px;
    background: linear-gradient(90deg, #efd382, #a67c33);
    border-radius: 2px;
}

/* ریست کردن لیست‌ها */
.sidebar-container .widget_categories ul,
.sidebar-container .niceboo-backlinks-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-container .widget_categories ul li,
.sidebar-container .niceboo-backlinks-list li {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.sidebar-container .widget_categories ul li:last-child,
.sidebar-container .niceboo-backlinks-list li:last-child {
    margin-bottom: 0 !important;
}

/* استایل دکمه‌ای و شیک برای لینک‌های داخل هر دو باکس */
.sidebar-container .widget_categories ul li a,
.sidebar-container .niceboo-backlinks-list li a {
    display: flex !important;
    align-items: center;
    padding: 9px 12px !important;
    background-color: #fafafa;
    border-radius: 8px;
    color: #444444 !important;
    font-size: 13.5px !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border-right: 3px solid transparent;
}

/* نقطه طلایی کوچک قبل از هر آیتم */
.sidebar-container .widget_categories ul li a::before,
.sidebar-container .niceboo-backlinks-list li a::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #c9a45c;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

/* افکت هاور (وقتی موس میره روی لینک‌ها) */
.sidebar-container .widget_categories ul li a:hover,
.sidebar-container .niceboo-backlinks-list li a:hover {
    background-color: #fcf9f2 !important;
    color: #a67c33 !important;
    border-right-color: #a67c33;
    padding-right: 16px !important;
}

.sidebar-container .widget_categories ul li a:hover::before,
.sidebar-container .niceboo-backlinks-list li a:hover::before {
    background-color: #a67c33;
    transform: scale(1.3);
}
