/* One gold glint on the existing bestseller label. */
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product > a > .sts-bestseller-mark {
    gap: .32em;
}
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product > a > .sts-bestseller-mark i {
    display: inline-block !important;
    position: static !important;
    flex: 0 0 .95em;
    width: .95em !important;
    height: .95em !important;
    margin: 0 !important;
    border: 0 !important;
    background: #8a6216 !important;
    clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 35%);
}
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product > a > .sts-bestseller-mark i::before,
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product > a > .sts-bestseller-mark i::after {
    content: none !important;
}
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product > a:is(.woocommerce-LoopProduct-link,.woocommerce-loop-product__link) > .onsale.sts-offer {
    justify-self: start !important;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 3px;
    padding: 0 !important;
    background: transparent !important;
    color: var(--sts-card-ink) !important;
    box-shadow: none !important;
}
.sts-catalog-layout .sts-offer > span {
    padding: .34em .55em;
    border-radius: 3px;
    font-weight: 750;
    line-height: 1.1;
    white-space: nowrap;
}
.sts-catalog-layout .sts-offer-caption { color: #201f1e; background: #fff; }
.sts-catalog-layout .sts-offer-percent { color: #fff; background: #b72427; }
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product .price:has(> del):has(> ins) {
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .12em .48em;
}
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product .price > ins { order: -1; }
/* Put the product format under the price on sale cards so sale and type never overlap. */
:root :is(body.sts-catalog-layout, .sts-pdp-shelves, .sts-card-grid-context) ul.products li.product > a:is(.woocommerce-LoopProduct-link,.woocommerce-loop-product__link):has(> .sts-offer) > :is(.sts-type-badge,.sts-smiski26-badge,.sts-bl25-badge) {
    grid-area: 5 / 1 !important;
    margin: .35em 0 0 !important;
    padding: 0 !important;
    color: #514e46 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce div.product > .onsale.sts-offer,
.sts-hb25__photo > .sts-home-offer {
    display: inline-flex; flex-wrap: wrap; gap: 3px; align-items: center;
    padding: 0; border: 0; min-width: 0; min-height: 0; border-radius: 0;
    background: transparent; line-height: 1.2;
}
.sts-home-offer { position: absolute; left: 5px; bottom: 5px; max-width: calc(100% - 10px); font-size: clamp(9px,1vw,12px); }
.sts-home-offer span, .woocommerce div.product > .onsale.sts-offer span { padding: .25em .5em; border-radius: 3px; font-weight: 750; }
.sts-home-offer .sts-offer-caption, .woocommerce .product > .onsale.sts-offer .sts-offer-caption { background: white; color: #201f1e; }
.sts-home-offer .sts-offer-percent, .woocommerce .product > .onsale.sts-offer .sts-offer-percent { background: #b72427; color: white; }
.woocommerce div.product .summary .price ins, .sts-hb25 .sts-hb25__price ins,
.wc-block-product .wc-block-components-product-price ins, .wc-block-grid__product .wc-block-grid__product-price ins { color: #b62c26; font-weight: 750; text-decoration: none; }
