@charset "utf-8";

/* 产品分类页   S */
/* =====================================================
           productpart 分类板块  LAYOUT CONTAINER
        ===================================================== */
.productpart-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

/* =====================================================
           BREADCRUMB
        ===================================================== */

/* =====================================================
           HERO
        ===================================================== */
.productpart-hero {
	position: relative;
	background: #ffffff;
	overflow: hidden;
	padding: 80px 0 40px;
}

.productpart-hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 38%;
	height: 100%;
	background:
		repeating-linear-gradient(0deg,
			transparent,
			transparent 39px,
			rgba(200, 169, 110, 0.06) 39px,
			rgba(200, 169, 110, 0.06) 40px);
	pointer-events: none;
}

.productpart-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 4fr 6fr;
	gap: 60px;
	align-items: center;
}

.productpart-hero__copy {
	padding-bottom: 60px;
}

.productpart-hero__eyebrow {
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 2.24px;
	text-transform: uppercase;
	color: #c8a96e;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(12px);
	animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.productpart-hero__title {
	font-size: 46px;
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #18191c;
	margin-bottom: 24px;
	opacity: 0;
	transform: translateY(16px);
	animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.productpart-hero__title strong {
	font-weight: 500;
	display: block;
}

.productpart-hero__divider {
	width: 32px;
	height: 2px;
	background: #c8a96e;
	margin-bottom: 24px;
	opacity: 0;
	animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.productpart-hero__desc {
	font-size: 15.2px;
	line-height: 1.9;
	color: #6b7380;
	max-width: 480px;
	opacity: 0;
	transform: translateY(12px);
	animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.productpart-hero__visual {
	position: relative;
	height: 380px;
	opacity: 0;
	animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.productpart-hero__img-frame {
	position: absolute;
	inset: 0;
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.productpart-hero__img-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* filter: saturate(0.7) contrast(1.05); */
}

/* .productpart-hero__img-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(26, 60, 94, 0.15) 0%, transparent 60%);
} */

.productpart-hero__corner {
	position: absolute;
	bottom: -1px;
	left: -1px;
	width: 48px;
	height: 48px;
	border-left: 2px solid #c8a96e;
	border-bottom: 2px solid #c8a96e;
	z-index: 2;
}

.productpart-hero__corner--tr {
	top: -1px;
	right: -1px;
	left: auto;
	bottom: auto;
	border-left: none;
	border-bottom: none;
	border-right: 2px solid #c8a96e;
	border-top: 2px solid #c8a96e;
}

/* =====================================================
           FILTER BAR
        ===================================================== */
.productpart-filter-bar {
	background: #ffffff;
	border-bottom: 1px solid #e2e4e8;
	position: sticky;
	top: 68px;
	z-index: 100;
	padding: 0;
	transition: box-shadow 0.3s;
}

.productpart-filter-bar.productpart-is-scrolled {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.productpart-filter-bar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.productpart-filter-bar__inner::-webkit-scrollbar {
	display: none;
}

.productpart-filter-btn {
	position: relative;
	/* padding: 18px 28px; */
	padding: 18px 8px;
	margin: 12px 18px;
	border: none;
	background: transparent;
	cursor: pointer;
	font-family: 'Outfit', sans-serif;
	font-size: 13.12px;
	font-weight: 500;
	letter-spacing: 1.05px;
	text-transform: uppercase;
	color: #9ca3af;
	white-space: nowrap;
	transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 左上角直角线（统一用::before） ── */
.zhejiao-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 78%;
	/* 直角线的长度（水平方向） */
	height: 28px;
	/* 直角线的长度（垂直方向） */
	border-style: solid;
	border-color: #888;
	border-width: 1px 0 0 1px;
	/* 上边 + 左边 */
	border-radius: 3px 0 0 0;
	/* 可选小圆角让直角更柔和 */
	opacity: 0.4;
	pointer-events: none;
}

/* ── 右下角直角线（统一用::after） ── */
.zhejiao-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 78%;
	height: 28px;
	border-style: solid;
	border-color: #888;
	border-width: 0 1px 1px 0;
	/* 右边 + 下边 */
	border-radius: 0 0 3px 0;
	opacity: 0.4;
	pointer-events: none;
}



/* .productpart-filter-btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 28px;
	right: 28px;
	height: 2px;
	background: #1a3c5e;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
} */

.productpart-filter-btn:hover {
	color: #0071bc;
}

.productpart-filter-btn.productpart-is-active {
	color: #0071bc;
}

.productpart-filter-btn.productpart-is-active::after {
	transform: scaleX(1);
}

/* =====================================================
           PRODUCT GRID SECTION
        ===================================================== */
.productpart-products-section {
	padding: 64px 0 100px;
}

.productpart-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

/* =====================================================
           PRODUCT CARD
        ===================================================== */
.productpart-card {
	background: #ffffff;
	position: relative;
	display: flex;
	flex-direction: column;
	opacity: 0;
	transform: translateY(28px);
	transition:
		box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform, opacity;
	overflow: hidden;
}

.productpart-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, #c8a96e, transparent);
	opacity: 0;
	transition: opacity 0.4s;
}

.productpart-card:hover::before {
	opacity: 1;
}

.productpart-card:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
	transform: translateY(-5px);
	z-index: 2;
}

.productpart-card.productpart-is-visible {
	animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.productpart-card__image-wrap {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.productpart-card__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
	filter: saturate(0.65) contrast(1.05);
}

.productpart-card:hover .productpart-card__image-wrap img {
	transform: scale(1.06);
	filter: saturate(0.8) contrast(1.05);
}

.productpart-card__tag {
	position: absolute;
	top: 16px;
	left: 16px;
	font-family: 'Outfit', sans-serif;
	font-size: 10.4px;
	font-weight: 600;
	letter-spacing: 1.46px;
	text-transform: uppercase;
	color: #c8a96e;
	background: rgba(24, 25, 28, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 5px 10px;
	border: 1px solid rgba(200, 169, 110, 0.3);
}

.productpart-card__body {
	padding: 0 28px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.productpart-card__model {
	font-family: 'Outfit', sans-serif;
	font-size: 11.2px;
	font-weight: 500;
	letter-spacing: 1.79px;
	text-transform: uppercase;
	color: #9ca3af;
	margin-bottom: 5px;
}

.productpart-card__title {
	font-family: 'Outfit', sans-serif;
	font-size: 16.8px;
	font-weight: 500;
	line-height: 1.4;
	color: #18191c;
	margin-bottom: 12px;
	letter-spacing: -0.17px;
}

.productpart-card__desc {
	font-size: 13px;
	color: #666666;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	text-align: justify;
	/* 文本两端对齐（左右占满） */
	text-align-last: left;
	/* 强制最后一行左对齐 */
}

.productpart-card__footer {
	margin-top: 18px;
	padding-top: 10px;
	border-top: 1px solid #e2e4e8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* 这一行就把最后一个子项推到最右边 */
	/* margin-left: auto; */
}

.productpart-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1.25px;
	text-transform: uppercase;
	color: #1a3c5e;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.productpart-card__cta:hover {
	color: #c8a96e;
	gap: 14px;
}

.productpart-card__cta-arrow {
	display: inline-block;
	width: 18px;
	height: 1px;
	background: currentColor;
	position: relative;
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.productpart-card__cta-arrow::after {
	content: '';
	position: absolute;
	right: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}

/* =====================================================
           EMPTY STATE (no results after filter)
        ===================================================== */
.productpart-empty-state {
	display: none;
	grid-column: 1 / -1;
	padding: 80px 40px;
	text-align: center;
}

.productpart-empty-state__icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 16px;
	opacity: 0.25;
}

.productpart-empty-state__text {
	font-family: 'Outfit', sans-serif;
	font-size: 13.6px;
	color: #9ca3af;
	letter-spacing: 0.82px;
}

/* =====================================================
           KEYFRAMES
        ===================================================== */
@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cardReveal {
	from {
		opacity: 0;
		transform: translateY(28px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes filterFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =====================================================
           RESPONSIVE — TABLET (769px – 1100px)
        ===================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
	.productpart-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.productpart-hero__inner {
		gap: 40px;
	}

	.productpart-hero__visual {
		height: 300px;
	}
}

/* =====================================================
           RESPONSIVE — MOBILE (≤ 768px)
        ===================================================== */
@media (max-width: 768px) {
	.productpart-container {
		padding: 0 20px;
	}

	.productpart-hero__inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 20px 20px;
	}

	.productpart-hero__copy {
		padding-bottom: 32px;
	}

	.productpart-hero__visual {
		height: 220px;
		margin: 0 -20px;
		border-radius: 0;
	}

	.productpart-hero {
		padding: 24px 0 0;
	}

	.productpart-hero__eyebrow {
		margin-bottom: 8px;
	}

	.productpart-hero__img-frame img {
		width: 80%;
		max-width: 80%;
		height: auto;

	}

	.productpart-hero__title {
		font-size: 28px;
		font-weight: 400;
	}

	.productpart-filter-bar__inner {
		padding: 0;
	}

	.productpart-filter-btn {
		padding: 16px 8px;
		margin: 12px 6px;
		font-size: 12px;
	}

	.productpart-btn-text {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		/* 最多显示 2 行 */
		overflow: hidden;
		text-overflow: ellipsis;
		/* 可选，某些情况下作为兜底 */
	}

	.productpart-products-section {
		padding: 40px 0 40px;
	}

	.productpart-products-grid {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.productpart-container.productpart-products-section>.productpart-container {
		padding: 0 20px;
	}
}

/* =====================================================
           PRINT / ACCESSIBILITY
        ===================================================== */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}