/* MAKIN CONTROL â€” 04-woocommerce-cards.css
 * WooCommerce product cards and sale badge
 * Extracted from original style.css lines 2027-2375; load order must remain unchanged.
 */
/* ==========================================================================
   MAKIN CONTROL v34 â€” ع©ط§ط±طھâ€Œظ‡ط§غŒ غŒع©â€Œط§ظ†ط¯ط§ط²ظ‡ ظپط±ظˆط´ع¯ط§ظ‡ ظˆظˆع©ط§ظ…ط±ط³
   ظ‡ط¯ظپ:
   - ط§ط±طھظپط§ط¹ طھظ…ط§ظ… ع©ط§ط±طھâ€Œظ‡ط§ غŒع©ط³ط§ظ† ط¨ط§ط´ط¯.
   - ظپط¶ط§غŒ ط¹ع©ط³طŒ ط¹ظ†ظˆط§ظ†طŒ ظ‚غŒظ…طھ ظˆ ط¯ع©ظ…ظ‡ ط¯ط± ظ‡ظ…ظ‡ ظ…ط­طµظˆظ„ط§طھ ظ‡ظ…â€Œطھط±ط§ط² ط¨ط§ط´ط¯.
   - ظ…طھظ† ط¨ظ„ظ†ط¯ غŒع© ظ…ط­طµظˆظ„ ط¨ط§ط¹ط« ط¬ط§ط¨ظ‡â€Œط¬ط§غŒغŒ ط¯ع©ظ…ظ‡ ط®ط±غŒط¯ ظ†ط´ظˆط¯.
   - ط¸ط§ظ‡ط± ط¯ط³ع©طھط§ظ¾طŒ طھط¨ظ„طھ ظˆ ظ…ظˆط¨ط§غŒظ„ غŒع©ظ¾ط§ط±ع†ظ‡ ظˆ ظ…ط±طھط¨ ط¨ظ…ط§ظ†ط¯.
   ========================================================================== */

/* ط®ظˆط¯ ع¯ط±غŒط¯: ظ‡ظ…ظ‡ ط¢غŒطھظ…â€Œظ‡ط§غŒ ظ‡ط± ط±ط¯غŒظپ ط§ط±طھظپط§ط¹ ط¨ط±ط§ط¨ط± ظ…غŒâ€Œع¯غŒط±ظ†ط¯ */
body.woocommerce-shop ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.home .mc-site .woocommerce ul.products{
  align-items:stretch!important;
}

