:root {
	--wd-text-font: YekanBakhFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(158,158,158);
	--wd-text-font-size: 14px;
	--wd-title-font: YekanBakhFaNum;
	--wd-title-font-weight: 700;
	--wd-title-transform: none;
	--wd-title-color: rgb(255,130,0);
	--wd-entities-title-font: YekanBakhFaNum;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(255,130,0);
	--wd-entities-title-color-hover: rgb(255, 255, 255);
	--wd-alternative-font: YekanBakhFaNum;
	--wd-widget-title-font: YekanBakhFaNum;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(255,130,0);
	--wd-widget-title-font-size: 13px;
	--wd-header-el-font: YekanBakhFaNum;
	--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(255,130,0);
	--wd-alternative-color: rgb(224,51,51);
	--btn-default-font-family: YekanBakhFaNum;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(116,163,47);
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(69,150,71);
	--notices-success-color: rgb(255,130,0);
	--notices-warning-bg: rgb(255,130,0);
	--notices-warning-color: rgb(255,130,0);
	--wd-link-color: rgb(68,255,58);
	--wd-link-color-hover: rgb(255,130,0);
}
.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;
}
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 .post.wd-post:not(.blog-design-small) .wd-entities-title, html .wd-post:not(.blog-design-small) .wd-post-meta > div, html .wd-post:not(.blog-design-small) .wd-post-meta > div > a, html .wd-page-wrapper .wd-post .wd-post-cat, html .wd-page-wrapper .wd-post .wd-post-cat a, html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title, html .wd-single-post-header .title, html .wd-single-post-title .wd-post-title, html .post-single-page .wd-post-meta > div, html .post-single-page .wd-post-meta > div > a, html :is(.wd-single-post-author, .wd-single-post-reply) > div, html :is(.wd-single-post-author, .wd-single-post-reply) > div > a, html .wd-page-wrapper .post-single-page .wd-post-cat, html .wd-page-wrapper .post-single-page .wd-post-cat a, html .wd-page-wrapper .wd-single-post-cat .wd-post-cat, html .wd-page-wrapper .wd-single-post-cat .wd-post-cat a, html .post-single-page .wd-post-date.wd-style-default, html .wd-single-post-date .wd-post-date.wd-style-default {
	font-family: YekanBakhFaNum;	font-weight: 400;
}
html .wd-nav.wd-nav-main > li > a {
	font-family: YekanBakhFaNum;	font-size: 16px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(0,25,25);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,0,0);
	--wd-form-placeholder-color: rgb(0,0,0);
	--wd-form-bg: rgb(255,255,255);
}
.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-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: 12px;
--wd-cat-brd-radius: 5px;
}

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


.wd-page-title {
background-color: rgb(0,25,25);
}

/* تغییر رنگ آیکون سبد خرید هدر */
.wd-header-cart .wd-tools-icon,
.wd-header-cart .wd-tools-icon:before {
    color: #c8c8c8 !important;
}

/* رنگ هنگام هاور موس */
.wd-header-cart:hover .wd-tools-icon,
.wd-header-cart:hover .wd-tools-icon:before {
    color: #ffffff !important;
}
/* تغییر رنگ آیکون و متن ورود / ثبت نام */
.wd-header-my-account,
.wd-header-my-account a,
.wd-header-my-account .wd-tools-text,
.wd-header-my-account .wd-tools-icon {
    color: #c8c8c8 !important;
}

/* رنگ هنگام رفتن موس (Hover) */
.wd-header-my-account:hover,
.wd-header-my-account:hover a,
.wd-header-my-account:hover .wd-tools-text,
.wd-header-my-account:hover .wd-tools-icon {
    color: #ffffff !important;
}
/* تغییر رنگ لیست علاقه‌مندی‌ها */
.wd-header-wishlist,
.wd-header-wishlist a,
.wd-header-wishlist .wd-tools-icon,
.wd-header-wishlist .wd-tools-text {
    color: #c8c8c8 !important;
}

