:root {
	--wd-text-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--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(21,56,70);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(21,56,70);
	--btn-accented-bgcolor-hover: rgb(21,56,70);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
: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;
}
.wd-footer {
	background-color: rgb(215,223,226);
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 30px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--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;
--wd-brd-radius: 8px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

.wd-project .wd-entities-title {
    margin-bottom: 0;
    font-size: 14px;
}

/* اندازه لیبل ناموجود */
.product-labels.labels-rounded .out-of-stock {
    max-width: 50px !important;
    font-size: 10px !important;
}
/* حذف توضیحات دسته بندی محصول */
.term-description {
    display: none !important;
}
/* استایل دکمه ورود */
button.woocommerce-button.woocommerce-form-login__submit {
    background-color: #153846 !important;
    border-radius: 30px !important;
    color: #fff !important;
    padding: 12px 25px;
    border: none !important;
}
/* استایل دکمه بازگردانی رمز عبور */
.woocommerce-Button.button {
    background-color: #153846 !important;
    border-radius: 30px !important;
    color: #fff !important;
    padding: 12px 25px;
    border: none !important;
}
/* اندازه فونت سبد خرید */
.cart-totals-inner>h2 {
    text-transform: uppercase;
    font-size: 18px;
}
/* موبایل خیلی کوچک */
@media (max-width: 576px) {
    .wd-empty-page {
        font-size: 18px;
    }
}

/* موبایل و تبلت کوچک */
@media (min-width: 577px) and (max-width: 768px) {
    .wd-empty-page {
        font-size: 20px;
    }
}

/* تبلت */
@media (min-width: 769px) and (max-width: 1024px) {
    .wd-empty-page {
        font-size: 22px;
    }
}

/* دسکتاپ */
@media (min-width: 1025px) {
    .wd-empty-page {
        font-size: 24px;
    }
}

/* نمایش فاکتور پرداخت موفق */
address {
    margin-bottom: 20px;
    font-style: normal;
    font-size: 1.0em;
    line-height: 1.8;
}

/* Irachi — استایل آزمایشی نسخه 0.1.1 */
.woocommerce-MyAccount-content .ivc {
  --navy: #153846;
  --white: #FFFFFF;
  --cream: #F7F4EE;
  --gold: #C29A5B;
  color: var(--navy);
  line-height: 1.9;
}

.woocommerce-MyAccount-content .ivc > h2 {
  margin: 0 0 22px;
  padding: 15px 20px;
  border-radius: 14px;
  border-inline-start: 4px solid var(--gold);
  background: var(--navy);
  color: var(--white);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.8;
}

.woocommerce-MyAccount-content .ivc > h3 {
  margin: 0 0 18px;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy);
  font-size: 17px;
  line-height: 1.8;
}

/* قاب پلیر */
.woocommerce-MyAccount-content .ivc > div {
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 8px 28px #15384614;
}

.woocommerce-MyAccount-content .ivc > div > iframe {
  display: block;
}

/* فهرست جلسات */
.woocommerce-MyAccount-content .ivc > ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: irachi-lesson;
}

.woocommerce-MyAccount-content .ivc > ol > li {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-increment: irachi-lesson;
}

.woocommerce-MyAccount-content .ivc > ol > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 15px;
  border: 1px solid #15384620;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  text-decoration: none;
}

.woocommerce-MyAccount-content .ivc > ol > li > a::before {
  content: counter(irachi-lesson, persian);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
}

.woocommerce-MyAccount-content .ivc > ol > li > a:hover {
  border-color: var(--gold);
  background: var(--cream);
}

/* دکمه بازگشت */
.woocommerce-MyAccount-content .ivc > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--navy);
  border-radius: 9px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.woocommerce-MyAccount-content .ivc > a:hover {
  border-color: var(--gold);
  box-shadow: inset 0 -3px 0 var(--gold);
}

/* کارت‌های صفحه دوره‌های من */
.woocommerce-MyAccount-content .ivc > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 22px !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-MyAccount-content .ivc > ul > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-content .ivc > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  padding: 26px;
  border: 1px solid #15384620;
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  background: var(--cream);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
  text-decoration: none;
}

.woocommerce-MyAccount-content .ivc > ul > li > a::after {
  content: "←";
  flex-shrink: 0;
  font-size: 24px;
}

.woocommerce-MyAccount-content .ivc > ul > li > a:hover {
  border-color: var(--gold);
}

.woocommerce-MyAccount-content .ivc > p {
  color: var(--navy);
  font-size: 13px;
}

