:root {
	--wd-hb-opt-h: 55px;
	--wd-text-font: IRANSansXFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: IRANSansXFaNum;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: IRANSansXFaNum;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRANSansXFaNum;
	--wd-widget-title-font: IRANSansXFaNum;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: IRANSansXFaNum;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgba(0,0,0,0.74);
	--wd-alternative-color: rgb(209,209,209);
	--btn-default-bgcolor: rgb(226,226,226);
	--btn-default-bgcolor-hover: rgb(206,206,206);
	--btn-default-color: rgb(45,45,45);
	--btn-default-color-hover: rgb(45,45,45);
	--btn-accented-bgcolor: rgb(131,184,53);
	--btn-accented-bgcolor-hover: rgb(131,184,53);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(51,51,51);
	--wd-link-color-hover: rgb(36,36,36);
	--wd-sticky-btn-height: 95px;
}
.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;
}
.wd-hb {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 150px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(15,14,14);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.wd .product-label.onsale {
	background-color: rgba(221,0,0,0.65);
}
.wd .product-label.new {
	background-color: rgba(221,0,0,0.65);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 40px;
	--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-hb-opt-h: 38px;
	--wd-sticky-btn-height: 40px;
	}

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 0px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
--wd-cat-brd-radius: 0px;
}



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

body .woocommerce-review__published-date{
display:none;
}
body .woocommerce-review__dash{
display:none;
}
body {
  background: #e0e5ec;
}
button {
  margin: 20px;
}
.custom-btn {
  width: 345px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: 'IRANSans', sans-serif;
  font-weight: 450;
	font-size: 18px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}
.btn-11 {
  border: none;
  background: rgb(251,33,117);
    background: linear-gradient(0deg, rgba(251,33,117,1) 0%, rgba(234,76,137,1) 100%);
    color: #fff;
    overflow: hidden;
}
.btn-11:hover {
    text-decoration: none;
    color: #fff;
}
.btn-11:before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn1 3s ease-in-out infinite;
}
.btn-11:hover{
  opacity: .7;
}
.btn-11:active{
  box-shadow:  4px 4px 6px 0 rgba(255,255,255,.3),
              -4px -4px 6px 0 rgba(116, 125, 136, .2), 
    inset -4px -4px 6px 0 rgba(255,255,255,.2),
    inset 4px 4px 6px 0 rgba(0, 0, 0, .2);
}
@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
.single-product p.stock.in-stock {
    display: none;
}
.product-label.featured {
    left: 0;
    top: 15px;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.product-label.featured {
    position: absolute;
    transform: translate(100%, -50%);
    height: 26px;
}
body .wd-progress-bar .progress-bar {
    background-color: green!important;
}
/* تبدیل دسته‌بندی‌های عنوان صفحه به دکمه‌های افقی اسکرولی در دسکتاپ */
@media (min-width: 768px) {
    .page-title .wd-nav-product-cat {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 15px 5px !important;
        justify-content: flex-start !important;
        list-style: none !important;
    }

    /* زیباسازی نوار اسکرول زیر دکمه‌ها در دسکتاپ */
    .page-title .wd-nav-product-cat::-webkit-scrollbar {
        height: 4px !important; /* ضخامت نوار اسکرول */
    }
    
    .page-title .wd-nav-product-cat::-webkit-scrollbar-track {
        background: #f1f1f1 !important; 
        border-radius: 10px;
    }
    
    .page-title .wd-nav-product-cat::-webkit-scrollbar-thumb {
        background: #c9a27e !important; /* رنگ نوار اسکرول متناسب با برند شما */
        border-radius: 10px;
    }

    /* تبدیل آیتم‌های منو به حالت دکمه */
    .page-title .wd-nav-product-cat > li {
        display: inline-block !important;
        flex: 0 0 auto !important;
        margin-left: 10px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    /* استایل دکمه‌ها در دسکتاپ */
    .page-title .wd-nav-product-cat > li > a {
        display: block !important;
        padding: 10px 20px !important;
        background-color: #f5f5f5 !important;
        border: 1px solid #e2e2e2 !important;
        border-radius: 30px !important;
        font-size: 14px !important;
        color: #333 !important;
        transition: all 0.2s ease-in-out;
    }

    /* افکت هاور و دکمه فعال در دسکتاپ */
    .page-title .wd-nav-product-cat > li.current-cat > a,
    .page-title .wd-nav-product-cat > li > a:hover {
        background-color: #c9a27e !important; /* رنگ دکمه فعال و هاور */
        color: #ffffff !important;
        border-color: #c9a27e !important;
    }
}
/* مخفی کردن کامل بخش عنوان صفحه در صفحه اصلی، صفحات وبلاگ و نوشته‌های تکی */
.home .page-title,
.blog .page-title,
.single-post .page-title,
.archive.category .page-title {
    display: none !important;
}
/* حذف کامل دکمه بازگشت (فلش عقب) از بخش عنوان صفحه */
.page-title .wd-back-btn {
    display: none !important;
}
/* حذف قطعی افکت خط زیرین وودمارت در حالت هاور دکمه‌ها */
.page-title .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    display: none !important;
}

/* اطمینان از حذف هرگونه خط زیرین سنتی متن */
.page-title .wd-nav-product-cat .nav-link-text {
    text-decoration: none !important;
    border-bottom: none !important;
}
/* --- تنظیمات دسکتاپ (دو ستونه، فرم سمت چپ، نظرات اسکرول‌دار سمت راست) --- */
@media (min-width: 992px) {
    #reviews {
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 50px !important;
    }

    /* ستون سمت راست: لیست نظرات */
    #comments {
        flex: 0 0 55% !important;
        max-width: 55% !important;
        border-left: 1px solid #e2e2e2 !important;
        border-right: none !important;
        padding-left: 40px !important;
        padding-right: 0 !important;
        
        /* اسکرول داخلی دسکتاپ */
        max-height: 550px !important; 
        overflow-y: auto !important;
    }

    /* ستون سمت چپ: فرم ثبت نظر (غیرشناور) */
    #review_form_wrapper {
        flex: 0 0 40% !important;
        max-width: 40% !important;
        position: relative !important;
    }
}