/* ع©ط§ط±طھ ط§طµظ„غŒ ظ…ط­طµظˆظ„ */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
body.home .mc-site .woocommerce ul.products li.product{
  position:relative!important;
  height:100%!important;
  min-height:455px!important;
  margin-bottom:0!important;
  padding:14px 14px 15px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid #e1eae4!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:0 6px 22px rgba(17,70,43,.055)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover,
body.home .mc-site .woocommerce ul.products li.product:hover{
  transform:translateY(-4px)!important;
  border-color:#c9ded1!important;
  box-shadow:0 15px 35px rgba(17,70,43,.11)!important;
}

/* ظ„غŒظ†ع© ظ…ط­طµظˆظ„ ظ†غŒط² ط¨ظ‡â€Œطµظˆط±طھ ط³طھظˆظ† ع©ط§ظ…ظ„ ع©ط§ط± ظ…غŒâ€Œع©ظ†ط¯ */
body.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
body.woocommerce ul.products li.product .woocommerce-loop-product__link,
body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link,
body.home .mc-site .woocommerce ul.products li.product .woocommerce-LoopProduct-link{
  width:100%!important;
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  color:inherit!important;
  text-decoration:none!important;
}

/* ظ†ط§ط­غŒظ‡ طھطµظˆغŒط±: ط§ط±طھظپط§ط¹ ط«ط§ط¨طھ ط¨ط±ط§غŒ ظ‡ظ…ظ‡ ظ…ط­طµظˆظ„ط§طھ */
body.woocommerce ul.products li.product .woocommerce-LoopProduct-link > img,
body.woocommerce ul.products li.product .woocommerce-loop-product__link > img,
body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link > img,
body.home .mc-site .woocommerce ul.products li.product img{
  width:100%!important;
  height:235px!important;
  min-height:235px!important;
  max-height:235px!important;
  margin:0 0 14px!important;
  padding:10px!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:12px!important;
  background:#f8fbf9!important;
}

/* ط¹ظ†ظˆط§ظ†: ط¯ظˆ ط®ط· ط«ط§ط¨طھ طھط§ ع©ط§ط±طھâ€Œظ‡ط§ ط¨ط§ ط¹ظ†ظˆط§ظ† ط¨ظ„ظ†ط¯ ظˆ ع©ظˆطھط§ظ‡ ظ‡ظ…â€Œط§ظ†ط¯ط§ط²ظ‡ ط¨ظ…ط§ظ†ظ†ط¯ */
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body.home .mc-site .woocommerce ul.products li.product .woocommerce-loop-product__title{
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  margin:0 2px 8px!important;
  padding:0!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  color:#183f2b!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:2!important;
}

/* ط§ظ…طھغŒط§ط²: ظپط¶ط§غŒ ط±ط²ط±ظˆط´ط¯ظ‡ ط«ط§ط¨طھ */
body.woocommerce ul.products li.product .star-rating,
body.woocommerce-page ul.products li.product .star-rating{
  height:15px!important;
  min-height:15px!important;
  margin:0 2px 8px!important;
  font-size:11px!important;
}

/* ظ‚غŒظ…طھ: ط§ط±طھظپط§ط¹ ط«ط§ط¨طھط› ظ‚غŒظ…طھ ط­ط±ط§ط¬غŒ ظ‡ظ… ط¨ط§ط¹ط« طھط؛غŒغŒط± ع†غŒط¯ظ…ط§ظ† ظ†ظ…غŒâ€Œط´ظˆط¯ */
body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price,
body.home .mc-site .woocommerce ul.products li.product .price{
  min-height:44px!important;
  margin:0 2px 10px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  align-content:center!important;
  gap:3px 7px!important;
  color:#137345!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.7!important;
}
body.woocommerce ul.products li.product .price del{
  color:#9aa59f!important;
  font-size:10px!important;
  opacity:.85!important;
}
body.woocommerce ul.products li.product .price ins{
  color:#137345!important;
  background:transparent!important;
  text-decoration:none!important;
}

/* ط¯ع©ظ…ظ‡ ط®ط±غŒط¯: ط¯ظ‚غŒظ‚ط§ظ‹ غŒع© ط§ط±طھظپط§ط¹ ظˆ غŒع© ظ…ظˆظ‚ط¹غŒطھ ط¯ط± ظ‡ظ…ظ‡ ع©ط§ط±طھâ€Œظ‡ط§ */
body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button,
body.home .mc-site .woocommerce ul.products li.product .button{
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  margin:auto 0 0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:10px!important;
  background:#16834b!important;
  color:#fff!important;
  box-shadow:none!important;
  font-family:'Yekan',Tahoma,sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:background .2s ease,transform .2s ease!important;
}
body.woocommerce ul.products li.product .button:hover,
body.woocommerce-page ul.products li.product .button:hover{
  background:#0f6339!important;
}

/* ظ„غŒظ†ع© آ«ظ…ط´ط§ظ‡ط¯ظ‡ ط³ط¨ط¯آ» ط¨ط¹ط¯ ط§ط² ط§ظپط²ظˆط¯ظ† ظ…ط­طµظˆظ„ */
body.woocommerce ul.products li.product a.added_to_cart,
body.woocommerce-page ul.products li.product a.added_to_cart{
  width:100%!important;
  min-height:34px!important;
  margin:7px 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:8px!important;
  background:#edf7f1!important;
  color:#126b40!important;
  font-size:10px!important;
  font-weight:700!important;
  text-decoration:none!important;
}

/* ظ†ط´ط§ظ† ط­ط±ط§ط¬ */
body.woocommerce ul.products li.product .onsale,
body.woocommerce-page ul.products li.product .onsale{
  top:24px!important;
  right:24px!important;
  left:auto!important;
  min-width:45px!important;
  min-height:27px!important;
  margin:0!important;
  padding:5px 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#16834b!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1!important;
  z-index:4!important;
}

/* طھط¨ظ„طھ */
@media(max-width:900px){
  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product,
  body.home .mc-site .woocommerce ul.products li.product{
    min-height:430px!important;
  }
  body.woocommerce ul.products li.product .woocommerce-LoopProduct-link > img,
  body.woocommerce ul.products li.product .woocommerce-loop-product__link > img,
  body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link > img,
  body.home .mc-site .woocommerce ul.products li.product img{
    height:210px!important;
    min-height:210px!important;
    max-height:210px!important;
  }
}

/* ظ…ظˆط¨ط§غŒظ„: ع©ط§ط±طھâ€Œظ‡ط§ ظ‡ظ…ع†ظ†ط§ظ† ظ‡ظ…â€Œط§ظ†ط¯ط§ط²ظ‡ ظˆظ„غŒ ظپط´ط±ط¯ظ‡â€Œطھط± */
@media(max-width:600px){
  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product,
  body.home .mc-site .woocommerce ul.products li.product{
    min-height:375px!important;
    padding:10px!important;
    border-radius:14px!important;
  }
  body.woocommerce ul.products li.product .woocommerce-LoopProduct-link > img,
  body.woocommerce ul.products li.product .woocommerce-loop-product__link > img,
  body.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link > img,
  body.home .mc-site .woocommerce ul.products li.product img{
    height:165px!important;
    min-height:165px!important;
    max-height:165px!important;
    margin-bottom:10px!important;
    padding:7px!important;
  }
  body.woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  body.home .mc-site .woocommerce ul.products li.product .woocommerce-loop-product__title{
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    font-size:11px!important;
  }
  body.woocommerce ul.products li.product .price,
  body.woocommerce-page ul.products li.product .price{
    min-height:39px!important;
    font-size:11px!important;
  }
  body.woocommerce ul.products li.product .button,
  body.woocommerce-page ul.products li.product .button{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:0 7px!important;
    font-size:10px!important;
  }
}


/* ==========================================================================
   MAKIN CONTROL v35 â€” ظ†ط´ط§ظ† آ«ظپط±ظˆط´ ظˆغŒعکظ‡آ» ط¨ط§ ط¸ط§ظ‡ط± ظ‚ظ„ظ…ظˆغŒ ط±ظ†ع¯
   ========================================================================== */
body.woocommerce ul.products li.product .onsale.mc-special-sale,
body.woocommerce-page ul.products li.product .onsale.mc-special-sale,
body.home .mc-site .woocommerce ul.products li.product .onsale.mc-special-sale,
body.single-product .onsale.mc-special-sale{
  position:absolute!important;
  top:18px!important;
  right:14px!important;
  left:auto!important;
  width:auto!important;
  min-width:78px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 14px 1px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  border:0!important;
  border-radius:3px 10px 4px 8px!important;
  background:linear-gradient(100deg,#e94b35 0%,#df3f2f 55%,#f0643e 100%)!important;
  color:#fff!important;
  box-shadow:0 5px 13px rgba(170,54,37,.22)!important;
  font-family:'IRANSans','Yekan',Tahoma,sans-serif!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:0!important;
  transform:rotate(-2deg)!important;
  z-index:8!important;
}

/* ظ„ط¨ظ‡â€Œظ‡ط§غŒ ظ†ط§ظ…ظ†ط¸ظ…طŒ ط´ط¨غŒظ‡ ط±ط¯ ظ‚ظ„ظ…â€Œظ…ظˆ */
body.woocommerce ul.products li.product .onsale.mc-special-sale::before,
body.woocommerce-page ul.products li.product .onsale.mc-special-sale::before,
body.home .mc-site .woocommerce ul.products li.product .onsale.mc-special-sale::before,
body.single-product .onsale.mc-special-sale::before{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  inset:-3px -6px -3px -5px!important;
  background:inherit!important;
  clip-path:polygon(
    2% 18%,9% 8%,18% 13%,27% 4%,39% 11%,50% 5%,61% 12%,73% 6%,84% 13%,98% 8%,
    95% 29%,100% 43%,95% 57%,99% 74%,91% 91%,79% 86%,67% 96%,55% 88%,42% 95%,
    31% 87%,19% 94%,8% 84%,4% 66%,0 52%,5% 37%
  )!important;
  opacity:.98!important;
}

/* ع†ظ†ط¯ ط±ط¯ ط¨ط§ط±غŒع© ط¯ط± ط§ظ†طھظ‡ط§غŒ ظ‚ظ„ظ…â€Œظ…ظˆ */
body.woocommerce ul.products li.product .onsale.mc-special-sale::after,
body.woocommerce-page ul.products li.product .onsale.mc-special-sale::after,
body.home .mc-site .woocommerce ul.products li.product .onsale.mc-special-sale::after,
body.single-product .onsale.mc-special-sale::after{
  content:""!important;
  position:absolute!important;
  right:-8px!important;
  bottom:4px!important;
  width:15px!important;
  height:3px!important;
  border-radius:999px!important;
  background:#e94b35!important;
  box-shadow:
    3px -7px 0 -1px #e94b35,
    1px 7px 0 -1px #f0643e!important;
  opacity:.9!important;
}

/* ظ…ظˆط¨ط§غŒظ„: ع©ظ…غŒ ط¬ظ…ط¹â€Œظˆط¬ظˆط±طھط± */
@media(max-width:600px){
  body.woocommerce ul.products li.product .onsale.mc-special-sale,
  body.woocommerce-page ul.products li.product .onsale.mc-special-sale,
  body.home .mc-site .woocommerce ul.products li.product .onsale.mc-special-sale{
    top:13px!important;
    right:9px!important;
    min-width:68px!important;
    height:30px!important;
    min-height:30px!important;
    padding-inline:11px!important;
    font-size:9px!important;
  }
}


