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

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: IRANSansXFaNum;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: IRANSansXFaNum;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(51,51,51);
	--wd-entities-title-font: IRANSansXFaNum;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: Pinar-VF;
	--wd-widget-title-font: IRANSansXFaNum;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 15px;
	--wd-header-el-font: IRANSansXFaNum;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-primary-color: rgb(73,0,0);
	--wd-alternative-color: rgb(177,165,154);
	--wd-link-color: rgb(71,71,71);
	--wd-link-color-hover: rgb(73,0,0);
	--btn-default-bgcolor: rgb(177,165,154);
	--btn-default-bgcolor-hover: rgb(150,141,130);
	--btn-accented-bgcolor: rgb(177,165,154);
	--btn-accented-bgcolor-hover: rgb(150,141,130);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
div.wd-popup.wd-age-verify {
	max-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
div.wd-popup.wd-promo-popup {
	max-width: 800px;
}
.page-title-default {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: #ffffff;
	background-image: none;
}
.page .main-page-wrapper {
	background-color: rgb(244,236,229);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(244,236,229);
	background-image: none;
}
.single-product .main-page-wrapper {
	background-color: rgb(244,236,229);
	background-image: none;
}
.woodmart-archive-blog .main-page-wrapper {
	background-color: rgb(244,236,229);
	background-image: none;
}
.single-post .main-page-wrapper {
	background-color: rgb(244,236,229);
	background-image: none;
}
.woodmart-archive-portfolio .main-page-wrapper {
	background-color: rgb(244,236,229);
	background-image: none;
}
.single-portfolio .main-page-wrapper {
	background-color: rgb(244,236,229);
	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(91,91,91);
	--wd-form-placeholder-color: rgb(160,160,160);
	--wd-form-brd-color: rgb(229,229,229);
	--wd-form-brd-color-focus: rgb(178,178,178);
}
.product-labels .product-label.onsale {
	background-color: rgb(73,0,0);
}
div.wd-popup.popup-quick-view {
	max-width: 920px;
}

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

}
:root{
--wd-container-w: 1350px;
--wd-form-brd-radius: 5px;
--btn-default-color: #fff;
--btn-default-color-hover: #333;
--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: 12px;
}

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

@media (min-width: 1350px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* ۱. تنظیمات بدنه دکمه - اصلاح جهت برای آوردن آیکون به سمت چپ */
.hide-banner-btn .btn.btn-style-default {
    background-color: #e3e9db !important; /* سبز سدری بسیار روشن */
    color: #4a5a4b !important;
    border-radius: 10px !important;
    padding: 6px 15px !important;
    display: inline-flex !important;
    flex-direction: row !important; /* در حالت RTL متن را راست و آیکون را چپ می‌برد */
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important; /* فاصله بین متن و آیکون */
    border: none !important;
    box-shadow: none !important;
    min-height: unset !important;
}

/* ۲. تنظیم متن جدید */
.hide-banner-btn .wd-btn-text {
    font-size: 0 !important;
}

.hide-banner-btn .wd-btn-text:before {
    content: "مشاهده همه" !important;
    font-size: 13px !important;
    font-weight: bold !important;
    color: #4a5a4b !important;
    display: inline-block !important;
}

/* ۳. استایل آیکون اصلی */
.hide-banner-btn .wd-btn-icon {
    display: inline-flex !important;
    color: #4a5a4b !important;
    font-size: 14px !important;
    margin: 0 !important;
    order: 2; /* اطمینان از اینکه بعد از متن قرار می‌گیرد (در RTL یعنی سمت چپ) */
}

/* ۴. حالت هاور */
.hide-banner-btn .btn.btn-style-default:hover {
    background-color: #d1d9c7 !important;
}

/* حذف کدهای اضافه احتمالی */
.hide-banner-btn .btn.btn-style-default:after,
.hide-banner-btn .btn.btn-style-default:before {
    display: none !important; 
}
.hide-banner-btn .wd-btn-text:before {
    display: inline-block !important;
}

/* ۱. تنظیم چیدمان گرید و کاهش حداکثری فاصله‌ها */
.manual-list-style .product-grid-item .product-wrapper {
    display: grid !important;
    direction: rtl !important;
    grid-template-columns: 85px 1fr !important; 
    gap: 0 12px !important;
    align-items: center !important;
    padding: 5px 8px !important;
    background-color: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    margin-bottom: 2px !important;
}

/* ۲. اصلاح شده: اجبار عکس به مربع ثابت ۸۰ در ۸۰ */
.manual-list-style .product-element-top {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 80px !important;
    height: 80px !important; /* اضافه شد: ارتفاع ثابت برای جلوگیری از کشیدگی */
    margin: 0 !important;
    overflow: hidden !important; /* جلوگیری از بیرون زدگی عکس */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
}

/* بخش جدید: تنظیم خودِ تصویر داخل کادر */
.manual-list-style .product-element-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* عکس را بدون دفرمه شدن داخل مربع جا می‌دهد */
    padding: 2px !important; /* کمی فاصله برای زیباتر شدن */
}