.woocommerce-MyAccount-content .ivc a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .woocommerce-MyAccount-content .ivc > ol,
  .woocommerce-MyAccount-content .ivc > ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-MyAccount-content .ivc > h2 {
    padding: 18px;
    font-size: 15px;
		line-height: 2.5;

  }

  .woocommerce-MyAccount-content .ivc > h3 {
    padding: 12px 15px;
    font-size: 15px;
  }

  .woocommerce-MyAccount-content .ivc > ul > li > a {
    padding: 20px;
    font-size: 14px;
  }
}

/* فیلتر دسته‌بندی نمونه‌کارهای ایراچی */
.portfolio-filter {
  margin-bottom: 28px;
  padding: 12px;
  background: #faf7f1;
  border: 1px solid #e8dfd1;
  border-radius: 20px;
}

.portfolio-filter .wd-nav-portfolio {
  --nav-gap: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.portfolio-filter .wd-nav-portfolio > li {
  margin: 0;
  padding: 0;
}

.portfolio-filter .wd-nav-portfolio > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #e5dbcc;
  border-radius: 999px;
  background: #fffdf9;
  color: #62594d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

/* حذف خط زیر پیش‌فرض قالب */
.portfolio-filter .wd-nav-portfolio > li > a::after,
.portfolio-filter .wd-nav-portfolio .nav-link-text::after {
  display: none;
}

@media (hover: hover) {
  .portfolio-filter .wd-nav-portfolio > li > a:hover {
    background: #f2e9da;
    border-color: #c9ad7e;
    color: #294b43;
    box-shadow: 0 3px 10px rgb(89 69 37 / 8%);
  }
}

/* دسته انتخاب‌شده */
.portfolio-filter .wd-nav-portfolio > li.wd-active > a {
  background: #294b43;
  border-color: #294b43;
  color: #fffaf0;
  box-shadow: 0 4px 12px rgb(41 75 67 / 18%);
}

.portfolio-filter .wd-nav-portfolio > li > a:focus-visible {
  outline: 2px solid #b88b46;
  outline-offset: 3px;
}

/* موبایل: یک ردیف با اسکرول افقی */
@media (max-width: 767px) {
  .portfolio-filter {
    padding: 10px;
    border-radius: 16px;
  }

  .portfolio-filter .wd-nav-portfolio {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    max-width: 100%;
    padding: 3px 3px 9px;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: #c9ad7e transparent;
  }

  .portfolio-filter .wd-nav-portfolio > li {
    flex: 0 0 auto;
  }

  .portfolio-filter .wd-nav-portfolio > li > a {
    padding: 9px 15px;
    font-size: 12px;
  }
}

/* فاصله کارت‌ها؛ سازگار با شبکه و اسلایدر وودمارت */
.wd-projects {
  --wd-gap-lg: 24px;
  --wd-gap-md: 20px;
  --wd-gap-sm: 16px;
}

.wd-projects .wd-grid {
  --wd-gap-lg: 24px !important;
  --wd-gap-md: 20px !important;
  --wd-gap-sm: 16px !important;
}

/* کارت بدون کادر و سایه */
.wd-projects .wd-project.portfolio-entry {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none;
}

.wd-projects .wd-project .entry-header {
  margin: 0;
}

/* فقط تصویر گوشه‌های نرم دارد */
.wd-projects .wd-project .entry-thumbnail {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
}

.wd-projects .wd-project .portfolio-thumbnail {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.wd-projects .wd-project .portfolio-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

/* متن روی زمینه خود صفحه */
.wd-projects .wd-project.portfolio-text-shown .portfolio-info {
  padding: 16px 8px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: right;
}

.wd-projects .wd-project .proj-cats-list {
  margin: 0 0 6px;
  color: #938574;
  font-size: 11px;
  line-height: 1.8;
}

.wd-projects .wd-project .proj-cats-list a {
  color: inherit;
}

.wd-projects .wd-project .wd-entities-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.wd-projects .wd-project .wd-entities-title a {
  color: #294b43;
  transition: color .2s ease;
}

.wd-projects .wd-project .wd-entities-title a:hover {
  color: #a27b43;
}

/* هاور فقط روی عکس؛ کارت جابه‌جا نمی‌شود */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wd-projects .wd-project:hover .portfolio-thumbnail img {
    transform: scale(1.025);
  }
}

@media (max-width: 767px) {
  .wd-projects .wd-project .entry-thumbnail {
    border-radius: 10px;
  }

  .wd-projects .wd-project.portfolio-text-shown .portfolio-info {
    padding: 12px 4px 18px;
  }

  .wd-projects .wd-project .wd-entities-title {
    font-size: 13px;
  }
}

/* استایل ابزارک فیلتر قیمت در فروشگاه */

/* =====================================
   IRACHI - WooCommerce Filters
   Woodmart / RTL
===================================== */

:root {
    --irachi-accent: #b58b55;
    --irachi-dark: #243b45;
    --irachi-text: #555;
    --irachi-border: #eeeeee;
}

/* عنوان تمام فیلترها */
.widget_price_filter .widget-title,
.widget_product_categories .widget-title,
.widget_layered_nav .widget-title,
.widget_layered_nav_filters .widget-title,
.widget_rating_filter .widget-title,
.widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--irachi-dark);
    margin-bottom: 22px;
    padding-bottom: 0;
}

