.tpwcb-bundle-items {
	list-style: none;
	margin: 0 0 1.5em;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

.tpwcb-bundle-item {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 0.5em 0.75em;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
}

.tpwcb-bundle-item__image img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.tpwcb-bundle-item__name {
	flex: 1 1 auto;
}

.tpwcb-bundle-item__qty,
.tpwcb-bundle-item__price {
	white-space: nowrap;
	opacity: 0.8;
}

.tpwcb-bundle-item__badge {
	background: #d63638;
	color: #fff;
	font-size: 0.75em;
	padding: 0.2em 0.6em;
	border-radius: 3px;
	white-space: nowrap;
}

.tpwcb-bundle-item--unavailable {
	opacity: 0.6;
}

.tpwcb-order-item-snapshot {
	margin: 0.25em 0 0;
	padding: 0 0 0 1em;
	font-size: 0.9em;
	color: inherit;
	opacity: 0.85;
}

.tpwcb-add-to-cart {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1em;
	margin-top: 1em;
}

.tpwcb-add-to-cart .quantity {
	margin: 0;
	display: inline-flex;
}

.tpwcb-qty-enhanced {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.tpwcb-qty-enhanced input.qty {
	flex: 0 0 auto;
	width: 3em;
	min-width: 3em;
	border: 0 !important;
	box-shadow: none !important;
	text-align: center;
	-moz-appearance: textfield;
	background: #fff !important;
	color: #23282d !important;
	opacity: 1 !important;
	font-size: 1em;
	padding: 0.6em 0 !important;
	margin: 0 !important;
	line-height: normal;
}

.tpwcb-qty-enhanced input.qty::-webkit-inner-spin-button,
.tpwcb-qty-enhanced input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.tpwcb-qty-btn {
	flex: 0 0 auto;
	border: 0;
	background: #fff;
	width: 2.4em;
	font-size: 1.15em;
	line-height: 1;
	cursor: pointer;
	color: #23282d;
	transition: background-color 0.15s ease;
}

.tpwcb-qty-btn:hover,
.tpwcb-qty-btn:focus {
	background: rgba(0, 0, 0, 0.06);
}

.tpwcb-qty-btn--minus {
	border-inline-end: 1px solid rgba(0, 0, 0, 0.15);
}

.tpwcb-qty-btn--plus {
	border-inline-start: 1px solid rgba(0, 0, 0, 0.15);
}

/*
 * A tasteful default look so the button never falls back to the bare browser
 * button style. It reuses the theme's own accent color when the theme exposes
 * one via WordPress global styles (--wp--preset--color--primary), so it will
 * usually already match the site's design automatically. To force a specific
 * color regardless of theme, set --tpwcb-accent on :root in your child theme
 * or customizer "Additional CSS", e.g.:
 *   :root { --tpwcb-accent: #123456; }
 */
.tpwcb-add-to-cart-button {
	--tpwcb-accent: var(--wp--preset--color--primary, var(--wp--preset--color--contrast, #2c3e50));
	background: var(--tpwcb-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0.85em 2.2em !important;
	font-size: 1em !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.tpwcb-add-to-cart-button:hover:not(:disabled),
.tpwcb-add-to-cart-button:focus:not(:disabled) {
	filter: brightness(1.1);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
	color: #fff !important;
}

.tpwcb-add-to-cart-button:active:not(:disabled) {
	transform: translateY(1px);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.tpwcb-add-to-cart-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
