/* search: page-specific styles. */
.wal2 {
	width: 12.6rem;
	padding: 0 .3rem 0 .3rem;
}

.treFlip {
	padding: 0.2rem 0 0.5rem;
}

/* 空状态上下各预留约一行分页控件的高度，让提示区上下留白一致。 */
.search-empty .treFlip {
	padding-block: max(.8rem, 48px);
}

/* 空状态提示保持最小高度，文字换行时允许内容自然增高。 */
.search-empty-state {
	width: 100%;
	min-height: 200px;
}

.menu-list-wal .title1,
.menu-list-wal .title2 {
	transition: color var(--theme-duration-interaction);
}

.menu-list-wal .pageTitle {
	width: unset;
	height: 1.4rem;
	float: left;
	padding-bottom: 0;
	margin: 0;
}

.pageNum {
	padding-top: .4rem;
}

/*锚点偏移*/
#jump:target {
	scroll-margin-top: 0.4rem;
	scroll-behavior: smooth;
}

.search-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

/* 清除标题默认的顶部外边距，让空状态的可见文字在提示区内视觉居中。 */
.search-message h1 {
	margin-top: 0;
}

.search-message a {
	color: var(--theme-color-brand);
}

.search-message a:hover {
	color: var(--theme-color-brand-hover);
}

.menu-list-wal {
	flex: 0 0 calc(50% - 0.2rem);
	/* 每行两个，减去 gap 一半 */
	box-sizing: border-box;
	/* 沿用产品页的内边距和浅灰背景，整张搜索卡片用红色边框提示悬停。 */
	transition: border-color var(--theme-duration-interaction);
	padding: 2% 3%;
	height: auto;
	border: 1px solid transparent;
	background-color: var(--theme-gray-100);
	display: flex;
	align-items: center;
	position: relative;
}

.menu-list-wal:hover,
.menu-list-wal:focus-visible {
	border-color: var(--theme-color-brand);
}

/* 整张卡片为一个链接，键盘聚焦时显示清晰轮廓。 */
.menu-list-wal:focus-visible {
	outline: 2px solid var(--theme-color-brand);
	outline-offset: 2px;
}

.menu-list-wal .title1 {
	color: var(--theme-color-brand);
}

.menu-list-wal .title2 {
	color: var(--theme-gray-800);
}

.menu-list-wal:hover .title1,
.menu-list-wal:focus-visible .title1 {
	color: var(--theme-color-brand-hover);
}

.menu-list-wal:hover .title2,
.menu-list-wal:focus-visible .title2 {
	color: var(--theme-gray-900);
}

.menu-list-wal .product-img {
	width: 1.4rem;
	height: 1.4rem;
	margin-left: auto;
}

.menu-list-wal .product-img img {
	cursor: pointer;
	position: static;
}

.product-img img {
	display: block;
	width: 100%;
	height: auto;
}

.cert-icons img {
	height: 100%;
}

@media screen and (max-width:1004px) {

	.menu-list-wal .product-img {
		width: 1.8rem;
		height: 1.8rem;
	}

	.pageTitle {
		min-height: 1.8rem;
	}

	.wal2 {
		width: 90%;
	}
}

@media screen and (max-width:800px) {

	.wal2 {
		padding: 0 2% 0 2%;
		width: 96%;
	}

	.menu-list-wal .product-img {
		width: 1.4rem;
		height: 1.4rem;
	}

	.pageTitle {
		min-height: 1.5rem;
	}

	.pageTitle .title1 {
		font-size: var(--theme-font-size-0-35rem);
	}

	.pageTitle .title2 {
		font-size: var(--theme-font-size-0-25rem);
	}
}
