:root {
	--wd-text-font: "IRANSansXVF", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: "IRANSansXVF", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IRANSansXVF", 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: "IRANSansXVF", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IRANSansXVF", Arial, Helvetica, 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: "IRANSansXVF", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: 	#7A0F24;
	--wd-alternative-color: rgb(239,230,217);
	--btn-default-font-family: "IRANSansXVF", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(122,15,36);
	--btn-default-bgcolor-hover: rgb(90,10,26);
	--btn-default-color: rgb(239,230,217);
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-bgcolor: rgb(184,155,122);
	--btn-accented-bgcolor-hover: rgb(163,133,96);
	--btn-font-family: "IRANSansXVF", Arial, Helvetica, sans-serif;
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(69,176,140);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(229,169,60);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(122,15,36);
	--wd-link-color-hover: rgb(90,10,26);
}
.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: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 1000px;
}
: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: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	font-family: "IRANSansXVF", Arial, Helvetica, sans-serif;
	text-transform: capitalize;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-family: "IRANSansXVF", Arial, Helvetica, sans-serif;
	font-size: 18px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(239,230,217);
	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 {
	font-family: "IRANSansXVF", Arial, Helvetica, sans-serif;
	background: rgb(255,255,255);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(255,255,255);
}
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);
}
.wd .product-label.onsale {
	background-color: rgb(229,57,53);
}
.wd .product-label.new {
	background-color: rgb(21,148,168);
}
.wd .product-label.featured {
	background-color: rgb(255,111,0);
}
.wd .product-label.out-of-stock {
	background-color: rgb(117,117,117);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(15,107,120);
}
.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;
}

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



@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: "IRANSansXVF";
	src: url("//mahsym.ir/wp-content/uploads/2026/08/IRANSansXVF.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
}

/* ================================================
   هدر مهسیم – دسکتاپ (روی کلاس‌های واقعی header.mhh)
   وسط هدر: دایره با لوگو (بلوک آخر فایل)؛
   فقط دکمه‌ها، منو، جستجو، شمارنده‌ها و سبد خرید مطابق طرح گوگل می‌شوند
   ================================================ */
html body header.mhh{
  --mh-main:#7A0F24;
  --mh-main-dark:#5E0B1B;
  --mh-accent:#B89B7A;
  --mh-ink:#2D2D2D;
  --mh-white:#F8F8F8;
  --mh-cream:#EFE6D9;
  --mh-search-bg:#FAF6F0;
  --mh-r:8px;
}

/* ---------- فاصله‌ها ---------- */
html body header.mhh .mhh-d .mhh-side{align-items:center}
html body header.mhh .mhh-d .mhh-side.r{gap:20px}
html body header.mhh .mhh-d .mhh-side.l{gap:8px}

/* ---------- دکمه‌ی دسته‌بندی‌ها ---------- */
html body header.mhh .mhh-d .mhh-cbtn{
  display:flex !important;
  align-items:center;
  gap:8px;
  height:38px;
  padding:0 12px;
  font-family:inherit;
  font-size:12.5px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  color:var(--mh-white) !important;
  background:var(--mh-main) !important;
  border:0 !important;
  border-radius:var(--mh-r) !important;
  box-shadow:none !important;
  opacity:1 !important;
  cursor:pointer;
  transition:background .2s;
}
html body header.mhh .mhh-d .mhh-cbtn:hover{background:var(--mh-main-dark) !important}
html body header.mhh .mhh-d .mhh-cbtn *{color:var(--mh-white) !important;opacity:1 !important}
html body header.mhh .mhh-d .mhh-cbtn .i{width:17px;height:17px;flex:none}
html body header.mhh .mhh-d .mhh-cbtn .i:last-child{width:15px;height:15px}

/* ---------- منوی اصلی ---------- */
html body header.mhh .mhh-d .mhh-menu{
  display:flex;
  align-items:center;
  gap:20px;
  margin:0;
  padding:0;
  list-style:none;
}
html body header.mhh .mhh-d .mhh-menu > li > a{
  position:relative;
  padding:6px 0;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  color:var(--mh-ink) !important;
  background:none !important;
  text-decoration:none;
  transition:color .2s;
}
html body header.mhh .mhh-d .mhh-menu > li > a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:2px;
  border-radius:2px;
  background:var(--mh-main);
  transform:scaleX(0);
  transition:transform .2s;
}
html body header.mhh .mhh-d .mhh-menu > li:hover > a,
html body header.mhh .mhh-d .mhh-menu > li.current-menu-item > a{color:var(--mh-main) !important}
html body header.mhh .mhh-d .mhh-menu > li:hover > a::after,
html body header.mhh .mhh-d .mhh-menu > li.current-menu-item > a::after{transform:scaleX(1)}

