style>
/* CSS for the discount badge */
.discount-badge {
position: absolute;
top: 10px;
right: 10px; /* Move the badge to the top-right corner */
background-color: red;
color: white;
font-size: 14px;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
z-index: 10;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
display: flex; /* Use flexbox for alignment */
justify-content: space-between; /* Space between the two texts */
align-items: center; /* Center the text vertically */
gap: 5px; /* Add spacing between the two texts */
direction: ltr; /* Left-to-right for proper alignment */
text-align: center;
width: auto; /* Adjust width dynamically */
z-index: 1 !important;
}