.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-15946 .elementor-element.elementor-element-529d64c .elementor-heading-title{font-family:"IRANYekanX", Sans-serif;font-weight:600;color:#000000;}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products{--products-title-color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-15946 .elementor-element.elementor-element-7b52e9f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-15946 .elementor-element.elementor-element-7b52e9f.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:1024px){.elementor-15946 .elementor-element.elementor-element-7b52e9f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-15946 .elementor-element.elementor-element-7b52e9f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for section, class: .elementor-element-d98f7b1 *//* ═══════════════════════════════════════════
   sbimed.com — WooCommerce Shop CSS
   برای صفحه shop که sidebar داره
   بذار تو Elementor → این section → Advanced → Custom CSS
   یا Appearance → Customize → Additional CSS
═══════════════════════════════════════════ */

/* ── RESET PINK BORDERS ── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  outline: none !important;
  border: 1px solid rgba(0,0,0,.07) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  transition: transform .3s ease, box-shadow .3s ease !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product:focus,
.woocommerce ul.products li.product:focus-within,
.woocommerce-page ul.products li.product:focus,
.woocommerce-page ul.products li.product:focus-within {
  outline: none !important;
  border-color: rgba(0,0,0,.07) !important;
  box-shadow: none !important;
}

/* ── GRID ── */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
}

/* ── CARD HOVER ── */
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.1) !important;
  border-color: rgba(176,16,32,.15) !important;
}

/* خط قرمز پایین کارت */
.woocommerce ul.products li.product::after,
.woocommerce-page ul.products li.product::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 0 !important;
  height: 3px !important;
  background: #b01020 !important;
  transition: width .4s ease !important;
  border-radius: 0 0 14px 14px !important;
}

.woocommerce ul.products li.product:hover::after,
.woocommerce-page ul.products li.product:hover::after {
  width: 100% !important;
}

/* ── IMAGE ── */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  background: #f7f7f7 !important;
  padding: 20px !important;
  margin: 0 !important;
  display: block !important;
  transition: transform .4s ease !important;
  border-bottom: 1px solid rgba(0,0,0,.05) !important;
}

.woocommerce ul.products li.product:hover a img,
.woocommerce-page ul.products li.product:hover a img {
  transform: scale(1.06) !important;
}

/* ── TITLE ── */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce-page ul.products li.product h2.woocommerce-loop-product__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  padding: 12px 14px 4px !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  flex: 1 !important;
}

/* ── PRICE ── */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #b01020 !important;
  padding: 2px 14px 10px !important;
  display: block !important;
  margin: 0 !important;
}

/* ── BUTTON ── */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button {
  display: block !important;
  width: calc(100% - 28px) !important;
  margin: 0 14px 14px !important;
  padding: 9px 12px !important;
  background: #1a1a1a !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: none !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .2s ease !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover,
.woocommerce-page ul.products li.product a.button:hover {
  background: #b01020 !important;
  color: #fff !important;
}

/* ── SALE BADGE ── */
.woocommerce span.onsale {
  background: #b01020 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.5 !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
}

/* ── SIDEBAR CATEGORIES ── */
.widget_product_categories .product-categories,
.widget ul.product-categories {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.widget_product_categories .product-categories li a,
.widget ul.product-categories li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 14px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #444 !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
  border: 1.5px solid transparent !important;
}

.widget_product_categories .product-categories li a:hover,
.widget ul.product-categories li a:hover {
  background: rgba(176,16,32,.05) !important;
  color: #b01020 !important;
  border-color: rgba(176,16,32,.15) !important;
}

.widget_product_categories .product-categories li.current-cat > a,
.widget ul.product-categories li.current-cat > a {
  background: #b01020 !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-color: #b01020 !important;
}

/* Count */
.widget_product_categories .product-categories .count,
.widget ul.product-categories .count {
  font-size: 11px !important;
  background: rgba(0,0,0,.08) !important;
  border-radius: 20px !important;
  padding: 1px 8px !important;
  color: #888 !important;
  font-weight: 400 !important;
}

.widget_product_categories .product-categories li.current-cat .count,
.widget ul.product-categories li.current-cat .count {
  background: rgba(255,255,255,.25) !important;
  color: #fff !important;
}

/* sub-categories */
.widget_product_categories .product-categories li ul.children,
.widget ul.product-categories li ul.children {
  padding-right: 12px !important;
  margin-top: 4px !important;
  list-style: none !important;
}

/* ── WIDGET TITLE ── */
.widget-title,
.widgettitle {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #b01020 !important;
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(0,0,0,.08) !important;
}

/* ── SEARCH WIDGET ── */
.widget_product_search input[type="search"],
.widget_product_search .woocommerce-product-search input {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  outline: none !important;
  transition: border-color .2s !important;
  direction: rtl !important;
  box-sizing: border-box !important;
}

.widget_product_search input[type="search"]:focus {
  border-color: #b01020 !important;
}

.widget_product_search button,
.widget_product_search input[type="submit"] {
  width: 100% !important;
  margin-top: 8px !important;
  padding: 10px !important;
  background: #1a1a1a !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background .2s !important;
}

.widget_product_search button:hover,
.widget_product_search input[type="submit"]:hover {
  background: #b01020 !important;
}

/* ── TOOLBAR ── */
.woocommerce-result-count {
  font-size: 12px !important;
  color: #888 !important;
}

.woocommerce-ordering select {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  background: #fff !important;
  outline: none !important;
  cursor: pointer !important;
}

/* ── PAGE TITLE ── */
.woocommerce-products-header__title,
h1.page-title {
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #111 !important;
  margin-bottom: 20px !important;
}

/* ── PAGINATION ── */
.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  border: 1px solid #e0e0e0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #555 !important;
  transition: all .2s !important;
  background: #fff !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #b01020 !important;
  border-color: #b01020 !important;
  color: #fff !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    height: 140px !important;
  }
}/* End custom CSS */