/* Sale prices in Electro, with the same price hierarchy on cards and product pages. */
.product-thumb .sale {
    background-color: #ffd820;
    font-weight: 600;
    pointer-events: none;
}

.product-thumb .price > .price-new,
.product-price--special > .new-price {
    color: #b54b14;
    font-weight: 700;
}

.product-thumb .price > .price-new,
.product-thumb .price > .price-old,
.product-price--special > .new-price,
.product-price--special > .old-price {
    white-space: nowrap;
}

.product-thumb .price > .price-old,
.product-price--special > .old-price {
    color: #666b75;
    text-decoration: line-through;
    font-weight: 500;
}

.product-thumb .price > .price-old ~ .grn,
.product-thumb .price > .parts-sale-reference ~ .grn {
    display: none;
}

.product-thumb .price:has(> .price-new) {
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px 10px;
}

.product-price--special > .old-price {
    margin-left: 0;
}

.product-price--special > .new-price {
    margin-right: 12px;
}

.parts-sale-reference {
    color: #535963;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.product-thumb .price > .parts-sale-reference {
    flex-basis: 100%;
}

.product-price--special > .parts-sale-reference {
    margin-top: 4px;
}