/* ---------- جستجو (دکمه‌ی زرشکی سمت راست فیلد) ---------- */
html body header.mhh .mhh-d .mhh-search{
  position:relative;
  display:flex;
  flex-direction:row !important;
  direction:rtl;
  align-items:center;
  flex:1 1 150px;
  min-width:130px;
  max-width:210px;
  height:38px;
  padding:4px;
  background:var(--mh-search-bg) !important;
  border:1px solid rgba(184,155,122,.6) !important;
  border-radius:var(--mh-r) !important;
  box-shadow:none !important;
  transition:border-color .2s;
}
html body header.mhh .mhh-d .mhh-search:focus-within{border-color:var(--mh-main) !important}
html body header.mhh .mhh-d .mhh-search button{
  order:0;
  position:static !important;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:30px;
  height:30px;
  margin:0;
  padding:0;
  color:var(--mh-white) !important;
  background:var(--mh-main) !important;
  border:0 !important;
  border-radius:var(--mh-r) !important;
  cursor:pointer;
  transition:background .2s;
}
html body header.mhh .mhh-d .mhh-search button:hover{background:var(--mh-main-dark) !important}
html body header.mhh .mhh-d .mhh-search button .i{width:17px;height:17px}
html body header.mhh .mhh-d .mhh-search input[type="search"]{
  order:1;
  flex:1 1 auto;
  width:100%;
  min-width:0;
  height:100%;
  margin:0 !important;
  padding:0 10px !important;
  font-size:11.5px;
  font-weight:500;
  color:var(--mh-ink);
  text-align:right;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:0;
}
html body header.mhh .mhh-d .mhh-search input[type="search"]::placeholder{color:rgba(45,45,45,.6);opacity:1}

/* ---------- آیکن‌های علاقه‌مندی / مقایسه / حساب ---------- */
html body header.mhh .mhh-d .mhh-ib{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:36px;
  height:36px;
  color:var(--mh-ink) !important;
  background:var(--mh-white) !important;
  border:1px solid rgba(184,155,122,.35) !important;
  border-radius:var(--mh-r) !important;
  box-shadow:none !important;
  transition:background .2s,color .2s;
}
html body header.mhh .mhh-d .mhh-ib:hover{
  color:var(--mh-main) !important;
  background:rgba(122,15,36,.1) !important;
}
html body header.mhh .mhh-d .mhh-ib .i{width:19px;height:19px}

/* ---------- شمارنده‌ها ---------- */
html body header.mhh .mhh-d .mhh-b{
  position:absolute !important;
  top:-5px !important;
  left:-5px !important;
  right:auto !important;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:17px;
  height:17px;
  padding:0 4px;
  font-style:normal;
  font-size:9.5px;
  font-weight:700;
  line-height:1;
  color:var(--mh-white) !important;
  background:var(--mh-main) !important;
  border-radius:var(--mh-r) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.15);
}
html body header.mhh .mhh-d .mhh-b.k{background:var(--mh-accent) !important}
html body header.mhh .mhh-d .mhh-b[data-n="0"]{display:none}

/* ---------- جداکننده ---------- */
html body header.mhh .mhh-d .mhh-sep{
  display:block;
  flex:none;
  width:1px;
  height:20px;
  margin:0 2px;
  background:rgba(184,155,122,.35);
}

