:root {
	--wd-cat-brd-radius: 50px;
	--wd-text-font: IRansansX;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 14px;
	--wd-title-font: IRansansX;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(36,36,36);
	--wd-entities-title-font: IRansansX;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: IRansansX;
	--wd-widget-title-font: IRansansX;
	--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: IRansansX;
	--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(255,112,67);
	--wd-alternative-color: rgb(251,188,52);
	--btn-default-bgcolor: rgb(255,112,67);
	--btn-default-bgcolor-hover: rgb(220,85,45);
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(255,112,67);
	--btn-accented-bgcolor-hover: rgb(220,85,45);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--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(51,51,51);
	--wd-link-color-hover: rgb(36,36,36);
	--wd-link-decor-color: rgb(255,112,67);
	--wd-link-decor-color-hover: rgb(220,85,45);
}
.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;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
}
.wd-footer {
	background-image: none;
	background-repeat: no-repeat;
}
html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title {
	font-size: 16px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	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(166,168,173);
	--wd-form-placeholder-color: rgb(166,168,173);
	--wd-form-brd-color: rgb(225,225,227);
	--wd-form-brd-color-focus: rgb(225,225,227);
	--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,112,67);
	--wd-arrow-color-hover: rgb(220,85,45);
	--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,112,67);
	--wd-pagin-bg-hover: rgb(220,85,45);
}
.wd-nav-scroll {
	--wd-nscroll-height: 3px;
	--wd-nscroll-bg: rgb(255,112,67);
	--wd-nscroll-drag-bg-hover: rgb(220,85,45);
}
.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) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--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;
}



.wd-page-title {
background-color: rgb(240,244,247);
}

.wd-more-desc .wd-more-desc-inner {
    line-height: 22px !important;
}


/* =========================================================
   MDF BAZAAR - Category Description
   Responsive + Read More (Optimized)
   ========================================================= */

.wd-term-desc,
.wd-term-desc.wd-entry-content,
.term-description {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

    background: #f8f5ef !important;
    border: 1px solid #eadfce !important;
    border-radius: 14px !important;

    padding: 26px 30px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;

    color: #3d3225 !important;
    font-size: 14px !important;
    line-height: 2 !important;

    text-align: justify !important;
    text-align-last: right !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* متغیر ارتفاع برای استفاده در رسپانسیو */
    --mdf-desc-max-height: 280px;
    max-height: var(--mdf-desc-max-height) !important;
    overflow: hidden !important;

    /* انیمیشن نرم‌تر */
    transition: max-height .5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* =========================================================
   حالت باز
   ========================================================= */

.wd-term-desc.wd-description-open,
.term-description.wd-description-open {
    max-height: 5000px !important; /*Fallback*/
    padding-bottom: 26px !important;
}

/* =========================================================
   محو شدن انتهای متن (Fade Effect)
   ========================================================= */

.wd-term-desc:not(.wd-description-open)::after,
.term-description:not(.wd-description-open)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(248,245,239,0),
        rgba(248,245,239,.75) 45%,
        #f8f5ef 100%
    );
}

/* =========================================================
   تایپوگرافی (عناوین، پاراگراف‌ها، لینک‌ها و لیست‌ها)
   ========================================================= */

.wd-term-desc h2,
.wd-term-desc h3,
.wd-term-desc .entry-title,
.term-description h2,
.term-description h3 {
    color: #1a1a1a !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    margin: 0 0 18px 0 !important;
    padding-bottom: 9px !important;
    border-bottom: 2px solid #c4956a !important;
    display: inline-block !important;
    text-align: right !important;
}

.wd-term-desc p,
.term-description p {
    margin: 0 0 13px 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: inherit !important;
    text-align-last: inherit !important;
}

.wd-term-desc a,
.term-description a {
    color: #4e90e6 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color .2s ease !important;
}

.wd-term-desc a:hover,
.term-description a:hover {
    color: #2d5a8a !important;
}

.wd-term-desc ul,
.term-description ul {
    padding-right: 22px !important;
    margin: 5px 0 14px 0 !important;
    text-align: right !important;
}

.wd-term-desc ol,
.term-description ol {
    padding-right: 25px !important;
    text-align: right !important;
}

.wd-term-desc li,
.term-description li {
    margin-bottom: 7px !important;
    line-height: 1.9 !important;
}

.wd-term-desc li::marker,
.term-description li::marker {
    color: #c4956a !important;
}

/* =========================================================
   دکمه ادامه مطلب
   ========================================================= */

.mdf-description-more {
    position: absolute !important;
    right: 50% !important;
    bottom: 13px !important;
    transform: translateX(50%) !important;
    z-index: 5 !important;
    
    border: 1px solid #c4956a !important;
    border-radius: 8px !important;
    background: #f8f5ef !important;
    color: #765437 !important;
    padding: 6px 18px !important;
    
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
    
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease !important;
}

.mdf-description-more:hover {
    background: #c4956a !important;
    color: #fff !important;
    transform: translateX(50%) translateY(-2px) !important;
}

/* حالت باز - دکمه پایین متن */
.wd-term-desc.wd-description-open .mdf-description-more,
.term-description.wd-description-open .mdf-description-more {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: table !important;
    margin: 18px auto 0 !important;
}

