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

:root {
	--wd-cat-brd-radius: 50px;
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(51,51,51);
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(33,33,33);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(51,51,51);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(33,33,33);
	--wd-widget-title-font-size: 14px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--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-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-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
: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;
}
.page .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat;
}
.single-product .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat;
}
.single-post .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(247,247,247);
	background-image: none;
	background-repeat: repeat;
}
.single-portfolio .wd-page-content {
	background-color: rgb(247,247,247);
	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(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) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 14px;
	--wd-widget-title-font-size: 14px;
	--wd-header-el-font-size: 13px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--wd-container-w: 1320px;
--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: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

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



@font-face {
	font-family: "yekanbakh2";
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekanbakh2";
	font-weight: 500;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekanbakh2";
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "yekanbakh2";
	font-weight: 700;
	font-display:swap;
	font-style: normal;
}

/* دکمه‌ها */
.woodmart-button-wrapper.inline-element {
  margin-bottom: 0;
}

/* پس‌زمینه صفحه اصلی */
body.home .main-page-wrapper {
  background-color: #F7F7F7;
}

/* بنر تبلیغاتی */
.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;
}



/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ۱) پنل محتوای تب‌ها  (Description | Reviews | Additional Info)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
.woocommerce-Tabs-panel {
  --bg: #ffffff;
  --border: 1px solid #ffe2d0;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(255,107,53,.06);

  background: var(--bg);
  border: var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);

  font-size: 15px;
  line-height: 1.85;
  color: #444;
  animation: fadeInTab .4s ease-out forwards;
}

/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ۲) تب‌ها  (Tabs)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  border-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: #fff;
  border: 1px solid #ffd1c0;
  border-radius: 14px;
  margin: 0 !important;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none; /* حاشیه‌های پیش‌فرض ووکامرس حذف شد */
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #ff6b35;
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: #ff6b35;
  border-color: #ff6b35;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255,107,53,.18);
}


/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ۳) انیمیشن نرم
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
@keyframes fadeInTab {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ۴) ریسپانسیو
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
@media (max-width: 480px) {
  .woocommerce-Tabs-panel {
    padding: 24px 20px;
    font-size: 14px;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 8px 14px;
    font-size: 14px;
  }
}


/*===============================================================
  WooCommerce Reviews – Orange Minimal Cards (stars untouched)
  Woodmart Compatible | @author Masoud Aroodipoor
===============================================================*/

/* ---------- کادر اصلی فرم (سبک و نارنجی) ---------- */
#review_form_wrapper,
.woocommerce #reviews #review_form,
.woocommerce .woodmart-review-form-wrapper {
    max-width: 640px !important;
    width: 100% !important;
    margin: 40px auto !important;
    padding: 28px 24px !important;
    background: #fff9f5 !important;
    border: transparent !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(255,107,53,.06) !important;
}

/* ---------- عنوان ---------- */
#review_form_wrapper h3,
#review_form_wrapper .comment-reply-title,
.woocommerce-Reviews-title {
    font-size: 18px !important;
    color: #d84315 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* ---------- ستاره‌ها : بدون تغییر (حالت پیش‌فرض) ---------- */

/* ---------- فیلدها ---------- */
.woocommerce .comment-form input[type="text"],
.woocommerce .comment-form input[type="email"],
.woocommerce .comment-form textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #ffd1c0 !important;
    background: #fff !important;
    font-size: 14px !important;
    outline: none !important;
    margin-bottom: 6px !important;
}