/* رنگ هنگام Hover */
.wd-header-wishlist:hover,
.wd-header-wishlist:hover a,
.wd-header-wishlist:hover .wd-tools-icon,
.wd-header-wishlist:hover .wd-tools-text {
    color: #ffffff !important;
}
/* تغییر رنگ مقایسه محصولات */
.wd-header-compare,
.wd-header-compare a,
.wd-header-compare .wd-tools-icon,
.wd-header-compare .wd-tools-text {
    color: #c8c8c8 !important;
}

/* رنگ هنگام Hover */
.wd-header-compare:hover,
.wd-header-compare:hover a,
.wd-header-compare:hover .wd-tools-icon,
.wd-header-compare:hover .wd-tools-text {
    color: #ffffff !important;
}
/* منوی موبایل را باز کنید */
.wd-header-cart .wd-tools-icon,
.wd-header-cart .wd-tools-icon:before {
    color: #c8c8c8 !important;
}

/* رنگ هنگام هاور موس */
.wd-header-cart:hover .wd-tools-icon,
.wd-header-cart:hover .wd-tools-icon:before {
    color: #ffffff !important;
}

/*مخفی کردن ارسال کننده در صفحه تکی نوشته */
.single-post .entry-meta,
.single-post .post-meta,
.single-post .post-author,
.single-post .author,
.single-post .meta-author,
.single-post .wd-post-meta,
.single-post .wd-entry-meta {
    display: none !important;
}

/* اعمال اجباری فونت روی کل محتوای نوشته تکی */
.single-post article,
.single-post article *,
.single-post .post,
.single-post .post *,
.single-post .content,
.single-post .content *,
.single-post .post-content,
.single-post .post-content *,
.single-post .entry-content,
.single-post .entry-content * {
    font-family: 'YekanBakhFaNum' !important;
}


/* ۱. اعمال اجباری فونت روی کل محتوای نوشته تکی (همه دستگاه‌ها) */
.single-post article,
.single-post article *,
.single-post .post,
.single-post .post *,
.single-post .content,
.single-post .content *,
.single-post .post-content,
.single-post .post-content *,
.single-post .entry-content,
.single-post .entry-content * {
    font-family: 'YekanBakhFaNum' !important;
}

/* ۲. تنظیمات اختصاصی برای تبلت (نمایشگرهای زیر 1024 پیکسل) */
@media (max-width: 1024px) {
    .single-post .entry-content p, 
    .single-post .entry-content {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }
    .single-post h1 { font-size: 26px !important; }
    .single-post h2 { font-size: 22px !important; }
    .single-post h3 { font-size: 20px !important; }
}

/* ۳. تنظیمات اختصاصی برای موبایل (نمایشگرهای زیر 767 پیکسل) */
@media (max-width: 767px) {
    .single-post .entry-content p, 
    .single-post .entry-content {
        font-size: 16px !important; /* سایز استاندارد برای موبایل */
        line-height: 1.9 !important; /* فاصله بیشتر برای جلوگیری از خستگی چشم */
        text-align: justify; /* تراز کردن متن برای تمیزی بیشتر در موبایل */
    }
    .single-post h1 { font-size: 24px !important; line-height: 1.4 !important; }
    .single-post h2 { font-size: 20px !important; }
    .single-post h3 { font-size: 18px !important; }
    
    /* بهینه‌سازی تصاویر و جداول در موبایل برای جلوگیری از بیرون زدگی */
    .single-post .entry-content img {
        height: auto !important;
        max-width: 100% !important;
    }
}



/* راست‌چین کردن محتوای نوشته‌های تکی */
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6,
.single-post .entry-content li,
.single-post .entry-content div {
    text-align: right !important;
    direction: rtl !important;
}

/* برای اطمینان از اینکه لیست‌های نشانه‌دار (ul/ol) هم راست‌چین می‌مانند */
.single-post .entry-content ul, 
.single-post .entry-content ol {
    direction: rtl !important;
    text-align: right !important;
    padding-right: 25px !important;
    padding-left: 0 !important;
}