/* ۳. اجبار عنوان به قرارگیری در ستون دوم (سمت چپِ عکس) */
.manual-list-style .wd-entities-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    text-align: right !important;
    align-self: end !important;
}

/* ۴. اجبار قیمت به قرارگیری در ستون دوم (زیر عنوان) */
.manual-list-style .price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: block !important;
    margin-top: 0px !important;
    font-size: 13px !important;
    text-align: right !important;
    align-self: start !important;
}

/* ۵. حذف کامل موارد اضافه و دکمه‌های هاور */
.manual-list-style .wd-buttons, 
.manual-list-style .hover-mask, 
.manual-list-style .wd-add-btn-replace,
.manual-list-style .wd-action-btn {
    display: none !important;
}

/* ۶. حذف فاصله‌های بیرونی ابزارک وودمارت */
.manual-list-style .product-grid-item {
    background: transparent !important;
    border: none !important;
    padding: 0 5px !important;
    margin-bottom: 0 !important;
}

.manual-list-style.wd-products-element,
.manual-list-style .products-footer {
    margin-bottom: 0 !important;
}

/* تنظیم نمایش تکی برای لیست محصولات در موبایل */
@media (max-width: 767px) {
    
    /* ۱. بازنویسی متغیرهای اینلاین قالب با اولویت بالا */
    .manual-list-style div.products.wd-products {
        --wd-col-sm: 1 !important;
        --wd-col-xs: 1 !important;
        grid-template-columns: repeat(1, 1fr) !important; /* اجبار به یک ستونه شدن */
    }

    /* ۲. اطمینان از اینکه هر آیتم تمام عرض را می‌گیرد */
    .manual-list-style .product-grid-item {
        max-width: 100% !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* ۳. تنظیم مجدد پدینگ و فاصله در موبایل برای زیبایی */
    .manual-list-style .product-grid-item .product-wrapper {
        padding: 8px !important;
        margin-bottom: 5px !important;
        grid-template-columns: 80px 1fr !important; /* حفظ ساختار عکس کنار متن */
    }
}

/* ۱. حذف قطعی آیکون همبرگری (سه خط) */
.whb-header .wd-header-cats .menu-opener .wd-tools-icon,
.whb-header .wd-header-cats .menu-opener .wd-icon {
    display: none !important;
}

/* ۲. جمع کردن عرض دکمه و حذف کشیدگی (۲۷۰ پیکسلی) */
.whb-header .wd-header-cats.wd-style-1 .menu-opener {
    min-width: unset !important; /* حذف عرض ثابت ۲۷۰ پیکسل */
    width: auto !important;
    padding: 0 10px !important; /* جمع و جور کردن فاصله از طرفین */
    background-color: transparent !important; /* حذف رنگ زمینه */
    border: none !important; /* حذف حاشیه احتمالی */
}

/* ۳. کوچک کردن فونت متن به اندازه یک واحد */
.whb-header .wd-header-cats .menu-opener .menu-open-label {
    font-size: 15px !important; /* اگر فونت پیش‌فرض ۱۴ بود، این آن را ۱ واحد کوچک می‌کند */
    font-weight: 600 !important;
    flex-grow: 0 !important;
}

/* ۴. نزدیک کردن فلش (Chevron) به متن */
.whb-header .wd-header-cats.wd-style-1 .menu-opener:after {
    position: static !important; /* خارج کردن از حالت لبه به لبه */
    margin-right: 5px !important; /* فاصله خیلی کم و شیک با متن */
    font-size: 10px !important; /* کمی کوچکتر کردن خود فلش برای هماهنگی با متن */
    display: inline-block !important;
}

/* ۵. تراز کردن کل محتوا در مرکز */
.whb-header .wd-header-cats .menu-opener {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}