.woocommerce .comment-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* ---------- برچسب‌ها ---------- */
.woocommerce .comment-form label {
    font-size: 14px !important;
    color: #444 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* ---------- چک‌باکس ---------- */
.woocommerce .comment-form .comment-form-cookies-consent {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    margin-top: 10px !important;
    color: #555 !important;
}

/* ---------- دکمه ارسال (نارنجی) ---------- */
.woocommerce .comment-form button[type="submit"],
.woocommerce .comment-form input[type="submit"] {
    width: 100% !important;
    padding: 14px 0 !important;
    border-radius: 10px !important;
    background: #ff6b35 !important;
    color: #fff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: background .25s ease !important;
    cursor: pointer !important;
}

.woocommerce .comment-form button[type="submit"]:hover,
.woocommerce .comment-form input[type="submit"]:hover {
    background: #e55a2b !important;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 480px) {
    #review_form_wrapper h3,
    #review_form_wrapper .comment-reply-title,
    .woocommerce-Reviews-title {
        font-size: 16px !important;
    }
    .woocommerce .comment-form input[type="text"],
    .woocommerce .comment-form input[type="email"],
    .woocommerce .comment-form textarea {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }
    .woocommerce .comment-form button[type="submit"],
    .woocommerce .comment-form input[type="submit"] {
        font-size: 14px !important;
        padding: 12px 0 !important;
    }
}

/*===============================================================
  لیست نظرات (Reviews List)
===============================================================*/

/*---------- کلی – عرض کامل ----------*/
.woocommerce #reviews .commentlist,
.woocommerce-Reviews .reviews {
    width: 100% !important;
    max-width: 100% !important;
}

/*---------- هر کامنت ----------*/
.woocommerce .commentlist li.review,
.woocommerce-Reviews .review {
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 24px !important;
    background: #fff9f5 !important;
    border: 1px solid #ffe2d0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(255, 107, 53, .06) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

/*---------- آواتار ----------*/
.woocommerce .commentlist .review .avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 3px solid #ff6b35 !important;
}

/* --- نام نویسنده --- */
.woocommerce .commentlist .review .woocommerce-review__author {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

/* --- تاریخ --- */
.woocommerce .commentlist .review .woocommerce-review__published-date {
    font-size: 12px !important;
    color: #777 !important;
    margin-bottom: 10px !important;
}

/* --- متن نظر --- */
.woocommerce .commentlist .review .description {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-top: 10px !important;
}

/* --- امتیاز ستاره در هر کامنت --- */
.woocommerce .commentlist .review .star-rating {
    font-size: 14px !important;
    color: #ffb802 !important;
}

/* --- پاسخ مدیر (review-reply) --- */
.woocommerce .commentlist .review .review-reply {
	      flex: 1 1 100% !important;
    background: #f0f8ff !important;
    border-left: 4px solid #4aa3ff !important;
    padding: 12px 16px !important;
    margin-top: 14px !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    color: #333 !important;
}

/*===============================================================
  واکنش‌گرایی
===============================================================*/
@media (max-width: 480px) {
    #review_form_wrapper,
    .woocommerce .commentlist li.review {
        padding: 20px 16px !important;
    }
}



/* ┌─────────────────────────────┐
   │  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: 17px; }
.woocommerce-Tabs-panel h2 { font-size: 16px; }
.woocommerce-Tabs-panel h3 { font-size: 15px; }
.woocommerce-Tabs-panel h4 { font-size: 14px; }
.woocommerce-Tabs-panel h5 { font-size: 13px; }
.woocommerce-Tabs-panel h6 { font-size: 12px; }




/* ┌─────────────────────────────┐
   │  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: 20px; }
.elementor-widget-container h2 { font-size: 19px; }
.elementor-widget-container h3 { font-size: 18px; }
.elementor-widget-container h4 { font-size: 17px; }
.elementor-widget-container h5 { font-size: 16px; }
.elementor-widget-container h6 { font-size: 15px; }





.mdfbazaar-last-updated {
    background-color: #e6fcef;
    border: 1px solid #b0ecd3;
    padding: 10px 16px;
    border-radius: 12px;
    color: #066b3d;
    font-size: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-weight: 500;
}

.mdfbazaar-icon {
    font-size: 18px;
}

.price {
    direction: ltr;
    text-align: left;
    display: block;
}

/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  MDF Sub-Cat Scroll – سبک نارنجی (Woodmart)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━*/
.mdf-subcat-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px 5px 10px;
  margin-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ffb347 transparent;
  background: #F7F7F7 ;               /* پس‌زمینه نارنجی ملایم */
  width: 100%;
  box-sizing: border-box;
  border-radius: none;
  border: none;        /* ← لبه خاکستری ملایم */
}

.mdf-subcat-scroll::-webkit-scrollbar {
  height: 6px;
}

.mdf-subcat-scroll::-webkit-scrollbar-thumb {
  background-color: #ffb347;
  border-radius: 4px;
}

/* ---------- آیتم‌ها ---------- */
.mdf-subcat-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  background: #ffffff ;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  text-decoration: none;
  color: #333;
  padding: 10px 8px;
  min-width: 85px;
  transition: all .3s ease;
  border: 1px solid transparent;
}

