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

:root {
	--wd-cat-brd-radius: 50px;
	--wd-text-font: "Yekanbkh", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Yekanbkh", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(36,36,36);
	--wd-entities-title-font: "Yekanbkh", 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: "Rokh", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Yekanbkh", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(51,51,51);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Yekanbkh", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(255,103,9);
	--wd-alternative-color: rgb(253,184,25);
	--btn-default-bgcolor: rgb(255,103,9);
	--btn-default-bgcolor-hover: rgb(234,88,9);
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(255,103,9);
	--btn-accented-bgcolor-hover: rgb(234,88,9);
	--btn-transform: none;
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(69,150,71);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(224,178,82);
	--notices-warning-color: rgb(255,255,255);
	--wd-link-color: rgb(255,139,55);
	--wd-link-color-hover: rgb(240,80,6);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	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;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 700;
	font-size: 20px;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title, html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title {
	font-weight: 600;
	font-size: 18px;
}
.page .wd-page-content {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-image: none;
	background-repeat: repeat;
}
.single-product .wd-page-content {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog .wd-page-content {
	background-image: none;
	background-repeat: repeat;
}
.single-post .wd-page-content {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-portfolio .wd-page-content {
	background-image: none;
	background-repeat: repeat;
}
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(119,119,119);
	--wd-form-bg: #FFFFFF	;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 40px;
	--wd-arrow-icon-size: 16px;
	--wd-arrow-offset-h: 20px;
	--wd-arrow-color: rgb(255,255,255);
	--wd-arrow-color-hover: rgb(255,255,255);
	--wd-arrow-bg: rgb(255,103,9);
	--wd-arrow-bg-hover: rgb(234,88,9);
	--wd-arrow-bg-dis: rgb(255,255,255);
	--wd-arrow-radius: 10px;
	--wd-arrow-shadow: 0px 0px 0px 0px rgba(255,255,255,0);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-bg: rgb(255,103,9);
	--wd-pagin-bg-hover: rgb(234,88,9);
}
.wd-nav-scroll {
	--wd-nscroll-height: 3px;
	--wd-nscroll-bg: rgb(255,103,9);
	--wd-nscroll-drag-bg-hover: rgb(234,88,9);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 60px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

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

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



@font-face {
	font-family: "Rokh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/RokhFaNum-Light.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Rokh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/RokhFaNum-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Rokh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/RokhFaNum-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Rokh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/RokhFaNum-ExtraBold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Yekanbkh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/Yekan-Bakh-FaNum-03-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Yekanbkh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/Yekan-Bakh-FaNum-04-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Yekanbkh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/Yekan-Bakh-FaNum-05-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Yekanbkh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/Yekan-Bakh-FaNum-06-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Yekanbkh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/Yekan-Bakh-FaNum-07-Heavy.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Yekanbkh";
	src: url("//mdfbazaar.ir/wp-content/uploads/2025/11/Yekan-Bakh-FaNum-08-Fat.woff") format("woff");
	font-weight: 800;
	font-style: normal;
}

/* دکمه‌ها */
.woodmart-button-wrapper.inline-element {
  margin-bottom: 0;
}

/* پس‌زمینه صفحه اصلی */
body.home .main-page-wrapper {
  background-color: #FFF;
}

/* بنر تبلیغاتی */
.promo-banner .promo-banner-image {
  border-radius: 15px;
}

/* تصاویر در گرید محصول با افکت hover tiled */
.product-grid-item.woodmart-hover-tiled .hover-img img,
.product-grid-item.woodmart-hover-tiled .product-image-link img {
  width: 100%;
  padding: 20px;
}

.woodmart-hover-tiled .product-wrapper {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* لیبل‌های محصول */
.labels-rectangular .product-label {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 15px;
  margin-right: 5px;
}

/* عنوان محصولات یا پست‌ها با دو خط حداکثر */
.wd-entities-title.title.post-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 48px;
  line-height: 1.4;
}

/* ---------- دکمه «مشاهده همه» ---------- */
.mdfb-category-button {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* فاصله بین آیکون و متن */
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mdfb-category-button:hover,
.mdfb-category-button:focus {
    background-color: #005177;
    color: #fff;
    outline: none;
}

.mdfb-category-icon {
    width: 22px; /* اندازه آیکون */
    height: 22px;
    display: inline-block;
    vertical-align: middle;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
  .mdfb-category-button {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 8px;
  }
  .mdfb-category-icon {
    width: 18px;
    height: 18px;
  }
}

/* ┌─────────────────────────────┐
   │  HEADINGS – Compact size    │
   └─────────────────────────────┘ */
.woocommerce-Tabs-panel h1,
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3,
.woocommerce-Tabs-panel h4,
.woocommerce-Tabs-panel h5,
.woocommerce-Tabs-panel h6 {
  font-weight: 600;
  line-height: 1.4;
  margin: 12px 0 6px;
  color: #333;
}

.woocommerce-Tabs-panel h1 { font-size: 22px; }
.woocommerce-Tabs-panel h2 { font-size: 21px; }
.woocommerce-Tabs-panel h3 { font-size: 20px; }
.woocommerce-Tabs-panel h4 { font-size: 19px; }
.woocommerce-Tabs-panel h5 { font-size: 18px; }
.woocommerce-Tabs-panel h6 { font-size: 17px; }




/* ┌─────────────────────────────┐
   │  ELEMENTOR POST CONTENT – Compact size │
   └─────────────────────────────┘ */
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4,
.elementor-widget-container h5,
.elementor-widget-container h6

.elementor-widget-container h1 { font-size: 22px; }
.elementor-widget-container h2 { font-size: 21px; }
.elementor-widget-container h3 { font-size: 20px; }
.elementor-widget-container h4 { font-size: 19px; }
.elementor-widget-container h5 { font-size: 18px; }
.elementor-widget-container h6 { font-size: 17px; }

.mdf-subcat-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
}

.mdf-subcat-item {
    flex: 0 0 auto;           /* برای اینکه عرض‌شان فقط به محتوایشان باشد */
    text-decoration: none;
}

.mdf-subcat-text {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ccc;   /* خط طوسی */
    border-radius: 8px;       /* گردی گوشه‌ها */
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    background: #fff;
}

/* دسکتاپ: اطمینان از اینکه بخش دسته‌بندی بالای همه قرار می‌گیرد */
@media (min-width: 1024px) {
    .mdf-subcat-scroll {
        /* مطمئن شو که زیر کدهای فلکس یا استفاده‌های ستون دیگه نیست */
        margin-bottom: 20px;   /* فاصله از محتوا زیرش */
    }
}

@media (max-width: 576px) {
	@media (max-width: 767px) {
    .wd-breadcrumbs.woocommerce-breadcrumb {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0 !important;           /* حذف فاصله بین آیتم‌ها */
    }

    .wd-breadcrumbs.woocommerce-breadcrumb a,
    .wd-breadcrumbs.woocommerce-breadcrumb span,
    .wd-breadcrumbs.woocommerce-breadcrumb .separator {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 0 4px !important;   /* فاصله کم برای زیبایی */
        margin: 0 !important;        /* حذف margin اضافی */
    }
}

}

