.bundle_sells_title,
.bundle_form.bundle_sells_form > h1:first-child,
.bundle_form.bundle_sells_form > h2:first-child,
.bundle_form.bundle_sells_form > h3:first-child,
.bundle_form.bundle_sells_form > h4:first-child,
.bundle_form.bundle_sells_form > h5:first-child,
.bundle_form.bundle_sells_form > h6:first-child {
	clear: both;
	display: block;
	float: none !important;
	margin: 0 0 0.75rem;
	width: auto !important;
}

.bundle_sells_title > :last-child {
	margin-bottom: 0;
}

.bundle_sells_title + .bundle_form.bundle_sells_form {
	margin-top: 0;
}

.bundle_form.bundle_sells_form {
	max-height: 32rem;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 0.75rem;
	scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
}

.bundle_form.bundle_sells_form > .bundled_product_summary {
	background: var(--wc-pb-bundle-sells-box-bg, #fff);
	border-color: rgba(0, 0, 0, 0.12);
	border-style: solid;
	border-width: 0 1px 1px;
	box-sizing: border-box;
	margin-bottom: 0;
	padding: 0.75rem;
}

.bundle_form.bundle_sells_form > .bundled_product_summary:first-of-type {
	border-top-width: 1px;
	border-radius: 6px 6px 0 0;
	box-shadow: inset 0 12px 18px -20px rgba(0, 0, 0, 0.6);
}

.bundle_form.bundle_sells_form > .bundled_product_summary:has(+ .bundle_data) {
	border-radius: 0 0 6px 6px;
	box-shadow: inset 0 -16px 22px -20px rgba(0, 0, 0, 0.72);
}

.bundle_form.bundle_sells_form > .bundled_product_summary:last-of-type {
	border-radius: 0 0 6px 6px;
	box-shadow: inset 0 -16px 22px -20px rgba(0, 0, 0, 0.72);
}

.bundle_form.bundle_sells_form > .bundle_data {
	clear: both;
}

@media (max-width: 767px) {
	.bundle_form.bundle_sells_form {
		max-height: min(58vh, 24rem);
		padding-right: 0.5rem;
	}

	.bundle_form.bundle_sells_form > .bundled_product_summary {
		padding: 0.625rem;
	}
}

@media (max-width: 480px) {
	.bundle_form.bundle_sells_form {
		max-height: min(52vh, 20rem);
	}
}
