/* ==========================================================================
   1. 搜索页面容器 (Search Section)
   ========================================================================== */
.royal-search-section {
	padding: 100px 0 40px;
	background: #f3f3f3;
	min-height: 800px;
}

/* ==========================================================================
   2. 搜索表单 (Search Form)
   ========================================================================== */
.royal-search-form {
	background: #fff;
	border-radius: 5px;
	padding: 20px;
	box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.02);
	max-width: 800px;
	margin: 40px auto;
}

/* ==========================================================================
   3. 搜索结果容器 (Search Results Container)
   ========================================================================== */
.royal-search-results {
	background: #fff;
	border-radius: 5px;
	padding: 40px;
	box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.05);
}

/* 结果头部（计数 + 排序等） */
.royal-results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 20px;
}

/* 搜索关键词高亮样式 */
.royal-result-title .highlight,
.royal-result-excerpt .highlight {
	color: red;
	font-weight: 600;
	background: #e6e6e6;
	padding: 1px 4px;
	border-radius: 2px;
	display: inline-block;
}

.royal-results-count {
	color: #666;
	font-size: 14px;
}

.royal-results-count strong {
	color: red;
	font-size: 20px;
}

/* ==========================================================================
   4. 搜索结果列表 (Results List)
   ========================================================================== */
.royal-results-list {
	overflow: hidden;
	padding: 10px 0;
}

/* 单个结果项 */
.royal-result-item {
	padding: 20px;
	border-radius: 5px;
	transition: all 0.5s ease;
	border: 1px solid #e6e6e6;
	margin-bottom: 20px;
	overflow: hidden;
}

.royal-result-item:hover {
	background: #fff;
	border-color: #e6e6e6;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateX(5px);
}

/* 缩略图 */
.royal-result-thumb {
	overflow: hidden;
	padding-right: 40px;
}

.royal-result-thumb .royal-thumb-wrapper {
	padding-bottom: 100%;
}

/* 结果信息 */
.royal-result-info {
	overflow: hidden;
}

.royal-result-title {
	font-size: 16px;
	margin-bottom: 10px;
}

/* 结果摘要（最多2行截断） */
.royal-result-excerpt {
	color: #666;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 结果元信息 */
.royal-result-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.royal-result-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #666;
}

.royal-result-meta-item i {
	font-size: 12px;
}

.royal-result-meta-item.price {
	color: red;
	font-weight: 500;
}

/* ==========================================================================
   5. 空状态 / 无结果提示 (Empty State / No Results)
   ========================================================================== */
.royal-no-results,
.royal-search-empty {
	text-align: center;
	padding: 40px 20px;
}

.royal-no-results i,
.royal-search-empty i {
	font-size: 80px;
	color: #666;
	margin-bottom: 20px;
}

.royal-no-results h3,
.royal-search-empty h3 {
	font-size: 20px;
	margin-bottom: 10px;
}

.royal-no-results p,
.royal-search-empty p {
	color: #666;
	font-size: 16px;
	margin-bottom: 30px;
}

/* 搜索建议 */
.royal-search-suggestions {
	max-width: 400px;
	margin: 0 auto;
	text-align: left;
	background: #f8f9fa;
	padding: 20px;
	border-radius: 5px;
}

.royal-search-suggestions h4 {
	font-size: 16px;
	color: #333;
	margin-bottom: 12px;
}

.royal-search-suggestions ul {
	margin: 0;
	padding-left: 20px;
}

.royal-search-suggestions li {
	color: #666;
	font-size: 14px;
}

/* ==========================================================================
   6. 响应式设计 - 移动端 (Responsive - Mobile 992px)
   ========================================================================== */
@media (max-width: 992px) {
	.royal-search-section {
		padding: 61px 0 40px;
	}

	.royal-search-form {
		margin: 20px 0;
	}

	.royal-search-results {
		padding: 20px;
	}

	.royal-result-thumb {
		padding-right: 20px;
	}

	.royal-result-item {
		padding: 15px;
		background: #fff;
		border-bottom: 1px solid #e6e6e6;
	}
}