/* ---------- سبد خرید ---------- */
html body header.mhh .mhh-d .mhh-cart{
  display:flex;
  align-items:center;
  gap:8px;
  flex:none;
  padding:6px 12px;
  color:var(--mh-white) !important;
  background:var(--mh-main) !important;
  border-radius:var(--mh-r) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s;
}
html body header.mhh .mhh-d .mhh-cart:hover{background:var(--mh-main-dark) !important}
html body header.mhh .mhh-d .mhh-cw{position:relative;display:flex;align-items:center}
html body header.mhh .mhh-d .mhh-cw .i{width:19px;height:19px;color:var(--mh-white)}
html body header.mhh .mhh-d .mhh-cart .mhh-b{
  top:-9px !important;
  right:-9px !important;
  left:auto !important;
}
html body header.mhh .mhh-d .mhh-ct{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.25;
}
html body header.mhh .mhh-d .mhh-ct b{font-size:11.5px;font-weight:700;color:var(--mh-white) !important}
html body header.mhh .mhh-d .mhh-cart-total,
html body header.mhh .mhh-d .mhh-cart-total *{
  font-size:9.5px;
  font-weight:500;
  color:rgba(239,230,217,.92) !important;
}

/* ---------- حذف شعار زیر لوگو (دسکتاپ و موبایل) ---------- */
html body header.mhh .mhh-tag{display:none !important}

/* ================================================
   ارتفاع باکس هدر (دسکتاپ) – برای تغییر، فقط عدد زیر را عوض کنید
   ================================================ */
html body header.mhh{--mhh-h:88px}
html body header.mhh .mhh-d .mhh-bar,
html body header.mhh .mhh-d .mhh-side,
html body header.mhh .mhh-d .mhh-mid{
  height:var(--mhh-h) !important;
  min-height:var(--mhh-h) !important;
  box-sizing:border-box;
}
/* ---------- ترازِ منو (همه‌ی آیتم‌ها روی یک خط) ---------- */
html body header.mhh .mhh-d .mhh-menu > li{
  display:flex;
  align-items:center;
  height:38px;
  margin:0;
  padding:0;
}
html body header.mhh .mhh-d .mhh-menu > li > a{
  display:flex;
  align-items:center;
  height:100%;
  padding:0;
  line-height:1;
}
html body header.mhh .mhh-d .mhh-menu > li > a::after{bottom:2px}

/* ---------- مرتب‌سازی جستجو ---------- */
html body header.mhh .mhh-d .mhh-search{box-sizing:border-box;overflow:hidden}
html body header.mhh .mhh-d .mhh-search::before,
html body header.mhh .mhh-d .mhh-search::after{display:none !important}
html body header.mhh .mhh-d .mhh-search button{box-shadow:none !important;outline:0}

/* ================================================
   حذف فضای خالی بین هدر و اسلایدر
   ================================================ */
html body .whb-header:not(:has(.mhh)),
html body .whb-clone,
html body .whb-sticky-clone,
html body .whb-header-clone{display:none !important}

html body.home .website-wrapper,
html body.home .main-page-wrapper,
html body.home .main-page-wrapper > .container,
html body.home .site-content,
html body.home .entry-content,
html body.home .entry-content > .elementor,
html body.home .entry-content > .elementor > .elementor-element:first-child{
  margin-top:0 !important;
  padding-top:0 !important;
}
html body header.mhh{margin-bottom:12px !important}

/* ================================================
   اصلاحات نهایی
   ================================================ */

/* ---------- رنگ پشت هدر و گپ زیر آن = رنگ سایت (به‌جای سفید) ---------- */
html body,
html body .website-wrapper,
html body header.mhh{background-color:#f6f6f6 !important}

/* ---------- منو: فقط یک خط زرشکی زیر آیتم فعال ---------- */
html body header.mhh .mhh-d .mhh-menu > li::before,
html body header.mhh .mhh-d .mhh-menu > li::after,
html body header.mhh .mhh-d .mhh-menu > li > a::before{display:none !important;content:none !important}
html body header.mhh .mhh-d .mhh-menu > li,
html body header.mhh .mhh-d .mhh-menu > li > a{
  border:0 !important;
  box-shadow:none !important;
  background-image:none !important;
  text-decoration:none !important;
}
html body header.mhh .mhh-d .mhh-menu > li > a::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:2px !important;
  width:auto !important;
  height:2px !important;
  border-radius:2px !important;
  background:var(--mh-main) !important;
  transform:scaleX(0);
  opacity:1 !important;
  transition:transform .2s;
}
html body header.mhh .mhh-d .mhh-menu > li:hover > a::after,
html body header.mhh .mhh-d .mhh-menu > li.current-menu-item > a::after{transform:scaleX(1)}

