.smokgate-bundle {
	--bbun-primary: var(--brand_primary, #111827);
	--bbun-primary-fg: var(--brand_primary_fg, #ffffff);
	--bbun-primary-soft: color-mix(in srgb, var(--bbun-primary) 10%, transparent);
	--bbun-primary-tint: color-mix(in srgb, var(--bbun-primary) 5%, #ffffff);
}

.smokgate-bundle.form-group,
.smokgate-bundle {
	display: block !important;
	flex-direction: unset !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.smokgate-bundle .control-label {
	display: block;
	width: 100% !important;
	max-width: none !important;
	text-align: left !important;
	margin: 0 0 10px 0;
	padding: 0 !important;
}

.smokgate-bundle.required .control-label::after,
.smokgate-bundle .control-label::after {
	display: inline-block !important;
	vertical-align: baseline !important;
	margin-inline-start: 4px !important;
}

.smokgate-bundle__body {
	display: block;
	width: 100%;
}

.smokgate-bundle__counter {
	display: block;
	margin-bottom: 12px;
}

.smokgate-bundle__counter-text {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	background: var(--bbun-primary-tint);
	border: 1px solid var(--bbun-primary-soft);
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	color: var(--bbun-primary);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.smokgate-bundle__counter strong {
	font-weight: 700;
}

.smokgate-bundle__counter.is-complete .smokgate-bundle__counter-text {
	background: var(--bbun-primary);
	border-color: var(--bbun-primary);
	color: var(--bbun-primary-fg);
}

.smokgate-bundle__counter.is-over .smokgate-bundle__counter-text {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.smokgate-bundle__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 8px;
}

.smokgate-bundle__list {
	width: 100%;
}

.smokgate-bundle__row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px 12px;
	border-radius: 8px;
	transition: background .12s ease;
}

.smokgate-bundle__row:hover {
	background: #f9fafb;
}

.smokgate-bundle__name {
	flex: 0 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #1f2937;
}

.smokgate-bundle__qty {
	flex: 0 0 auto;
	margin-left: auto;
}

.smokgate-bundle__img {
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.smokgate-bundle__price {
	color: #6b7280;
	font-size: 13px;
}

.smokgate-bundle__qty {
	display: inline-flex;
	align-items: center;
	gap: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
}

.smokgate-bundle__step {
	width: 32px;
	height: 32px;
	border: 0;
	background: #fff;
	color: #1f2937;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .12s ease, color .12s ease;
}

.smokgate-bundle__step:hover {
	background: var(--bbun-primary);
	color: var(--bbun-primary-fg);
}

.smokgate-bundle__step:disabled {
	opacity: .35;
	cursor: not-allowed;
	background: #fff;
	color: #1f2937;
}

.smokgate-bundle__input {
	width: 44px;
	height: 32px;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
	-moz-appearance: textfield;
}

.smokgate-bundle__input::-webkit-outer-spin-button,
.smokgate-bundle__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.smokgate-bundle__input:focus {
	outline: none;
}

.smokgate-bundle.is-invalid .smokgate-bundle__counter-text {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

@media (max-width: 540px) {
	.smokgate-bundle__row {
		flex-wrap: wrap;
	}
	.smokgate-bundle__name {
		width: 100%;
	}
}