/* ۱. هدف قرار دادن تمام لایه‌های داخلی محتوای نوشته */
.single-post .entry-content,
.single-post .entry-content *,
.single-post .post-content,
.single-post .post-content *,
.elementor-widget-text-editor,
.elementor-text-editor {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* ۲. اصلاح لبه‌ها برای پاراگراف‌ها به صورت اختصاصی */
.single-post p, 
.single-post .entry-content p,
.single-post .elementor-text-editor p {
    display: block !important;
    width: 100% !important;
    text-align: justify !important;
    direction: rtl !important;
}

/* ۳. جلوگیری از کشیده شدن خط آخر (چون زشت می‌شود) */
.single-post p {
    text-align-last: right !important;
}

/* ۴. استثنا برای تیترها (تیترها نباید justify شوند) */
.single-post h1, .single-post h2, .single-post h3, .single-post h4, .single-post h5 {
    text-align: right !important;
    text-align-last: right !important;
}

/* ۵. حذف فضاهای خالی احتمالی در کانتینرهای المنتور که مانع تراز شدن هستند */
.elementor-column-wrap, .elementor-widget-wrap {
    text-align: justify !important;
}





/* ۱. کد پایه شما برای کل صفحه */
body.woocommerce-checkout,
.woocommerce-checkout,
.woocommerce-checkout form.checkout,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review {
  background-color: #001919 !important;
}

/* ۲. تیره کردن کادرهای سفید داخلی در هر دو سمت (چپ و راست) */
.woocommerce-checkout .col-1, 
.woocommerce-checkout .col-2,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .wd-checkout-sidebar,
.woocommerce-checkout .checkout-order-review,
.woocommerce-checkout .wd-checkout-order-review {
  background-color: #003232 !important;
  background: #001919 !important;
  border: none !important;
  box-shadow: none !important;
}

/* ۳. حذف لبه دندانه‌دار سفید بالای کادر سمت چپ */
.woocommerce-checkout .checkout-order-review:before,
.woocommerce-checkout .checkout-order-review:after {
    display: none !important;
}

/* ۴. اصلاح لیست‌باکس (کشور/استان) برای هماهنگی با تکس‌باکس‌ها */
/* بدنه اصلی لیست‌باکس وقتی بسته است */
.select2-container--default .select2-selection--single {
  background-color: #1a4343 !important; /* رنگی مشابه تکس‌باکس‌های تیره شما در تصویر */
  border: 1px solid rgba(255,255,255,0.1) !important;
  height: 45px !important;
  border-radius: 5px !important;
}

/* متن داخل لیست‌باکس */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ffffff !important;
  line-height: 45px !important;
}

/* ۵. اصلاح منوی بازشوی لیست‌باکس (بخش سفید بزرگ در تصویر شما) */
.select2-dropdown {
  background-color: #001919 !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
}

/* رنگ گزینه‌های داخل لیست */
.select2-results__option {
  background-color: #001919 !important;
  color: #ffffff !important;
}

/* رنگ گزینه‌ای که ماوس روی آن است یا انتخاب شده */
.select2-results__option--highlighted[aria-selected], 
.select2-results__option[aria-selected=true] {
  background-color: #eabe12 !important; /* رنگ نارنجی/زرد برند شما */
  color: #000000 !important;
}

/* فیلد جستجو داخل لیست‌باکس */
.select2-search--dropdown .select2-search__field {
  background-color: #ffffff !important;
  color: #000000 !important;
}


/* کلاس کانتینر یا ردیف منو را هدف قرار می‌دهیم */
.whb-navigation, 
.elementor-element-YOUR-ID {
    min-height: 20px !important;
    height: 20px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}


/* 1. سفید کردن متن داخل تب‌ها و خودِ تب‌ها */
.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-tabs .tabs li a,
.single-product .woocommerce-tabs .tabs li a *,
.single-product .wd-accordion-title,
/* این خط پایین همه چیز را سفید می‌کند به جز فیلدهای ورودی */
.single-product .woocommerce-tabs .panel *:not(input):not(textarea):not(select) {
  color: #ffffff !important;
}

/* 2. تنظیم کادر دور پنل توضیحات */
.single-product .woocommerce-tabs .panel {
  background: transparent !important;
  border: 1px solid #ffffff !important;
}

/* 3. اصلاح کادر تایپ نظرات (مشکی کردن متن هنگام تایپ) */
.single-product .woocommerce-tabs #review_form textarea,
.single-product .woocommerce-tabs #review_form input[type="text"],
.single-product .woocommerce-tabs #review_form input[type="email"] {
  color: #000000 !important; /* رنگ متن تایپ شده */
  background-color: #ffffff !important; /* پس‌زمینه کادر سفید باشد تا متن مشکی دیده شود */
  -webkit-text-fill-color: #000000 !important;
}

