/* ==============================================
   Sale Process Widget
   ============================================== */

.sp-section {
	position: relative;
	width: 100%;
	padding: 48px 24px 56px;
	font-family: Inter, sans-serif;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sp-bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	z-index: 0;
}

.sp-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.82);
	z-index: 1;
}

.sp-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #1f3fa0, #3b6dd6, #1f3fa0);
	z-index: 3;
}

.sp-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.sp-title {
	text-align: center;
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.5px;
	margin-bottom: 36px;
}

.sp-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

.sp-card {
	background: rgba(243, 244, 246, 0.92);
	backdrop-filter: blur(6px);
	padding: 32px 18px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	border: 2px solid transparent;
}

.sp-card:hover,
.sp-card.active {
	background: #2546a0;
	border-color: #2546a0;
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(37, 70, 160, 0.35);
}

.sp-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sp-icon svg {
	width: 42px;
	height: 42px;
	stroke: #374151;
	stroke-width: 1.4;
	fill: none;
	transition: stroke 0.3s ease;
}

.sp-card:hover .sp-icon svg,
.sp-card.active .sp-icon svg {
	stroke: #fff;
}

.sp-label {
	font-size: 14px;
	font-weight: 600;
	color: #1f2937;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.sp-card:hover .sp-label,
.sp-card.active .sp-label {
	color: #fff;
}

/* --- 响应式 --- */
@media (max-width: 900px) {
	.sp-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}

@media (max-width: 767px) {
	.sp-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.sp-card {
		padding: 24px 14px 22px;
	}
}