/* ---------- جستجو: دکمه‌ی زرشکی با فاصله‌ی ۴ پیکسل از لبه‌ها (مثل گوگل) ---------- */
html body header.mhh .mhh-d .mhh-search{
  padding:4px !important;
  gap:4px;
  overflow:visible;
}
html body header.mhh .mhh-d .mhh-search button{
  margin:0 !important;
  width:30px !important;
  height:30px !important;
  border-radius:var(--mh-r) !important;
}

/* ---------- جستجو دسکتاپ: ارتفاع فیلد = دکمه + ۴ پیکسل فاصله از هر طرف ---------- */
html body header.mhh .mhh-d .mhh-search{
  height:40px !important;
  min-height:40px !important;
  max-height:40px !important;
  padding:4px !important;
  box-sizing:border-box !important;
}
html body header.mhh .mhh-d .mhh-search button{
  height:30px !important;
  width:30px !important;
  min-height:0 !important;
  align-self:center;
}

/* ================================================
   موبایل – همه‌ی دکمه‌ها هم‌اندازه (۳۶ پیکسل، گوشه ۸)
   سبد خرید و همبرگری زرشکی؛ جستجو، حساب و بقیه سفید
   ================================================ */
@media (max-width:1199px){
  /* دکمه‌ها بالاتر از قوس بنشینند و زیر آن نروند */
  html body header.mhh .mhh-m .mhh-bar > :not(.mhh-mid),
  html body header.mhh .mhh-m .mhh-side{position:relative;z-index:2}

  /* ۱) شکل و اندازه: برای همه‌ی دکمه‌ها یکسان (رنگ را دست نمی‌زند) */
  html body header.mhh .mhh-m :is(a,button)[aria-label]:not(nav *):not(form *):not(.mhh-logo),
  html body header.mhh .mhh-m .mhh-ib,
  html body header.mhh .mhh-m .mhh-cart{
    position:relative;
    display:flex !important;
    align-items:center;
    justify-content:center;
    flex:none;
    box-sizing:border-box;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    max-width:36px !important;
    min-height:36px !important;
    margin:0 !important;
    padding:0 !important;
    border-radius:var(--mh-r) !important;
    box-shadow:none !important;
  }
  html body header.mhh .mhh-m :is(a,button)[aria-label]:not(nav *):not(form *):not(.mhh-logo) .i,
  html body header.mhh .mhh-m .mhh-ib .i,
  html body header.mhh .mhh-m .mhh-cart .i{width:19px !important;height:19px !important;flex:none}

  /* ۲) دکمه‌های سفید */
  html body header.mhh .mhh-m :is(a,button)[aria-label*="جستجو"]:not(nav *):not(form *):not(.mhh-logo),
  html body header.mhh .mhh-m :is(a,button)[aria-label*="حساب"]:not(nav *):not(form *):not(.mhh-logo),
  html body header.mhh .mhh-m :is(a,button)[aria-label*="علاقه"]:not(nav *):not(form *):not(.mhh-logo),
  html body header.mhh .mhh-m :is(a,button)[aria-label*="مقایسه"]:not(nav *):not(form *):not(.mhh-logo){
    color:var(--mh-ink) !important;
    background:var(--mh-white) !important;
    border:1px solid rgba(184,155,122,.35) !important;
  }

  /* ۳) دکمه‌های زرشکی: سبد خرید + همبرگری */
  html body header.mhh.mhh .mhh-m .mhh-cart,
  html body header.mhh.mhh .mhh-m :is(a,button)[aria-label="سبد خرید"],
  html body header.mhh.mhh .mhh-m :is(a,button)[aria-label*="منو"]:not(nav *),
  html body header.mhh.mhh .mhh-m button[aria-label*="menu" i],
  html body header.mhh.mhh .mhh-m button[aria-controls*="menu" i],
  html body header.mhh.mhh .mhh-m button[aria-controls*="drawer" i]{
    color:var(--mh-white) !important;
    background:var(--mh-main) !important;
    border:1px solid var(--mh-main) !important;
  }
  html body header.mhh .mhh-m .mhh-cart .mhh-ct{display:none !important}

  /* شمارنده‌ها */
  html body header.mhh .mhh-m .mhh-b{
    position:absolute !important;
    top:-5px !important;
    left:-5px !important;
    right:auto !important;
    min-width:16px;
    height:16px;
    padding:0 4px;
    font-style:normal;
    font-size:9px;
    font-weight:800;
    line-height:16px;
    color:var(--mh-white) !important;
    background:var(--mh-main) !important;
    border-radius:var(--mh-r) !important;
  }
  html body header.mhh .mhh-m .mhh-b.k{background:var(--mh-accent) !important}
  html body header.mhh .mhh-m .mhh-b[data-n="0"]{display:none}

}

