: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-color: rgb(252,254,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,254,255);
	background-image: none;
	background-repeat: repeat;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,254,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,254,255);
	background-image: none;
	background-repeat: repeat;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,254,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,254,255);
	background-image: none;
	background-repeat: repeat;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,254,255);
	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(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(45,90,138);
}

.wd-more-desc .wd-more-desc-inner {
    line-height: 22px !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;
    }

    .mdf-subcat-title {
        font-size: 14px;
        font-weight: 500;
        color: #161616;
        padding: 0 15px 10px;
        line-height: 1.6;
    }

    .mdf-subcat-scroll {
        background: #f2f4f8;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding: 10px 15px;
        box-sizing: border-box;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
	
    .mdf-subcat-scroll::-webkit-scrollbar {
        display: none;
    }

    .mdf-subcat-item {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        color: #525252;
        background: #fff;
        border: 1px solid #fff;
        border-radius: 20px;
        padding: 8px 14px;
        font-size: 12px;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .mdf-subcat-item:hover {
        background: #f7f7f7;
        border-color: #999;
    }

    .mdf-count {
        color: #999;
        font-size: 11px;
        margin-right: 2px;
    }
}

@media (min-width: 1025px) {
    .mdf-subcat-wrapper {
        display: none !important;
    }
}

/* ========== توضیحات دسته‌بندی WoodMart ========== */

.wd-term-desc.wd-entry-content,
.wd-term-desc,
.term-description {
    background: #f8f5ef !important;
    border: 1px solid #eadfce !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    line-height: 2 !important;
    color: #3d3225 !important;
    font-size: 14px !important;
    text-align: justify !important;
    text-align-last: right !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* عنوان داخل توضیحات */
.wd-term-desc h2,
.wd-term-desc h3,
.wd-term-desc .entry-title {
    color: #1a1a1a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #c4956a !important;
    display: inline-block !important;
    text-align: right !important;
}

/* پاراگراف‌ها */
.wd-term-desc p {
    margin-bottom: 12px !important;
    text-align: justify !important;
    text-align-last: right !important;
}

/* لینک‌ها */
.wd-term-desc a {
    color: #4e90e6 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.wd-term-desc a:hover {
    color: #2d5a8a !important;
}

/* لیست‌ها */
.wd-term-desc ul {
    padding-right: 20px !important;
    margin-bottom: 12px !important;
    text-align: right !important;
}

.wd-term-desc li {
    margin-bottom: 6px !important;
    text-align: justify !important;
    text-align-last: right !important;
}

.wd-term-desc li::marker {
    color: #c4956a !important;
}

/* موبایل */
@media (max-width: 768px) {
    .wd-term-desc.wd-entry-content,
    .wd-term-desc,
    .term-description {
        padding: 18px 20px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        font-size: 13px !important;
    }

/* موبایل و تبلت */
@media (max-width: 1024px) {
    .product-element-bottom {
        font-size: 12px !important;
    }
}
	
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;
    }
}