/* Bundle add-to-cart form styles (frontend). */

.pb-bundle-form .pb-bundle-items {
	margin: 1em 0;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 4px;
}

.pb-bundle-form .pb-bundle-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5em;
	padding: .75em 1em;
	border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.pb-bundle-form .pb-bundle-item:last-child {
	border-bottom: 0;
}

.pb-bundle-form .pb-bundle-item.is-out-of-stock {
	opacity: .6;
}

.pb-bundle-item-details {
	display: flex;
	align-items: center;
	gap: .6em;
	min-width: 0;
}

.pb-bundle-item-thumb img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 3px;
}

.pb-bundle-item-name {
	font-weight: 600;
}

.pb-bundle-item-stock {
	font-size: .85em;
	color: #b30000;
}

.pb-bundle-item-controls {
	display: flex;
	align-items: center;
	gap: .75em;
}

.pb-bundle-item-qty {
	width: 4.5em;
}

.pb-bundle-item-price {
	min-width: 6em;
	text-align: right;
}

.pb-bundle-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 1em 0;
	font-size: 1.1em;
	font-weight: 700;
}

.pb-bundle-quantity {
	margin: 1em 0;
}

.pb-bundle-form .pb-bundle-submit:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.pb-bundle-empty {
	font-style: italic;
}
