/* NPS Bundle Offers — offer cards on the product page. */
.nps-bundles {
	display: grid;
	gap: 10px;
	width: 100%;
	min-width: 0;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.nps-bundle {
	border: 1px solid #cfcdc7;
	border-radius: 12px;
	background: #f3f2ef;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.nps-bundle:hover {
	border-color: var(--c-black, #0b0b0b);
}

.nps-bundle.is-selected {
	border-color: var(--c-black, #0b0b0b);
	background: #fff;
	box-shadow: 0 0 0 1px var(--c-black, #0b0b0b);
}

.nps-bundle__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	cursor: pointer;
}

.nps-bundle__head input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--c-black, #0b0b0b);
}

.nps-bundle__body {
	display: grid;
	flex: 1;
	gap: 2px;
	min-width: 0;
}

.nps-bundle__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.25;
}

.nps-bundle__badge {
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--c-black, #0b0b0b);
	color: #fff;
	font-size: 0.7rem;
	letter-spacing: 0.04em;
}

.nps-bundle__sub {
	color: var(--c-muted, #6b6b6b);
	font-size: 0.85rem;
}

.nps-bundle__price {
	display: grid;
	justify-items: end;
	gap: 2px;
	text-align: right;
}

.nps-bundle__now {
	font-size: 1.15rem;
	font-weight: 700;
}

.nps-bundle__was {
	color: var(--c-muted, #6b6b6b);
	font-size: 0.85rem;
}

.nps-bundle__save {
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--c-accent, #2aad23);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.nps-bundle [hidden] {
	display: none;
}

.nps-bundle__items {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px;
	padding: 0 16px 14px 50px;
}

.nps-bundle__item {
	display: grid;
	gap: 3px;
	color: var(--c-muted, #6b6b6b);
	font-size: 0.78rem;
}

.nps-bundle__item select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cfcdc7;
	border-radius: 8px;
	background: #fff;
	color: var(--c-text, #212121);
	font-size: 0.9rem;
}

/* The offer replaces the quantity field. */
form.cart:has(.nps-bundles) .quantity {
	display: none !important;
}

@media (max-width: 480px) {
	.nps-bundle__head {
		gap: 10px;
		padding: 12px;
	}

	.nps-bundle__items {
		padding: 0 12px 12px;
	}
}
