.ns-bundle-card {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid #e4e1d9;
	border-radius: 18px;
	background: #f7f6f2;
}

.ns-bundle-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
}

.ns-bundle-card h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.15;
	letter-spacing: -.03em;
}

.ns-bundle-badge {
	flex: 0 0 auto;
	padding: 6px 9px;
	border-radius: 999px;
	background: #d7ff64;
	font-size: 11px;
	font-weight: 850;
}

.ns-bundle-visual {
	display: flex;
	align-items: center;
	gap: 7px;
	width: 100%;
	padding: 12px;
	overflow-x: auto;
	border: 1px solid #e9e7e0;
	border-radius: 14px;
	background: #fff;
	scrollbar-width: thin;
}

.ns-bundle-thumb {
	position: relative;
	flex: 0 0 auto;
	display: block;
	width: 54px;
	height: 60px;
	cursor: pointer;
}

.ns-bundle-thumb.is-required {
	cursor: default;
}

.ns-bundle-thumb input {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 2;
	width: 14px;
	height: 14px;
	margin: 0;
	accent-color: #11110f;
}

.ns-bundle-thumb__image {
	display: block;
	width: 54px;
	height: 60px;
	overflow: hidden;
	border: 1px solid #e5e2da;
	border-radius: 10px;
	background: #f7f6f2;
}

.ns-bundle-thumb__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ns-bundle-thumb:has(input:not(:checked)) .ns-bundle-thumb__image {
	opacity: .38;
}

.ns-bundle-plus {
	flex: 0 0 auto;
	color: #77756f;
	font-size: 16px;
	font-weight: 850;
	line-height: 1;
}

.ns-bundle-price-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 14px;
}

.ns-bundle-price-box {
	display: grid;
	gap: 4px;
	padding: 12px;
	border: 1px solid #e4e1d9;
	border-radius: 13px;
	background: #fff;
}

.ns-bundle-price-box span {
	color: #77756f;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ns-bundle-price-box del,
.ns-bundle-price-box strong {
	font-size: 14px;
	line-height: 1.2;
}

.ns-bundle-price-box--new {
	border-color: #d4dfad;
	background: #fbfff0;
}

.ns-bundle-price-box--new strong {
	color: #11110f;
	font-size: 16px;
}

.ns-bundle-save-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	padding: 0 2px;
	color: #5f6357;
	font-size: 10px;
}

.ns-bundle-save-line strong {
	color: #486a0b;
}

.ns-bundle-add {
	width: 100%;
	min-height: 44px;
	margin-top: 14px;
	border: 0;
	border-radius: 999px;
	background: #11110f;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
}

.ns-bundle-add[disabled] {
	opacity: .6;
	cursor: progress;
}

.ns-bundle-message {
	min-height: 14px;
	margin: 7px 0 0;
	color: #6d6c66;
	font-size: 10px;
	text-align: center;
}

@media (max-width: 640px) {
	.ns-bundle-card {
		padding: 16px;
	}
	.ns-bundle-thumb,
	.ns-bundle-thumb__image {
		width: 50px;
		height: 56px;
	}
}


/* 0.8.2 — hard layout constraints so WooCommerce image rules cannot expand bundle thumbnails. */
.single-product .summary .ns-bundle-card .ns-bundle-visual {
	display: flex !important;
	flex-flow: row nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	overflow-x: auto !important;
}

.single-product .summary .ns-bundle-card .ns-bundle-thumb {
	display: block !important;
	flex: 0 0 52px !important;
	width: 52px !important;
	min-width: 52px !important;
	max-width: 52px !important;
	height: 58px !important;
	min-height: 58px !important;
	max-height: 58px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.single-product .summary .ns-bundle-card .ns-bundle-thumb__image {
	display: block !important;
	width: 52px !important;
	min-width: 52px !important;
	max-width: 52px !important;
	height: 58px !important;
	min-height: 58px !important;
	max-height: 58px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.single-product .summary .ns-bundle-card .ns-bundle-thumb__image img,
.single-product .summary .ns-bundle-card img {
	display: block !important;
	float: none !important;
	width: 52px !important;
	min-width: 52px !important;
	max-width: 52px !important;
	height: 58px !important;
	min-height: 58px !important;
	max-height: 58px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	aspect-ratio: auto !important;
	border-radius: 9px !important;
}

.single-product .summary .ns-bundle-card .ns-bundle-plus {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	justify-content: center !important;
	width: 14px !important;
	margin: 0 !important;
	font-size: 17px !important;
	line-height: 1 !important;
}

.single-product .summary .ns-bundle-card .ns-bundle-price-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}


/* 0.8.3 desktop density refinement. */
@media (min-width: 981px) {
	.single-product .summary .ns-bundle-card {
		padding: 14px;
	}

	.single-product .summary .ns-bundle-card__head {
		margin-bottom: 11px;
	}

	.single-product .summary .ns-bundle-card h3 {
		font-size: 1rem;
	}

	.single-product .summary .ns-bundle-card .ns-bundle-visual {
		padding: 8px !important;
	}

	.single-product .summary .ns-bundle-card .ns-bundle-thumb,
	.single-product .summary .ns-bundle-card .ns-bundle-thumb__image,
	.single-product .summary .ns-bundle-card .ns-bundle-thumb__image img,
	.single-product .summary .ns-bundle-card img {
		width: 46px !important;
		min-width: 46px !important;
		max-width: 46px !important;
		height: 51px !important;
		min-height: 51px !important;
		max-height: 51px !important;
	}

	.single-product .summary .ns-bundle-card .ns-bundle-thumb {
		flex-basis: 46px !important;
	}

	.single-product .summary .ns-bundle-price-grid {
		margin-top: 10px;
	}

	.single-product .summary .ns-bundle-price-box {
		padding: 9px 10px;
	}

	.single-product .summary .ns-bundle-add {
		min-height: 40px;
		margin-top: 10px;
	}
}
