:root {
	--wd-text-font: vazir, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: vazir, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: vazir, 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: vazir, sans-serif;
	--wd-widget-title-font: vazir, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: vazir, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(138,115,80);
	--wd-alternative-color: rgb(238,238,34);
	--btn-default-bgcolor: rgb(225,235,255);
	--btn-default-bgcolor-hover: rgb(219,227,249);
	--btn-default-color: rgb(28,97,231);
	--btn-default-color-hover: rgb(28,97,231);
	--btn-accented-bgcolor: rgb(28,97,231);
	--btn-accented-bgcolor-hover: rgb(28,97,231);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(51,51,51);
	--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(0,0,0);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	font-family: vazir, sans-serif;	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-family: vazir, sans-serif;	font-size: 18px;
}
html .wd-nav.wd-nav-main > li > a, html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a {
	font-family: vazir, sans-serif;	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(107,163,49);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(95,158,44);
}
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-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--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-cat-brd-radius: 0px;
}

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


.wd-page-title {
background-color: rgb(28,97,231);
}

@font-face {
	font-family: "iranyekanx";
	src: url("//mahfamstore.com/wp-content/uploads/2023/02/IRANYekanX-Medium.woff2") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "iranyekanx";
	src: url("//mahfamstore.com/wp-content/uploads/2023/02/IRANYekanX-ExtraBold.woff2") format("woff");
	font-weight: 900;
	font-style: normal;
}

/* Mahfam Store – Safe polish for existing WoodMart Product Filters
   Scope: only Elementor widget .elementor-element-66c2457
   Paste in: Appearance > Customize > Additional CSS or WoodMart > Custom CSS
*/

:root{
  --mf-ink:#171411;
  --mf-muted:#77706a;
  --mf-soft:#f7f3ec;
  --mf-card:#ffffff;
  --mf-line:rgba(23,20,17,.10);
  --mf-accent:#b08a5b;
  --mf-accent-dark:#7f623c;
  --mf-shadow:0 10px 28px rgba(23,20,17,.06);
  --mf-radius:18px;
}

/* Main filter bar */
.elementor-element-66c2457 .wd-product-filters{
  direction:rtl;
  align-items:center;
  gap:10px !important;
  padding:12px;
  border:1px solid var(--mf-line);
  border-radius:var(--mf-radius);
  background:rgba(255,255,255,.86);
  box-shadow:var(--mf-shadow);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
}

/* Each filter button */
.elementor-element-66c2457 .wd-product-filters .wd-pf-checkboxes{
  min-width:140px;
  margin:0 !important;
}