/* ================================================
   موبایل – نوار جستجوی بازشونده: دکمه‌ی زرشکی مربع (۳۴×۳۴، ۴ پیکسل فاصله)
   ================================================ */
@media (max-width:1199px){
  html body header.mhh .mhh-m form[role="search"],
  html body header.mhh .mhh-m .mhh-search{
    box-sizing:border-box;
    align-items:center;
    gap:4px;
    height:44px;
    min-height:44px;
    max-height:44px;
    padding:4px !important;
    background:var(--mh-search-bg) !important;
    border:1px solid rgba(184,155,122,.6) !important;
    border-radius:var(--mh-r) !important;
    box-shadow:none !important;
    overflow:hidden;
  }
  html body header.mhh .mhh-m form[role="search"] button,
  html body header.mhh .mhh-m .mhh-search button{
    position:static !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    align-self:center !important;
    flex:none !important;
    box-sizing:border-box;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    margin:0 !important;
    padding:0 !important;
    color:var(--mh-white) !important;
    background:var(--mh-main) !important;
    border:0 !important;
    border-radius:var(--mh-r) !important;
    box-shadow:none !important;
  }
  html body header.mhh .mhh-m form[role="search"] button .i,
  html body header.mhh .mhh-m .mhh-search button .i{width:18px !important;height:18px !important}
  html body header.mhh .mhh-m form[role="search"] input,
  html body header.mhh .mhh-m .mhh-search input{
    flex:1 1 auto;
    width:100%;
    min-width:0;
    height:100%;
    margin:0 !important;
    padding:0 10px !important;
    font-size:12px;
    font-weight:500;
    text-align:right;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0;
  }
}

/* ================================================
   عرض هدر = عرض اسلایدر
   برای تغییر عرض، فقط عدد --mhh-w را عوض کنید (عرض اسلایدر ۱۳۴۸ پیکسل است)
   ================================================ */
html body header.mhh{
  --mhh-w:1348px;
  padding-left:15px !important;
  padding-right:15px !important;
}
html body header.mhh .mhh-bar{
  max-width:var(--mhh-w) !important;
  width:100%;
  margin-left:auto !important;
  margin-right:auto !important;
}
@media (max-width:1199px){
  html body header.mhh{padding-left:14px !important;padding-right:14px !important}
}

/* ---------- با باریک‌تر شدن هدر، منو و دکمه‌ها داخل باکس جا شوند ---------- */
html body header.mhh .mhh-d .mhh-side{padding:0 16px !important}
html body header.mhh .mhh-d .mhh-side.r{gap:14px}
html body header.mhh .mhh-d .mhh-menu{gap:10px}
html body header.mhh .mhh-d .mhh-menu > li > a{font-size:12.5px}
html body header.mhh .mhh-d .mhh-cbtn{padding:0 10px;gap:6px}

@media (max-width:1400px){
  html body header.mhh .mhh-d .mhh-side{padding:0 12px !important}
  html body header.mhh .mhh-d .mhh-menu{gap:8px}
  html body header.mhh .mhh-d .mhh-menu > li > a{font-size:12px}
}
@media (max-width:1300px){
  html body header.mhh .mhh-d .mhh-cart .mhh-ct{display:none}
  html body header.mhh .mhh-d .mhh-search{max-width:160px}
}

/* ================================================
   نسخه‌ی زیباتر: جستجوی عریض‌تر، منوی تفکیک‌شده، آیکن سبد خرید چرخ‌دار
   ================================================ */
html body header.mhh{
  --mhh-cart-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20.5' r='1.3'/%3E%3Ccircle cx='19' cy='20.5' r='1.3'/%3E%3Cpath d='M1.5 2h3.6l2.5 12.4a2 2 0 0 0 2 1.6h9.4a2 2 0 0 0 2-1.5L22.5 7H6'/%3E%3C/svg%3E");
}

