/* search.css - 搜索框样式，参考附件的视觉 */
.search-wrap {
	position: relative;
	display: flex;
	align-items: center
}

.search-input {
	max-width: 60vw;
	padding: 10px 40px 10px 44px;
	border-radius: 24px;
	border: 1px solid #e6e6e6;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transition: box-shadow .18s ease, border-color .18s ease
}

@media (min-width: 981px) {
	.search-input{min-width:100px;}
}

.search-input:focus {
	outline: none;
	border-color: #0091ff;
	box-shadow: 0 8px 24px rgba(0, 145, 255, 0.12)
}

.search-input:focus {
	outline: none;
	border-color: #0091ff;
	box-shadow: 0 8px 24px rgba(0, 145, 255, 0.12)
}

.search-prefix {
	position: absolute;
	left: 12px;
	color: #9aa7b2;
	font-size: 18px
}

.search-suffix {
	position: absolute;
	right: 10px
}

.search-suffix .btn {
	background: #0078e7;
	color: #fff;
	padding: 6px 12px;
	border-radius: 16px;
	border: none;
	cursor: pointer;
	font-size: 14px
}

.search-suggestions {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 920px;
	max-width: 95vw;
	background: #fff;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	z-index: 1500;
	overflow: hidden;
	padding: 12px
}

.search-suggestions .s-grid {
	display: block
}

.search-suggestions .s-col {
	display: block;
	width: 100%;
	box-sizing: border-box
}

.search-suggestions .s-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px
}

.search-suggestions .s-head .title {
	font-size: 14px;
	color: #333;
	font-weight: 600
}

.search-suggestions .s-head .more {
	font-size: 14px;
	color: #7b8a95
}

.s-products {
	margin-bottom: 12px
}

.s-products .p-list {
	display: flex;
	gap: 12px;
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 6px
}

.s-products .prod-item {
	width: calc(25% - 9px);
	min-width: 110px;
	text-align: left;
	cursor: pointer;
	flex: 0 0 auto
}

.s-products .prod-item .thumb {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 6px;
	overflow: hidden;
	background: #f6f6f6
}

.s-products .prod-item .thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain
}

.s-products .prod-item .pname {
	font-size: 14px;
	color: #222;
	line-height: 2;
}

.s-products .prod-item .psub {
	font-size: 14px;
	color: #7b8a95;
	line-height: 2;
}

.s-supports,
.s-news {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	padding: 0 8px
}

.s-supports {
	width: 50%;
	margin-right: 0
}

.s-news {
	width: 50%
}

.s-bottom {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	flex-wrap: nowrap
}

.s-bottom .s-col {
	width: 50%;
	box-sizing: border-box;
	padding: 0 8px
}

.s-supports .support-list {
	display: flex !important;
	gap: 12px;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	overflow-x: auto !important
}

.s-supports .support-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	width: 110px !important;
	cursor: pointer !important
}

.s-supports .support-item .thumb {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 6px;
	overflow: hidden;
	background: #fafafa
}

.s-supports .support-item .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

.s-supports .support-item .sname {
	font-size: 13px;
	color: #333;
	text-align: center;
	line-height: 2;
}

.s-news .news-list {
	display: flex;
	flex-direction: column;
	gap: 8px
}

@media (max-width: 760px) {
	.search-suggestions {
		width: 95vw;
		padding: 10px
	}

	.s-products .p-list {
		overflow-x: auto;
		gap: 10px
	}

	.s-products .prod-item {
		min-width: 140px;
		width: 40%;
	}

	.s-supports,
	.s-news {
		width: 100%;
		display: block;
		margin-right: 0
	}

	.s-supports .support-list {
		flex-direction: row;
		overflow-x: auto
	}

	.s-bottom {
		display: block
	}
}

.s-news .news-item {
	display: flex;
	gap: 10px;
	align-items: center;
	cursor: pointer
}

.s-news .news-item .n-thumb {
	width: 84px;
	border-radius: 4px;
	overflow: hidden;
	background: #f3f3f3
}

.s-news .news-item .n-thumb img {
	width: 84px;
	height: 42px;
	object-fit: cover;
	max-width: none;
}

.s-news .news-item .n-meta .n-title {
	font-size: 13px;
	color: #222;
	line-height: 2;
	width: 340px;
}

.s-news .news-item .n-meta .n-cat {
	font-size: 14px;
	color: #7b8a95;
}

.search-suggestions .s-item:hover {
	background: #f5f8fb;
	border-radius: 6px
}

.layui-form .layui-input {
	padding: 0 40px;
}

.layui-form .layui-input {
	padding: 0 40px;
}

.water-dispenser-btn {
	min-width: 150px;
	margin: 0 10px 0 0;
	height: 46px;
	line-height: 46px;
	border-radius: 8px;
	font-size: 15px;
	color: #2caede;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}
.water-li{
	margin-left: 15px;
	color: #2caede;
}

@media only screen and (max-width:981px) {
	.water-dispenser-btn {
		display: none;
	}
}
