/* 产品选型向导：步骤筛选 + 结果列表（结果卡片样式复用 product-list.css）
 * 五档：Phone≤767 | Small 768–1024 | Mid 1025–1439 | Large 1440–1679 | XLarge≥1680
 */

.hh-select-section {
	background: #fff;
	padding: 0 0 60px;
	min-height: calc(100vh - 180px);
	box-sizing: border-box;
	font-family: "HarmonyOS Sans SC Light";
	font-weight: normal;
	font-synthesis: none;
}

.hh-select-inner {
	max-width: 1520px;
	margin: 0 auto;
	padding: 36px 24px 0;
	box-sizing: border-box;
}

.hh-select-hero {
	text-align: center;
	padding: 10px 0 28px;
}

.hh-select-title {
	font-size: 28px;
	color: #132A3E;
	font-weight: 600;
	margin: 0 0 8px;
}

.hh-select-sub {
	color: #666;
	font-size: 15px;
	margin: 0 0 22px;
}

.hh-select-search {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.hh-select-search input {
	width: 440px;
	max-width: 80%;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #d5dbe2;
	border-radius: 6px;
	font-size: 15px;
	outline: none;
	box-sizing: border-box;
}

.hh-select-search input:focus {
	border-color: #00a1e9;
}

.hh-select-search button {
	height: 44px;
	padding: 0 28px;
	border: none;
	border-radius: 6px;
	background: #00a1e9;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
}

.hh-select-search button:hover {
	background: #0090d2;
}

.hh-select-steps {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 28px;
}

.hh-select-step {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 20px;
	border: 1px solid #00A1E9;
	border-radius: 22px;
	background: #f7f9fb;
	color: #8a94a0;
	font-size: 14px;
}

.hh-select-step.hh-select-step-done {
	border-color: #00A1E9;
	background: #f0faf0;
	color: #3e8e41;
	cursor: pointer;
}

.hh-select-step.hh-select-step-done:hover {
	border-color: #00A1E9;
	background: #eaf7fd;
	color: #0077a8;
}

.hh-select-step.hh-select-step-on {
	border-color: #00A1E9;
	background: #eaf7fd;
	color: #0077a8;
}

.hh-step-num {
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	border-radius: 50%;
	background: #cfd8e0;
	color: #fff;
	font-size: 13px;
	flex-shrink: 0;
}

.hh-select-step-on .hh-step-num,
.hh-select-step-done .hh-step-num {
	background: #00a1e9;
}

.hh-select-chips {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 20px;
}

.hh-select-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #eaf7fd;
	border: 1px solid #00A1E9;
	border-radius: 16px;
	font-size: 13px;
	color: #333;
	cursor: default;
}

.hh-select-chip .hh-chip-tag {
	color: #0077a8;
}

.hh-select-chip .hh-chip-x {
	cursor: pointer;
	color: #999;
	font-style: normal;
	font-size: 15px;
	padding: 0 2px;
}

.hh-select-chip .hh-chip-x:hover {
	color: #d43;
}

.hh-select-panel {
	max-width: 1280px;
	margin: 0 auto;
}

.hh-select-step-head {
	text-align: center;
	margin: 0 0 22px;
}

.hh-select-step-head h2 {
	font-size: 22px;
	color: #132A3E;
	margin: 0 0 6px;
	font-weight: 600;
}

.hh-select-step-head p {
	font-size: 14px;
	color: #8a94a0;
	margin: 0;
}

.hh-select-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.hh-select-card {
	width: 200px;
	min-height: 86px;
	padding: 18px 16px;
	border: 1px solid #e0e4e8;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}

.hh-select-card:hover {
	border-color: #00a1e9;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.hh-select-card .hh-select-card-txt {
	font-size: 15px;
	color: #333;
	word-break: break-all;
	line-height: 1.4;
}

.hh-select-card .hh-select-card-check {
	display: none;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 50%;
	background: #00a1e9;
	color: #fff;
	font-style: normal;
	font-size: 12px;
	flex-shrink: 0;
}

.hh-select-card.hh-select-card-on {
	border-color: #00a1e9;
	background: #f2fbff;
}

.hh-select-card.hh-select-card-on .hh-select-card-check {
	display: inline-block;
}

.hh-select-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: 30px 0 10px;
	flex-wrap: wrap;
}

