/* Dynamic Discount Badge */
.product-item .picture {
    position: relative;
}

.dd-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    background-color: #e4003a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* RTL support */
[dir="rtl"] .dd-badge {
    left: auto;
    right: 8px;
}

/* Responsive: smaller text on mobile */
@media (max-width: 480px) {
    .dd-badge {
        font-size: 13px;
        padding: 6px 9px;
    }
}
