/* 域名注册 — Soft Tech Light Blue，与 site.css 一致 */

.domain-hero {
	position: relative;
	padding: 0 0 56px;
	overflow: hidden;
	background: linear-gradient(135deg, #ebf4ff 0%, #f7fafc 48%, #ffffff 100%);
}

.domain-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, rgba(49, 130, 206, 0.18) 0%, transparent 55%),
		linear-gradient(180deg, #ebf4ff 0%, #f7fafc 42%, #ffffff 100%);
}

.domain-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.4;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.domain-hero-glow {
	position: absolute;
	width: 520px;
	height: 520px;
	right: -120px;
	top: -80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 68%);
	pointer-events: none;
}

.domain-hero-inner {
	position: relative;
	z-index: 1;
	padding-top: 28px;
	padding-bottom: 8px;
}

.domain-breadcrumb {
	margin: 0 0 28px;
	font-size: 13px;
	color: var(--zly-muted, #718096);
}

.domain-breadcrumb a {
	color: var(--zly-brand, #2b6cb0);
	text-decoration: none;
}

.domain-breadcrumb a:hover {
	color: var(--zly-accent, #3182ce);
}

.domain-breadcrumb-sep {
	margin: 0 8px;
	opacity: 0.45;
}

.domain-hero-copy {
	max-width: 640px;
	margin-bottom: 32px;
}

.domain-hero-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--zly-accent, #60a5fa);
}

.domain-hero-copy h1 {
	margin: 0;
	font-size: clamp(32px, 5vw, 44px);
	font-weight: 600;
	line-height: 1.2;
	color: var(--zly-text, #2d3748);
	letter-spacing: 0.02em;
}

.domain-hero-lead {
	margin: 14px 0 0;
	max-width: 520px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--zly-muted, #718096);
}

/* —— 搜索卡片（Hero CTA） —— */
.domain-search-card {
	background: var(--zly-surface, #fff);
	border-radius: calc(var(--zly-radius, 8px) + 4px);
	box-shadow:
		0 16px 48px rgba(45, 55, 72, 0.1),
		0 0 0 1px var(--zly-line, #e2e8f0) inset;
	padding: 28px 28px 24px;
}

.domain-search-card-head h2 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 600;
	color: var(--zly-text, #111827);
}

.domain-search-card-head .panel-desc {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--zly-muted, #6b7280);
}

.domain-search-combo {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 52px;
	border: 1px solid var(--zly-line, #e5e7eb);
	border-radius: var(--zly-radius, 8px);
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s var(--zly-ease, ease), box-shadow 0.2s var(--zly-ease, ease);
}

.domain-search-combo:focus-within {
	border-color: var(--zly-brand, #2563eb);
	box-shadow: 0 0 0 3px var(--zly-brand-soft, rgba(37, 99, 235, 0.12));
}

.domain-search-combo input[type="text"] {
	flex: 1;
	min-width: 0;
	height: 52px;
	border: none;
	background: transparent;
	padding: 0 18px;
	font-size: 16px;
	color: var(--zly-text, #111827);
	outline: none;
}

.domain-search-combo input[type="text"]::placeholder {
	color: #9ca3af;
}

.domain-suffix-select {
	position: relative;
	flex: 0 0 auto;
	min-width: 108px;
	border-left: 1px solid var(--zly-line, #e5e7eb);
	background: #fff;
}

.domain-suffix-select::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 0;
	height: 0;
	margin-top: -2px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #6b7280;
	pointer-events: none;
}

.domain-suffix-select select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 100%;
	min-height: 52px;
	padding: 0 34px 0 16px;
	border: none;
	background: transparent;
	font-size: 15px;
	font-weight: 500;
	color: var(--zly-text, #111827);
	cursor: pointer;
	outline: none;
}

.domain-search-submit {
	flex: 0 0 auto;
	min-width: 112px;
	height: 52px;
	padding: 0 24px;
	border: none;
	border-radius: 0;
	background: linear-gradient(135deg, var(--zly-accent, #3182ce) 0%, var(--zly-brand, #2b6cb0) 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s var(--zly-ease, ease), filter 0.2s var(--zly-ease, ease);
}

.domain-search-submit:hover {
	filter: brightness(1.05);
}

.domain-search-submit:active {
	filter: brightness(0.96);
}

.domain-search-submit-loading {
	display: none;
}

.domain-search-form.is-loading .domain-search-submit-text {
	display: none;
}

.domain-search-form.is-loading .domain-search-submit-loading {
	display: inline;
}

.domain-search-form.is-loading .domain-search-submit {
	opacity: 0.88;
	cursor: wait;
	pointer-events: none;
}

.domain-search-hints {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	font-size: 13px;
	color: var(--zly-muted, #6b7280);
}

.domain-search-hint {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 0 12px;
	border: none;
	border-right: 1px solid #d1d5db;
	background: transparent;
	cursor: pointer;
	line-height: 1.4;
}

.domain-search-hint:first-child {
	padding-left: 0;
}

.domain-search-hint .hint-tld {
	color: var(--zly-text, #111827);
	font-weight: 500;
}

.domain-search-hint .hint-price {
	color: #f97316;
	font-weight: 600;
}

.domain-search-hint:hover .hint-tld {
	color: var(--zly-brand, #2563eb);
}

.domain-search-more {
	margin-left: 8px;
	padding-left: 4px;
	color: var(--zly-brand, #2563eb);
	text-decoration: none;
	font-weight: 500;
}

.domain-search-more:hover {
	text-decoration: underline;
}

.domain-msg {
	margin-top: 16px;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #b91c1c;
	background: #fef2f2;
	border-radius: var(--zly-radius, 8px);
	border: 1px solid #fecaca;
}

.domain-msg.domain-msg--info {
	color: var(--zly-muted, #6b7280);
	background: #f9fafb;
	border-color: var(--zly-line, #e5e7eb);
}

/* —— 查询结果 —— */
.domain-results {
	margin-top: 20px;
	padding-top: 4px;
	border-top: 1px solid var(--zly-line, #e5e7eb);
}

.domain-results-list.domain-search-panel {
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.domain-result-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 16px 4px;
	border-bottom: 1px solid var(--zly-line, #e5e7eb);
	transition: background 0.15s var(--zly-ease, ease);
}

.domain-result-item:first-child {
	padding-top: 12px;
}

.domain-result-item:last-child {
	border-bottom: none;
	padding-bottom: 4px;
}

.domain-result-item:hover {
	background: rgba(37, 99, 235, 0.03);
	margin-left: -8px;
	margin-right: -8px;
	padding-left: 12px;
	padding-right: 12px;
	border-radius: var(--zly-radius, 8px);
	border-bottom-color: transparent;
}

.domain-result-name {
	font-size: 17px;
	font-weight: 600;
	color: var(--zly-text, #111827);
	letter-spacing: 0.01em;
}

.domain-result-meta {
	margin-top: 6px;
	font-size: 13px;
	color: var(--zly-muted, #6b7280);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.domain-result-price {
	color: var(--zly-text, #111827);
	font-weight: 500;
}

.domain-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}

.domain-badge.ok {
	background: var(--zly-brand-soft, rgba(37, 99, 235, 0.12));
	color: var(--zly-brand, #2563eb);
}

.domain-badge.no {
	background: #f3f4f6;
	color: #9ca3af;
}

.domain-result-actions .btn-add-cart,
.domain-result-actions a:not(.disabled) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	padding: 9px 20px;
	background: var(--zly-accent, #3182ce);
	color: #fff;
	border: 1px solid transparent;
	border-radius: var(--zly-radius, 8px);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s var(--zly-ease, ease), transform 0.2s var(--zly-ease, ease), box-shadow 0.2s var(--zly-ease, ease);
}

.domain-result-actions .btn-add-cart:hover,
.domain-result-actions a:not(.disabled):hover {
	background: var(--zly-brand, #2b6cb0);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.domain-result-actions .btn-add-cart.is-added {
	background: #fff;
	color: var(--zly-brand, #2563eb);
	border-color: var(--zly-brand, #2563eb);
	box-shadow: none;
}

.domain-result-actions .btn-add-cart.is-added:hover {
	background: var(--zly-brand-soft, rgba(37, 99, 235, 0.08));
	transform: none;
}

.domain-result-actions a.disabled {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	padding: 9px 20px;
	background: #f3f4f6;
	color: #9ca3af;
	border-radius: var(--zly-radius, 8px);
	font-size: 14px;
	text-decoration: none;
	pointer-events: none;
}

/* —— 页面主体 —— */
.domain-page {
	background: var(--zly-bg, #f7fafc);
	padding: 48px 0 72px;
}

.domain-section-head {
	margin-bottom: 24px;
}

.domain-section-head h2 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
	color: var(--zly-text, #111827);
}

.domain-section-head p {
	margin: 0;
	font-size: 14px;
	color: var(--zly-muted, #6b7280);
}

.domain-section-head--center {
	text-align: center;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 32px;
}

.domain-tld-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.domain-tld-card {
	background: var(--zly-surface, #fff);
	border-radius: var(--zly-radius, 8px);
	border: 1px solid var(--zly-line, #e5e7eb);
	padding: 20px 16px;
	text-align: center;
	transition: border-color 0.2s var(--zly-ease, ease), box-shadow 0.2s var(--zly-ease, ease), transform 0.2s var(--zly-ease, ease);
}

.domain-tld-card:hover {
	border-color: rgba(37, 99, 235, 0.35);
	box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
	transform: translateY(-2px);
}

.domain-tld-card .tld {
	font-size: 22px;
	font-weight: 700;
	color: var(--zly-brand, #2563eb);
	letter-spacing: -0.02em;
}

.domain-tld-card .price {
	margin-top: 8px;
	font-size: 13px;
	color: var(--zly-muted, #6b7280);
	line-height: 1.4;
}

.domain-tld-card .price-num {
	font-size: 18px;
	font-weight: 600;
	color: var(--zly-text, #111827);
}

.domain-tld-card .price-unit {
	font-size: 12px;
}

/* —— 优惠活动 —— */
.domain-promo {
	margin-bottom: 40px;
	background: var(--zly-surface, #fff);
	border: 1px solid var(--zly-line, #e5e7eb);
	border-radius: calc(var(--zly-radius, 8px) + 2px);
	overflow: hidden;
}

.domain-promo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.domain-promo-item {
	padding: 18px 20px 16px;
	border-right: 1px solid var(--zly-line, #e5e7eb);
	border-bottom: 1px solid var(--zly-line, #e5e7eb);
	min-height: 88px;
}

.domain-promo-item:nth-child(4n) {
	border-right: none;
}

.domain-promo-title {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--zly-text, #111827);
	line-height: 1.45;
}

.domain-promo-badge {
	flex-shrink: 0;
	margin-top: 1px;
	padding: 0 5px;
	border-radius: 3px;
	background: #ef4444;
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;
}

.domain-promo-desc {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--zly-muted, #6b7280);
}

.domain-promo-links {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.domain-promo-links a,
.domain-promo-more {
	font-size: 12px;
	color: var(--zly-brand, #2563eb);
	text-decoration: none;
}

.domain-promo-links a:hover,
.domain-promo-more:hover {
	text-decoration: underline;
}

/* —— 我们的优势 —— */
.domain-advantage {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--zly-line, #e5e7eb);
}

.domain-advantage-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.domain-advantage-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 128px;
	padding: 22px 20px;
	border-radius: calc(var(--zly-radius, 8px) + 2px);
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 55%, #e0f2fe 100%);
	border: 1px solid rgba(37, 99, 235, 0.12);
	transition: transform 0.25s var(--zly-ease, ease), box-shadow 0.25s var(--zly-ease, ease);
}

.domain-advantage-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.domain-advantage-copy {
	flex: 1;
	min-width: 0;
}

.domain-advantage-copy h3 {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
	color: var(--zly-text, #111827);
}

.domain-advantage-copy p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #4b5563;
}

.domain-advantage-copy em {
	font-style: normal;
	color: #ef4444;
	font-weight: 600;
}

.domain-advantage-icon {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* —— 相关信息 —— */
.domain-related {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--zly-line, #e5e7eb);
}

.domain-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.domain-related-card {
	background: var(--zly-surface, #fff);
	border: 1px solid var(--zly-line, #e5e7eb);
	border-radius: calc(var(--zly-radius, 8px) + 2px);
	overflow: hidden;
	min-height: 210px;
	display: flex;
	flex-direction: column;
}

.domain-related-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: linear-gradient(90deg, rgba(43, 108, 176, 0.12) 0%, rgba(49, 130, 206, 0.08) 100%);
	color: var(--zly-brand, #2b6cb0);
	border-bottom: 1px solid var(--zly-line, #e2e8f0);
}

.domain-related-head h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.domain-related-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.18);
	position: relative;
}

.domain-related-icon::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 2px solid #fff;
	border-radius: 2px;
}

.domain-related-icon--shield::before {
	border-radius: 50% 50% 40% 40%;
	border-bottom-width: 3px;
}

.domain-related-icon--bell::before {
	border-radius: 50% 50% 4px 4px;
	top: 5px;
	bottom: 8px;
}

.domain-related-body {
	padding: 16px 18px 18px;
	flex: 1;
}

.domain-related-faq {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
}

.domain-related-faq a {
	font-size: 13px;
	color: var(--zly-text, #111827);
	text-decoration: none;
	line-height: 1.45;
}

.domain-related-faq a:hover {
	color: var(--zly-brand, #2563eb);
}

.domain-related-faq li {
	position: relative;
	padding-left: 12px;
}

.domain-related-faq li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #9ca3af;
}

.domain-related-lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.domain-related-lines li {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.6;
	color: #374151;
}

.domain-related-lines span {
	color: #6b7280;
}

.domain-related-link {
	margin: 14px 0 0;
	font-size: 13px;
	color: #6b7280;
}

.domain-related-link a {
	color: var(--zly-brand, #2563eb);
	text-decoration: none;
}

.domain-related-link a:hover {
	text-decoration: underline;
}

.domain-steps {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--zly-line, #e5e7eb);
}

.domain-step-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.domain-step-list .step {
	position: relative;
	background: var(--zly-surface, #fff);
	border-radius: calc(var(--zly-radius, 8px) + 2px);
	padding: 24px 20px 22px;
	border: 1px solid var(--zly-line, #e5e7eb);
	transition: border-color 0.2s var(--zly-ease, ease), box-shadow 0.2s var(--zly-ease, ease);
}

.domain-step-list .step:hover {
	border-color: rgba(37, 99, 235, 0.25);
	box-shadow: 0 12px 32px rgba(10, 22, 40, 0.06);
}

.domain-step-list .step-num {
	display: block;
	margin-bottom: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--zly-brand, #2563eb);
	opacity: 0.85;
}

.domain-step-list .step strong {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--zly-text, #111827);
}

.domain-step-list .step p {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--zly-muted, #6b7280);
}

@media (max-width: 991px) {
	.domain-step-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.domain-promo-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.domain-promo-item:nth-child(4n) {
		border-right: 1px solid var(--zly-line, #e5e7eb);
	}

	.domain-promo-item:nth-child(2n) {
		border-right: none;
	}

	.domain-advantage-grid,
	.domain-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.domain-hero {
		padding-bottom: 40px;
	}

	.domain-hero-inner {
		padding-top: 16px;
	}

	.domain-hero-copy {
		margin-bottom: 24px;
	}

	.domain-search-card {
		padding: 20px 16px 18px;
		border-radius: var(--zly-radius, 8px);
	}

	.domain-search-combo {
		flex-wrap: wrap;
		border: none;
		background: transparent;
		overflow: visible;
		box-shadow: none;
	}

	.domain-search-combo:focus-within {
		box-shadow: none;
	}

	.domain-search-combo input[type="text"] {
		flex: 1 1 100%;
		border: 1px solid var(--zly-line, #e5e7eb);
		border-radius: var(--zly-radius, 8px) var(--zly-radius, 8px) 0 0;
		background: #fff;
	}

	.domain-suffix-select {
		flex: 1 1 auto;
		min-width: 0;
		border: 1px solid var(--zly-line, #e5e7eb);
		border-top: none;
		border-radius: 0 0 0 var(--zly-radius, 8px);
	}

	.domain-search-submit {
		flex: 1 1 auto;
		min-width: 110px;
		border-radius: 0 0 var(--zly-radius, 8px) 0;
	}

	.domain-search-hint {
		padding: 4px 10px;
		border-right: none;
	}

	.domain-search-hint:first-child {
		padding-left: 10px;
	}

	.domain-result-item:hover {
		margin-left: 0;
		margin-right: 0;
		padding-left: 4px;
		padding-right: 4px;
	}

	.domain-result-actions {
		width: 100%;
	}

	.domain-result-actions .btn-add-cart,
	.domain-result-actions a.disabled,
	.domain-result-actions a:not(.disabled) {
		width: 100%;
	}

	.domain-page {
		padding: 36px 0 56px;
	}

	.domain-step-list {
		grid-template-columns: 1fr;
	}

	.domain-steps,
	.domain-advantage,
	.domain-related {
		margin-top: 40px;
		padding-top: 36px;
	}

	.domain-promo-grid {
		grid-template-columns: 1fr;
	}

	.domain-tld-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.domain-promo-item {
		border-right: none;
	}

	.domain-related-faq {
		grid-template-columns: 1fr;
	}

	.domain-faq-body {
		padding: 24px 20px 28px;
	}
}

/* 域名 FAQ 详情 */
.domain-hero--compact {
	padding-bottom: 36px;
}

.domain-hero--compact .domain-hero-copy {
	margin-bottom: 0;
}

.domain-faq-page {
	background: var(--zly-bg, #f7fafc);
	padding: 32px 0 56px;
}

.domain-faq-body {
	max-width: 900px;
	margin: 0 auto;
}

.domain-faq-body code {
	font-size: 0.92em;
	padding: 2px 6px;
	border-radius: 4px;
	background: #ebf4ff;
	color: var(--zly-brand, #2b6cb0);
}

.domain-faq-body ol {
	margin: 0 0 14px 1.4em;
	padding: 0;
}

.domain-faq-body ol li {
	margin-bottom: 8px;
}

.domain-faq-related {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.domain-faq-related .domain-section-head {
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
	text-align: left;
}

.domain-faq-back {
	text-align: center;
	max-width: 900px;
	margin: 24px auto 0;
}