.wd-term-desc.wd-description-open .mdf-description-more:hover,
.term-description.wd-description-open .mdf-description-more:hover {
    transform: translateY(-2px) !important;
}

/* مخفی کردن Fade در حالت باز */
.wd-term-desc.wd-description-open::after,
.term-description.wd-description-open::after {
    display: none !important;
}

/* =========================================================
   رسپانسیو (دسکتاپ، تبلت، موبایل)
   ========================================================= */

@media (min-width: 1025px) {
    .wd-term-desc,
    .wd-term-desc.wd-entry-content,
    .term-description {
        padding: 28px 32px !important;
        --mdf-desc-max-height: 285px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wd-term-desc,
    .wd-term-desc.wd-entry-content,
    .term-description {
        padding: 23px 25px !important;
        margin: 25px 0 !important;
        --mdf-desc-max-height: 255px;
    }
    .wd-term-desc h2, .wd-term-desc h3, .term-description h2, .term-description h3 {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .wd-term-desc,
    .wd-term-desc.wd-entry-content,
    .term-description {
        padding: 19px 20px !important;
        margin: 20px 0 !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        line-height: 1.95 !important;
        --mdf-desc-max-height: 230px;
    }
    .wd-term-desc h2, .wd-term-desc h3, .term-description h2, .term-description h3 {
        font-size: 17px !important;
        margin-bottom: 14px !important;
        padding-bottom: 7px !important;
    }
    .wd-term-desc p, .term-description p {
        line-height: 1.95 !important;
        margin-bottom: 11px !important;
    }
    .mdf-description-more {
        font-size: 12px !important;
        padding: 5px 15px !important;
        bottom: 11px !important;
    }
}

@media (max-width: 1024px) {
    .product-element-bottom {
        font-size: 12px !important;
    }
}





.cat-sample-video-wrap{
  width: 100%;
  margin: 18px 0 20px; /* بالا، چپ/راست، پایین */
}

/* باکس مشاهده ویدئو صفحه محصول */
.cat-sample-video-wrap{
  width: 100%;
  margin: 18px 0 20px;
}

.cat-sample-video-link{
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 10px;

  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fbfdff;

  text-decoration: none;
  transition: all .2s ease;
}

.cat-sample-video-icon{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: 0 0 34px;

  display: grid;
  place-items: center;

  background: rgba(0, 115, 170, 0.10);
  color: #0073aa;
}

.cat-sample-video-icon svg{
  display: block;
  width: 12px;
  height: 12px;
}

.cat-sample-video-text{
  color: #1f2d3d;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.cat-sample-video-link:hover{
  border-color: rgba(0, 115, 170, 0.35);
  background: #f2f8ff;
  transform: translateY(-1px);
}

@media (max-width: 1024px){
  .cat-sample-video-text{
    font-size: 14px;
  }

  .cat-sample-video-icon{
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .cat-sample-video-link{
    padding: 12px 14px;
  }
}

@media (max-width: 600px){
  .cat-sample-video-wrap{
    margin-bottom: 16px;
  }

  .cat-sample-video-text{
    font-size: 13px;
  }

  .cat-sample-video-icon{
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .cat-sample-video-link{
    padding: 11px 12px;
    gap: 10px;
  }
}

/* نمایش تاریخ */
/* لیست محصولات (آرشیو) - وسط، پایین */
.mgp-last-update-loop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: auto !important;
    margin-bottom: 0;
    font-size: 12px;
    color: #777;
    line-height: 1.8;
    border-top: 1px solid #eee;
    padding-top: 8px;
    padding-bottom: 0;
}

/* صفحه محصول - چپ، زیر قیمت */
.mgp-last-update-single {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    margin-top: 10px;
    font-size: 12px;
    color: #777;
    line-height: 1.8;
}

.mgp-last-update svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.product-grid-item {
    height: 100%;
}

.product-grid-item .product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 1024px) {
    .mdf-subcat-wrapper {
        width: calc(100% + 30px);
        margin: 0 -15px 10px;
        box-sizing: border-box;
    }




	
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none;
}
	
.mdf-price-pending,
.mdf-price-outofstock {
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}

/* در حال قیمت گذاری */
.mdf-price-pending {
    color: #ff6900;
}

/* ناموجود */
.mdf-price-outofstock {
    color: #777;
}


/* تبلت */
@media (max-width: 1024px) {

    .mdf-price-pending,
    .mdf-price-outofstock {
        font-size: 14px;
    }

}


/* موبایل */
@media (max-width: 767px) {

    .mdf-price-pending,
    .mdf-price-outofstock {
        font-size: 12px;
        font-weight: 500;
    }

}
	
	/* تبلت */
@media (max-width: 1024px) {
    .wd-el-title.title.slider-title.element-title {
        font-size: 17px !important;
    }
}

/* موبایل */
@media (max-width: 767px) {
    .wd-el-title.title.slider-title.element-title {
        font-size: 15px !important;
    }
}
	
	@media (max-width: 1024px) {
    .container.related-and-upsells {
        margin-bottom: 32px;
    }
}
	
.mgp-usd-rate {
    color: #28a745;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.mgp-usd-rate svg {
    flex-shrink: 0;
}
	
	@media (max-width: 1024px) {
    .product_title.entry-title.wd-entities-title {
        font-size: 16px !important;
    }
}