.elementor-element-66c2457 .wd-product-filters .wd-pf-title{
  min-height:44px;
  padding:0 16px;
  border:1px solid var(--mf-line);
  border-radius:999px;
  background:var(--mf-card);
  color:var(--mf-ink);
  font-weight:700;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.elementor-element-66c2457 .wd-product-filters .wd-pf-title:hover,
.elementor-element-66c2457 .wd-product-filters .wd-pf-checkboxes.wd-opened .wd-pf-title{
  border-color:rgba(176,138,91,.35);
  background:#fffaf4;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(23,20,17,.06);
}

.elementor-element-66c2457 .wd-product-filters .wd-pf-title:after{
  margin-inline-start:8px;
  opacity:.55;
}

/* Dropdown panel */
.elementor-element-66c2457 .wd-product-filters .wd-pf-dropdown{
  margin-top:10px;
  padding:10px;
  border:1px solid var(--mf-line);
  border-radius:16px;
  background:rgba(255,255,255,.98);
  box-shadow:0 18px 42px rgba(23,20,17,.10);
  overflow:hidden;
}

.elementor-element-66c2457 .wd-product-filters .wd-scroll{
  max-height:360px;
}

.elementor-element-66c2457 .wd-product-filters .wd-scroll-content,
.elementor-element-66c2457 .wd-product-filters .wd-scroll-content ul{
  list-style:none;
  margin:0;
  padding:0;
}

.elementor-element-66c2457 .wd-product-filters .wd-scroll-content li{
  margin:0;
}

.elementor-element-66c2457 .wd-product-filters .wd-scroll-content a.pf-value{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:36px;
  padding:8px 10px;
  border-radius:10px;
  color:var(--mf-ink);
  font-size:13px;
  line-height:1.6;
  text-decoration:none;
  transition:background-color .18s ease, color .18s ease;
}

.elementor-element-66c2457 .wd-product-filters .wd-scroll-content a.pf-value:hover{
  background:var(--mf-soft);
  color:var(--mf-accent-dark);
}

/* Category nesting readability */
.elementor-element-66c2457 .wd-pf-categories .children{
  margin-inline-start:12px !important;
  padding-inline-start:10px !important;
  border-inline-start:1px solid var(--mf-line);
}

.elementor-element-66c2457 .wd-pf-categories .children .children{
  opacity:.92;
}

/* Size swatches */
.elementor-element-66c2457 .wd-swatches-filter{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.elementor-element-66c2457 .wd-swatches-filter li{
  margin:0 !important;
}

.elementor-element-66c2457 .wd-swatches-filter a.pf-value{
  min-width:44px;
  min-height:38px;
  justify-content:center !important;
  border:1px solid var(--mf-line);
  border-radius:999px !important;
  background:#fff;
  padding:7px 12px !important;
}

.elementor-element-66c2457 .wd-swatches-filter a.pf-value:hover,
.elementor-element-66c2457 .wd-swatches-filter .chosen a.pf-value{
  background:var(--mf-ink);
  border-color:var(--mf-ink);
  color:#fff !important;
}

.elementor-element-66c2457 .wd-swatches-filter .layer-term-lable{
  font-size:12px;
  font-weight:700;
}

/* Price slider */
.elementor-element-66c2457 .widget_price_filter .price_slider_wrapper{
  min-width:280px;
  padding:12px 8px 6px;
}

.elementor-element-66c2457 .price_slider_widget.ui-slider{
  height:4px;
  border:0;
  border-radius:999px;
  background:#eadfd4;
}

.elementor-element-66c2457 .price_slider_widget .ui-slider-range{
  background:var(--mf-accent) !important;
}

.elementor-element-66c2457 .price_slider_widget .ui-slider-handle{
  width:18px;
  height:18px;
  top:-7px;
  border:3px solid #fff !important;
  border-radius:50%;
  background:var(--mf-ink) !important;
  box-shadow:0 6px 16px rgba(23,20,17,.18);
}

.elementor-element-66c2457 .filter_price_slider_amount{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
}

.elementor-element-66c2457 .filter_price_slider_amount .button{
  border-radius:999px;
  padding:8px 14px;
  background:var(--mf-ink);
  color:#fff;
  font-size:12px;
  font-weight:700;
}

.elementor-element-66c2457 .price_label{
  color:var(--mf-muted);
  font-size:12px;
  white-space:nowrap;
}

/* Optional color swatches if color filter exists later */
.elementor-element-66c2457 .wd-pf-attributes .wd-swatch,
.elementor-element-66c2457 .wd-pf-attributes .wd-swatch-bg,
.elementor-element-66c2457 .wd-pf-attributes .wd-filter-color,
.elementor-element-66c2457 .bijan-filter-color{
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.65);
}

/* Prevent oversized SVG decoration inside copied color filters */
.elementor-element-66c2457 .bijan-title svg{
  display:none !important;
}

/* Cleaner mobile behavior: horizontal scroll instead of broken wrap */
@media (max-width:1024px){
  .elementor-element-66c2457 .wd-product-filters{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto;
    overflow-y:visible;
    padding:10px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }

  .elementor-element-66c2457 .wd-product-filters::-webkit-scrollbar{
    height:4px;
  }

  .elementor-element-66c2457 .wd-product-filters::-webkit-scrollbar-thumb{
    background:rgba(23,20,17,.16);
    border-radius:999px;
  }

  .elementor-element-66c2457 .wd-product-filters .wd-pf-checkboxes{
    flex:0 0 auto;
    min-width:auto;
    scroll-snap-align:start;
  }

  .elementor-element-66c2457 .wd-product-filters .wd-pf-title{
    min-height:40px;
    padding:0 14px;
    white-space:nowrap;
  }
}

@media (max-width:767px){
  .elementor-element-66c2457 .wd-product-filters{
    border-radius:14px;
    padding:8px;
  }

  .elementor-element-66c2457 .wd-product-filters .wd-pf-title{
    font-size:12px;
  }

  .elementor-element-66c2457 .wd-product-filters .wd-pf-dropdown{
    max-width:calc(100vw - 28px);
  }
}

/* Mahfam Store starter CSS | Put in Child Theme style.css or Elementor Site Settings > Custom CSS */
:root{
  --mf-ink:#171411;
  --mf-muted:#77706a;
  --mf-line:rgba(23,20,17,.10);
  --mf-soft:#f7f3ec;
  --mf-accent:#b08a5b;
  --mf-radius:28px;
  --mf-shadow:0 22px 60px rgba(25,22,18,.10);
}

body{background:#fff;color:var(--mf-ink);}
.mf-hero,.mf-filter-strip,.mf-brand-cloud{font-family:inherit;box-sizing:border-box}
.mf-hero *,.mf-filter-strip *,.mf-brand-cloud *{box-sizing:border-box}

.mf-slider{
  position:relative;
  width:min(1480px,calc(100% - 32px));
  margin:20px auto 12px;
  min-height:620px;
  border-radius:var(--mf-radius);
  overflow:hidden;
  background:#fafafa;
  box-shadow:var(--mf-shadow);
  isolation:isolate;
}
.mf-slide{
  position:absolute;inset:0;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);
  gap:32px;
  align-items:center;
  padding:clamp(28px,5vw,76px);
  background:var(--mf-bg);
  opacity:0;
  transform:scale(1.015);
  transition:opacity .7s ease,transform .9s cubic-bezier(.2,.9,.2,1);
  pointer-events:none;
}
.mf-slide.is-active{opacity:1;transform:scale(1);pointer-events:auto;z-index:2}
.mf-slide:before{
  content:"";
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 18% 15%,rgba(176,138,91,.18),transparent 22%),
    radial-gradient(circle at 84% 76%,rgba(20,20,20,.06),transparent 28%);
  z-index:-1;
}
.mf-copy{max-width:650px}
.mf-kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 13px;
  border:1px solid var(--mf-line);
  border-radius:999px;
  color:var(--mf-muted);
  font-size:12px;
  letter-spacing:.06em;
  background:rgba(255,255,255,.58);
  backdrop-filter:blur(10px);
}
.mf-copy h1,.mf-copy h2{
  margin:22px 0 16px;
  font-size:clamp(34px,5.2vw,76px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.035em;
}
.mf-copy p{
  max-width:560px;
  margin:0 0 28px;
  color:var(--mf-muted);
  font-size:clamp(15px,1.35vw,18px);
  line-height:2;
}
.mf-cta{display:flex;gap:10px;flex-wrap:wrap}
.mf-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;
  padding:12px 21px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  text-decoration:none!important;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}