/* ---------- دو طرف هدر ---------- */
html body header.mhh .mhh-d .mhh-side.r{gap:12px;padding:0 14px 0 10px !important}
html body header.mhh .mhh-d .mhh-side.l{gap:6px;padding:0 10px 0 14px !important}

/* ---------- جستجوی عریض‌تر ---------- */
html body header.mhh .mhh-d .mhh-search{
  flex:1 1 260px !important;
  min-width:150px !important;
  max-width:340px !important;
}

/* ---------- سبد خرید دسکتاپ ---------- */
html body header.mhh .mhh-d .mhh-cart{padding:6px 10px;gap:8px}

/* ---------- منوی اصلی: آیتم‌های جدا با حالت هاور و فعال ---------- */
html body header.mhh .mhh-d .mhh-menu{gap:2px;align-items:center}
html body header.mhh .mhh-d .mhh-menu > li{height:auto}
html body header.mhh .mhh-d .mhh-menu > li > a{
  display:flex;
  align-items:center;
  height:34px;
  padding:0 7px;
  font-size:12.5px;
  font-weight:600;
  border-radius:var(--mh-r) !important;
  transition:background .2s,color .2s,box-shadow .2s;
}
html body header.mhh .mhh-d .mhh-menu > li > a::after{display:none !important}
html body header.mhh .mhh-d .mhh-menu > li:hover > a{
  background:rgba(122,15,36,.08) !important;
  color:var(--mh-main) !important;
}
html body header.mhh .mhh-d .mhh-menu > li.current-menu-item > a{
  background:var(--mh-white) !important;
  color:var(--mh-main) !important;
  font-weight:700;
  box-shadow:0 1px 3px rgba(122,15,36,.16) !important;
}

/* ---------- آیکن سبد خرید: چرخ فروشگاه (دسکتاپ و موبایل) ---------- */
html body header.mhh .mhh-d .mhh-cw .i,
html body header.mhh .mhh-m a[aria-label="سبد خرید"] > .i{display:none !important}
html body header.mhh .mhh-d .mhh-cw{color:var(--mh-white)}
html body header.mhh .mhh-d .mhh-cw::before,
html body header.mhh .mhh-m a[aria-label="سبد خرید"]::before{
  content:"";
  display:block;
  flex:none;
  width:21px;
  height:21px;
  background:currentColor;
  -webkit-mask:var(--mhh-cart-ico) center / contain no-repeat;
  mask:var(--mhh-cart-ico) center / contain no-repeat;
}

/* ---------- عرض‌های کوچک‌تر دسکتاپ ---------- */
@media (min-width:1200px) and (max-width:1400px){
  html body header.mhh .mhh-d .mhh-side.r,
  html body header.mhh .mhh-d .mhh-side.l{padding-left:10px !important;padding-right:10px !important}
  html body header.mhh .mhh-d .mhh-menu > li > a{padding:0 5px;font-size:12px}
  html body header.mhh .mhh-d .mhh-search{flex-basis:200px !important;max-width:240px !important}
}
@media (min-width:1200px) and (max-width:1300px){
  html body header.mhh .mhh-d .mhh-menu > li > a{padding:0 4px;font-size:11.5px}
  html body header.mhh .mhh-d .mhh-search{flex-basis:150px !important;max-width:170px !important}
}
/* ================================================
   مگا منوی دسته‌بندی: هاور (دسکتاپ) + نوشته‌های پررنگ‌تر (دسکتاپ و تبلت)
   ================================================ */

