.custom-sale-badge {
    background: #ff0000;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
		right:unset;
		left:10px;
    z-index: 10;
}

.product .custom-sale-badge + .ast-onsale-card,
.product .custom-sale-badge + .woocommerce span.onsale {
    display: none !important;
}

.ast-theme-transparent-header .main-header-bar{
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}


.astra-shop-thumbnail-wrap .ast-onsale-card{
	background:#ff0084!important;
    color: white;
}


/* ----------------------------- */
/* Ribbon "מבצע 5+1" */
/* ----------------------------- */
body.tax-product_cat.term-63,
body.tax-product_cat.term-136,
body.tax-product_cat.term-137 {
  --ribbon-text: 'מבצע 5+1';
}

body.tax-product_cat.term-63 ul.products li.product,
body.tax-product_cat.term-136 ul.products li.product,
body.tax-product_cat.term-137 ul.products li.product {
  position: relative;
  overflow: visible;
}

body.tax-product_cat.term-63 ul.products li.product::before,
body.tax-product_cat.term-136 ul.products li.product::before,
body.tax-product_cat.term-137 ul.products li.product::before {
  content: var(--ribbon-text);
  position: absolute;
  top: 10px;
  right: -30px;
  transform: rotate(45deg);
  background: #e63946;
  color: #fff;
  padding: 5px 40px;
  font-size: 14px;
  font-weight: 700;
  z-index: 15;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
  letter-spacing: 0.2px;
  line-height: 1;
}

/* ----------------------------- */
/* Ribbon "מבצע 10+1" */
/* ----------------------------- */
body.tax-product_cat.term-102,
body.tax-product_cat.term-107,
body.tax-product_cat.term-125,
body.tax-product_cat.term-126 {
  --ribbon-text: 'מבצע 10+1';
}

body.tax-product_cat.term-102 ul.products li.product,
body.tax-product_cat.term-107 ul.products li.product,
body.tax-product_cat.term-125 ul.products li.product,
body.tax-product_cat.term-126 ul.products li.product {
  position: relative;
  overflow: visible;
}

body.tax-product_cat.term-102 ul.products li.product::before,
body.tax-product_cat.term-107 ul.products li.product::before,
body.tax-product_cat.term-125 ul.products li.product::before,
body.tax-product_cat.term-126 ul.products li.product::before {
  content: var(--ribbon-text);
  position: absolute;
  top: 10px;
  right: -30px;
  transform: rotate(45deg);
  background: #1f8a70; /* צבע שונה כדי לבדל מה-5+1, אפשר לשנות */
  color: #fff;
  padding: 5px 40px;
  font-size: 14px;
  font-weight: 700;
  z-index: 15;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
  letter-spacing: 0.2px;
  line-height: 1;
}


/* ריבון כללי */
.ht-category-wrap .ht-category-image { position: relative; }
.promo-ribbon {
  position: absolute;
  top: 10px;
  right: -30px;
  transform: rotate(45deg);
  background: #e63946; /* ברירת מחדל 5+1 */
  color: #fff;
  padding: 5px 40px;
  font-size: 14px;
  font-weight: 700;
  z-index: 15;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
  letter-spacing: .2px;
}
.promo-ribbon.r10x1 { background: #1f8a70; } /* 10+1 */

/* התאמות מובייל */
@media (max-width: 768px) {
  .promo-ribbon { top: 6px; right: -24px; padding: 4px 34px; font-size: 12px; }
}
