/* Feature-owned typography: do not inherit the surrounding heading/price scale. */
body .ll-multipurchase-prices {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35em;
    max-width: 100%;
    font-size: .875rem;
    line-height: 1.4;
}
body .ll-multipurchase-prices del {
    color: inherit;
    opacity: .65;
    font-size: .85em;
}
body .ll-multipurchase-prices ins {
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    text-decoration: none;
}
body .ll-multipurchase-applied {
    box-sizing: border-box;
    display: grid;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 5px 7px;
    border-left: 2px solid var(--ll-basket-gold, var(--ll-header-gold, #d4af37));
    border-radius: 0 4px 4px 0;
    background: rgba(138, 255, 0, .055);
    color: var(--ll-basket-green-bright, #caff96);
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-align: start;
}
body .ll-multipurchase-applied .ll-multipurchase-applied__badge {
    display: block;
    color: var(--ll-basket-gold, var(--ll-header-gold, #d4af37));
    font-size: 10px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: .035em;
    text-transform: uppercase;
}
body .ll-multipurchase-applied .ll-multipurchase-applied__saving {
    display: block;
    font-size: inherit;
    line-height: inherit;
}
body .ll-c4-cart-item .ll-multipurchase-prices {
    font-size: 11px;
}
body .ll-c4-cart-item .ll-multipurchase-prices ins {
    color: var(--ll-basket-green-bright, #caff96);
}
/* Native metadata owns placement; style only the entry containing our display. */
body dl.variation dt:has(+ dd .ll-multipurchase-applied-detail),
body .wc-block-components-product-details > span:has(.ll-multipurchase-applied-detail) .wc-block-components-product-details__name {
    display: block;
    float: none;
    margin: 0 0 2px;
    color: #796019;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: .025em;
    text-transform: uppercase;
}
body dl.variation dd:has(.ll-multipurchase-applied-detail),
body dl.variation dd:has(.ll-multipurchase-applied-detail) p {
    float: none;
    margin: 0;
    padding: 0;
}
body .ll-multipurchase-applied-detail {
    display: inline;
    color: inherit;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
body .wc-block-components-product-details > span:has(.ll-multipurchase-applied-detail),
body dl.variation:has(.ll-multipurchase-applied-detail) {
    max-width: 100%;
}
/* The branded classic cart uses a two-column variation grid. Only our entry
   spans that grid; other product metadata keeps its existing placement. */
body dl.variation dt:has(+ dd .ll-multipurchase-applied-detail),
body dl.variation dd:has(.ll-multipurchase-applied-detail) {
    grid-column: 1 / -1;
    width: 100%;
    text-align: start;
}
body.woocommerce-cart dl.variation dt:has(+ dd .ll-multipurchase-applied-detail),
body.ll-checkout-experience dl.variation dt:has(+ dd .ll-multipurchase-applied-detail),
body :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-product-details > span:has(.ll-multipurchase-applied-detail) .wc-block-components-product-details__name {
    color: var(--ll-cart-gold-soft, var(--llco-gold-soft, #d4af37));
}

/* Keep native prices visible when the classic basket's price column is hidden. */
body .ll-multipurchase-cart-prices {
    display: none;
}
@media (max-width: 1180px) {
    body.woocommerce-cart td.product-name .ll-multipurchase-cart-prices {
        display: block;
        margin-top: 4px;
    }
}