/* --- تنظیمات موبایل و تبلت (زیر هم، همراه با اسکرول داخلی برای بخش نظرات) --- */
@media (max-width: 991px) {
    #reviews {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* ایجاد باکس اسکرول‌دار برای نظرات در موبایل با ارتفاع 1.5 برابر بزرگتر (600px) */
    #comments {
        max-height: 600px !important; /* ارتفاع از 400px به 600px افزایش یافت */
        overflow-y: auto !important;
        border-bottom: 2px solid #e2e2e2 !important;
        padding-bottom: 20px !important;
        padding-left: 10px !important;
    }
    
    #review_form_wrapper {
        order: 2 !important;
    }
}

/* --- زیباسازی عمومی نوار اسکرول باکس نظرات (هم دسکتاپ هم موبایل) --- */
#comments::-webkit-scrollbar {
    width: 5px !important;
}
#comments::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}
#comments::-webkit-scrollbar-thumb {
    background: #c9a27e !important;
    border-radius: 10px !important;
}

/* استایل متون */
#reviews #comments .woocommerce-Reviews-title,
#reviews #review_form_wrapper .comment-reply-title {
    font-size: 16px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
}
/* حل مشکل فاصله خالی بالای صفحه محصول بر اساس کلاس دقیق وودمارت */
.single-product .wd-content-layout {
    padding-top: 0 !important; /* حذف پدینگ بالایی محتوا */
}

/* کاهش پدینگ پایینی هدر برای فیت شدن کامل منو به بدنه سایت */
.single-product .whb-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* بهینه‌سازی نهایی و فشرده‌سازی در موبایل */
@media (max-width: 991px) {
    .single-product .wd-content-layout {
        padding-top: 0 !important;
    }
}
/* --- تنظیم فاصله عمودی بین کل بلوک عددی و کل بلوک بولت‌دار --- */

/* بازگرداندن فاصله درونی آیتم‌های لیست به حالت اولیه قالب */
.woocommerce-product-details__short-description ul li,
.woocommerce-product-details__short-description ol li {
    margin-bottom: var(--wd-tags-mb, 5px) !important; /* یا هر مقداری که پیش‌فرض قالب شماست */
    padding-right: 0 !important;
}

