:root {
	--wan-sp-navy: #0b2440;
	--wan-sp-teal: #0ea5a8;
	--wan-sp-teal-dark: #087f82;
	--wan-sp-mint: #eafafa;
	--wan-sp-line: #d9e7e8;
	--wan-sp-text: #183044;
	--wan-sp-muted: #657988;
	--wan-sp-danger: #c62828;
	--wan-sp-danger-dark: #a91f1f;
}

.wan-sp-card {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 20px;
	overflow: hidden;
	margin: 24px 0;
	padding: 18px;
	border: 1px solid var(--wan-sp-line);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(234, 250, 250, .82), rgba(255, 255, 255, .98) 42%),
		#fff;
	box-shadow: 0 10px 30px rgba(11, 36, 64, .08);
	color: var(--wan-sp-text);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wan-sp-card:hover {
	border-color: #b9dcdc;
	box-shadow: 0 14px 34px rgba(11, 36, 64, .11);
}

.wan-sp-card.is-selected {
	border-color: rgba(14, 165, 168, .72);
	box-shadow: 0 14px 36px rgba(14, 165, 168, .16);
}

.wan-sp-card.is-busy {
	pointer-events: none;
}

.wan-sp-card.is-busy::after {
	position: absolute;
	inset: 0;
	content: "";
	background: rgba(255, 255, 255, .55);
	backdrop-filter: blur(1px);
}

.wan-sp-card__halo {
	position: absolute;
	top: -80px;
	right: -65px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(14, 165, 168, .14), transparent 68%);
	pointer-events: none;
}

.wan-sp-card__image {
	position: relative;
	align-self: center;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 1;
	background: var(--wan-sp-navy);
	box-shadow: 0 8px 20px rgba(11, 36, 64, .16);
}

.wan-sp-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.wan-sp-card__image:hover img {
	transform: scale(1.035);
}

.wan-sp-card__body {
	position: relative;
	min-width: 0;
}

.wan-sp-card__eyebrow,
.wan-sp-card__title-row,
.wan-sp-card__footer,
.wan-sp-card__secure,
.wan-sp-action,
.wan-sp-action__surface {
	display: flex;
	align-items: center;
}

.wan-sp-card__eyebrow {
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 7px;
}

.wan-sp-card__badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border-radius: 99px;
	background: var(--wan-sp-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
}

.wan-sp-card__secure {
	gap: 5px;
	color: var(--wan-sp-teal-dark);
	font-size: 12px;
	font-weight: 650;
}

.wan-sp-card__secure svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.wan-sp-card__title-row {
	justify-content: space-between;
	gap: 18px;
}

.wan-sp-card h3 {
	margin: 0;
	color: var(--wan-sp-navy);
	font-size: clamp(17px, 2vw, 20px);
	font-weight: 750;
	line-height: 1.25;
}

.wan-sp-card h3 a {
	color: inherit;
	text-decoration: none;
}

.wan-sp-card__price {
	flex: 0 0 auto;
	color: var(--wan-sp-navy);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.wan-sp-card__copy {
	max-width: 650px;
	margin: 7px 0 13px;
	color: var(--wan-sp-muted);
	font-size: 13.5px;
	line-height: 1.55;
}

.wan-sp-card__footer {
	justify-content: space-between;
	gap: 16px;
}

.wan-sp-card__learn {
	color: var(--wan-sp-teal-dark);
	font-size: 12.5px;
	font-weight: 650;
	text-decoration: none;
}

.wan-sp-card__learn span {
	display: inline-block;
	margin-left: 3px;
	transition: transform .2s ease;
}

.wan-sp-card__learn:hover span {
	transform: translateX(3px);
}

.wan-sp-action {
	position: relative;
	flex: 0 0 auto;
	margin: 0;
	cursor: pointer;
	user-select: none;
}

.wan-sp-action input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.wan-sp-action__surface {
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid rgba(7, 116, 123, .38);
	border-radius: 10px;
	background: linear-gradient(135deg, #20bcae 0%, #0b9298 100%);
	box-shadow:
		0 8px 18px rgba(11, 146, 152, .22),
		inset 0 1px 0 rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	transition:
		background .2s ease,
		border-color .2s ease,
		box-shadow .2s ease,
		transform .2s ease;
}

.wan-sp-action:hover .wan-sp-action__surface {
	border-color: rgba(7, 116, 123, .55);
	background: linear-gradient(135deg, #27c9b9 0%, #0b9da3 100%);
	box-shadow:
		0 10px 22px rgba(11, 146, 152, .29),
		inset 0 1px 0 rgba(255, 255, 255, .24);
	transform: translateY(-1px);
}

.wan-sp-action input:focus-visible + .wan-sp-action__surface {
	outline: 3px solid rgba(14, 165, 168, .25);
	outline-offset: 3px;
}

.wan-sp-action input:checked + .wan-sp-action__surface {
	border-color: rgba(139, 23, 23, .5);
	background: linear-gradient(135deg, var(--wan-sp-danger) 0%, var(--wan-sp-danger-dark) 100%);
	box-shadow:
		0 8px 18px rgba(169, 31, 31, .24),
		inset 0 1px 0 rgba(255, 255, 255, .18);
}

.wan-sp-action:hover input:checked + .wan-sp-action__surface {
	border-color: rgba(120, 18, 18, .62);
	background: linear-gradient(135deg, #d33232 0%, #b52121 100%);
	box-shadow:
		0 10px 22px rgba(169, 31, 31, .3),
		inset 0 1px 0 rgba(255, 255, 255, .22);
}

.wan-sp-action__icon {
	display: inline-flex;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.wan-sp-action__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
}

.wan-sp-action__icon--added {
	display: none;
}

.wan-sp-action input:checked + .wan-sp-action__surface .wan-sp-action__icon--add,
.wan-sp-action input:checked + .wan-sp-action__surface .wan-sp-action__price {
	display: none;
}

.wan-sp-action input:checked + .wan-sp-action__surface .wan-sp-action__icon--added {
	display: inline-flex;
}

.wan-sp-action__price {
	padding-left: 8px;
	border-left: 1px solid rgba(255, 255, 255, .35);
	font-variant-numeric: tabular-nums;
}

.wan-sp-action__price .amount,
.wan-sp-action__price bdi {
	color: inherit;
	font-weight: inherit;
}

.wan-sp-card__status {
	position: absolute;
	right: 18px;
	bottom: 3px;
	color: #b42318;
	font-size: 11px;
}

.wan-sp-block-slot {
	margin: 18px 0;
}

.wan-sp-block-slot .wan-sp-card {
	margin: 0;
}

@media (max-width: 640px) {
	.wan-sp-card {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 13px;
		padding: 14px;
		border-radius: 14px;
	}

	.wan-sp-card__title-row {
		align-items: flex-start;
		gap: 10px;
	}

	.wan-sp-card h3 {
		font-size: 16px;
	}

	.wan-sp-card__price {
		font-size: 17px;
	}

	.wan-sp-card__copy {
		grid-column: 1 / -1;
		margin-bottom: 11px;
	}

	.wan-sp-card__footer {
		align-items: flex-end;
		flex-direction: column-reverse;
		gap: 10px;
	}

	.wan-sp-action {
		width: 100%;
	}

	.wan-sp-action__surface {
		width: 100%;
	}

	.wan-sp-card__learn {
		align-self: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wan-sp-card,
	.wan-sp-card *,
	.wan-sp-card *::before,
	.wan-sp-card *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
