/* Keep the calculator total readable when themes restyle del/ins or float amounts. */
.product_price.wcrpr-measurement-total {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 0.3em !important;
    flex-wrap: wrap;
}

.product_price.wcrpr-measurement-total > del,
.product_price.wcrpr-measurement-total > ins {
    display: inline-block !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: inherit !important;
    font-weight: 700;
    line-height: inherit !important;
    opacity: 1 !important;
}

.product_price.wcrpr-measurement-total > del {
    order: 0 !important;
    color: #a6a6a6 !important;
    text-decoration: line-through !important;
}

.product_price.wcrpr-measurement-total > ins {
    order: 1 !important;
    color: #b41f25 !important;
    text-decoration: none !important;
}

/* Calculator unit prices appear in shop cards, related products, and product headers. */
.wc-measurement-price-calculator-price ins,
.wc-measurement-price-calculator-price ins * {
    color: #b41f25 !important;
    text-decoration: none !important;
}

.product_price.wcrpr-measurement-total > del *,
.product_price.wcrpr-measurement-total > ins * {
    float: none !important;
    position: static !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}
