:root {
	--wd-text-font: "iranyekanwebregular_FaNum", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(36,36,36);
	--wd-text-font-size: 14px;
	--wd-title-font: "iranyekanwebbold_FaNum", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "iranyekanwebregular_FaNum", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(36,36,36);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "iranyekanwebbold_FaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "iranyekanwebbold_FaNum", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(36,36,36);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "iranyekanwebbold_FaNum", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,115,82);
	--wd-alternative-color: rgb(0,148,101);
	--btn-default-font-family: "IRansansX, sans-serif", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 400;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: rgb(0,148,101);
	--btn-accented-bgcolor: rgb(0,115,82);
	--btn-accented-bgcolor-hover: rgb(0,148,101);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(0,148,101);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(186,126,0);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(231,2,68);
	--wd-link-color-hover: rgb(255,28,92);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(255,255,255,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 760px;
}
: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: 300px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(39,39,42);
	background-image: none;
}
html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
	font-family: "iranyekanwebbold_FaNum", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 20px;
}
html .wd-page-title .wd-breadcrumbs :is(a,span), html .wd-page-title .breadcrumb li::after {
	font-family: "iranyekanwebbold_FaNum", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-size: 0px;
}
.wd .product-label.onsale {
	background-color: rgb(174,0,55);
}
.wd .product-label.new {
	background-color: rgb(0,60,186);
}
.wd .product-label.featured {
	background-color: rgb(186,126,0);
}
.wd .product-label.out-of-stock {
	background-color: rgb(150,150,150);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 16px;
	--wd-widget-title-font-size: 18px;
	--wd-sticky-btn-height: 48px;
	}

}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--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: 12px;
}

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


.wd-page-title {
background-color: rgb(0,70,47);
}

/********** Sidebar **********/
.widget-area.woodmart-sidebar-content {
  border: 2px dashed;
  border-radius: 12px;
}

.attachment-post-thumbnail {
  display: none !important;
}


/********** Header **********/
.whb-col-right,
.whb-mobile-right {
  justify-content: flex-end;
  margin-left: -30px;
}

.wd-header-html {
  padding-inline: 0;
}

.wd-header-my-account.wd-tools-element.wd-event-hover.wd-with-username.wd-design-1.wd-account-style-text.whb-latj9fcdrtamwu7i5yp3 {
  background-color: #007352;
  border-radius: 42px;
}

span.wd-tools-text {
  color: #fff;
}

.whb-general-header :is(.whb-mobile-left, .whb-mobile-right) {
  flex: auto;
}

.whb-mobile-left,
.whb-mobile-right {
  width: 25%;
}


/********** Search Form **********/
form.searchform.wd-style-with-bg-2.wd-cat-style-bordered.woodmart-ajax-search {
  max-width: 50%;
  margin: auto;
}


/********** Buttons **********/
input.add_a_deposit_button.button,
input.button {
  background-color: #007352;
  border-radius: 10px;
  color: #fff;
}


/********** Coupon Box **********/
.woocommerce-form-coupon {
  display: inline-flex !important;
}

.woocommerce-form-coupon-toggle {
  display: none;
}


/********** Product Grid **********/
.product-grid-item .wd-buttons {
  visibility: hidden;
}

.product-grid-item .price {
  display: grid;
}

.product-grid-item .wd-entities-title {
  line-height: 20px;
}

.selected-category-products .product-item h4 {
  color: #005238;
}

del .amount {
  color: rgb(175 0 0);
}




/********** Mobile Menu **********/
.kohanshop-top-mob-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  background: #007352;
  color: #fff;
}

a.kohanshop-top-mob-icon,
a.kohanshop-bot-mob-icon {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  padding: 10px;
}

a.kohanshop-top-mob-icon {
  color: #fff;
}

.kohanshop-top-mob-icon i {
  font-size: 2em;
  margin-bottom: 10px;
}

.kohanshop-bot-mob-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  position: relative;
  bottom: 0;
  width: 100%;
  border-top: 1px solid var(--brdcolor-gray-300);
}

.kohanshop-bot-mob-icon i {
  font-size: 1.5em;
}