/* ایجاد فاصله عمودی چشمگیر بین پایان لیست عددی و شروع لیست بولت‌دار */
.woocommerce-product-details__short-description ol {
    margin-bottom: 25px !important; /* فاصله بین انتهای لیست عددی با المان بعدی (که لیست بولت‌دار است) */
}

/* برای اطمینان بیشتر، ایجاد فاصله از بالای لیست بولت‌دار */
.woocommerce-product-details__short-description ul {
    margin-top: 25px !important;
}
/* --- فشرده‌سازی حداکثری فواصل بر اساس الگوی عسل بانو --- */

/* حذف کامل فاصله‌های ناشی از کانتینرهای مادر المنتور در این بخش */
.single-product .elementor-widget-wd_single_product_title,
.single-product .elementor-widget-wd_single_product_rating,
.single-product .elementor-widget-woocommerce-breadcrumb,
.single-product .elementor-widget-wc-rating,
.single-product .elementor-widget-wc-product-price {
    margin-top: 0 !important;
    margin-bottom: 2px !important; /* به حداقل رساندن حد فاصل المان‌ها */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* کاهش مارجین داخلی ابزارک‌های اختصاصی وودمارت */
.single-product-page .product_title,
.single-product-page .woocommerce-breadcrumb,
.single-product-page .woocommerce-product-rating,
.single-product-page .wd-product-rating,
.single-product-page .price {
    margin-top: 0 !important;
    margin-bottom: 2px !important; /* قفل کردن حد فاصل روی کمترین مقدار */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* رفع فاصله اضافی ناشی از لاین‌هیت در تایتل و ریتینگ */
.single-product-page .product_title {
    line-height: 1.3 !important;
}

.single-product-page .woocommerce-product-rating,
.single-product-page .wd-product-rating {
    line-height: 1 !important;
    margin-top: -2px !important; /* یک ترفند کوچک برای نزدیک‌تر شدن ریتینگ به تایتل */
}

/* --- تنظیمات اختصاصی موبایل برای فشرده‌سازی نهایی --- */
@media (max-width: 768px) {
    .single-product-page .product_title {
        margin-bottom: 3px !important;
    }
    .single-product-page .woocommerce-product-rating,
    .single-product-page .wd-product-rating {
        margin-bottom: 3px !important;
    }
}
/* --- ایجاد حاشیه داخلی (پدینگ) راست و چپ برای متن توضیحات محصول --- */

/* هدف‌گیری کانتینر اصلی محتوای تب‌های محصول در وودمارت */
.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .wd-tab-content {
    padding-right: 15px !important;  /* ایجاد فاصله منظم از لبه راست */
    padding-left: 15px !important;   /* ایجاد فاصله منظم از لبه چپ */
    box-sizing: border-box !important;
}

/* اصلاح عرض ویدیوها و المان‌های رسانه‌ای داخل توضیحات برای فیت شدن با حاشیه جدید */
.single-product .woocommerce-Tabs-panel iframe,
.single-product .woocommerce-Tabs-panel video,
.single-product .woocommerce-Tabs-panel img {
    max-width: 100% !important;
    border-radius: 8px !important; /* اختیاری: جهت شکیل‌تر شدن لبه‌های ویدیو و تصاویر */
}
/* --- کاهش قطعی فاصله بین تب‌ها با حفظ سایز فونت اصلی --- */

/* حذف پدینگ‌ها و مارجین‌های مزاحم لایه‌های اصلی تب‌ها */
.single-product .wd-nav-tabs, 
.single-product .woocommerce-tabs > ul.tabs {
    gap: 4px !important; /* فشرده کردن فاصله المان‌های فلکس */
    display: flex !important;
    justify-content: flex-start !important;
}

/* کاهش فاصله بین هر لیست با لیست بعدی */
.single-product .wd-nav-tabs > li,
.single-product .woocommerce-tabs > ul.tabs > li {
    margin-left: 6px !important;   /* کاهش فاصله چپ در RTL */
    margin-right: 0px !important;  /* صفر کردن فاصله راست */
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* اصلاح پدینگ داخلی دکمه تب‌ها برای نزدیک‌تر شدن متون به یکدیگر */
.single-product .wd-nav-tabs > li > a,
.single-product .woocommerce-tabs > ul.tabs > li > a {
    padding-left: 4px !important;  /* فشرده‌سازی پدینگ چپ */
    padding-right: 4px !important; /* فشرده‌سازی پدینگ راست */
    
    /* بازگرداندن فونت به سایز اصلی و بزرگ قالب شما */
    font-size: inherit !important; 
}
/* ==========================================
   ۱. تنظیمات تب‌ها در دسکتاپ (حفظ استایل فابریک + وسط‌چین)
   ========================================== */
@media (min-width: 769px) {
    /* وسط‌چین کردن تب‌ها بدون دستکاری پدینگ و پس‌زمینه کانتینر اصلی */
    .single-product .wd-nav-tabs, 
    .single-product .woocommerce-tabs > ul.tabs {
        justify-content: center !important; /* وسط‌چین شدن عناوین تب‌ها */
        gap: 35px !important; /* ایجاد فاصله مناسب و بازتر بین تب‌ها در دسکتاپ */
    }

    /* حذف نقطه و بازگرداندن رفتار طبیعی آیتم‌ها در دسکتاپ */
    .single-product .wd-nav-tabs > li,
    .single-product .woocommerce-tabs > ul.tabs > li {
        display: inline-block !important; /* بازگشت به حالت استاندارد قالب */
        list-style: none !important;
    }
}

/* ==========================================
   ۲. تنظیمات تب‌ها در موبایل (راست‌چین و فشرده)
   ========================================== */
@media (max-width: 768px) {
    /* ساختار فشرده و بدون مارکر برای موبایل */
    .single-product .wd-nav-tabs > li,
    .single-product .woocommerce-tabs > ul.tabs > li {
        display: inline-flex !important;
        list-style: none !important;
        margin-left: 6px !important; /* فاصله فشرده تایید شده در موبایل */
        margin-right: 0px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* فشرده‌سازی پدینگ لینک‌ها فقط در موبایل */
    .single-product .wd-nav-tabs > li > a,
    .single-product .woocommerce-tabs > ul.tabs > li > a {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* راست‌چین ماندن منو در موبایل */
    .single-product .wd-nav-tabs, 
    .single-product .woocommerce-tabs > ul.tabs {
        gap: 4px !important;
        justify-content: flex-start !important;
    }
}

/* ==========================================
   ۳. حذف عمومی نقطه‌ها (مشترک دسکتاپ و موبایل)
   ========================================== */
.single-product .wd-nav-tabs > li::marker,
.single-product .woocommerce-tabs > ul.tabs > li::marker,
.single-product .wd-nav-tabs > li::before,
.single-product .woocommerce-tabs > ul.tabs > li::before {
    display: none !important;
    content: "" !important;
}
/* --- افزایش فاصله بین انتهای توضیحات محصول و باکس نظرات --- */

/* ایجاد فاصله از پایین کانتینر محتوای تب توضیحات */
.single-product .woocommerce-tabs .wd-tab-content,
.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    margin-bottom: 40px !important; /* می‌توانید این مقدار را بنا به سلیقه خود بیشتر یا کمتر کنید */
}

/* برای اطمینان و هماهنگی بیشتر در ساختار کامنت‌های وودمارت */
.single-product #reviews {
    margin-top: 20px !important;
}
/* بازگرداندن و فورس کردن نمایش پاسخ‌های مدیریت در ساختار دو ستونه */
#comments .commentlist .children, 
#comments ul.children,
#comments ol.children {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    clear: both !important;
    overflow: visible !important;
    
    /* استایل‌دهی برای تفکیک پاسخ مدیریت از مشتری */
    margin-top: 15px !important;
    margin-right: 25px !important;
    padding-right: 15px !important;
    border-right: 3px solid #c9a27e !important; /* خط عمودی طلایی/کرم متناسب با برند شما */
}

/* اصلاح چیدمان المان پاسخ در معماری جدید المنتور */
#comments li.comment .children li {
    background-color: #f9f9f9 !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    border: 1px solid #ececec !important;
    margin-bottom: 10px !important;
    display: block !important;
}
/* حذف کامل باکس قدیمی و استاتیک اسنپ‌پی از صفحه محصول */
.summary-inner .snapppay-widget,
.single-product-page .snapppay-widget,
div.snapppay-widget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}
/* ۱. استایل سه‌بعدی دکمه افزودن به سبد خرید و تسویه حساب ووکامرس و وودمارت */
.single_add_to_cart_button, 
.elementor-button-elementor-size-md,
.wd-buy-now-btn,
button.button.alt.single_add_to_cart_button,
.checkout-button, 
#place_order,
.wc-proceed-to-checkout .checkout-button,
.widget_shopping_cart_content .checkout,
a.button.checkout.wc-forward,
.woocommerce-mini-cart__buttons .checkout {
    min-width: 240px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    direction: rtl !important;
    font-family: IRANSansMobile-fa, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    
    /* تنظیم رنگ متن و پس‌زمینه اختصاصی شما */
    color: #fff !important;
    background-color: rgb(0,100,0) !important;
    background: rgb(0,100,0) !important;
    
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    
    /* افکت سه‌بعدی اولیه */
    box-shadow:
        inset 2px 2px 3px rgba(255,255,255,.35),
        0 8px 15px rgba(0,80,0,.25),
        0 3px 5px rgba(0,0,0,.15) !important;
        
    transition: all .25s ease !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

/* ۲. حالت هاور - افکت فرو رفتن دکمه‌ها در کل سایت */
.single_add_to_cart_button:hover,
.wd-buy-now-btn:hover,
.checkout-button:hover,
#place_order:hover,
.wc-proceed-to-checkout .checkout-button:hover,
.widget_shopping_cart_content .checkout:hover,
a.button.checkout.wc-forward:hover,
.woocommerce-mini-cart__buttons .checkout:hover {
    transform: translateY(2px) !important;
    background-color: rgb(0,90,0) !important;
    background: rgb(0,90,0) !important;
    color: #fff !important;
    box-shadow:
        inset 5px 5px 10px rgba(0,0,0,.35),
        inset -3px -3px 6px rgba(255,255,255,.15),
        0 3px 8px rgba(0,0,0,.2) !important;
}

/* ۳. حالت کلیک ملموس دکمه‌ها */
.single_add_to_cart_button:active,
.wd-buy-now-btn:active,
.checkout-button:active,
#place_order:active,
.wc-proceed-to-checkout .checkout-button:active,
.widget_shopping_cart_content .checkout:active,
a.button.checkout.wc-forward:active,
.woocommerce-mini-cart__buttons .checkout:active {
    transform: translateY(5px) !important;
    box-shadow: inset 6px 6px 12px rgba(0,0,0,.45) !important;
}

/* ۴. حذف استایل فلش یا آیکون‌های مزاحم پیش‌فرض وودمارت در دکمه تسویه حساب */
.widget_shopping_cart_content .checkout::after,
a.button.checkout.wc-forward::after {
    display: none !important;
}
/* استایل‌دهی به کلاس یکپارچه موجودی در صفحه محصول */
.single-product .unified-stock-status {
    color: #333333 !important; /* خاکستری تیره مشابه عسل‌بانو */
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: none !important; /* حذف خطوط اضافه وودمارت */
    padding: 0 !important;
}

/* افزودن آیکون تیک سبز به ابتدای متن موجودی */
.single-product .unified-stock-status::before {
    content: "✓" !important;
    color: #43a047 !important; /* تیک سبز */
    font-weight: bold !important;
    font-size: 16px !important;
}

/* استایل حالت ناموجود (اختیاری برای زیبایی بیشتر) */
.single-product .unified-stock-status.out-of-stock {
    color: #d32f2f !important; /* قرمز */
}
.single-product .unified-stock-status.out-of-stock::before {
    content: "✕" !important;
    color: #d32f2f !important;
}
/* مخفی کردن تگ وضعیت موجودی در نوار خرید شناور موبایل و دسکتاپ */
.wd-sticky-btn .unified-stock-status,
.wd-sticky-btn-cart .unified-stock-status,
.wd-sticky-btn p.stock.wd-style-bordered,
.wd-sticky-btn-cart p.stock.wd-style-bordered {
    display: none !important;
}
/* تغییر رنگ پس‌زمینه دکمه بازکننده منو در حالت کلیک‌شده (فعال) */
.mobile-nav .wd-nav-opener.wd-active {
    background-color: #C9A27E !important;
}

/* در صورتی که می‌خواهید رنگ فلش/آیکون داخل آن هم سفید یا رنگ خاصی باشد (اختیاری) */
.mobile-nav .wd-nav-opener.wd-active::after {
    color: #ffffff !important;
}
/* ==========================================================================
   ۱. تنظیمات مشترک و دسکتاپ (بدون دستکاری ساختار سایدبار)
   ========================================================================== */
.wd-term-desc {
    display: block !important;
    clear: both !important;
    height: auto !important;
    transition: max-height 0.4s ease-in-out;
}

/* محدودیت ارتفاع در حالت بسته */
.wd-term-desc.collapsed-desc {
    max-height: 160px !important;
    overflow: hidden !important;
    position: relative !important;
}

/* افکت محو شدگی انتهای متن */
.wd-term-desc.collapsed-desc::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1)) !important;
    z-index: 5;
    pointer-events: none;
}

