/* Mobile-first: base styles target small screens, desktop overrides at the bottom. */

.kx-bsc-offer {
	margin: 24px 0;
	padding: 16px;
	border-radius: 12px;
	background: #f7f9f7;
	box-sizing: border-box;
}
.kx-bsc-offer * {
	box-sizing: border-box;
}

.kx-bsc-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #059669;
	margin-bottom: 4px;
}
.kx-bsc-heading {
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 4px;
}
.kx-bsc-subheading {
	font-size: 14px;
	color: #555;
	margin: 0 0 16px;
}

.kx-bsc-card {
	position: relative;
	display: flex;
	flex-direction: column; /* mobile: image(s) on top, body + button below */
	align-items: center;
	gap: 12px;
	padding: 12px;
	margin-bottom: 12px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-align: center;
}
.kx-bsc-card--bundle {
	border-color: #f59e0b;
	background: #fffbeb;
}

.kx-bsc-badge {
	position: absolute;
	top: -10px;
	left: 12px;
	background: #111827;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
}
.kx-bsc-badge--bundle {
	position: static;
	display: inline-block;
	background: #f59e0b;
	margin-bottom: 8px;
}

.kx-bsc-card__image {
	flex: 0 0 auto;
	width: 140px;
	max-width: 55%;
}
.kx-bsc-card__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}
.kx-bsc-card__images {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
}
.kx-bsc-card__image--small {
	width: 56px;
}

.kx-bsc-card__body {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	text-align: left;
}

.kx-bsc-card__title {
	display: block;
	font-weight: 600;
	font-size: 15px;
	color: #111827;
	text-decoration: none;
	margin-bottom: 4px;
	line-height: 1.3;
}

.kx-bsc-regular-price {
	font-size: 13px;
	color: #9ca3af;
	text-decoration: line-through;
	margin-bottom: 2px;
}

.kx-bsc-offer-label {
	font-size: 12px;
	color: #555;
	margin-top: 4px;
}

.kx-bsc-offer-price {
	font-size: 24px;
	font-weight: 800;
	color: #059669;
	line-height: 1.1;
	margin: 2px 0 6px;
}

.kx-bsc-savings {
	font-size: 13px;
	color: #b45309;
	margin-bottom: 6px;
}

.kx-bsc-cta {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: #059669;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
}
.kx-bsc-cta:hover {
	background: #047857;
}
.kx-bsc-cta.kx-bsc-loading {
	opacity: 0.6;
	pointer-events: none;
}
.kx-bsc-add--bundle {
	background: #f59e0b;
}
.kx-bsc-add--bundle:hover {
	background: #d97706;
}

.kx-bsc-urgency {
	font-size: 12px;
	color: #6b7280;
	text-align: center;
	margin-top: 8px;
}

.kx-bsc-message {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 13px;
	text-align: center;
	padding: 0;
	border-radius: 6px;
	background: #ecfdf5;
	color: #065f46;
	transition: all 0.2s ease;
}
.kx-bsc-message--visible {
	max-height: 60px;
	opacity: 1;
	padding: 8px;
	margin-top: 8px;
}
.kx-bsc-message--error {
	background: #fef2f2;
	color: #991b1b;
}

.kx-bsc-cart-badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	background: #111827;
	color: #fff;
	padding: 2px 6px;
	border-radius: 999px;
	margin-left: 4px;
}

/* ---- Desktop (≥768px): enough width to go back to image-on-the-left,
       content-on-the-right — mobile stays stacked (image → body → button)
       via the base rules above. ---- */
@media ( min-width: 768px ) {
	.kx-bsc-offer {
		padding: 24px;
	}
	.kx-bsc-card {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		padding: 16px;
	}
	.kx-bsc-card__image {
		width: 110px;
		max-width: none;
	}
	.kx-bsc-cta {
		width: auto;
		min-width: 220px;
		display: inline-block;
	}
}
