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

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

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--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: iranyekan;
	--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(71,85,149);
	--wd-alternative-color: rgb(0,0,0);
	--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: cover;
	background-position: center 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 .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 600;
}
.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;
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

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

/* باکس‌دار کردن لینک‌های دسته‌بندی در حالت ناوبری */
.wd-nav-product-cat .category-nav-link {
    display: flex !important;
    justify-content: center !important; /* متن را وسط‌چین می‌کند */
    min-width: 130px !important;        /* عرض ثابت برای همه باکس‌ها (می‌توانی کم و زیاد کنی) */
    text-align: center !important;
    background-color: #f6f6f6 !important;
    padding: 10px 15px !important;      /* کمی پدینگ را برای هماهنگی با عرض جدید تنظیم کردم */
    margin: 5px !important;
    border-radius: 8px !important;
    border: 1px solid #eeeeee !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

/* استایل متن داخل باکس */
.wd-nav-product-cat .nav-link-text {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* حذف خط زیر متن و افکت‌های اضافی وودمارت */
.wd-nav-product-cat .category-nav-link:after,
.wd-nav-product-cat .nav-link-text:after {
    display: none !important;
}

/* تغییر رنگ در حالت هاور */
.wd-nav-product-cat .category-nav-link:hover {
    background-color: #f0f0f0 !important;
    border-color: #dddddd !important;
    transform: translateY(-2px);
}

/* ردیف کردن آیتم‌ها کنار هم */
.wd-nav-product-cat {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

/* ۱. استایل کلی کارت محصول */
.wd-product.product-grid-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px !important; /* لبه های گرد کارت */
    overflow: hidden;
    padding: 10px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ۲. بخش تصویر محصول */
.wd-product .product-element-top {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f9f9f9; /* پس زمینه روشن برای تصویر مثل عکس */
}

/* ۳. حذف خطوط و حاشیه های اضافی وودمارت در هاور */
.wd-product.wd-hover-base:hover .product-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ۴. استایل عنوان محصول */
.wd-product .wd-entities-title {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    text-align: center;
    height: 40px; /* تراز شدن عنوان ها */
    overflow: hidden;
}

/* ۵. مخفی کردن بخش های اضافی مثل دسته بندی یا ستاره ها (اگر لازم نیست) */
.wd-product .wd-product-cats, 
.wd-product .star-rating {
    display: none !important;
}

/* ۶. بخش قیمت و دکمه سبد خرید (تراز شده در پایین) */
.wd-product .product-rating-price {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse; /* قیمت سمت راست، دکمه سمت چپ */
}

/* ۷. استایل قیمت */
.wd-product .price {
    color: #333 !important;
    font-weight: 800 !important;
    font-size: 15px !important;
}

/* ۸. دکمه افزودن به سبد خرید به شکل دایره کوچک در گوشه */
.wd-product .wd-add-btn {
    position: static !important;
}

.wd-product .wd-add-btn a {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.wd-product .wd-add-btn a:before {
    font-size: 16px !important;
}

/* ۹. حذف المان های اضافی که در تصویر نیست (مثل مقایسه و علاقه مندی روی تصویر) */
.wd-product .wd-buttons-description, 
.wd-product .quick-view, 
.wd-product .wd-wishlist-btn {
    display: none !important;
}

/* ۱. تنظیم کل کارت نویسنده */
.wd-post-inner.article-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
    background: transparent !important; /* حذف پس‌زمینه کلی */
}

/* ۲. اجبار به دایره‌ای بودن و یکسان‌سازی اندازه همه عکس‌ها */
.wd-post-thumb.entry-header {
    width: 160px !important; /* اندازه دایره را بزرگتر کردم */
    height: 160px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto 15px auto !important;
    flex-shrink: 0 !important; /* جلوگیری از کوچک شدن عکس */
    border: 2px solid #eee !important;
}

.wd-post-img.post-img-wrapp, 
.wd-post-img.post-img-wrapp img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* این خط عکس را بدون تغییر شکل در دایره پر می‌کند */
    border-radius: 50% !important;
}

/* ۳. حذف کادرهای سفید دور متن و مرتب‌سازی نام */
.wd-post-content.article-body-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.wd-post-title.post-title {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.wd-post-title.post-title a {
    font-size: 17px !important;
    font-weight: bold !important;
    color: #333 !important;
    display: block !important;
    margin-top: 10px !important;
}

/* ۴. مخفی کردن موارد اضافه */
.wd-post-link, .wd-fill {
    display: none !important;
}
