/* Buy More Save More — selectable bundle cards
   Tuned for dermadealers.com. Adjust variables to fine-tune. */

.bmsm-bundles {
	--bmsm-accent: #1787d9;       /* sky blue, matches info box */
	--bmsm-accent-dark: #0f6bb0;
	--bmsm-accent-soft: #eaf5fd;  /* selected card tint (light blue) */
	--bmsm-ink: #111111;          /* black, matches Add to cart */
	--bmsm-muted: #6f7a82;
	--bmsm-line: #dcebf5;
	--bmsm-ok: #3d9142;           /* green, matches "in stock" */
	--bmsm-ok-soft: #e9f5ea;

	margin: 22px 0 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
}

.bmsm-bundles-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 2px;
}
.bmsm-bundles-title {
	font-weight: 700;
	font-size: 17px;
	color: var(--bmsm-ink);
	letter-spacing: 0.01em;
}
.bmsm-bundles-sub { font-size: 12.5px; color: var(--bmsm-muted); }

/* Card */
.bmsm-bundle {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1.5px solid var(--bmsm-line);
	border-radius: 12px;
	padding: 15px 18px;
	cursor: pointer;
	margin: 0;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.bmsm-bundle:hover {
	border-color: #b9d9ef;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}
.bmsm-bundle:active { transform: scale(0.995); }
.bmsm-bundle input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* Selected state */
.bmsm-bundle.bmsm-selected {
	border-color: var(--bmsm-accent);
	background: var(--bmsm-accent-soft);
	box-shadow: 0 0 0 1px var(--bmsm-accent), 0 4px 16px rgba(23, 135, 217, 0.16);
}

/* Custom radio */
.bmsm-radio {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #d2d2d2;
	background: #fff;
	transition: border-color 0.15s ease;
	position: relative;
}
.bmsm-bundle.bmsm-selected .bmsm-radio { border-color: var(--bmsm-accent); }
.bmsm-bundle.bmsm-selected .bmsm-radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--bmsm-accent);
}

/* Middle column */
.bmsm-bundle-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bmsm-bundle-title {
	font-weight: 700;
	color: var(--bmsm-ink);
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.bmsm-bundle-meta { font-size: 13px; color: var(--bmsm-muted); }
.bmsm-pct { color: var(--bmsm-accent-dark); font-weight: 600; }

.bmsm-save-badge {
	background: var(--bmsm-ok-soft);
	color: var(--bmsm-ok);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	border-radius: 999px;
	padding: 3px 10px;
	white-space: nowrap;
}

/* Right column */
.bmsm-bundle-total {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	line-height: 1.25;
}
.bmsm-bundle-total del { font-size: 12.5px; color: #b3b3b3; text-decoration: line-through; }
.bmsm-bundle-total strong { font-size: 17px; font-weight: 700; color: var(--bmsm-ink); }

/* Best value */
.bmsm-best-tag {
	background: var(--bmsm-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 4px;
	padding: 3px 8px;
	margin-top: 2px;
}

/* Cart strike-through price */
.bmsm-cart-price { text-decoration: none; color: var(--bmsm-accent-dark); font-weight: 700; }

@media (max-width: 480px) {
	.bmsm-bundle { padding: 13px 14px; gap: 10px; }
	.bmsm-bundle-total strong { font-size: 15px; }
}
