body {
	background-color: #ccc;
}

/* 产品页面顶部大图banner样式 */
.product-banner {
	width: 100%;
	height: 700px;
	background: linear-gradient(rgba(30, 30, 30, 0.32), rgba(30, 30, 30, 0.32)), url('../images/product-banner.jpg') center center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 2.5rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.product-banner-title {
	color: #fff;
	font-size: 3.2rem;
	font-family: 'Noto Serif SC', 'Oswald', serif;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1px 0 #222;
	text-align: center;
	user-select: none;
}

@media (max-width: 1080px) {
	.product-banner {
		height: 500px;
		margin-bottom: 1.2rem;
	}

	.product-banner-title {
		font-size: 2rem;
		letter-spacing: 0.12em;
	}
}

@media (max-width: 600px) {
	.product-banner {
		height: 300px;
		margin-bottom: 1.2rem;
	}

	.product-banner-title {
		font-size: 2rem;
		letter-spacing: 0.12em;
	}
}

@media (max-width: 440px) {
	.product-banner {
		height: 200px;
		margin-bottom: 1.2rem;
	}

	.product-banner-title {
		font-size: 2rem;
		letter-spacing: 0.12em;
	}
}

/* 产品样式 */
.products-filter {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.filter-btn {
	background: transparent;
	color: #181818;
	border: 2px solid #181818;
	padding: 10px 20px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
	background: #181818;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px #9a9a9a;
}

/* 修复单个产品时的布局，始终保持多列 */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
	gap: 2.5rem 4rem;
}

.products-grid:only-child,
.products-grid:empty {
	grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
}

.products-grid>.product-card {
	max-width: 100%;
}

/* 强制单个产品卡片宽度不放大 */
.products-grid>.product-card:only-child {
	max-width: 267px;
	margin-left: auto;
	margin-right: auto;
}

.product-card {
	background: #fff;
	overflow: hidden;
	transition: all 0.3s ease;
}


.product-image {
	cursor: pointer;
	overflow: hidden;
	position: relative;

}

.product-image img {
	width: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
	transform: scale(1.1);
}

.product-content {
	padding-top: 0.3rem;
	display: block;
	width: 100%;
}

.product-content h3 {
	color: #181818;
	font-size: 1.3rem;
	font-weight: 600;
}

.product-artist {
	color: #666;
	font-size: 0.9rem;
	font-weight: 500;
	margin: auto 0;
}

.product-description {
	color: #555;
	line-height: 1.6;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.85rem;
	text-align: justify;
}



/* 产品详情按钮美化 */
.btn-detail {
	display: inline-block;
	padding: 0.5em 1.6em;
	font-size: 1.08rem;
	font-weight: 600;
	color: #222;
	background: #fff;
	border: 2px solid #222;
	border-radius: 22px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	outline: none;
	transition: all 0.22s cubic-bezier(.22, 1, .36, 1);
	margin-top: 1.2rem;
}

.btn-detail:hover,
.btn-detail:focus {
	background: #222;
	color: #fff;
	border-color: #222;
	box-shadow: 0 6px 24px rgba(85, 95, 138, 0.18);
	transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
	.btn-detail {
		width: 100%;
		font-size: 1rem;
		padding: 0.7em 0;
	}
}

.product-classification-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px 40px;
	justify-items: center;
	align-items: center;
	margin: 30px auto 0 auto;
}

.product-classification-card {
	width: 250px;
	height: 300px;
	text-align: center;
	background: #fff;
	box-shadow: 0 6px 24px rgba(30, 30, 30, 0.10);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 18px 18px 0 18px;
	box-sizing: border-box;
}

