.elementor-2536 .elementor-element.elementor-element-51635c3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2536 .elementor-element.elementor-element-ffed775{--divider-border-style:solid;--divider-color:#000;--divider-element-spacing:15px;}.elementor-2536 .elementor-element.elementor-element-ffed775 .elementor-divider-separator{width:100%;}.elementor-2536 .elementor-element.elementor-element-ffed775 .elementor-divider{padding-block-start:15px;padding-block-end:15px;}.elementor-2536 .elementor-element.elementor-element-ffed775 .elementor-divider__text{color:var( --e-global-color-text );font-size:25px;font-weight:600;}.elementor-2536 .elementor-element.elementor-element-27d408a{--divider-border-style:solid;--divider-color:#000;--divider-element-spacing:15px;}.elementor-2536 .elementor-element.elementor-element-27d408a .elementor-divider-separator{width:100%;margin:0 auto;margin-right:0;}.elementor-2536 .elementor-element.elementor-element-27d408a .elementor-divider{text-align:right;padding-block-start:15px;padding-block-end:15px;}.elementor-2536 .elementor-element.elementor-element-27d408a .elementor-divider__text{color:var( --e-global-color-text );font-size:25px;font-weight:600;}.elementor-2536 .elementor-element.elementor-element-e313fbc.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-2536 .elementor-element.elementor-element-e313fbc nav.woocommerce-pagination{margin-top:15px;font-family:"IRANYekanX", Sans-serif;}.elementor-2536 .elementor-element.elementor-element-e313fbc.elementor-wc-products ul.products li.product span.onsale{display:block;font-weight:600;min-height:33px;line-height:33px;}.elementor-2536 .elementor-element.elementor-element-e313fbc .elementor-products-nothing-found{color:var( --e-global-color-text );}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:1024px){.elementor-2536 .elementor-element.elementor-element-e313fbc.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-2536 .elementor-element.elementor-element-e313fbc.elementor-wc-products ul.products li.product{text-align:center;}.elementor-2536 .elementor-element.elementor-element-e313fbc.elementor-wc-products ul.products li.product span.onsale{font-size:13px;}}/* Start custom CSS for wc-archive-products, class: .elementor-element-e313fbc *//* ====== لیست محصولات ====== */
ul.products.elementor-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 25px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ====== کارت محصول ====== */
ul.products li.product {
  background: #ffffff !important;
  border-radius: 0 !important; /* گوشه تیز */
  overflow: hidden !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease-in-out !important;
  text-align: center !important;
  padding: 15px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1) !important;
  border-color: #ccc !important;
}

/* ====== تصویر محصول ====== */
ul.products li.product img {
  border-radius: 0 !important; /* گوشه تیز */
  width: 100% !important;
  height: auto !important;
  margin-bottom: 12px !important;
  transition: transform 0.3s ease !important;
}

ul.products li.product:hover img {
  transform: scale(1.05) !important;
}

/* ====== عنوان محصول ====== */
ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  margin: 10px 0 !important;
  min-height: 48px !important;
  line-height: 1.5 !important;
  transition: color 0.2s !important;
}

ul.products li.product:hover .woocommerce-loop-product__title {
  color: #555 !important; /* خاکستری تیره روی هاور */
}

/* ====== قیمت ====== */
ul.products li.product .price {
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #000 !important;
  margin: 8px 0 !important;
}

/* ====== دکمه افزودن به سبد خرید ====== */
ul.products li.product .button {
  background: #111 !important; /* مشکی مات */
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important; /* گوشه تیز */
  padding: 10px 15px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  margin-top: auto !important;
}

ul.products li.product .button:hover {
  background: #fff !important; /* سفید */
  color: #000 !important; /* متن مشکی */
  border: 1px solid #000 !important;
  transform: translateY(-2px) !important;
}

/* ====== امتیاز ستاره‌ها ====== */
ul.products li.product .star-rating {
  margin: 6px auto !important;
  color: #222 !important;
  font-size: 0.9rem !important;
}


/* ====== دو ستونه شدن در موبایل ====== */
@media (max-width: 768px) {
  ul.products.elementor-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important; /* فاصله کمتر برای موبایل */
  }
}


.woocommerce ul.products li.product .onsale{
    background-color: #000;
    border-radius: 0;
    left: auto;
    right: 0;
    margin: 0;
    padding-right: 10px !important;
    padding-left: 10px !important;
    
}/* End custom CSS */