/* حالت باز شده */
.wd-term-desc.expanded-desc {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
}

/* استایل دکمه مشاهده بیشتر */
.read-more-desc-btn {
    display: block;
    width: 150px;
    margin: 15px auto 25px auto;
    padding: 8px 15px;
    background-color: #fafafa;
    color: #C9A27E !important;
    border: 1px solid #e3e3e3;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    transition: all 0.2s ease;
    clear: both;
    position: relative;
    z-index: 10;
}

.read-more-desc-btn:hover {
    background-color: #C9A27E;
    color: #fff !important;
    border-color: #C9A27E;
}

/* ==========================================================================
   ۲. کدهای اختصاصی موبایل (فقط برای حل مشکل فوتر در موبایل - زیر 1024 پیکسل)
   ========================================================================== */
@media (max-width: 1024px) {
    .site-content, 
    .main-page-wrapper, 
    .content-layout-wrapper,
    .wd-content-area {
        height: auto !important;
        min-height: 100% !important;
        overflow: visible !important;
        display: block !important;
    }
}
/* ==========================================================================
   ۱. استایل پایه و مشترک دکمه مرتب‌سازی (دسکتاپ و موبایل)
   ========================================================================== */
.woocommerce-ordering {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    width: 140px !important;
    height: 38px !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 5px !important;
    background-color: #fafafa !important;
    box-sizing: border-box !important;
}

