@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.2.7.1") format("woff2");
}

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

: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: 15px;
	--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: 500;
	--wd-entities-title-color: rgb(45,45,45);
	--wd-entities-title-color-hover: rgb(76, 175, 80);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(33,33,33);
	--wd-widget-title-font-size: 15px;
	--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-primary-color: rgb(76,175,80);
	--wd-alternative-color: rgb(255,193,7);
	--wd-link-color: rgb(25,118,210);
	--wd-link-color-hover: rgb(13,71,161);
	--btn-default-bgcolor: rgb(240,240,240);
	--btn-default-bgcolor-hover: rgb(224,224,224);
	--btn-default-color: rgb(51,51,51);
	--btn-default-color-hover: rgb(33,33,33);
	--btn-accented-bgcolor: rgb(76,175,80);
	--btn-accented-bgcolor-hover: rgb(56,142,60);
	--btn-transform: none;
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(223,240,216);
	--notices-success-color: rgb(60,118,61);
	--notices-warning-bg: rgb(253,236,234);
	--notices-warning-color: rgb(198,40,40);
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.header-banner {
	background-color: rgb(224,178,82);
	background-image: none;
}
: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 {
	background-image: url(https://mdfbazaar.ir/wp-content/uploads/2025/08/background-scaled.webp);
	background-size: cover;
	background-position: center center;
}
.page .wd-page-content {
	background-color: rgb(250,250,250);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(250,250,250);
	background-image: none;
	background-repeat: repeat;
}
.single-product .wd-page-content {
	background-color: rgb(250,250,250);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(250,250,250);
	background-image: none;
	background-repeat: repeat;
}
.single-post .wd-page-content {
	background-color: rgb(250,250,250);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(250,250,250);
	background-image: none;
	background-repeat: repeat;
}
.single-portfolio .wd-page-content {
	background-color: rgb(250,250,250);
	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(33,33,33);
	--wd-form-placeholder-color: rgb(158,158,158);
	--wd-form-brd-color: rgb(221,221,221);
	--wd-form-brd-color-focus: rgb(76,175,80);
	--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(76,175,80);
	--wd-arrow-bg-hover: rgb(56,142,60);
	--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(76,175,80);
	--wd-pagin-bg-hover: rgb(56,142,60);
}
.wd-nav-scroll {
	--wd-nscroll-height: 3px;
	--wd-nscroll-bg: rgb(76,175,80);
	--wd-nscroll-drag-bg-hover: rgb(56,142,60);
}
.wd-popup.popup-quick-view {
	--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-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-style: normal;
}

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

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

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

/* دکمه‌ها */
.woodmart-button-wrapper.inline-element {
  margin-bottom: 0;
}

/* پس‌زمینه صفحه اصلی */
body.home .main-page-wrapper {
  background-color: #fafafa;
}

/* بنر تبلیغاتی */
.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;
}



/* ┌─────────────────────────────┐
   │  TABS & PANELS – v2.0       │
   └─────────────────────────────┘ */

/* استایل کلی تب‌ها */
.woocommerce-tabs .tabs {
  --tab-bg: #f6f7f9;
  --tab-active: #00695c;
  --tab-radius: 28px;
  --tab-shadow: 0 2px 8px rgba(0,0,0,.05);
  --tab-gap: 12px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--tab-gap);
  margin-bottom: 30px;
  border-bottom: 0; /* خط زیرین حذف شد تا ظاهر مینیمال‌تر شود */
}

.woocommerce-tabs .tabs li {
  list-style: none;
  margin: 0;
}

.woocommerce-tabs .tabs li a {
  display: block;
  padding: 10px 26px;
  border-radius: var(--tab-radius);
  background: var(--tab-bg);
  color: #555;
  font-weight: 600;
  font-size: 15px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  border: 1px solid transparent;
  box-shadow: var(--tab-shadow);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.woocommerce-tabs .tabs li a::before { /* افکت هاور نئومورفیک */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tab-active);
  opacity: 0;
  transform: scale(.3);
  transition: transform .35s, opacity .35s;
  border-radius: inherit;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,105,92,.25);
}

.woocommerce-tabs .tabs li.active a::before,
.woocommerce-tabs .tabs li a:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* بدنه تب‌ها */
.woocommerce-Tabs-panel {
  --panel-bg: #ffffff;
  --panel-radius: 16px;
  --panel-shadow: 0 4px 24px rgba(0,0,0,.06);

  background: var(--panel-bg);
  padding: 35px 40px;
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
  line-height: 1.9;
  font-size: 16px;
  color: #333;
  animation: fadeInTab .5s ease forwards;
}

