/**
 * Basket / checkout: bundle header row (zero-price grouping line).
 * Matches builder accent used in front.css (--tmm-bb-accent / cream).
 */

:root {
	--tmm-bb-cart-header-bg: #fff2e3;
	--tmm-bb-cart-header-border: rgba(222, 155, 74, 0.45);
}

/* Classic cart table */
.woocommerce-cart-form__cart-item.tmm-bb-bundle-header,
tr.woocommerce-cart-form__cart-item.tmm-bb-bundle-header {
	background-color: var(--tmm-bb-cart-header-bg) !important;
	box-shadow: inset 0 0 0 1px var(--tmm-bb-cart-header-border);
}

.woocommerce-cart-form__cart-item.tmm-bb-bundle-header td {
	border-top: 1px solid var(--tmm-bb-cart-header-border);
	padding-top: 0.85em;
	padding-bottom: 0.85em;
}

/* Classic checkout — order review table */
.woocommerce-checkout-review-order-table .cart_item.tmm-bb-bundle-header {
	background-color: var(--tmm-bb-cart-header-bg) !important;
	box-shadow: inset 0 0 0 1px var(--tmm-bb-cart-header-border);
}

.woocommerce-checkout-review-order-table .cart_item.tmm-bb-bundle-header td {
	border-top: 1px solid var(--tmm-bb-cart-header-border);
	padding-top: 0.75em;
	padding-bottom: 0.75em;
}

/* Readable quantity for bundle rows (Woo otherwise uses type="hidden" when qty is fixed). */
.tmm-bb-cart-qty {
	font-weight: 600;
	text-align: center;
}

.tmm-bb-cart-qty__value {
	display: inline-block;
	min-width: 2ch;
	line-height: 1.4;
}