/* حذف استایل‌های پیش‌فرض */
.woocommerce-ordering::before {
    display: none !important;
}

/* استایل متن پویا و خلاصه شده */
.wd-sort-label {
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    position: absolute !important;
    right: 12px !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* هدایت آیکون فلش‌ها به سمت چپ کادر دکمه */
.woocommerce-ordering::after {
    position: absolute !important;
    left: 12px !important;
    right: auto !important;
    pointer-events: none !important;
}

/* تنظیم فیلتر اصلی برای پوشش کامل محدوده کلیک */
.woocommerce-ordering select.orderby {
    color: transparent !important;
    background-color: transparent !important;
    border: none !important;
    text-indent: -9999px !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    box-shadow: none !important;
    cursor: pointer !important;
    z-index: 2;
}

.woocommerce-ordering select.orderby option {
    color: #333333 !important;
    background-color: #ffffff !important;
    text-indent: 0px !important;
}

/* ==========================================================================
   ۲. کدهای اختصاصی دسکتاپ (اصلاح فاصله و پررنگ کردن متن راهنما)
   ========================================================================== */
@media (min-width: 1025px) {
    /* ایجاد فضای خالی بیشتر و استاندارد در سمت راست دکمه */
    .woocommerce-ordering {
        margin-right: 135px !important; /* افزایش فاصله برای ایجاد فضای تنفس */
    }

    /* تزریق و استایل‌دهی متن "مرتب سازی براساس:" */
    .woocommerce-ordering::before {
        display: block !important;
        content: "مرتب سازی براساس:" !important;
        position: absolute !important;
        right: -135px !important; /* هدایت متن به عقب‌تر */
        color: #242424 !important; /* تغییر به رنگ مشکی پررنگ و خوانا */
        font-size: 14px !important;
        font-weight: 700 !important; /* ضخیم‌تر کردن فونت */
        white-space: nowrap !important;
    }
}
/* ==========================================================================
   طراحی صفحه برندها به صورت الفبایی (طرح نیلی شاپ)
   ========================================================================== */
.emiliie-brands-alphabetical {
    direction: rtl;
    width: 100%;
    margin: 20px 0;
}

/* استایل منوی حروف بالای صفحه */
.brands-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.brand-nav-letter {
    display: inline-block;
    padding: 6px 12px;
    background: #fafafa;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    color: #333;
    font-weight: bold;
    transition: all 0.2s ease;
}

.brand-nav-letter:hover {
    background: #C9A27E; /* رنگ بژ اختصاصی امیلی */
    color: #fff !important;
    border-color: #C9A27E;
}

/* ساختار بخش هر حرف */
.brand-letter-section {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px dashed #e3e3e3;
    padding-bottom: 20px;
}

/* باکس حرف بزرگ (مثلا: آ - B) */
.letter-heading {
    width: 60px;
    height: 60px;
    background: #242424;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 0 0 25px !important;
    font-size: 24px !important;
    font-weight: bold;
}

/* لیست چند ستونه برندهای زیرمجموعه هر حرف */
.brands-sublist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* نمایش ۴ ستونه در دسکتاپ */
    gap: 15px 30px;
    flex: 1;
}