/********** Category Description **********/
.term-description {
  height: 200px;
  overflow: hidden;
}

#description-button {
  display: block;
  background-color: var(--btn-accented-bgcolor);
  border-radius: var(--btn-accented-brd-radius);
  color: var(--btn-accented-color);
  padding: 10px 20px;
  font-weight: 400;
  font-size: 16px;
  margin: 10px auto;
  cursor: pointer;
  transition: background-color .3s ease;
}

#description-button:hover {
  background-color: var(--btn-accented-bgcolor-hover);
}

button#description-button {
  display: none;
}


/********** Read More Description **********/
.read-more-description-primary,
.read-more-description-secondary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height .3s ease;
}

.read-more-description-primary.expanded,
.read-more-description-secondary.expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}

.read-more-btn-primary,
.read-more-btn-secondary {
  display: inline-block;
  margin-top: 10px;
  color: #007352;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
}


/********** Blog / Articles **********/
.woodmart-sidebar-content .widget,
.type-post .article-inner,
#comments {
  box-shadow: 0 0 1px 1px #e6e6e6;
  border-radius: 12px;
}

.woodmart-sidebar-content .widget-title {
  background: var(--wd-primary-color);
  color: #fff;
  font-weight: 400;
  border-radius: 12px;
}

.type-post .article-inner {
  padding: 20px;
}

.type-post .article-inner .entry-content img {
  border-radius: 12px;
}

.type-post .article-inner .entry-content a {
  font-weight: 700;
}

.type-post .article-inner .entry-content h2,
.type-post .article-inner .entry-content h3 {
  background: #eee;
  color: #007352;
  border-radius: 12px;
  padding: 5px 10px;
}

.type-post .article-inner .entry-content h3 {
  display: inline-block;
}

.wd-single-footer {
  border-top: none;
}

#comments {
  margin: 0;
  padding: 0 20px;
}

#wpdcom,
#comments {
  max-width: 100%;
}

.elementor-123887 .elementor-element.elementor-element-eb015ca .elementor-author-box__avatar img {
  margin-top: -29px;
}

li.elementor-icon-list-item.elementor-repeater-item-1389f16.elementor-inline-item {
  display: inline-block;
  overflow: hidden;
  padding-right: 10px;
  padding-left: 10px;
  height: 25px;
  border-radius: calc(var(--wd-brd-radius) / 1.5);
  background-color: var(--wd-primary-color);
  line-height: 25px;
}


/********** Checkout / Safari / Chat Fix **********/
@media (max-width: 790px) {
  :is(.btn, .button, button, [type="submit"], [type="button"]) {
    display: block;
  }

  .browser-Safari .hide-larger-price .price,
  .browser-Safari .hide-larger-price .wd-sticky-btn-cart .price {
    white-space: normal;
  }

  .takhfif .price .amount {
    font-size: 12px;
  }

  .browser-Safari .hide-larger-price .price > :is(ins, small) {
    margin-inline-start: auto;
  }

  #chat-button {
    bottom: 56px !important;
  }
}


/********** Price Slider RTL/LTR Fix **********/
span.irs-grid-text.js-grid-text-0,
span.irs-grid-text.js-grid-text-1,
span.irs-max {
  direction: ltr;
}


/********** FAQ **********/
.faq-section {
  margin-top: 20px;
}

.faq-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  font-weight: bold;
  position: relative;
  padding-right: 15px;
  margin-bottom: 5px;
}

.faq-question::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #007352;
  margin-right: -15px;
}

.faq-answer {
  color: #333;
  padding-right: 10px;
}


/********** Product Filter Pagination **********/
nav.prdctfltr-pagination.prdctfltr-pagination-default {
  margin-top: 22px;
  width: 100%;
}