.mf-btn:hover{transform:translateY(-2px)}
.mf-btn-dark{background:var(--mf-ink);color:#fff!important;box-shadow:0 14px 30px rgba(23,20,17,.18)}
.mf-btn-light{background:rgba(255,255,255,.72);color:var(--mf-ink)!important;border:1px solid var(--mf-line);backdrop-filter:blur(10px)}

.mf-showcase{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:180px 180px;
  gap:14px;
  min-height:376px;
}
.mf-brand-card{
  position:relative;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:20px;
  border-radius:26px;
  background:
    linear-gradient(155deg,rgba(255,255,255,.78),rgba(255,255,255,.34)),
    repeating-linear-gradient(135deg,rgba(23,20,17,.04) 0 1px,transparent 1px 14px);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 18px 40px rgba(30,28,24,.08);
  overflow:hidden;
}
.mf-brand-card:after{
  content:"";
  position:absolute;inset:18px;
  border-radius:22px;
  border:1px solid rgba(23,20,17,.06);
}
.mf-brand-card.mf-big{grid-row:span 2}
.mf-brand-card b{font-size:clamp(24px,3vw,48px);letter-spacing:-.06em;line-height:.95}
.mf-brand-card span{margin-top:8px;color:var(--mf-muted);font-size:13px}

.mf-dots{
  position:absolute;z-index:5;left:0;right:0;bottom:22px;
  display:flex;justify-content:center;gap:8px;
}
.mf-dots button{
  width:8px;height:8px;border:0;border-radius:999px;
  background:rgba(23,20,17,.25);cursor:pointer;padding:0;
  transition:width .25s ease,background .25s ease;
}
.mf-dots button.is-active{width:28px;background:var(--mf-ink)}

.mf-filter-strip{
  position:sticky;top:0;z-index:30;
  width:min(1480px,calc(100% - 32px));
  margin:0 auto 26px;
  display:flex;gap:8px;
  padding:10px;
  border:1px solid var(--mf-line);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(16px);
  overflow:auto;
  scrollbar-width:none;
}
.mf-filter-strip::-webkit-scrollbar{display:none}
.mf-filter-chip{
  white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;
  padding:8px 15px;
  color:var(--mf-ink)!important;
  background:#f6f4f1;
  border:1px solid transparent;
  border-radius:999px;
  text-decoration:none!important;
  font-size:13px;
  font-weight:650;
}
.mf-filter-chip.is-strong{background:var(--mf-ink);color:#fff!important}

.mf-brand-cloud{
  width:min(1480px,calc(100% - 32px));
  margin:20px auto 42px;
}
.mf-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.mf-section-head span{color:var(--mf-accent);font-size:13px;font-weight:800}
.mf-section-head h2{margin:0;font-size:clamp(22px,3vw,38px);letter-spacing:-.03em}
.mf-brand-grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:10px;
}
.mf-brand-grid a{
  min-height:72px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  padding:12px;
  border-radius:22px;
  background:#faf8f5;
  border:1px solid var(--mf-line);
  text-decoration:none!important;
  color:var(--mf-ink)!important;
  font-weight:800;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}
.mf-brand-grid a:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(23,20,17,.08);background:#fff}

@media (max-width:1024px){
  .mf-slider{min-height:590px}
  .mf-slide{grid-template-columns:1fr;padding:42px 34px}
  .mf-showcase{display:none}
  .mf-copy{max-width:720px}
  .mf-brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:640px){
  .mf-slider{width:calc(100% - 20px);min-height:560px;border-radius:24px;margin-top:10px}
  .mf-slide{padding:34px 22px}
  .mf-copy h1,.mf-copy h2{font-size:36px}
  .mf-copy p{font-size:14px;line-height:1.9}
  .mf-cta{flex-direction:column}
  .mf-btn{width:100%}
  .mf-filter-strip{width:calc(100% - 20px);border-radius:18px}
  .mf-brand-cloud{width:calc(100% - 20px)}
  .mf-section-head{display:block}
  .mf-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Performance helpers */
.mf-hero img{content-visibility:auto}
@media (prefers-reduced-motion:reduce){
  .mf-slide,.mf-btn,.mf-brand-grid a,.mf-dots button{transition:none!important}
}

/* Optional: Woodmart product cards cleanup */
.product-grid-item .wd-entities-title{line-height:1.5}
.product-grid-item .price{font-weight:800}
.product-grid-item img{aspect-ratio:3/4;object-fit:cover}

