.annb-bundle {
	display: grid;
	gap: 18px;
	margin-top: 0;
	padding-top: 0;
}

.annb-bundle__groups {
	display: grid;
	gap: 14px;
	padding: 0;
}

.annb-bundle__group {
	border: 0;
	margin: 0;
	padding: 0;
}

.annb-bundle__group-title {
	color: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 8px;
	padding: 0;
}

.annb-bundle__group-notice,
.annb-bundle__notice,
.annb-bundle__error {
	color: #b42318;
	font-size: 13px;
	line-height: 1.45;
}

.annb-bundle__options {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow: visible;
	width: 100%;
}

.annb-bundle__option {
	align-items: center;
	background: #fff;
	border: 1px solid #ded8d2;
	cursor: pointer;
	display: grid;
	flex: 1 1 0;
	gap: 6px;
	grid-template-columns: 1fr;
	min-width: 0;
	padding: 0;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.annb-bundle__option:hover {
	border-color: #9f9188;
	transform: translateY(-1px);
}

.annb-bundle__option--selected,
.annb-bundle__option:has(input:checked) {
	border-color: #282828;
	box-shadow: inset 0 0 0 1px #282828, 0 2px 8px rgba(0, 0, 0, 0.06);
}

.annb-bundle__option--disabled {
	cursor: not-allowed;
	opacity: 0.42;
	transform: none;
}

.annb-bundle__choice-input {
	clip-path: inset(50%);
	height: 1px !important;
	margin: -1px;
	opacity: 0 !important;
	overflow: hidden;
	pointer-events: none;
	position: absolute !important;
	white-space: nowrap;
	width: 1px !important;
}

.annb-bundle__option-image {
	aspect-ratio: 1;
	background: #fff;
	border: 0;
	display: block;
	max-width: 100%;
	overflow: hidden;
}

.annb-bundle__option-image img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.annb-bundle__option-body {
	display: none;
}

.annb-bundle__group-notice {
	margin: 0 0 8px;
}

.annb-bundle__summary {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	justify-content: flex-end;
}

.annb-bundle__purchase {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.annb-bundle__purchase .quantity {
	margin: 0;
}

.annb-bundle__button[disabled] {
	cursor: not-allowed;
	opacity: 0.5;
}

/* Mini-cart panel alignment for buildable bundle items (Savoy cart panel). */
#nm-cart-panel .product_list_widget .annb-bundle-mini-cart-item .remove,
#nm-cart-panel .product_list_widget .annb-bundle-mini-cart-item:first-child .remove {
	top: 0;
}

#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-item-details {
	display: flex;
	flex-direction: column;
	min-height: 88px;
}

#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-product-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	line-height: 1.3;
	max-height: 2.6em;
	overflow: hidden;
	padding-right: 28px;
	word-break: break-word;
}

#nm-cart-panel .annb-bundle-mini-cart-item .variation {
	display: block;
	font-size: 13px;
	line-height: 1.25;
	margin-bottom: 6px;
}

#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-quantity-pricing {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: auto;
	overflow: visible;
	padding-top: 2px;
}

#nm-cart-panel .annb-bundle-mini-cart-item .product-quantity,
#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-item-price {
	float: none;
}

#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-item-price {
	min-width: 72px;
	text-align: right;
}

#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-item-price .amount {
	white-space: nowrap;
}

#nm-cart-panel .product_list_widget > .annb-bundle-mini-cart-item:first-child {
	padding-top: 8px;
}

@media (max-width: 640px) {
	.annb-bundle__groups {
		gap: 12px;
		padding: 0;
	}

	.annb-bundle__group-title {
		font-size: 16px;
	}

	.annb-bundle__options {
		gap: 6px;
	}

	.annb-bundle__option {
		padding: 0;
	}

	.annb-bundle__summary,
	.annb-bundle__purchase {
		align-items: stretch;
		flex-direction: column;
	}

	.annb-bundle__button {
		width: 100%;
	}

	#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-item-details {
		min-height: 0;
	}

	#nm-cart-panel .annb-bundle-mini-cart-item .nm-cart-panel-quantity-pricing {
		gap: 8px;
	}
}