/* جداکننده بین فیلترها */
.widget_price_filter,
.widget_product_categories,
.widget_layered_nav,
.widget_layered_nav_filters,
.widget_rating_filter,
.widget_layered_nav + .widget {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--irachi-border);
}

/* =====================================
   PRICE FILTER
===================================== */

.widget_price_filter .price_slider_wrapper {
    padding: 5px 3px 0;
}

.widget_price_filter .ui-slider {
    height: 5px;
    background: #eeeeee;
    border-radius: 10px;
    margin: 8px 0 25px;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: var(--irachi-accent);
    border-radius: 10px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    width: 17px;
    height: 17px;
    top: -6px;
    background: #fff;
    border: 3px solid var(--irachi-accent);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    cursor: grab;
}

.widget_price_filter .price_slider_amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.widget_price_filter .price_label {
    font-size: 13px;
    color: var(--irachi-text);
    font-weight: 500;
    line-height: 2;
    direction: rtl;
}

.widget_price_filter button.button {
    background: var(--irachi-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 23px;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}

.widget_price_filter button.button:hover {
    background: var(--irachi-accent);
    color: #fff;
}

/* =====================================
   CHECKBOX FILTERS
   Stock / Attributes
===================================== */

.widget_layered_nav ul,
.widget_product_categories ul,
.widget_rating_filter ul {
    list-style: none;
}

.widget_layered_nav li,
.widget_rating_filter li {
    margin-bottom: 12px;
}

.widget_layered_nav li a,
.widget_rating_filter li a,
.widget_product_categories li a {
    color: var(--irachi-text);
    font-size: 14px;
    transition: color .2s ease;
}

.widget_layered_nav li a:hover,
.widget_rating_filter li a:hover,
.widget_product_categories li a:hover {
    color: var(--irachi-accent);
}

/* چک باکس ها */
.widget input[type="checkbox"],
.widget_layered_nav input[type="checkbox"],
.widget_product_categories input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #d5d5d5;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 0 0 9px;
    position: relative;
    transition: all .2s ease;
}

.widget input[type="checkbox"]:checked {
    background: var(--irachi-accent);
    border-color: var(--irachi-accent);
}

.widget input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    top: 2px;
    left: 5px;
    transform: rotate(45deg);
}

.widget input[type="checkbox"]:hover {
    border-color: var(--irachi-accent);
}

/* =====================================
   STOCK STATUS
===================================== */

.widget_layered_nav li,
.widget_product_categories li {
    line-height: 2.2;
}

.widget_layered_nav li.chosen a,
.widget_product_categories li.current-cat > a {
    color: var(--irachi-accent);
    font-weight: 700;
}

/* =====================================
   PRODUCT CATEGORIES
===================================== */

.widget_product_categories .product-categories {
    padding: 0;
    margin: 0;
}

.widget_product_categories .product-categories li {
    position: relative;
    padding: 5px 0;
    margin: 0;
}

.widget_product_categories .product-categories li a {
    display: inline-block;
    padding: 3px 0;
}

.widget_product_categories .product-categories .children {
    padding-right: 18px;
    margin-top: 5px;
    border-right: 1px solid #eeeeee;
}

/* تعداد محصولات */
.widget_product_categories .count,
.widget_layered_nav .count {
    font-size: 11px;
    color: #999;
    background: #f6f6f6;
    border-radius: 20px;
    padding: 2px 7px;
    margin-right: 5px;
}

/* فلش باز و بسته شدن دسته ها */
.widget_product_categories .wd-categories-toggle {
    color: #999;
    transition: all .2s ease;
}

.widget_product_categories .wd-categories-toggle:hover {
    color: var(--irachi-accent);
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {

    .widget_price_filter,
    .widget_product_categories,
    .widget_layered_nav,
    .widget_layered_nav_filters,
    .widget_rating_filter {
        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .widget .widget-title {
        font-size: 15px;
        margin-bottom: 17px;
    }

    .widget_price_filter button.button {
        padding: 9px 20px;
    }
}
