  :root{
    --accent-blue: #283a9b; /* plus button */
    --accent-orange: #ff5a00; /* ribbon */
    --price-red: #e93b3b;
    --muted-gray: #9aa0a1;
    --card-bg: #fff;
    --card-radius: 12px;
    --card-padding: 14px;
    --shadow: 0 8px 18px rgba(0,0,0,0.06);
    font-family: "Helvetica Neue", Arial, sans-serif;
  }



  .cards-row{
    display:flex;
    gap:22px;
    /* flex-wrap:wrap; */
    justify-content:flex-start; /* visually like image */
  }

  .product-card{
    /* width:220px; */
    background:var(--card-bg);
    border-radius:var(--card-radius);
    box-shadow:var(--shadow);
    padding:var(--card-padding);
    position:relative;
    overflow:visible;
    text-align:right; /* for Arabic */
  }

  /* top icons area */
  .card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:6px;
    padding-inline:4px;
  }

  /* ribbon badge */
  .ribbon{
    position:relative;
    display:inline-block;
    min-width:44px;
    height:44px;
    background:var(--accent-orange);
    /* border-radius:10px; */
    transform:translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    /* keep basic sizing here; more specific positioning is defined below */
  }

  
/* Ribbon badge (two lines) */
.product-card .card-top{ position: relative; }
.ribbon{
  position: absolute;
  top: 1px;
  left: 10px; /* place on the left as requested */
  background: #ff6a00; /* orange */
  color: #fff;
  padding: 6px 0 10px; /* no horizontal side padding */
  border-radius: 6px;
  text-align: center;
  font-weight: 500; /* not bold */
  line-height: 1;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  z-index: 5;
  min-width: 44px;
}
.ribbon .ribbon-percent{ display:block; font-size:14px; }
.ribbon .ribbon-off{ display:block; font-size:12px; margin-top:2px; }

/* decorative zigzag / notches at bottom */
.ribbon::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -10px;
	height: 12px;
	background: linear-gradient(135deg, transparent 25%, rgba(0,0,0,0.02) 25%), linear-gradient(-135deg, transparent 25%, rgba(0,0,0,0.02) 25%);
	/* background-size: 20px 12px; */
	background-position: 0 0, 10px 0;
	clip-path: polygon(0 0, 10% 100%, 20% 0, 30% 100%, 40% 0, 50% 100%, 60% 0, 70% 100%, 80% 0, 90% 100%, 100% 0);
}

@media (max-width:480px){
	.ribbon{ top:8px; right:8px; padding:6px 8px 10px 8px; }
	.ribbon .ribbon-percent{ font-size:13px; }
	.ribbon .ribbon-off{ font-size:11px; }
}



  /* Wishlist / heart icon sizing and appearance */
.heart svg{
	width: 32px !important; /* increase icon size */
	height: 32px !important;
	display: inline-block;
	vertical-align: middle;
    cursor: pointer;
}

.heart svg:hover path{
    stroke: var(--accent-blue) !important; /* change stroke color on hover */
}
/* Ensure stroke uses current color and is visible */
.heart svg path{
	stroke: currentColor !important;
	stroke-width: 1.2 !important; /* make the outline thicker */
	fill: none !important; /* keep it as outline */
}

/* If you want the heart to have the accent color, set it via .heart { color: #2C3691 } */
.heart{ color: inherit; }
  /* .heart svg{ width:20px; height:20px; stroke:#333; fill:none; } */

  /* image area */
  .product-image-wrap{
    position:relative;
    height:170px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:12px;
  }
  .product-image-wrap img{
    max-height:150px;
    max-width:100%;
    object-fit:contain;
    display:block;
  }

  /* plus-add button circle */
  .add-circle{
    position:absolute;
    bottom:6px;
    /* put to visually lower-right relative to card image (for RTL it appears on left side logically) */
    right:5px;
    width:44px;
    height:44px;
    border-radius:50%;
    background:var(--accent-blue);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 6px 14px rgba(40,58,155,0.18);
    cursor:pointer;
    box-shadow:0 4px 10px rgba(40,58,155,0.15);
  }
  .add-circle:hover{ box-shadow:0 8px 18px rgba(40,58,155,0.25); }
  .add-circle svg{ width:26px; height:26px; fill:#fff; }

  /* price & title */
  .product-price{
    /* display:flex; */
    gap:10px;
    align-items:center;
    margin-bottom:6px;
    font-size:18px;
    line-height:1;
  }
  .product-price .current{
    color:var(--price-red);
    font-weight:700;
    font-size:20px;
  }
  .product-price .old{
    color:var(--muted-gray);
    text-decoration:line-through;
    font-size:14px;
  }

  .product-title{
    font-size:16px;
    margin:0;
    color:#111;
    font-weight:500;
  }

  /* small responsiveness */
  @media (max-width:520px){
    .cards-row{ justify-content:center; }
    .product-card{ width:46%; }
  }