/* Package components remain separate cart items for stock, tax and order processing.
   The Cart/Checkout Blocks show one package line, based on the Store API extension data. */
.lgp-package-child {
    display: none !important;
}

.lgp-package-main .wc-block-components-quantity-selector,
.lgp-package-main .wc-block-components-product-price,
.lgp-package-main .wc-block-cart-item__total-price-and-sale-badge-wrapper,
.lgp-package-main .wc-block-components-product-metadata {
    display: none !important;
}

.lgp-package-main .wc-block-components-product-name {
    white-space: pre-line;
}

.lgp-cart-package-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: .9em;
}

.lgp-cart-package-quantity input {
    width: 5em;
    min-height: 40px;
    padding: 6px 8px;
}

.lgp-cart-package-message {
    color: #9c2828;
    flex-basis: 100%;
}