/* 4. اصلاح ادیتور در پنل مدیریت (بک‌اندر) */
.wp-admin textarea,
.wp-admin .wp-editor-area,
.wp-admin .mce-content-body {
  color: #000000 !important;
}
/* فاصله داخلی متنِ توضیحات محصول */
.single-product .woocommerce-tabs .panel {
  padding: 25px 35px !important;
}

/* ۱. تنظیمات کلی برای دسکتاپ و موبایل */
.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel div,
.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description p {
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 2 !important;
    direction: rtl !important;
}

/* ۲. تنظیم فاصله حاشیه (Padding) در دسکتاپ */
.single-product .woocommerce-tabs .panel,
.woocommerce-product-details__short-description {
    padding: 25px 35px !important;
}

/* ۳. تنظیمات اختصاصی برای موبایل (زیر ۷۶۸ پیکسل) */
@media (max-width: 768px) {
    /* تنظیم پدینگ کمتر برای موبایل */
    .single-product .woocommerce-tabs .panel,
    .woocommerce-product-details__short-description {
        padding: 15px 15px !important;
    }

    /* اجبار به تراز کردن متن در موبایل برای تمام تگ‌های احتمالی */
    .single-product .woocommerce-tabs .panel,
    .single-product .woocommerce-tabs .panel p,
    .single-product .woocommerce-tabs .panel span,
    .woocommerce-product-details__short-description,
    .woocommerce-product-details__short-description p {
        text-align: justify !important;
        display: block; /* برای اطمینان از اعمال شدن تراز روی خطوط */
    }
}


/* صفحه‌بندی اختصاصی قالب WoodMart */
.wd-pagination a,
.wd-pagination span,
nav.woocommerce-pagination a,
nav.woocommerce-pagination span {
    color: #ffffff !important;
}

.wd-pagination a:hover,
nav.woocommerce-pagination a:hover {
    color: #ff8500 !important;
}

.wd-pagination .current,
nav.woocommerce-pagination .current {
    color: #ffffff !important;
    background-color: #ff8500 !important;
}


@media (max-width: 576px) {
	/* فقط در موبایل */
@media (max-width: 1024px) {

    /* رنگ عادی منو */
    .mobile-nav-icon .wd-tools-icon,
    .wd-header-mobile-nav .wd-tools-icon,
    .wd-header-mobile-nav {
        color: #ffffff !important;
    }

    /* رنگ هنگام Hover */
    .mobile-nav-icon:hover .wd-tools-icon,
    .wd-header-mobile-nav:hover .wd-tools-icon,
    .wd-header-mobile-nav:hover {
        color: #ff8c00 !important;
    }

}

/* فقط در موبایل */
@media (max-width: 1024px) {

    /* رنگ عادی منو */
    .mobile-nav-icon .wd-tools-text,
    .wd-header-mobile-nav .wd-tools-text,
    .wd-header-mobile-nav {
        color: #ffffff !important;
    }

    /* رنگ هنگام Hover */
    .mobile-nav-icon:hover .wd-tools-text,
    .wd-header-mobile-nav:hover .wd-tools-text,
    .wd-header-mobile-nav:hover {
        color: #ff8c00 !important;
    }

}

/* فقط موبایل - تغییر کامل استایل نوار ابزار چسبان */
@media (max-width: 1024px) {

    /* بک‌گراند */
    .wd-toolbar {
        background-color: #003232 !important;
        border-top: 1px solid #003232 !important;
    }

    /* رنگ متن و آیکون */
    .wd-toolbar a,
    .wd-toolbar .wd-toolbar-label,
    .wd-toolbar .wd-tools-icon {
        color: #c8c8c8 !important;
    }

    /* رنگ آیتم فعال */
    .wd-toolbar .wd-active a,
    .wd-toolbar .wd-active .wd-tools-icon,
    .wd-toolbar .wd-active .wd-toolbar-label {
        color: #ffffff !important;
    }

}

}

