/* 拼凑页专用样式（index、product、newlist、history、contact 等）；不修改 common.css 与 qlbd-*.html */

/* product.html — 筛选栏布局（左侧 Tab + 右侧搜索） */
.qlbd-fir-buttonlist-group {
	justify-content: space-between;
	gap: 24px;
}

.qlbd-fir-buttonlist-tabs {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 30px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.qlbd-fir-buttonlist-tabs::-webkit-scrollbar {
	display: none;
}

/* product.html — 产品搜索框 */
.qlbd-product-search {
	flex: 0 0 auto;
	margin-left: auto;
}

.qlbd-product-search__box {
	position: relative;
	display: flex;
	align-items: center;
	width: 280px;
	max-width: 100%;
}

.qlbd-product-search__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.qlbd-product-search__input {
	width: 100%;
	height: 40px;
	padding: 0 44px 0 16px;
	font-size: 14px;
	line-height: 1.4;
	color: #333333;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qlbd-product-search__input::placeholder {
	color: #aaaaaa;
}

.qlbd-product-search__input:focus {
	border-color: var(--ql-color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--ql-color-primary) 12%, transparent);
}

.qlbd-product-search__btn {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 40px;
	padding: 0;
	color: var(--ql-color-primary);
	background: none;
	border: none;
	cursor: pointer;
}

.qlbd-product-search__icon {
	width: 18px;
	height: 18px;
}

/* index.html — 首页新闻查看更多按钮 */
.qlbd-index-news-more {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.qlbd-index-news-more__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 42px;
	padding: 0 28px;
	color: var(--ql-color-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background-color: transparent;
	border: 1px solid var(--ql-color-primary);
	border-radius: 999px;
	transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.qlbd-index-news-more__btn:hover {
	color: #ffffff;
	background-color: var(--ql-color-primary);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ql-color-primary) 24%, transparent);
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.qlbd-index-news-more {
		margin-top: 30px;
	}

	.qlbd-fir-buttonlist-group {
		flex-wrap: wrap;
		align-items: stretch;
		gap: 16px;
	}

	.qlbd-fir-buttonlist-tabs {
		flex: 1 1 100%;
		gap: 20px;
	}

	.qlbd-product-search {
		flex: 1 1 100%;
		margin-left: 0;
	}

	.qlbd-product-search__box {
		width: 100%;
	}
}