/* ---------- دسکتاپ: نوشته‌های پررنگ‌تر + هاور ---------- */
@media (min-width:1200px){
  /* دسته‌های اصلی (ستون راست) */
  html body header.mhh .mhh-mtabs > li > a.mhh-mtop{
    font-weight:700;
    color:#1f1f1f;
    transition:background .18s,color .18s,box-shadow .18s;
  }
  html body header.mhh .mhh-mtabs > li:hover > a.mhh-mtop,
  html body header.mhh .mhh-mtabs:not(:hover) > li:first-child > a.mhh-mtop{
    color:#7A0F24;
    background:rgba(122,15,36,.10);
    box-shadow:inset -3px 0 0 #7A0F24;
  }

  /* تیتر هر ستون */
  html body header.mhh .mhh-mega .mhh-mt{
    font-size:13.5px;
    font-weight:800;
    color:#1f1f1f;
    transition:color .18s,padding .18s;
  }
  html body header.mhh .mhh-mega .mhh-mt:hover{
    color:#7A0F24;
    padding-right:14px;
  }

  /* لینک زیردسته‌ها */
  html body header.mhh .mhh-mega .mhh-mc ul a{
    font-weight:600;
    color:#2D2D2D;
    border-radius:8px;
    transition:background .18s,color .18s,padding .18s;
  }
  html body header.mhh .mhh-mega .mhh-mc ul a:hover{
    color:#7A0F24;
    background:rgba(122,15,36,.09);
    padding-right:18px;
  }

  /* «مشاهده‌ی همه‌ی …» */
  html body header.mhh .mhh-mega .mhh-mall{font-weight:800}
  html body header.mhh .mhh-mega .mhh-mall:hover{text-decoration:underline;text-underline-offset:4px}
}