.hh-btn {
	height: 40px;
	padding: 0 24px;
	border-radius: 6px;
	border: 1px solid #cfd8e0;
	background: #fff;
	color: #555;
	font-size: 14px;
	cursor: pointer;
}

.hh-btn:hover {
	border-color: #00a1e9;
	color: #0077a8;
}

.hh-btn-result {
	border-color: #00a1e9;
	background: #00a1e9;
	color: #fff;
}

.hh-btn-result:hover {
	background: #0090d2;
	color: #fff;
}

.hh-select-result {
	margin: 0 auto;
	max-width: 1280px;
}

.hh-select-result .hh-list-header {
	margin: 0 0 18px;
	padding-top: 6px;
}

.hh-select-result-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 16px;
	padding-top: 8px;
	gap: 12px;
	flex-wrap: wrap;
}

.hh-result-desc {
	font-size: 14px;
	color: #8a94a0;
}

/* —— 文案缩放：≤1679 —— */
@media screen and (max-width: 1679px) {
	.hh-select-title {
		font-size: max(var(--kyd-text-sm-min, 14px), calc(28px * var(--kyd-text-scale, 1)));
	}
	.hh-select-sub,
	.hh-select-search input,
	.hh-select-search button {
		font-size: max(var(--kyd-text-sm-min, 14px), calc(15px * var(--kyd-text-scale, 1)));
	}
	.hh-select-step {
		font-size: max(var(--kyd-text-sm-min, 14px), calc(14px * var(--kyd-text-scale, 1)));
	}
	.hh-select-step-head h2 {
		font-size: max(var(--kyd-text-sm-min, 14px), calc(22px * var(--kyd-text-scale, 1)));
	}
	.hh-select-card .hh-select-card-txt {
		font-size: max(var(--kyd-text-sm-min, 14px), calc(15px * var(--kyd-text-scale, 1)));
	}
	.hh-btn,
	.hh-result-desc {
		font-size: max(var(--kyd-text-sm-min, 14px), calc(14px * var(--kyd-text-scale, 1)));
	}
}

/* —— Large 1440～1679 —— */
@media screen and (min-width: 1440px) and (max-width: 1679px) {
	.hh-select-inner {
		padding-left: 28px;
		padding-right: 28px;
	}
}

/* —— Mid 1025～1439 —— */
@media screen and (min-width: 1025px) and (max-width: 1439px) {
	.hh-select-inner {
		padding: 32px 24px 0;
	}
	.hh-select-card {
		width: 180px;
		min-height: 80px;
		padding: 16px 14px;
	}
	.hh-select-search input {
		width: 400px;
	}
}

/* —— Small 768～1024 —— */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.hh-select-inner {
		padding: 28px 20px 0;
	}
	.hh-select-hero {
		padding-bottom: 22px;
	}
	.hh-select-steps {
		gap: 8px;
		margin-bottom: 22px;
	}
	.hh-select-step {
		padding: 8px 14px;
	}
	.hh-select-card {
		width: calc(33.333% - 12px);
		min-width: 160px;
		min-height: 76px;
		padding: 14px 12px;
	}
	.hh-select-search {
		flex-wrap: wrap;
	}
	.hh-select-search input {
		width: min(400px, 70%);
	}
}

/* —— Phone ≤767（原 ≤768） —— */
@media screen and (max-width: 767px) {
	.hh-select-section {
		padding-bottom: 48px;
	}
	.hh-select-inner {
		padding: 22px 14px 0;
	}
	.hh-select-hero {
		padding: 6px 0 20px;
	}
	.hh-select-search {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.hh-select-search input {
		width: 100%;
		max-width: 100%;
	}
	.hh-select-search button {
		width: 100%;
	}
	.hh-select-steps {
		gap: 8px;
		margin-bottom: 20px;
	}
	.hh-select-step {
		padding: 8px 12px;
		flex: 1 1 calc(50% - 8px);
		justify-content: center;
		box-sizing: border-box;
	}
	.hh-select-card {
		width: calc(50% - 10px);
		min-height: 70px;
		padding: 14px 12px;
	}
	.hh-select-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.hh-select-actions .hh-btn {
		width: 100%;
	}
	.hh-select-result-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
}
