.kowal-unit-pricing { position: relative; display: block; font-size: .85em; line-height: 1.5; color: inherit; margin-block: .25rem; }
.kowal-unit-pricing:empty { display: none; }
.kowal-unit-quantity-container { position: relative; }
.kowal-unit-pricing.kowal-unit-quantity {
    position: absolute;
    display: block;
    margin: 0;
    font-size: .75rem;
    line-height: 1.25;
    white-space: nowrap;
    pointer-events: none;
}
.kowal-unit-pricing .kowal-unit-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    min-width: 0;
    min-height: 0;
    padding: 0;
    margin: 0 0 0 .3rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font: bold .7rem/1 sans-serif;
    vertical-align: middle;
    cursor: help;
    pointer-events: auto;
}
.kowal-unit-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.kowal-unit-tooltip {
    display: none;
    position: fixed;
    box-sizing: border-box;
    /* Keep the body portal above floating storefront launchers. */
    z-index: 2147483100;
    top: 100%;
    left: 0;
    width: max-content;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: .6rem .8rem;
    border-radius: .3rem;
    background: #111827;
    color: #fff;
    box-shadow: 0 3px 10px #0003;
    font: normal .8rem/1.5 sans-serif;
    text-align: start;
    white-space: pre-line;
    overflow-wrap: anywhere;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
}
.kowal-unit-tooltip[data-kup-tooltip-open] { display: block; }

.kowal-unit-native-price-hidden { display: none !important; }
.kowal-unit-label { white-space: pre-line; }
.kowal-unit-price-primary > .kowal-unit-label { font-size: 1.5rem; font-weight: 600; }

.kowal-unit-pricing.kowal-unit-checkout-quantity {
    display: inline-block;
    margin: 0;
    margin-inline-start: .25rem;
    font-size: inherit;
}
.kowal-unit-pricing.kowal-unit-checkout-quantity:empty { display: none; }