/* ---------- تبلت و موبایل: نوشته‌های پررنگ‌تر در منوی دسته‌بندی ---------- */
@media (max-width:1199px){
  html body header.mhh .mhh-mcats > li > a,
  html body header.mhh .mhh-mcats > li > details > summary{
    font-weight:800;
    color:#7A0F24;
  }
  html body header.mhh .mhh-mcats details ul a,
  html body header.mhh .mhh-mcats details ul summary{
    font-weight:600;
    color:#2D2D2D;
  }
  html body header.mhh .mhh-mcats details ul details > summary{font-weight:700;color:#1f1f1f}
}
/* ================================================
   هدر: حذف خط قرمز بالا + خط باریک خاکی دور تا دور (چپ، راست، بالا، پایین)
   ================================================ */

/* ---------- حذف خط قرمز بالا؛ جایش همان خط باریک خاکی پایین ---------- */
html body header.mhh .mhh-side{
  border-top:1px solid rgba(184,155,122,.4) !important;
}
/* ---------- خط دو لبه‌ی چپ و راست، مثل پایین ---------- */
html body header.mhh .mhh-side.r{border-right:1px solid rgba(184,155,122,.4)}
html body header.mhh .mhh-side.l{border-left:1px solid rgba(184,155,122,.4)}

/* ================================================
   دایره‌ی وسط هدر مهسیم – نسخه‌ی نهایی (جایگزین بلوک قبلی دایره)
   ✦ لوگو کمی بزرگ‌تر از دایره (کمی بیرون می‌زند)
   ✦ اتصال نوار به دایره با انحنای نرم (نه صاف)
   ✦ دایره از بالا و پایین نوار بیرون زده و از لبه‌ی هدر فاصله دارد

   تنظیمات سریع:
   --lh  = ارتفاع لوگو (بزرگ‌تر = بیشتر از دایره بیرون می‌زند)
   --ly  = میزان پایین آمدن لوگو (بزرگ‌تر = لوگو پایین‌تر)
   موبایل و تبلت هم‌نسبت دسکتاپ‌اند (ارتفاع نوار ۶۴ در برابر ۸۸)
   ================================================ */

/* ---------- فاصله‌ی هدر از بالا و پایین تا دایره کامل دیده شود ---------- */
html body header.mhh{
  padding-top:18px !important;
  padding-bottom:18px !important;
  margin-bottom:0 !important;
}

/* ---------- جعبه‌ی وسط (دسکتاپ) ----------
   ارتفاع نوار ۸۸، قطر دایره ۱۰۸ ← ۱۰ پیکسل از بالا و پایین بیرون می‌زند
   (اگر --mhh-h را عوض کردید، شکل SVG پایین هم باید تغییر کند) */
html body header.mhh .mhh-d .mhh-mid{
  --lh:185px;
  --ly:3px;
  position:relative;
  flex:none !important;
  width:156px !important;
  height:88px !important;
  min-height:88px !important;
  overflow:visible !important;
}

/* شکل یکپارچه‌ی نوار + دایره با انحنای نرم در محل اتصال */
html body header.mhh .mhh-d .mhh-mid::before{
  content:"" !important;
  position:absolute !important;
  top:-10px !important;
  left:0 !important;
  right:auto !important;
  bottom:auto !important;
  width:156px !important;
  height:108px !important;
  z-index:0;
  box-sizing:border-box;
  border:0 !important;
  border-radius:0 !important;
  pointer-events:none;
  background-color:transparent !important;
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='156' height='108' viewBox='0 -10 156 108'%3E%3Cpath fill='%23EFE6D9' d='M0 0H42.5A14 14 0 0 0 49.81 -2.06A54 54 0 0 1 106.19 -2.06A14 14 0 0 0 113.5 0H156V88H113.5A14 14 0 0 0 106.19 90.06A54 54 0 0 1 49.81 90.06A14 14 0 0 0 42.5 88H0Z'/%3E%3Cg fill='none' stroke='%23B89B7A' stroke-opacity='.45' stroke-width='1'%3E%3Cpath transform='translate(0 .5)' d='M0 0H42.5A14 14 0 0 0 49.81 -2.06A54 54 0 0 1 106.19 -2.06A14 14 0 0 0 113.5 0H156'/%3E%3Cpath transform='translate(0 -.5)' d='M0 88H42.5A14 14 0 0 1 49.81 90.06A54 54 0 0 0 106.19 90.06A14 14 0 0 1 113.5 88H156'/%3E%3C/g%3E%3C/svg%3E") !important;
}

/* ---------- جعبه‌ی وسط (موبایل و تبلت) ---------- */
@media (max-width:1199px){
  html body header.mhh{
    padding-top:14px !important;
    padding-bottom:14px !important;
  }
  html body header.mhh .mhh-m .mhh-mid{
    --lh:135px;
    --ly:2px;
    position:relative;
    flex:none !important;
    width:110px !important;
    height:64px !important;
    min-height:64px !important;
    overflow:visible !important;
  }
  html body header.mhh .mhh-m .mhh-mid::before{
    content:"" !important;
    position:absolute !important;
    top:-7px !important;
    left:0 !important;
    right:auto !important;
    bottom:auto !important;
    width:110px !important;
    height:78px !important;
    z-index:0;
    box-sizing:border-box;
    border:0 !important;
    border-radius:0 !important;
    pointer-events:none;
    background-color:transparent !important;
    background-repeat:no-repeat !important;
    background-size:100% 100% !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='78' viewBox='0 -7 110 78'%3E%3Cpath fill='%23EFE6D9' d='M0 0H29.76A10 10 0 0 0 34.91 -1.43A39 39 0 0 1 75.09 -1.43A10 10 0 0 0 80.24 0H110V64H80.24A10 10 0 0 0 75.09 65.43A39 39 0 0 1 34.91 65.43A10 10 0 0 0 29.76 64H0Z'/%3E%3Cg fill='none' stroke='%23B89B7A' stroke-opacity='.45' stroke-width='1'%3E%3Cpath transform='translate(0 .5)' d='M0 0H29.76A10 10 0 0 0 34.91 -1.43A39 39 0 0 1 75.09 -1.43A10 10 0 0 0 80.24 0H110'/%3E%3Cpath transform='translate(0 -.5)' d='M0 64H29.76A10 10 0 0 1 34.91 65.43A39 39 0 0 0 75.09 65.43A10 10 0 0 1 80.24 64H110'/%3E%3C/g%3E%3C/svg%3E") !important;
  }
}

/* ---------- حذف دایره‌ی قدیمی و قوس قدیمی ---------- */
html body header.mhh .mhh-mid::after{display:none !important;content:none !important}
html body header.mhh .mhh-mid .bg{display:none !important}

/* ---------- لوگو: وسط دایره، کمی بزرگ‌تر از آن (کمی پایین‌تر با --ly) ---------- */
html body header.mhh .mhh-mid a.mhh-logo{
  position:absolute !important;
  z-index:2;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  transform:translate(-50%,calc(-50% + var(--ly,0px))) !important;
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body header.mhh .mhh-mid a.mhh-logo img{
  display:block;
  width:auto !important;
  height:var(--lh) !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain;
  /* لوگوی جدید */
  content:url("https://mahsym.ir/wp-content/uploads/2026/12/%D9%85%D9%87%D8%B3%DB%8C%D9%85-%D8%B2%D8%B1%D8%B4%DA%A9%DB%8C.svg") !important;
}