.vd-bundle,
.vd-cart-upsell {
	--vd-accent: var(--color-primary, #0b5ed7);
	--vd-accent-soft: #eef4fe;
	--vd-border: var(--color-info, #e9ecef);
	--vd-text: #1f2937;
	--vd-muted: #4b5563;
	--vd-radius: var(--theme-theme-radius-base, 8px);
	color: var(--vd-text);
	font-size: 0.8125rem;
	line-height: 1.45;
}

/* Bundle (product page) and cart upsell share the box */

.vd-bundle,
.vd-cart-upsell {
	margin: 1rem 0;
	padding: 1rem;
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	background: #fff;
}
.vd-bundle__head {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
}
.vd-bundle__head > i {
	flex: 0 0 auto;
	color: var(--vd-accent);
	font-size: 1.75rem;
	line-height: 1;
}
.vd-bundle__title {
	margin: 0 0 0.125rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}
.vd-bundle__subtitle {
	margin: 0;
	color: var(--vd-muted);
	font-size: 0.75rem;
}
.vd-bundle__items,
.vd-cart-upsell__items {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vd-bundle__item {
	margin: 0;
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	background: var(--color-info-light, #f8f9fa);
	transition: opacity 0.15s ease, border-color 0.15s ease;
}
.vd-bundle__item.is-main,
.vd-bundle__item > label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.625rem 0.75rem;
	cursor: pointer;
}
.vd-bundle__item.is-main {
	cursor: default;
}
.vd-bundle__item:not(.is-main):hover {
	border-color: var(--vd-accent);
}
.vd-bundle__item.is-off {
	opacity: 0.55;
}
.vd-bundle__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.vd-bundle__check {
	position: relative;
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	border: 2px solid #adb5bd;
	border-radius: 0.25rem;
	background: #fff;
}
.vd-bundle__input:checked + .vd-bundle__check,
.vd-bundle__check.is-locked {
	border-color: var(--vd-accent);
	background: var(--vd-accent);
}
.vd-bundle__input:checked + .vd-bundle__check::after,
.vd-bundle__check.is-locked::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 0;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.vd-bundle__input:focus-visible + .vd-bundle__check {
	outline: 2px solid var(--vd-accent);
	outline-offset: 2px;
}
.vd-bundle .vd-bundle__img,
.vd-cart-upsell .vd-bundle__img {
	flex: 0 0 auto;
	width: 3.25rem;
	height: 3.25rem;
	object-fit: contain;
	border-radius: 0.375rem;
	background: #fff;
	mix-blend-mode: multiply;
}
.vd-bundle__info {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0.125rem;
}
.vd-bundle__tag {
	align-self: flex-start;
	padding: 0 0.375rem;
	border-radius: 0.25rem;
	background: var(--vd-text);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.6;
	text-transform: uppercase;
}
.vd-bundle__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--vd-text);
	font-weight: 500;
}
a.vd-bundle__name:hover {
	color: var(--vd-accent);
}
.vd-bundle__price {
	flex: 0 0 auto;
	font-weight: 700;
	white-space: nowrap;
}
.vd-bundle__note {
	display: flex;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	color: var(--vd-muted);
	font-size: 0.75rem;
}
.vd-bundle__note i {
	flex: 0 0 auto;
	color: var(--vd-accent);
	font-size: 1rem;
	line-height: 1.2;
}
.vd-bundle__footer {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.875rem;
	padding-top: 0.875rem;
	border-top: 1px solid var(--vd-border);
}
.vd-bundle__total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.625rem;
}
.vd-bundle__total-label {
	font-weight: 600;
}
.vd-bundle__total-prices del {
	margin-right: 0.375rem;
	color: var(--vd-muted);
}
.vd-bundle__total-prices strong {
	font-size: 1.25rem;
	font-weight: 700;
}
.vd-bundle .vd-bundle__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 2.875rem;
	background-color: var(--vd-accent) !important;
	border-color: var(--vd-accent) !important;
	color: #fff !important;
	font-weight: 600;
}
.vd-bundle .vd-bundle__add i {
	font-size: 1.125rem;
}
.vd-bundle .vd-bundle__add.loading {
	opacity: 0.7;
}
.vd-bundle__error {
	margin: 0;
	color: #b91c1c;
	font-size: 0.75rem;
}

/* Cart upsell */

.vd-cart-upsell {
	margin: 1.5rem 0;
}
.vd-cart-upsell__items {
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.vd-cart-upsell__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.75rem;
	border: 1px solid var(--vd-border);
	border-radius: var(--vd-radius);
	background: var(--color-info-light, #f8f9fa);
}
.vd-cart-upsell__for {
	color: var(--vd-muted);
	font-size: 0.6875rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}
.vd-cart-upsell__price strong {
	font-weight: 700;
}
.vd-cart-upsell__price del {
	color: var(--vd-muted);
	font-size: 0.75rem;
}
.vd-cart-upsell .vd-cart-upsell__add {
	flex: 0 0 auto;
	padding: 0.5rem 0.875rem;
	background-color: var(--vd-accent) !important;
	border-color: var(--vd-accent) !important;
	color: #fff !important;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
}


	.vd-bundle,
	.vd-cart-upsell {
		padding: 0.875rem;
	}
	.vd-bundle .vd-bundle__img,
	.vd-cart-upsell .vd-bundle__img {
		width: 2.75rem;
		height: 2.75rem;
	}


/* Vehicle fitment */

.vd-bundle__fit {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 0.25rem;
	padding: 0.0625rem 0.4375rem;
	border-radius: 0.375rem;
	background: #f1f3f5;
	color: var(--vd-muted);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.5;
}
.vd-bundle__fit.is-car {
	background: var(--color-success-lighter, #e6fcf5);
	color: var(--color-success-dark, #099268);
}
.vd-bundle__fit i {
	font-size: 0.8125rem;
}
.vd-bundle__note.is-car i {
	color: var(--color-success-dark, #099268);
}
.vd-bundle__note.is-car strong {
	color: var(--vd-text);
}

.vd-bundle button.vd-bundle__pick,
.vd-cart-upsell button.vd-bundle__pick {
	display: inline;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vd-accent);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.vd-bundle button.vd-bundle__pick:hover,
.vd-bundle button.vd-bundle__pick:focus,
.vd-cart-upsell button.vd-bundle__pick:hover,
.vd-cart-upsell button.vd-bundle__pick:focus {
	background: none;
	color: var(--vd-text);
}
.vd-bundle__finder {
	margin-top: 0.75rem;
}
.vd-bundle__finder[hidden] {
	display: none;
}
.vd-bundle__finder .vd-fit-finder__form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vd-bundle__finder .vd-fit-finder__go.button {
	grid-column: 1 / -1;
}
n {
	grid-column: 1 / -1;
}