.mdf-subcat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,107,53,.12);
  border-color: #ff6b35;           /* هاور نارنجی اصلی */
}

.mdf-subcat-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 6px;
  border: 1px solid #ffe2d0;
  transition: transform .3s ease;
}

.mdf-subcat-item:hover img {
  transform: scale(1.05);
}

.mdf-subcat-item span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
}

/* ---------- دکمه «مشاهده همه» ---------- */
.mdfb-category-button {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* فاصله بین آیکون و متن */
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    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: 25px;
  }
  .mdfb-category-icon {
    width: 18px;
    height: 18px;
  }
}



/* افزودن فاصله ۴۰px از پایین در موبایل/تبلت */
@media (max-width: 1024px) { /* تبلت و موبایل */
    body.single-product .wd-carousel-inner {
        margin-bottom: 30px !important;
    }
}


/* ===============================
   توضیحات دسته‌بندی محصولات – استایل بهینه
================================= */

/* دسکتاپ */
.wd-term-desc.wd-entry-content {
  font-size: 16px;
  line-height: 1.85;             
  color: #333;
  background-color: #fdfdfd;
  padding: 28px 24px;             
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-bottom: 35px;
  direction: rtl;
  transition: all 0.3s ease;
}

.wd-term-desc.wd-entry-content:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* فاصله بالای اولین H3 */
.wd-term-desc.wd-entry-content h3:first-child {
  margin-top: 0;
}

.wd-term-desc.wd-entry-content h3 {
  color: #2563eb;
  font-size: 22px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 14px;
}

.wd-term-desc.wd-entry-content p {
  margin-bottom: 16px;
}

.wd-term-desc.wd-entry-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.wd-term-desc.wd-entry-content li {
  position: relative;
  padding-right: 26px;
  margin-bottom: 12px;
}

.wd-term-desc.wd-entry-content li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2563eb;
}

/* استایل لینک‌ها */
.wd-term-desc.wd-entry-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.wd-term-desc.wd-entry-content a:hover {
  color: #1d4ed8;
}

/* ===============================
   موبایل
================================= */
@media (max-width: 600px) {
  .wd-term-desc.wd-entry-content {
    font-size: 15px;
    line-height: 1.95;             
    padding: 20px 16px;
  }

  .wd-term-desc.wd-entry-content h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .wd-term-desc.wd-entry-content li {
    padding-right: 20px;
    margin-bottom: 10px;
  }
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* جلوگیری از اسکرول افقی */
}


