.sp-reward-badge-host {
    position: relative;
}

.sp-reward-points-badge {
    align-items: center;
    background: #d11120;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 74px;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 12px;
    width: 74px;
    z-index: 4;
}

.sp-reward-points-badge strong {
    font-size: 1.15rem;
    font-weight: 700;
}

.sp-reward-points-badge span {
    font-size: .75rem;
    margin-top: .18rem;
}

#image_wrapper > .sp-reward-points-badge {
    right: 1rem;
    top: 1rem;
}

@media (max-width: 575.98px) {
    .sp-reward-points-badge {
        height: 62px;
        right: 8px;
        top: 8px;
        width: 62px;
    }

    .sp-reward-points-badge strong { font-size: 1rem; }
    .sp-reward-points-badge span { font-size: .68rem; }
}

/* Product cards only. Share the existing New badge corner and reserve its image spacing. */
.productbox .sp-card-badges:has(> .sp-reward-points-badge--card) {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding-right: 8px;
}
.productbox .sp-card-badges > .sp-reward-points-badge--card {
    position: static !important;
    inset: auto !important;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    min-width: 54px;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    background: #d11120;
    color: #fff;
    font: 700 14px/1 var(--sp-font);
    white-space: nowrap;
    margin: 0;
}
:is(.product-list, .slick-slider):has(.sp-card-badges > .sp-reward-points-badge--card) { --sp-card-badge-zone: 70px; }
