*{
    font-family:Yekan Bakh;
}





/*
Theme Name: Hello Elementor Child
Theme URI: https://your-site.com
Description: Child theme for Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
/* ===== Mini Cart (Exact Layout Requested) ===== */
.zmc-wrap{
  direction: rtl;
  width: 100%;
  max-width: 355px;
  box-sizing: border-box;
  background:#fff;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  font-family: "Yekan Bakh", sans-serif;
}

.zmc-close{
  position:absolute;
  top:10px;
  left:10px;
  border:0;
  background:transparent;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  color:#000;
  opacity:.7;
}

/* item stack: image then title then prices then discount then qty */
.zmc-item{ padding-bottom: 16px;padding-top: 16px;

    
    
}

.elementor-menu-cart__main
{
    border-radius:12px !important;
}

/* line 1: image right */
.zmc-thumb{
  width: 100%;
  display:flex;
  justify-content:flex-start;
}
.zmc-thumb img{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

/* line 2: title */
.zmc-title{
  width: 100%;
  margin-top: 8px;
  font-weight:700;
  font-size:14px;
  line-height:24px;
  text-align:right;
  color:#000;
}
.zmc-title a{ color:inherit; text-decoration:none; }

/* line 3: prices */
.zmc-prices{
  width: 100%;
  margin-top: 4px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  font-weight:400;
  font-size:14px;
  line-height:24px;
  text-align:right;
  color:#000;
}
.zmc-sep{ opacity:.7; }
.zmc-regular{ text-decoration: line-through; opacity:.6; }

/* line 4: discount (only when exists) */
.zmc-discount{
  width: 100%;
  margin-top: 8px;
  display:flex;
  align-items:center;
  gap:8px;
}
.zmc-disc-icon{
  width:16px;
  height:16px;
  border-radius:999px !important; /* باید دایره باشد */
  display:block;
}
.zmc-discount-text{
  font-weight:400;
  font-size:14px;
  line-height:24px;
  color:#737373;
}

/* line 5: qty box aligned to right */
.zmc-qtybox{
  width:116px;
  height:44px;
  border:1px solid #011F5B;
  border-radius:8px;
  padding:10px 16px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top: 12px;

  direction:ltr;      /* ترتیب: - چپ، متن وسط، + راست */
}
.zmc-iconbtn{
  width:16px;
  height:16px;
  padding:0;
  border:0;
  background:transparent;
  color:#011F5B;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.zmc-qtytext{
  direction: rtl;
  font-weight:700;
  font-size:16px;
  line-height:28px;
  color:#000;
  white-space:nowrap;
}

/* hr */
.zmc-hr{
  width: 100%;
  border:0;
  border-top:1px solid #C8C8C8;
  margin: 16px 0;
}

/* footer buttons: right Continue (white), left Checkout (blue) */
.zmc-actions{
  display:flex;
  flex-wrap: wrap;
  gap:12px;
  margin-top: 8px;
  direction: rtl; /* اولی بره سمت راست */
}
.zmc-btn{
  flex:1;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:700;
  font-size:16px;
  line-height:28px;
}
.zmc-btn-outline{
  background:#fff;
  border:1px solid #011F5B;
  color:#011F5B;
}
.zmc-btn-solid{
  background:#011F5B;
  border:1px solid #011F5B;
  color:#fff;
}

.zmc-empty{
  padding:24px 0;
  text-align:center;
  color:#737373;
  font-size:14px;
  line-height:24px;
}


/* Keep cart/view-cart button hover/focus unchanged (theme/Elementor hover overrides) */
.zmc-btn-cart:hover,
.zmc-btn-cart:focus,
.zmc-btn-cart:active,
.zmc-wrap .zmc-btn-solid:hover,
.zmc-wrap .zmc-btn-solid:focus,
.zmc-wrap .zmc-btn-solid:active{
  background:#011F5B !important;
  border-color:#011F5B !important;
  color:#fff !important;
  text-decoration:none !important;
  box-shadow:none !important;
  transform:none !important;
  filter:none !important;
  opacity:1 !important;
}


.zmc-title{
  word-break: break-word;
}

@media (max-width: 420px){
  .zmc-actions{
    flex-direction: column;
  }
  .zmc-btn{
    width: 100%;
  }
}

/* Prevent hover state changes on qty +/- buttons */
.zmc-wrap .zmc-qtybox .mc-qty-btn,
.zmc-wrap .zmc-qtybox .mc-qty-btn:hover,
.zmc-wrap .zmc-qtybox .mc-qty-btn:focus,
.zmc-wrap .zmc-qtybox .mc-qty-btn:active,
.zmc-wrap .zmc-qtybox .zmc-iconbtn:hover,
.zmc-wrap .zmc-qtybox .zmc-iconbtn:focus,
.zmc-wrap .zmc-qtybox .zmc-iconbtn:active{
  background: transparent !important;
  color: #011F5B !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* View-cart button: keep label on one line (prevents messy wrap) */
.zmc-wrap .zmc-actions .zmc-btn-cart{
  white-space: nowrap;
  font-size: 14px;
  line-height: 24px;
  padding: 0 10px;
  box-sizing: border-box;
}




/* ===== WOOF Filter Header (Figma style) ===== */
.woof .z-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
  direction:rtl;
}

.woof .z-filter-title{
  margin:0;
  color:#111827;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
}

.woof .z-filter-actions{
  display:flex;
  align-items:center;
  gap:6px;
  direction:rtl; /* ترتیب RTL درست بماند */
}

/* متن "حذف فیلترها" مثل لینک (نه دکمه) */
.woof .z-filter-reset{
  appearance:none;
  -webkit-appearance:none;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  color:#111827 !important;
  font-size:12px;
  font-weight:500;
  line-height:1.2;
  cursor:pointer;
  text-decoration:none; /* اگر در فیگما زیرخط دارد، این را underline کن */
  font-family:inherit;
}

/* آیکن مربع کوچک کنار "حذف فیلترها" */
.woof .z-filter-toggle{
  appearance:none;
  -webkit-appearance:none;
  width:12px;
  height:12px;
  min-width:12px;
  border:1px solid #111827 !important;
  border-radius:2px;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  position:relative;
  cursor:pointer;
  display:inline-block;
  vertical-align:middle;
}

/* حالت باز = آیکن منفی */
.woof .z-filter-toggle::before{
  content:"";
  position:absolute;
  left:2px;
  right:2px;
  top:50%;
  height:1px;
  background:#111827;
  transform:translateY(-50%);
}

/* حالت بسته = آیکن مثبت */
.woof .z-filter-toggle[aria-expanded="false"]::after{
  content:"";
  position:absolute;
  top:2px;
  bottom:2px;
  left:50%;
  width:1px;
  background:#111827;
  transform:translateX(-50%);
}

/* خط جداکننده زیر هدر */
.woof .z-filter-line{
  height:1px;
  background:#E5E7EB;
  margin:0 0 12px;
}

/* برای جلوگیری از استایل‌های سراسری Elementor/WP روی button */
.woof .z-filter-reset:focus,
.woof .z-filter-toggle:focus{
  outline:none;
  box-shadow:none !important;
}