/* دسکتاپ */
.wd-post-title.wd-entities-title.title.post-title {
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* حداکثر دو خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* موبایل */
@media (max-width: 768px) {
  .wd-post-title.wd-entities-title.title.post-title {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* حداکثر دو خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/*========================================================
  Widget Area – سبک کارت نارنجی (Woodmart)
========================================================*/
.widget-area {
    --bg: #fff9f5;          /* نارنجی ملایم */
    --border: 1px solid #ffe2d0;
    --radius: 14px;
    --shadow: 0 4px 16px rgba(255,107,53,.06);

    background: var(--bg);
    border: var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.widget-area:hover {
    box-shadow: 0 6px 22px rgba(255,107,53,.10);
}

/* عنوان ویجت‌ها */
.widget-area .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #d84315;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* لیست ویجت */
.widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-area li {
    margin-bottom: 10px;
}

.widget-area a {
    color: #444;
    text-decoration: none;
    transition: color .2s ease;
}

.widget-area a:hover {
    color: #ff6b35;
}

/* موبایل */
@media (max-width: 480px) {
    .widget-area {
        padding: 18px 16px;
    }
    .widget-area .widget-title {
        font-size: 15px;
    }
}

/*========================================================
  Product Wrapper – سبک کارت نارنجی (Woodmart)
========================================================*/
.product-wrapper {
    --bg: #fff9f5;          /* نارنجی ملایم */
    --border: 1px solid #ffe2d0;
    --radius: 14px;
    --shadow: 0 4px 16px rgba(255,107,53,.06);

    background: var(--bg);
    border: var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.product-wrapper:hover {
    box-shadow: 0 6px 22px rgba(255,107,53,.10);
}

/* تصویر محصول */
.product-wrapper .product-image img {
    border-radius: 10px;
    transition: transform .3s ease;
}

.product-wrapper:hover .product-image img {
    transform: scale(1.03);
}

/* عنوان محصول */
.product-wrapper .product-title {
    font-size: 16px;
    font-weight: 600;
    color: #d84315;
    margin: 12px 0 8px;
}

/* قیمت */
.product-wrapper .price {
    font-size: 15px;
    color: #444;
}

/* دکمه افزودن به سبد */
.product-wrapper .add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: #ff6b35;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .25s ease;
}

.product-wrapper .add-to-cart-btn:hover {
    background: #e65c2a;
}

/* موبایل */
@media (max-width: 480px) {
    .product-wrapper {
        padding: 16px;
    }
    .product-wrapper .product-title {
        font-size: 15px;
    }
    .product-wrapper .price {
        font-size: 14px;
    }
}

/*==================================================================
  WooCommerce My-Account Forms (Login, Register, Lost Password)
  Harmony with Brand Palette | @author Masoud Aroodipoor
===================================================================*/
:root{
    --mdfb-bg:#f7f7f7;
    --mdfb-footer:#faf3ed;
    --mdfb-primary:#ff6709;
    --mdfb-secondary:#fdb819;
    --mdfb-radius:14px;
    --mdfb-shadow:0 4px 20px rgba(255,107,53,.08);
}

/* --- کادر اصلی (کارت یک‌دست نارنجی ملایم) --- */
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register,
.woocommerce .lost_reset_password,
.woocommerce .woocommerce-ResetPassword {
    max-width: 420px;
    width: 100%;
    margin: 40px auto;
    padding: 28px 24px;
    background: #fff9f5;
    border: 1px solid #ffe2d0;
    border-radius: var(--mdfb-radius);
    box-shadow: var(--mdfb-shadow);
    transition: box-shadow .3s ease;
}
.woocommerce form.woocommerce-form-login:hover,
.woocommerce form.woocommerce-form-register:hover,
.woocommerce .lost_reset_password:hover,
.woocommerce .woocommerce-ResetPassword:hover {
    box-shadow: 0 6px 28px rgba(255,107,53,.12);
}

/* --- فیلدها --- */
.woocommerce form.woocommerce-form-login .form-row,
.woocommerce form.woocommerce-form-register .form-row,
.woocommerce .lost_reset_password .form-row,
.woocommerce .woocommerce-ResetPassword .form-row {
    margin-bottom: 16px;
}
.woocommerce form.woocommerce-form-login input[type="text"],
.woocommerce form.woocommerce-form-login input[type="email"],
.woocommerce form.woocommerce-form-login input[type="password"],
.woocommerce form.woocommerce-form-register input[type="text"],
.woocommerce form.woocommerce-form-register input[type="email"],
.woocommerce form.woocommerce-form-register input[type="password"],
.woocommerce .lost_reset_password input[type="text"],
.woocommerce .lost_reset_password input[type="email"],
.woocommerce .woocommerce-ResetPassword input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ffd1c0;
    background: #fff;
    font-size: 14px;
    transition: border-color .25s ease;
}
.woocommerce form.woocommerce-form-login input:focus,
.woocommerce form.woocommerce-form-register input:focus,
.woocommerce .lost_reset_password input:focus,
.woocommerce .woocommerce-ResetPassword input:focus {
    border-color: var(--mdfb-primary);
    outline: none;
}

/* --- برچسب‌ها --- */
.woocommerce form.woocommerce-form-login label,
.woocommerce form.woocommerce-form-register label,
.woocommerce .lost_reset_password label,
.woocommerce .woocommerce-ResetPassword label {
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

/* --- دکمه‌ها (Primary نارنجی → هاور طلایی) --- */
.woocommerce form.woocommerce-form-login button[type="submit"],
.woocommerce form.woocommerce-form-register button[type="submit"],
.woocommerce .lost_reset_password button[type="submit"],
.woocommerce .woocommerce-ResetPassword button[type="submit"] {
    width: 100%;
    padding: 14px 0;
    border-radius: 10px;
    background: var(--mdfb-primary);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s ease, box-shadow .25s ease;
}
.woocommerce form.woocommerce-form-login button[type="submit"]:hover,
.woocommerce form.woocommerce-form-register button[type="submit"]:hover,
.woocommerce .lost_reset_password button[type="submit"]:hover,
.woocommerce .woocommerce-ResetPassword button[type="submit"]:hover {
    background: var(--mdfb-secondary);
    box-shadow: 0 6px 20px rgba(253,184,25,.35);
}

/* --- لینک فراموشی رمز (نارنجی ملایم) --- */
.woocommerce form.woocommerce-form-login .lost_password a,
.woocommerce form.woocommerce-form-register .lost_password a {
    color: var(--mdfb-primary);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s ease;
}
.woocommerce form.woocommerce-form-login .lost_password a:hover,
.woocommerce form.woocommerce-form-register .lost_password a:hover {
    color: var(--mdfb-secondary);
}

/* --- پیام‌ها --- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
    max-width: 420px;
    margin: 20px auto;
    border-radius: 8px;
}

/* --- حذف عنوان پیش‌فرض (اختیاری) --- */
.woocommerce .lost_reset_password > h2:first-child,
.woocommerce .woocommerce-ResetPassword > h2:first-child {
    display: none;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 480px) {
    .woocommerce form.woocommerce-form-login,
    .woocommerce form.woocommerce-form-register,
    .woocommerce .lost_reset_password,
    .woocommerce .woocommerce-ResetPassword {
        padding: 22px 18px;
    }
    .woocommerce form.woocommerce-form-login button[type="submit"],
    .woocommerce form.woocommerce-form-register button[type="submit"],
    .woocommerce .lost_reset_password button[type="submit"],
    .woocommerce .woocommerce-ResetPassword button[type="submit"] {
        font-size: 14px;
        padding: 12px 0;
    }
}

/*==================================================================
  Woodmart – Page Nav & Comments (Harmony v4)
  Palette: #F7F7F7 | #FAF3ED | #ff6709 | #fdb819
===================================================================*/
:root{
    --mdfb-bg:#f7f7f7;
    --mdfb-footer:#faf3ed;
    --mdfb-primary:#ff6709;
    --mdfb-secondary:#fdb819;
    --mdfb-radius:16px;
    --mdfb-shadow:0 4px 20px rgba(255,107,53,.08);
}



/* ----------------------------------------------------
 *  ۲.  بخش نظرات (Modern Cards)
 * ----------------------------------------------------*/
.comments-area {
    background: #fff9f5;
    border: 1px solid #ffe2d0;
    border-radius: var(--mdfb-radius);
    padding: 32px 28px;
    margin-top: 50px;
    box-shadow: var(--mdfb-shadow);
    animation: fadeInTab .4s ease-out forwards;
}
@keyframes fadeInTab {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.comments-area .comments-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mdfb-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comments-area .comments-title::before {
    content: '\f086';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 22px;
    color: var(--mdfb-secondary);
}

/* کارت هر نظر */
.comments-area .comment-list {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
}
.comments-area .comment {
    padding: 20px;
    border-bottom: 1px solid #ffe2d0;
    transition: background .25s ease;
    position: relative;
    border-radius: 8px;
}
.comments-area .comment:hover {
    background: #fffdf9;
}
.comments-area .comment:last-child {
    border-bottom: none;
}

/* فرم ارسال نظر */
.comment-respond {
    background: #ffffff;
    border: 1px solid #ffd1c0;
    border-radius: 12px;
    padding: 24px;
}
.comment-respond .comment-form input,
.comment-respond .comment-form textarea {
    border: 1px solid #ffd1c0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color .25s ease;
}
.comment-respond .comment-form input:focus,
.comment-respond .comment-form textarea:focus {
    border-color: var(--mdfb-primary);
    outline: none;
}

.form-submit {
    display: flex;
    justify-content: flex-end; /* دکمه سمت راست برای فارسی */
    margin-top: 16px;
}

.form-submit input[type="submit"],
.form-submit button[type="submit"] {
    background: var(--mdfb-primary);
    color: #fff;
    border: none;
    border-radius: var(--mdfb-radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: var(--mdfb-shadow);
}

.form-submit input[type="submit"]:hover,
.form-submit button[type="submit"]:hover {
    background: var(--mdfb-secondary);
    box-shadow: 0 4px 12px rgba(253,184,25,.30);
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .comments-area {
        padding: 24px 20px;
    }
    .comments-area .comment-list {
        padding: 16px;
    }
    .comments-area .comment {
        padding: 16px 12px;
    }
    .comment-respond {
        padding: 20px 16px;
    }
    .form-submit {
        justify-content: center;
    }
}

/* 🔹 Liquid Glass Toolbar Effect */
.wd-toolbar.wd-toolbar-label-show {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 500px;

  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 20px;
  box-sizing: border-box;

  /* 💎 افکت شیشه مایع */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 12px -2px rgba(255, 255, 255, 0.3);
  isolation: isolate;
  cursor: pointer;

  color: #fff;
  font-size: 14px;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Hover حالت */
.wd-toolbar.wd-toolbar-label-show:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

/* 📱 فقط در موبایل نمایش داده شود */
@media (max-width: 767px) {
  .wd-toolbar.wd-toolbar-label-show {
    display: flex;
  }
}

/* 💻 در دسکتاپ مخفی شود */
@media (min-width: 768px) {
  .wd-toolbar.wd-toolbar-label-show {
    display: none !important;
  }
}@media (min-width: 1025px) {
	@media (min-width: 768px) {
  .widget {
    border-radius: 10px !important;
  }
}

/* نسخه دسکتاپ */
@media (min-width: 769px) {
  .mdf-subcat-scroll {
    padding: 10px 5px 10px !important;
    margin-bottom: 10px !important;
    gap: 16px;
  }

  .mdf-subcat-item {
    min-width: 90px;
    padding: 10px 8px;
  }

  .mdf-subcat-item img {
    width: 55px;
    height: 55px;
    margin-bottom: 6px;
  }

  .mdf-subcat-item span {
    font-size: 13px;
  }
}

/* === دسکتاپ: فقط سه المنت مشخص === */
@media (min-width: 1025px) {

  /* 1. عنوان «نمایش در هر صفحه» */
  .wd-label.per-page-title{
      font-size:15px;
      font-weight:600;
      color:#333;
  }

  /* 2. دراپ‌دان مرتب‌سازی */
  .woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon select{
      padding:6px 12px;
      border:1px solid #ccc;
      border-radius:6px;
      font-size:14px;
      transition:border-color .25s;
  }
  .woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon select:hover{
      border-color:#4caf50;
  }

  /* 3. دکمه‌های Grid/List */
  .wd-products-shop-view.products-view-grid_list{
      display:flex;
      gap:6px;
  }
  .wd-products-shop-view.products-view-grid_list a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:34px;
      height:34px;
      border:1px solid #ddd;
      border-radius:6px;
      background:#fff;
      transition:all .25s ease;
  }
  .wd-products-shop-view.products-view-grid_list a:hover,
  .wd-products-shop-view.products-view-grid_list a.active{
      background:#4caf50;
      border-color:#4caf50;
      color:#fff;
  }
}
}

@media (max-width: 576px) {
	@media (max-width: 768px) {
  .responsive-typography h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .responsive-typography h2 {
    font-size: 24px;
  }

  .responsive-typography p {
    font-size: 15px;
  }
}

/* نسخه موبایل */
@media (max-width: 768px) {
  .mdf-subcat-scroll {
    padding: 10px 5px 10px !important;
    margin-bottom: 10px !important;
    gap: 12px;
  }

  .mdf-subcat-item {
    min-width: 80px;
    padding: 8px 6px;
  }

  .mdf-subcat-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
  }

  .mdf-subcat-item span {
    font-size: 12px;
  }
}

}