@keyframes fadeInTab {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ┌─────────────────────────────┐
   │  COMMENTS & REVIEWS         │
   └─────────────────────────────┘ */

.woocommerce-Reviews .commentlist {
  padding: 0;
  margin: 0;
}

.woocommerce-Reviews .commentlist li {
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

.woocommerce-Reviews .commentlist li:last-child {
  border-bottom: none;
}

.woocommerce-Reviews .comment-text {
  --cmt-bg: #f9fafb;
  background: var(--cmt-bg);
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
  font-size: 15.5px;
  color: #222;
  line-height: 1.75;
}

/* ┌─────────────────────────────┐
   │  REVIEW FORM                │
   └─────────────────────────────┘ */

#review_form_wrapper {
  --form-bg: #f5f7fa;
  --form-radius: 20px;
  --form-shadow: 0 4px 16px rgba(0,0,0,.05);

  background: var(--form-bg);
  padding: 32px 36px;
  border-radius: var(--form-radius);
  box-shadow: var(--form-shadow);
  margin-top: 45px;
}

#review_form label {
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  color: #111;
  font-size: 15px;
}

#review_form input[type="submit"] {
  --btn-bg: #009688;
  --btn-hover: #00796b;

  background: var(--btn-bg);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background .3s, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(0,150,136,.25);
}

#review_form input[type="submit"]:hover {
  background: var(--btn-hover);
  box-shadow: 0 6px 18px rgba(0,121,107,.35);
}

/* ┌─────────────────────────────┐
   │  RESPONSIVE (≤480px)        │
   └─────────────────────────────┘ */

@media (max-width: 480px) {
  .woocommerce-tabs .tabs {
    justify-content: flex-start;
    gap: 8px;
  }

  .woocommerce-tabs .tabs li a {
    padding: 9px 18px;
    font-size: 14px;
  }

  .woocommerce-Tabs-panel,
  #review_form_wrapper {
    padding: 22px 18px;
    font-size: 15px;
  }

  #review_form input[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 15px;
  }
}


/* ┌─────────────────────────────┐
   │  Fix Overflow & Normalize   │
   └─────────────────────────────┘ */
.woocommerce-Tabs-panel,
#review_form_wrapper,
.comment-text {
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
}

/* ┌─────────────────────────────┐
   │  دیدگاه‌های سطح اول          │
   └─────────────────────────────┘ */
.woocommerce-Reviews .commentlist > .review {
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

.woocommerce-Reviews .commentlist > .review:last-child {
  border-bottom: none;
}

/* ┌─────────────────────────────┐
   │  پاسخ‌ها (children)         │
   └─────────────────────────────┘ */
.woocommerce-Reviews .commentlist .children {
  margin: 12px 0 0 0;   /* فاصله بالا */
  padding: 0;
  border: none;
}

.woocommerce-Reviews .commentlist .children .review {
  border: none;
  padding: 0;
}

/* ┌─────────────────────────────┐
   │  پاسخ مدیریت                 │
   └─────────────────────────────┘ */
/* پاسخ مدیریت */
.woocommerce-Reviews .commentlist .children .comment .comment-text {
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px 18px; /* فاصله بالاتر برای برچسب */
  margin-top: 16px;
  font-size: 14.5px;
  color: #333;
  position: relative;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}

/* برچسب بالای باکس */
.woocommerce-Reviews .commentlist .children .comment .comment-text::before {
  content: "👨‍💼 پاسخ مدیریت";
  position: absolute;
  top: 6px;
  right: 14px; /* برای LTR بکنش left */
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: #009688; /* رنگ اصلی قالب */
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}



/* ┌─────────────────────────────┐
   │  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; }







.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-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: #ccc transparent;
  background-color: rgb(250,250,250);
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
}

.mdf-subcat-scroll::-webkit-scrollbar {
  height: 6px;
}

.mdf-subcat-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.mdf-subcat-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: #333;
  padding: 10px 8px;
  min-width: 85px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.mdf-subcat-item:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #009688;
}

.mdf-subcat-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 6px;
  border: 1px solid #eee;
  transition: transform 0.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-wrap {
    margin-top: 30px;
    /* ترازبندی به چپ */
    text-align: right;
}

.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-toolbar.wd-toolbar-label-show {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;       /* همیشه وسط قرار می‌گیره */
  width: 90%;
  max-width: 500px;

  box-sizing: border-box;
  padding: 12px 20px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);

  color: var(--glass-text);
  font-size: 14px;
  z-index: 9999;
  transition: all .3s ease;
}

/* نوار فقط در موبایل نمایش داده شود */
@media (max-width: 767px) {
    .wd-toolbar.wd-toolbar-label-show {
        display: flex;  /* یا block اگر نیاز بود */
    }
}

/* نوار در دسکتاپ مخفی باشد */
@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;
  }
}

}