.brands-sublist li a {
    color: #4f4f4f;
    font-size: 15px;
    transition: color 0.2s;
}

.brands-sublist li a:hover {
    color: #C9A27E !important; /* رنگ هاور برندها */
}

/* بهینه‌سازی برای موبایل و تبلت */
@media (max-width: 992px) {
    .brands-sublist {
        grid-template-columns: repeat(2, 1fr); /* ۲ ستونه در تبلت */
    }
}

@media (max-width: 768px) {
    .brand-letter-section {
        flex-direction: column;
    }
    .letter-heading {
        margin: 0 0 15px 0 !important;
    }
    .brands-sublist {
        grid-template-columns: repeat(2, 1fr); /* ۲ ستونه در موبایل */
        gap: 10px 15px;
    }
}@media (max-width: 576px) {
	/* تبدیل صددرصدی دسته‌بندی عنوان صفحه به دکمه‌های افقی اسکرولی در موبایل */
@media (max-width: 767px) {
    .page-title .wd-nav-product-cat {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px 5px !important;
        float: none !important;
        justify-content: flex-start !important;
    }

    /* حذف نوار اسکرول زشت پایین دکمه‌ها در اندروید و آی‌آو‌اس */
    .page-title .wd-nav-product-cat::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }

    /* تبدیل آیتم‌های منو به حالت دکمه‌های مجزا */
    .page-title .wd-nav-product-cat > li {
        display: inline-block !important;
        flex: 0 0 auto !important;
        margin-left: 8px !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    /* استایل‌دهی به متن و ظاهر خود دکمه‌ها */
    .page-title .wd-nav-product-cat > li > a {
        display: block !important;
        padding: 8px 16px !important;
        background-color: #f5f5f5 !important; /* رنگ پس‌زمینه دکمه‌ها */
        border: 1px solid #e2e2e2 !important; /* خط دور دکمه */
        border-radius: 30px !important; /* گرد کردن لبه دکمه‌ها */
        font-size: 13px !important;
        color: #333 !important;
        line-height: 1 !important;
    }

    /* استایل دکمه دسته‌بندی فعال که کاربر در آن حضور دارد */
    .page-title .wd-nav-product-cat > li.current-cat > a {
        background-color: #c9a27e !important; /* رنگ دکمه فعال */
        color: #ffffff !important;
        border-color: #c9a27e !important;
    }

    /* مخفی کردن دکمه‌ها یا فلش‌های آکاردئونی اضافه */
    .page-title .wd-nav-product-cat .wd-nav-opener,
    .page-title .wd-nav-product-cat .wd-nav-opener:after {
        display: none !important;
    }
}
/* حذف قطعی دکمه و متن دسته بندی ها در موبایل */
@media (max-width: 767px) {
    .wd-btn-show-cat {
        display: none !important;
    }
}
}