.product-classification-card>div:first-child {
	width: 100%;
	height: 190px;
	height: 232px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.product-classification-card img {
	object-fit: contain;
	width: 100%;
	height: 100%;
	display: block;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.product-classification-card:hover img {
	transform: scale(1.10);
	z-index: 1;
}

.product-classification-card>div:last-child {
	width: 100%;
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-classification-card p {
	font-size: 15px;
	font-weight: 500;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #222;
	margin: 0;
	word-break: break-all;
	white-space: pre-line;
	line-height: 1.3;
	text-align: center;
}

@media (max-width: 1450px) {
	.product-classification-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 32px 18px;
		width: 100%;
	}

	.product-classification-card {
		width: 220px;
		height: 239px;
		padding: 10px 10px 0 10px;
	}

	.product-classification-card>div:first-child {
		height: 189px;
	}

	.product-classification-card>div:last-child {
		margin: 10px auto;
	}

	.product-classification-card p {
		font-size: 0.98rem;
	}
}

@media (max-width: 1250px) {
	.product-classification-card {
		width: 200px;
		padding: 10px 10px 0 10px;
	}
}

@media (max-width: 1130px) {
	.product-classification-card {
		width: 180px;
	}
}

@media (max-width: 1030px) {
	.product-classification-card {
		width: 165px;
	}
}



@media (max-width: 980px) {
	.container {
		padding-bottom: 20px;
	}

	.product-classification-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px 18px;
		max-width: 700px;
	}

	.product-classification-card {
		/* width: 150px; */
		width: 220px;
		/* height: 210px; */
		height: 239px;
		padding: 10px 10px 0 10px;
	}

	.product-classification-card>div:first-child {
		/* height: 155px; */
		height: 189px;
	}

	.product-classification-card>div:last-child {
		margin-top: 10px;
	}

	.product-classification-card p {
		font-size: 0.98rem;
	}
}


@media (max-width: 730px) {
	.container {
		padding-bottom: 20px;
	}

	.product-classification-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px 18px;
		max-width: 500px;
	}

	.product-classification-card {
		width: 160px;
		height: 205px;
		padding: 10px 10px 0 10px;
	}

	.product-classification-card>div:first-child {
		height: 155px;
	}

	.product-classification-card>div:last-child {
		margin-top: 10px;
	}

	.product-classification-card p {
		font-size: 0.98rem;
	}
}

@media (max-width: 600px) {
	.container {
		padding-bottom: 20px;
	}

	.product-classification-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px 0px;
		max-width: 450px;
	}

	.product-classification-card {
		width: 135px;
		height: 205px;
		padding: 10px 10px 0 10px;
	}

	.product-classification-card>div:first-child {}

	.product-classification-card>div:last-child {
		margin-top: 10px;
	}

	.product-classification-card p {
		font-size: 0.95rem;
	}
}

@media (max-width: 459px) {
	.product-classification-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 0px;
		max-width: 450px;
	}

	.product-classification-card {
		width: 188px;
		height: 225px;
		padding: 10px 10px 0 10px;
	}

	.product-classification-card>div:first-child {
		height: 175px;
	}
}

@media (max-width: 430px) {
	.product-classification-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 0px;
		max-width: 450px;
	}

	.product-classification-card {
		width: 165px;
		height: 203px;
		padding: 10px 10px 0 10px;
	}

	.product-classification-card>div:first-child {
		height: 153px;
	}
}

@media (max-width: 372px) {
	.product-classification-grid {
		max-width: 400px;
	}

	.product-classification-card {
		width: 155px;
	}
}

/* 搜索框代码 start */
.search-bar {
	margin-bottom: 32px;
	width: 100%;
	border-radius: 2px;
	padding: 24px 24px 16px 24px;
	color: #fff;
}

.search-bar .box {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-bar .box .product-search-input,
.artist-search-input {
	flex: 1;
	padding: 10px 14px;
	border: none;
	border-radius: 2px;
	font-size: 18px;
	outline: none;
	color: #222;
}

.search-bar .box .product-search-btn,
.artist-search-btn {
	background: none;
	border: none;
	color: #222;
	font-size: 22px;
	margin-left: -36px;
	cursor: pointer;
}

.search-bar .guide {
	margin-top: 10px;
	margin-left: 10px;
	font-size: 15px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.search-bar .guide span {
	font-size: 1rem;
}

/* 搜索框代码 end */