/********** Custom Discount Product Layout **********/
.coustom-product {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.coustom-product .product {
  flex: 1 1 calc(25% - 15px);
  box-sizing: border-box;
}


/************************************************************
  Shop Filters - Scrollable Mobile Row
************************************************************/

body .wd-shop-filters-btn,
body .wd-filter-buttons,
body .open-filters {
  display: none !important;
}

body .filters-area,
body .wd-shop-filters-area .filters-area {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body #woocommerce_price_filter-6 {
  display: none !important;
}


/********** Desktop Filters **********/
body .filters-inner-area.wd-grid-g,
body .wd-shop-filters-area .filters-inner-area.wd-grid-g {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: start !important;
}

body .filters-inner-area.wd-grid-g > .wd-col,
body .wd-shop-filters-area .filters-inner-area.wd-grid-g > .wd-col {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
}


/********** Price Range **********/
body #block-8,
body .filters-inner-area.wd-grid-g > .wd-col:has(.price-range-links),
body .wd-shop-filters-area .filters-inner-area.wd-grid-g > .wd-col:has(.price-range-links) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body .price-range-links {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  direction: rtl !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  padding: 8px 0 10px !important;
  margin: 0 !important;
  line-height: normal !important;
}

body .price-range-links::-webkit-scrollbar {
  display: none !important;
}

body .price-range-links br {
  display: none !important;
}

body .price-range-links strong {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 0 0 6px !important;
  line-height: 1.6 !important;
}

body .price-range-links a {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  padding: 7px 13px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #333 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

body .price-range-links a:hover {
  border-color: #007352 !important;
  color: #007352 !important;
}


/********** Mobile Filters **********/
@media (max-width: 768px) {
  /*
    Mobile:
    - top filters are one horizontal scroll row
    - price range stays below them and has its own scroll
  */

  body .filters-inner-area.wd-grid-g,
  body .wd-shop-filters-area .filters-inner-area.wd-grid-g {
    display: grid !important;
    grid-template-columns: repeat(4, 132px) !important;
    grid-auto-rows: auto !important;
    gap: 8px !important;
    align-items: start !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
  }

  body .filters-inner-area.wd-grid-g::-webkit-scrollbar,
  body .wd-shop-filters-area .filters-inner-area.wd-grid-g::-webkit-scrollbar {
    display: none !important;
  }

  body .filters-inner-area.wd-grid-g > .wd-col,
  body .wd-shop-filters-area .filters-inner-area.wd-grid-g > .wd-col {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
  }

  body #block-8,
  body .filters-inner-area.wd-grid-g > .wd-col:has(.price-range-links),
  body .wd-shop-filters-area .filters-inner-area.wd-grid-g > .wd-col:has(.price-range-links) {
    grid-column: 1 / -1 !important;
    width: calc(100vw - 40px) !important;
    min-width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    overflow: hidden !important;
    position: sticky !important;
    right: 0 !important;
    z-index: 1 !important;
    background: #fff !important;
  }

  body .filters-inner-area.wd-grid-g > .wd-col:not(:has(.price-range-links)) :is(select, .select2-container, .wd-filter, .wd-widget, .widget),
  body .wd-shop-filters-area .filters-inner-area.wd-grid-g > .wd-col:not(:has(.price-range-links)) :is(select, .select2-container, .wd-filter, .wd-widget, .widget) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .filters-inner-area.wd-grid-g > .wd-col:not(:has(.price-range-links)) :is(.select2-selection, select, .wd-filter-title, .widget-title, .select2-selection__rendered),
  body .wd-shop-filters-area .filters-inner-area.wd-grid-g > .wd-col:not(:has(.price-range-links)) :is(.select2-selection, select, .wd-filter-title, .widget-title, .select2-selection__rendered) {
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body .select2-container--open .select2-dropdown {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    z-index: 999999 !important;
  }

  body .select2-results__option {
    font-size: 13px !important;
    line-height: 1.8 !important;
    padding: 7px 10px !important;
    white-space: normal !important;
  }

  body .price-range-links {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    padding: 8px 0 10px !important;
  }

  body .price-range-links strong,
  body .price-range-links a {
    min-width: max-content !important;
    white-space: nowrap !important;
  }
}


/********** Desktop Product Price **********/
@media (min-width: 1025px) {
  .product-grid-item .price {
    display: grid;
  }
}


/********** Mobile Product Price **********/
@media (max-width: 768px) {
  .price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .price del {
    order: 1;
    display: block;
  }

  .price ins {
    order: 2;
    display: block;
  }
}


/********** Mobile Product Labels + Archive **********/
@media (max-width: 767px) {
  .custom-discount-label {
    padding: 2px 16px 2px 12px;
    font-size: 12px;
  }

  .product-labels .product-label.onsale {
    font-size: 12px;
  }

  .single-product .product-labels .product-label.onsale {
    font-size: 16px;
  }

  .product-labels {
    left: -2px;
  }
}

@media (max-width: 576px) {
  .product-label {
    padding-inline: 2px;
    min-width: 30px;
    font-size: 8px;
  }

  .main-page-wrapper {
    margin-top: -12px;
    padding-top: 0;
    min-height: 50vh;
    background-color: var(--wd-main-bgcolor);
    margin-right: -12px;
    margin-left: -12px;
    margin-bottom: -16px;
  }

  .product-grid-item .wd-entities-title {
    font-size: 12px;
  }

  .products[class*="wd-stretch-cont"] .product :is(.price, .wrap-price, .product-rating-price) {
    margin-top: -8px;
  }

  .elementor-kit-30353 a {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: bold;
    font-size: 12px;
  }
}
/********** Mobile Sort Dropdown Fix **********/
@media (max-width: 768px) {
  body .woocommerce-ordering .select2,
  body .woocommerce-ordering .select2-container {
    display: none !important;
  }

  body .woocommerce-ordering select,
  body .woocommerce-ordering select.orderby {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    pointer-events: auto !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;

    padding: 0 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;

    font-size: 13px !important;
    line-height: 42px !important;
  }

  body .woocommerce-ordering {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
}




@media (max-width: 768px) {

  /* 1) جمع کردن متن توضیح دسته در موبایل */
  body.tax-product_cat .term-description,
  body.tax-product_cat .woocommerce-products-header .term-description,
  body.tax-product_cat .woocommerce-products-header__description,
  body.tax-product_cat .archive-description,
  body.tax-product_cat .category-description,
  body.tax-product_cat .elementor-widget-theme-archive-description,
  body.tax-product_cat .elementor-widget-woocommerce-archive-description {
    max-height: 92px !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
    margin: 10px 0 12px !important;
    padding: 12px !important;
    border-radius: 10px !important;
  }

  body.tax-product_cat .term-description p,
  body.tax-product_cat .woocommerce-products-header__description p,
  body.tax-product_cat .archive-description p,
  body.tax-product_cat .category-description p {
    margin: 0 !important;
  }

  /* 2) حذف شمارنده نمایش 1 تا 24 از 99 نتیجه */
  body.tax-product_cat .woocommerce-result-count,
  body.post-type-archive-product .woocommerce-result-count {
    display: none !important;
  }

  /* 3) فیلتر قیمت؛ اسکرول افقی تمیز و بدون بریدگی */
  body.tax-product_cat .price-range-links,
  body.post-type-archive-product .price-range-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: auto !important;
    max-width: none !important;
    margin: 8px -10px 10px !important;
    padding: 0 10px 8px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.tax-product_cat .price-range-links::-webkit-scrollbar,
  body.post-type-archive-product .price-range-links::-webkit-scrollbar {
    display: none !important;
  }

  body.tax-product_cat .price-range-links form,
  body.tax-product_cat .price-range-links button,
  body.post-type-archive-product .price-range-links form,
  body.post-type-archive-product .price-range-links button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  body.tax-product_cat .price-range-links button,
  body.post-type-archive-product .price-range-links button {
    min-height: 38px !important;
    padding: 6px 11px !important;
    font-size: 12.5px !important;
    line-height: 1.7 !important;
    border-radius: 9px !important;
  }

  /* 4) مرتب‌سازی Woodmart/Elementor */
  body.tax-product_cat .elementor-element-3fcc5c2,
  body.post-type-archive-product .elementor-element-3fcc5c2,
  body.tax-product_cat .wd-shop-ordering,
  body.post-type-archive-product .wd-shop-ordering {
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 14px !important;
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  body.tax-product_cat .elementor-element-3fcc5c2 .woocommerce-ordering,
  body.post-type-archive-product .elementor-element-3fcc5c2 .woocommerce-ordering,
  body.tax-product_cat .wd-shop-ordering .woocommerce-ordering,
  body.post-type-archive-product .wd-shop-ordering .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
  }

  body.tax-product_cat .woocommerce-ordering select,
  body.post-type-archive-product .woocommerce-ordering select {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    text-align: center !important;
    background-color: #fff !important;
  }

  /* 5) کم کردن فاصله‌های اضافه قبل محصولات */
  body.tax-product_cat .wd-shop-product,
  body.tax-product_cat .wd-products-element,
  body.tax-product_cat .products,
  body.post-type-archive-product .wd-shop-product,
  body.post-type-archive-product .wd-products-element,
  body.post-type-archive-product .products {
    margin-top: 8px !important;
  }
}






.woocommerce-ordering.wd-ordering-mb-icon:after {
   display: none;
}
body .filters-area, body .wd-shop-filters-area .filters-area {    
    border: 1px solid white !important;
}


/* ==========================================================================
   K-SHOP — کارت محصول (نسخه‌ی سراسری)
   قالب: WoodMart

   محل قرارگیری:
   Theme Settings وودمارت > Custom CSS

   پیش‌نیاز:
   اسنیپت PHP جایگزینی «تومان» با SVG باید فعال باشد.

   مهم:
   قبل از جای‌گذاری، محتوای قبلی این کادر را کامل پاک کنید.
   همچنین Custom CSS ویجت المنتور و سفارشی‌سازی > CSS اضافی
   نباید نسخه‌ی قدیمی این کد را داشته باشند.

   پس از ذخیره:
   Elementor > Tools > Regenerate CSS  +  پاک کردن کش WP Rocket

   --------------------------------------------------------------------------
   تنظیم سریع
   برای تغییر اندازه، رنگ و فاصله‌ها فقط بلوک ۱ را دست بزنید.
   بقیه‌ی فایل از همان متغیرها تغذیه می‌کند و نیازی به ویرایش ندارد.
   نسخه‌ی موبایل هم فقط همان متغیرها را بازنویسی می‌کند (بلوک ۹).
   ========================================================================== */


/* ==========================================================================
   ۱. متغیرها + آزاد کردن ارتفاع کارت

   وودمارت برای هم‌ارتفاع کردن کارت‌ها روی والدها ارتفاع تحمیل می‌کند
   و همین باعث بریده شدن خط دوم عنوان می‌شود.
   ========================================================================== */

.wd-product {
    /* رنگ */
    --k-ink: #1C1B1A;           /* عنوان و قیمت نهایی */
    --k-muted: #A5A5A0;         /* قیمت قبلی */
    --k-symbol-ink: #55554F;    /* نماد تومان */
    --k-symbol-border: #DCDCD8; /* بوردر باکس تومان */
    --k-thumb-bg: #F7F4F0;      /* پس‌زمینه‌ی عکس */

    /* عنوان */
    --k-title-size: 14px;
    --k-title-lh: 1.8;

    /* قیمت */
    --k-price-size: 18px;       /* قیمت نهایی و قیمت بدون تخفیف */
    --k-old-size: 14px;         /* قیمت قبلی */
    --k-track: 0;               /* letter-spacing ارقام */
    --k-row-gap: 10px;          /* فاصله‌ی قیمت قبلی تا قیمت نهایی */
    --k-num-gap: 5px;           /* فاصله‌ی عدد تا نماد تومان */

    /* باکس تومان */
    --k-symbol-w: 15px;
    --k-symbol-pad: 5px 6px;
    --k-symbol-bw: 0px;
    --k-symbol-radius: 6px;

    --k-radius: 12px;
}

.wd-product,
.wd-product .product-wrapper,
.wd-product .wd-product-wrapper,
.wd-product .product-element-bottom,
.wd-product .wd-product-footer,
.wd-product .wd-product-info {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-inline: 0 !important;
    padding-top: 0 !important;
    border-radius: var(--k-radius);
}


/* ==========================================================================
   ۲. عنوان محصول — حداکثر دو خط، شکست روی مرز کلمه
   ========================================================================== */

/* هم رَپر و هم لینک داخلش هدف گرفته می‌شوند، چون وودمارت برای
   <a> داخل عنوان font-weight مستقل تعریف می‌کند و ارث‌بری اثر نمی‌کند */
.wd-product .wd-entities-title,
.wd-product .wd-entities-title a {
    font-size: var(--k-title-size) !important;
    font-weight: 400 !important;
    line-height: var(--k-title-lh) !important;
    color: var(--k-ink) !important;
    -webkit-font-smoothing: antialiased;
}

/* padding-bottom فضای امن زیر خط دوم است تا دنباله‌ی حروف بریده نشود */
.wd-product .wd-entities-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto !important;
    max-height: none !important;
    min-height: calc(var(--k-title-size) * var(--k-title-lh) * 2 + 4px);
    margin: 0 !important;
    padding: 0 10px 3px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
}

/* لینک باید inline بماند وگرنه line-clamp کار نمی‌کند */
.wd-product .wd-entities-title a {
    display: inline;
}


/* ==========================================================================
   ۳. ردیف قیمت — چیدمان
   ترتیب: قیمت قبلی (راست) ← قیمت نهایی ← نماد تومان (چپ)
   ========================================================================== */

.wd-product .price {
    display: flex !important;
    direction: rtl;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: var(--k-row-gap);
    margin: 0 !important;
    padding: 0 10px;
    color: var(--k-ink) !important;
}

.wd-product .price ins,
.wd-product .price del,
.wd-product .price > .woocommerce-Price-amount {
    flex: 0 0 auto;
    min-width: 0;
    letter-spacing: var(--k-track);
    white-space: nowrap !important;
}

/* داخل <bdi> عدد یک نود متنی خام است و تنها عنصر واقعی، خود نماد است.
   پس جای نماد با order تعیین می‌شود نه با flex-direction.
   direction: ltr جهت را قفل می‌کند تا dir="auto" پیش‌فرض <bdi>
   با تغییر محتوا (متن ← SVG) چیدمان را برنگرداند. */
.wd-product .price bdi {
    display: inline-flex !important;
    direction: ltr !important;
    align-items: center;
    gap: var(--k-num-gap);
    white-space: nowrap !important;
}

.wd-product .price bdi .woocommerce-Price-currencySymbol {
    order: -1;
}


/* ==========================================================================
   ۴. اندازه و رنگ قیمت

   ins  = قیمت نهایی محصول تخفیف‌دار
   > .woocommerce-Price-amount = محصول بدون تخفیف
   (علامت > یعنی فقط فرزند مستقیم، تا با قیمت‌های داخل del و ins تداخل نکند)
   ========================================================================== */

.wd-product .price ins,
.wd-product .price > .woocommerce-Price-amount,
.wd-product .price > .woocommerce-Price-amount bdi {
    font-size: var(--k-price-size) !important;
    font-weight: 700 !important;
    color: var(--k-ink) !important;
    text-decoration: none !important;
    background: transparent !important;
}


/* --- قیمت قبلی ---------------------------------------------------------- */

/* خط‌خوردگی پیش‌فرض مرورگر حذف می‌شود چون از وسط ارقام فارسی رد می‌شود */
.wd-product .price del,
.wd-product .price del * {
    text-decoration: none !important;
}

.wd-product .price del {
    position: relative;
    font-size: var(--k-old-size) !important;
    font-weight: 400 !important;
    color: var(--k-muted) !important;
    opacity: 1 !important;
}

/* خط‌خوردگی بازسازی‌شده — برای تطابق دقیق با نمونه 52% را به 50% تغییر دهید */
.wd-product .price del::after {
    content: "";
    position: absolute;
    right: -2px;
    left: -2px;
    top: 52%;
    height: 1px;
    background: currentColor;
}


/* ==========================================================================
   ۵. نماد تومان داخل کارت — باکس دور SVG
   رنگ SVG از color این باکس ارث می‌رسد (fill="currentColor")
   ========================================================================== */

.wd-product .price .woocommerce-Price-currencySymbol {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
    margin: 0 !important;
    padding: var(--k-symbol-pad);
    border: var(--k-symbol-bw) solid var(--k-symbol-border);
    border-radius: var(--k-symbol-radius);
    background: transparent !important;
    color: var(--k-symbol-ink) !important;
    text-decoration: none !important;
}

.wd-product .price .woocommerce-Price-currencySymbol svg {
    display: block;
    width: var(--k-symbol-w);
    height: auto;
}

/* نماد فقط یک‌بار نمایش داده می‌شود —
   نه در قیمت قبلی، نه در ابتدای بازه‌ی قیمت محصولات متغیر */
.wd-product .price del .woocommerce-Price-currencySymbol,
.wd-product .price > .woocommerce-Price-amount:not(:last-of-type) .woocommerce-Price-currencySymbol {
    display: none !important;
}


/* ==========================================================================
   ۶. نماد تومان در بقیه‌ی سایت — بدون باکس، هم‌اندازه‌ی متن
   صفحه‌ی محصول، سبد خرید، تسویه‌حساب
   ========================================================================== */

.woocommerce-Price-currencySymbol svg {
    width: 1em;
    height: auto;
    vertical-align: -0.12em;
}


/* ==========================================================================
   ۷. عکس تا لبه‌ی کارت

   overflow: hidden فقط روی خود عکس است، نه روی رَپر کارت —
   روی رَپر باعث بریده شدن خط دوم عنوان می‌شود.
   ========================================================================== */

.wd-product .wd-product-thumb {
    margin: 0 !important;
    background: var(--k-thumb-bg);
    border-radius: var(--k-radius) var(--k-radius) 0 0;
    overflow: hidden;
}

.wd-product .wd-product-thumb img {
    display: block;
    width: 100%;
    margin: 0 !important;
    border-radius: 0 !important;
}

.wd-product .product-element-bottom,
.wd-product .wd-product-footer {
    padding-bottom: 10px !important;
}


/* ==========================================================================
   ۸. موبایل — فقط بازنویسی متغیرها
   ========================================================================== */

@media (max-width: 767px) {

    .wd-product {
        --k-title-size: 13px;
        --k-price-size: 14px;
        --k-old-size: 12px;
        --k-track: -0.3px;      /* روی ۹ رقم حدود ۳ پیکسل صرفه‌جویی می‌کند */
        --k-row-gap: 4px;
        --k-num-gap: 3px;
        --k-symbol-w: 14px;
        --k-symbol-pad: 3px 4px;
        --k-symbol-bw: 0px;
        --k-symbol-radius: 4px;
    }
}


/* ==========================================================================
   ۹. اختیاری — اگر در موبایل قیمت قبلی از لبه بیرون زد
   این بلوک را از حالت کامنت خارج کنید تا قیمت قبلی به خط بالا برود
   ==========================================================================

@media (max-width: 767px) {

    .wd-product .price {
        flex-wrap: wrap;
        gap: 2px 4px;
    }

    .wd-product .price del {
        order: -1;
        flex-basis: 100%;
        font-size: 10px !important;
        letter-spacing: 0;
    }
}

   ========================================================================== */


/* ==========================================================================
   ۱۰. اختیاری — محدود کردن فقط به لوپ‌های اصلی محصول
   اگر نمی‌خواهید ویجت‌های سایدبار و محصولات مرتبط تغییر کنند،
   در تمام فایل  .wd-product  را با  .wd-products .wd-product  عوض کنید
   ========================================================================== */
@media (min-width: 1025px) {
	.product-grid-item .price {
  display: grid;
}
}

@media (max-width: 576px) {
	.main-page-wrapper {
  margin-top: -12px;
  padding-top: 0px;
  min-height: 50vh;
  background-color: var(--wd-main-bgcolor);
  margin-right: -12px;
  margin-left: -12px;
	margin-bottom:-16px;
}

.product-grid-item .wd-entities-title {
  font-size: 12px;
}

.products[class*="wd-stretch-cont"] .product :is(.price, .wrap-price, .product-rating-price) {
  margin-top: -8px;
}

.elementor-kit-30353 a {
  font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
  font-weight: bold;
  font-size: 12px;
}
}

