/* Discount Badge Styles - Sticker / Seal Style */
.discount-badge {
    position: absolute;
    top: -15px;
    /* Slight overlap on top */
    right: -15px;
    /* Slight overlap on right */
    width: 90px;
    height: 90px;
    border-radius: 50%;
    /* Perfect Circle */
    background: radial-gradient(circle at 30% 30%, #ff6b81, var(--primary-pink));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    /* High z-index to sit on top */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 0 0 4px rgba(255, 255, 255, 0.3);
    /* Outer shadow + Inner border ring */
    transform: rotate(15deg);
    border: 2px dashed white;
    /* Sticker stitching effect */
    transition: transform 0.3s ease;
    text-align: center;
    line-height: 1.1;
    cursor: pointer;
    /* Suggests interactivity */
}

/* Hover Effect */
.offer-card:hover .discount-badge {
    transform: rotate(0deg) scale(1.1);
    /* Straighten and zoom */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 0 4px rgba(255, 255, 255, 0.4);
}

/* Badge Typography */
.badge-amount {
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
    line-height: 1;
}

.badge-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    margin-bottom: 2px;
}

.badge-date {
    font-size: 0.6rem;
    opacity: 0.95;
    font-weight: 600;
    max-width: 80%;
    /* Ensure text wraps if too long, though date should fit */
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .discount-badge {
        width: 75px;
        height: 75px;
        top: -10px;
        right: -10px;
    }

    .badge-amount {
        font-size: 1.3rem;
    }

    .badge-label {
        font-size: 0.5rem;
    }

    .badge-date {
        display: none;
        /* Hide date on very small screens if needed, or keep smaller */
    }
}