.sf-clearance-frame,
.sf-product-page .sf-promotion-price.is-clearance .sf-product-info__price {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    border: 2px solid var(--clearance-color, #000);
    border-radius: 13px;
    background: #fff;
}
.sf-clearance-frame--card {
    gap: 3px clamp(6px, 1vw, 12px);
    margin-top: .55em;
    padding: .60em clamp(.42em, 1vw, .8em) .28em;
}
.sf-clearance-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: calc(100% - 10px);
    padding: .25em .85em;
    border-radius: 999px;
    background: var(--clearance-color, #000);
    color: var(--clearance-ink, #fff);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sf-clearance-frame .sf-product__price {
    order: -1;
    color: #111;
    font-size: clamp(16px, 1.32vw, 22px);
    white-space: nowrap;
}
.sf-product__badge--quantity[hidden] {
    display: none !important;
}
.sf-clearance-frame .sf-old-price,
.sf-product-page .sf-promotion-price.is-clearance .sf-product-info__price del {
    color: var(--sf-pink, #c90064);
    font-weight: 700;
    white-space: nowrap;
}
.sf-product-page .sf-promotion-price.is-clearance.is-timed-sale {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
}
.sf-product-page .sf-promotion-price.is-clearance .sf-product-info__price {
    gap: 5px clamp(8px, 2vw, 30px);
    margin: 10px 0 3px;
    padding: .65rem clamp(.75rem, 2vw, 1.7rem) .35rem;
    border-width: 3px;
    border-radius: 16px;
}
.sf-product-page .sf-promotion-price.is-clearance .sf-clearance-label {
    font-size: clamp(12px, 2vw, 17px);
}
.sf-product-page .sf-promotion-price.is-clearance .sf-product-info__price > strong {
    color: #111;
    font-size: clamp(29px, 4vw, 46px);
    font-weight: 850;
    white-space: nowrap;
}
.sf-product-page .sf-promotion-price.is-clearance .sf-product-info__price del {
    font-size: clamp(16px, 1.65vw, 27px);
}
.sf-product-page .sf-promotion-price.is-clearance .sf-sale-percent {
    font-size: clamp(12px, 1.1vw, 17px);
}
.sf-product-page .sf-promotion-price.is-clearance .sf-promotion-price__previous {
    display: contents;
}
.sf-product-page .sf-promotion-price.is-clearance .sf-promotion-countdown {
    border: 0;
    padding: 0;
}
.sf-home-shelf.sf-clearance-shelf > .sf-products {
    grid-template-columns: repeat(var(--clearance-desktop, 6), minmax(0, 1fr));
}
@media (max-width: 1100px) {
    .sf-home-shelf.sf-clearance-shelf > .sf-products {
        grid-template-columns: repeat(var(--clearance-tablet, 4), minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .sf-home-shelf.sf-clearance-shelf > .sf-products {
        grid-template-columns: repeat(var(--clearance-mobile, 2), minmax(0, 1fr));
    }
}
