/* Limit all layout changes to a buy box in which this module found a confirmed unit. */
#product-product #product_price[data-mtd10-price] {
    row-gap: 12px !important;
}
#product_price[data-mtd10-price] .mcp-purchase-info,
#product_price[data-mtd10-price] .mcp-selected {
    margin-block: 0;
}
#product_price[data-mtd10-price] .mcp-purchase-info:has(> .mcp-selected:only-child[hidden]),
#product_price[data-mtd10-price] .mpd-quote-total:empty {
    display: none;
}
#product-product #product_price .mtd10-price-line {
    display: flex;
    flex: 1 1 100%;
    order: 2;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px 8px;
    max-width: 100%;
}
#product-product #product_price .mtd10-price-line > .price {
    flex: 0 0 auto;
    order: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
}
#product-product #product_price .mtd10-price-unit {
    flex: 0 0 auto;
    order: 1;
    margin: 0;
    color: #526579;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: normal;
    white-space: nowrap;
}
