.webok-product-page {
	--product-bg: #f4f8fb;
	--product-panel: #ffffff;
	--product-panel-soft: #ffffff;
	--product-text: #13343a;
	--product-muted: #68828a;
	--product-line: rgba(18, 52, 58, 0.14);
	--product-accent: #009999;
	--product-accent-deep: #0b6b77;
	--product-accent-soft: rgba(0, 153, 153, 0.1);
	--product-shadow: 0 10px 24px rgba(20, 57, 71, 0.08);
	--product-width: 1200px;
	background: linear-gradient(180deg, #eef6f8 0%, #f8fbfc 40%, #f3f7fa 100%);
	color: var(--product-text);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.webok-product-page,
.webok-product-page * {
	box-sizing: border-box;
}

.webok-product-page__hero {
	--product-hero-c1: #0f98a0;
	--product-hero-c2: #1d8fb2;
	--product-hero-c3: #3c62ab;
	position: relative;
	overflow: hidden;
	margin-top: 0;
	height: 300px;
	padding: 0;
	background:
		linear-gradient(100deg, rgba(6, 64, 80, 0.18), rgba(6, 64, 80, 0) 48%),
		linear-gradient(120deg, var(--product-hero-c1), var(--product-hero-c2) 48%, var(--product-hero-c3));
	border-bottom: 1px solid rgba(12, 117, 130, 0.22);
}

.webok-product-page__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 10% 28%, rgba(255, 255, 255, 0.08), transparent 30%),
		linear-gradient(90deg, rgba(8, 39, 58, 0) 0%, rgba(8, 39, 58, 0.24) 72%),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 90px),
		linear-gradient(270deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 90px),
		repeating-linear-gradient(
			100deg,
			rgba(255, 255, 255, 0) 0 110px,
			rgba(255, 255, 255, 0.03) 110px 114px
		);
	mix-blend-mode: screen;
	pointer-events: none;
}

.webok-product-page__hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 60px;
	height: 76px;
	background: linear-gradient(180deg, rgba(15, 154, 160, 0.22), rgba(15, 154, 160, 0.08) 46%, rgba(15, 154, 160, 0));
	pointer-events: none;
}

.webok-product-page__content {
	padding: 28px 0 72px;
}

.webok-product-page__inner {
	max-width: var(--product-width);
	margin: 0 auto;
	padding: 0 16px;
}

.webok-product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	color: var(--product-muted);
}

.webok-product-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.webok-product-breadcrumb__item:not(:last-child)::after {
	content: ">";
	color: rgba(19, 52, 58, 0.35);
}

.webok-product-breadcrumb a {
	color: var(--product-muted);
	text-decoration: none;
}

.webok-product-breadcrumb a:hover {
	color: var(--product-accent);
}

.webok-product-page__hero .webok-product-breadcrumb {
	color: rgba(240, 247, 255, 0.82);
}

.webok-product-page__hero .webok-product-breadcrumb__item:not(:last-child)::after {
	color: rgba(240, 247, 255, 0.55);
}

.webok-product-page__hero .webok-product-breadcrumb a {
	color: rgba(246, 251, 255, 0.88);
}

.webok-product-page__hero .webok-product-breadcrumb a:hover {
	color: #ffffff;
}

.webok-product-page__eyebrow {
	background: rgba(13, 103, 116, 0.09);
	color: var(--product-accent-deep);
	letter-spacing: 0.18em;
}

.webok-product-page__hero .webok-product-page__eyebrow {
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ecf5ff;
}

.webok-product-page__title {
	font-size: clamp(20px, 3vw, 34px);
}

.webok-product-page__hero .webok-product-page__title {
	color: #ffffff;
	text-shadow: 0 8px 24px rgba(5, 17, 52, 0.36);
}

.webok-product-page__intro {
	font-size: clamp(16px, 1.45vw, 24px);
	color: var(--product-muted);
}

.webok-product-page__hero .webok-product-page__intro {
	color: rgba(242, 248, 255, 0.9);
}

.webok-product-hero-anim {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(38%, 520px);
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.webok-product-hero-anim [class^="webok-product-hero-anim__s"] {
	position: absolute;
	display: block;
}

.webok-product-hero-anim__s1,
.webok-product-hero-anim__s2,
.webok-product-hero-anim__s3 {
	left: 120px;
	right: 46px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.36);
	border-radius: 10px;
	animation: webok-product-wave-flicker 2.4s linear infinite;
}

.webok-product-hero-anim__s1 {
	top: 64px;
}

.webok-product-hero-anim__s2 {
	top: 126px;
	animation-delay: 0.6s;
}

.webok-product-hero-anim__s3 {
	top: 188px;
	animation-delay: 1.2s;
}

.webok-product-hero-anim__s4,
.webok-product-hero-anim__s5,
.webok-product-hero-anim__s6 {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	right: 64px;
	animation: webok-product-wave-pulse 1.4s ease-in-out infinite;
}

.webok-product-hero-anim__s4 {
	top: 80px;
}

.webok-product-hero-anim__s5 {
	top: 142px;
	animation-delay: 0.25s;
}

.webok-product-hero-anim__s6 {
	top: 204px;
	animation-delay: 0.5s;
}

.webok-product-hero-anim__s7,
.webok-product-hero-anim__s8,
.webok-product-hero-anim__s9 {
	right: -120px;
	width: 520px;
	height: 520px;
	border: 2px solid rgba(255, 255, 255, 0.18);
	border-radius: 44% 56% 57% 43% / 42% 46% 54% 58%;
	animation: webok-product-wave-rotate 16s linear infinite;
}

.webok-product-hero-anim__s7 {
	top: -126px;
}

.webok-product-hero-anim__s8 {
	top: -106px;
	border-color: rgba(255, 255, 255, 0.24);
	animation-duration: 12s;
	animation-direction: reverse;
}

.webok-product-hero-anim__s9 {
	top: -86px;
	border-color: rgba(255, 255, 255, 0.14);
	animation-duration: 9s;
}

@keyframes webok-product-wave-flicker {
	0%,
	100% {
		opacity: 0.3;
	}
	50% {
		opacity: 0.86;
	}
}

@keyframes webok-product-wave-pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.25);
	}
}

@keyframes webok-product-wave-rotate {
	to {
		transform: rotate(360deg);
	}
}

.webok-product-page__layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.webok-product-page__sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 110px;
	align-self: start;
	height: max-content;
	display: grid;
	gap: 20px;
}

.webok-product-page__sidebar--mobile-search,
.webok-product-page__sidebar--mobile-taxonomy {
	display: none;
}

.webok-product-sidebar__panel {
	padding: 24px;
	border: 1px solid var(--product-line);
	border-radius: 4px;
	background: var(--product-panel-soft);
	box-shadow: var(--product-shadow);
}

.webok-product-sidebar__title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
}

.webok-product-sidebar__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 92px;
	gap: 10px;
}

.webok-product-sidebar__search input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(19, 52, 58, 0.14);
	border-radius: 4px;
	background: #fff;
	color: var(--product-text);
	font-size: 14px;
}

.webok-product-sidebar__search input:focus {
	outline: none;
	border-color: rgba(0, 153, 153, 0.46);
	box-shadow: 0 0 0 4px rgba(0, 153, 153, 0.1);
}

.webok-product-sidebar__search button {
	appearance: none;
	-webkit-appearance: none;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #11a8b5;
	border-radius: 4px;
	background: #11a8b5;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.webok-product-sidebar__search button:hover,
.webok-product-sidebar__search button:focus-visible {
	border-color: #0798a5;
	background-color: #0798a5;
	color: #ffffff;
}

.webok-product-sidebar__category-list,
.webok-product-sidebar__subcategory-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.webok-product-sidebar__category-list {
	display: grid;
	gap: 10px;
}

.webok-product-sidebar__category-item > a,
.webok-product-sidebar__subcategory-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	gap: 12px;
	padding: 14px 16px 14px 30px;
	border-radius: 4px;
	color: var(--product-text);
	text-decoration: none;
	background: #ffffff;
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.webok-product-sidebar__category-item > a::before,
.webok-product-sidebar__subcategory-item > a::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #11a8b5;
	transform: translateY(-50%);
	box-shadow: 0 0 0 3px rgba(17, 168, 181, 0.12);
}

.webok-product-sidebar__category-item > a:hover,
.webok-product-sidebar__subcategory-item > a:hover,
.webok-product-sidebar__category-item.is-active > a,
.webok-product-sidebar__subcategory-item.is-active > a {
	background: rgba(17, 168, 181, 0.18);
	color: #084f58;
	transform: translateX(0);
}

.webok-product-sidebar__category-item > a:hover::before,
.webok-product-sidebar__subcategory-item > a:hover::before,
.webok-product-sidebar__category-item.is-active > a::before,
.webok-product-sidebar__subcategory-item.is-active > a::before {
	background: #0798a5;
	box-shadow: 0 0 0 4px rgba(7, 152, 165, 0.18);
}

.webok-product-sidebar__subcategory-list {
	margin-top: 8px;
	padding-left: 14px;
	display: grid;
	gap: 8px;
}

.webok-product-sidebar__subcategory-item > a {
	padding: 11px 14px 11px 28px;
	font-size: 14px;
	border: 1px solid rgba(19, 52, 58, 0.08);
}

.webok-product-sidebar__category-item i {
	font-style: normal;
	font-size: 18px;
	line-height: 1;
}

.webok-product-sidebar__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.webok-product-sidebar__tag {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 4px;
	border: 1px solid rgba(0, 153, 153, 0.14);
	background: rgba(255, 255, 255, 0.86);
	color: var(--product-text);
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.webok-product-sidebar__tag:hover,
.webok-product-sidebar__tag.is-active {
	background: rgba(0, 153, 153, 0.12);
	border-color: rgba(0, 153, 153, 0.22);
	color: var(--product-accent-deep);
}

.webok-product-sidebar__empty {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--product-muted);
}

.webok-product-page__main {
	min-width: 0;
}

.webok-product-page__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.webok-product-page__summary {
	margin: 0;
	color: var(--product-muted);
	font-size: 15px;
}

.webok-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.webok-product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 100%;
	border: 1px solid rgba(15, 67, 76, 0.1);
	border-radius: 4px;
	background: #ffffff;
	box-shadow: var(--product-shadow);
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.webok-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 0.72;
	overflow: hidden;
	background: linear-gradient(135deg, #cfe7ea, #eff6f8 50%, #c9dde3);
}

.webok-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.45s ease;
}

.webok-product-page .webok-product-card:hover {
	border-color: rgba(17, 168, 181, 0.42);
	box-shadow: 0 12px 28px rgba(20, 57, 71, 0.1);
}

.webok-product-page .webok-product-card:hover .webok-product-card__media img {
	filter: saturate(1.04);
}

.webok-product-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(12, 78, 87, 0.34);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

/* 有特色图时默认隐藏占位，图片失效再自动回退显示。 */
.webok-product-card__media.has-image .webok-product-card__placeholder {
	display: none;
}

.webok-product-card__media.is-image-broken .webok-product-card__placeholder {
	display: flex;
}

.webok-product-card__body {
	display: grid;
	gap: 10px;
	padding: 24px;
}

.webok-product-card__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.webok-product-card__terms a {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 4px;
	background: rgba(0, 153, 153, 0.08);
	color: var(--product-accent-deep);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
}

.webok-product-page .webok-product-card__terms {
	display: none;
}

.webok-product-card__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.webok-product-card__title a {
	color: var(--product-text);
	text-decoration: none;
}

.webok-product-card__title a:hover,
.webok-product-card__title a:focus-visible {
	color: #0798a5;
	text-decoration: none;
}

.webok-product-pagination {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.webok-product-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	margin-right: 0;
	padding: 0 14px;
	border-radius: 4px;
	border: 1px solid rgba(19, 52, 58, 0.12);
	background: #fff;
	color: var(--product-text);
	text-decoration: none;
}

.webok-product-pagination .page-numbers.current,
.webok-product-pagination .page-numbers:hover {
	background: var(--product-accent);
	border-color: var(--product-accent);
	color: #fff;
}

.webok-product-empty {
	padding: 42px 32px;
	border: 1px dashed rgba(0, 153, 153, 0.24);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.8);
	text-align: center;
}

.webok-product-empty h2 {
	margin: 0 0 12px;
	font-size: 28px;
}

.webok-product-empty p {
	margin: 0;
	color: var(--product-muted);
	line-height: 1.8;
}

.webok-product-empty a {
	display: inline-flex;
	margin-top: 18px;
	padding: 12px 20px;
	border-radius: 4px;
	background: var(--product-accent);
	border: 1px solid var(--product-accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.webok-product-empty a:hover,
.webok-product-empty a:focus-visible {
	border-color: #0798a5;
	background-color: #0798a5;
	color: #ffffff;
}

@media (max-width: 960px) {
	.webok-product-page__layout {
		grid-template-columns: 1fr;
	}

	.webok-product-page__sidebar {
		position: static;
	}
}

@media (max-width: 820px) {
	.webok-product-page__intro {
		font-size: clamp(15px, 4vw, 20px);
		line-height: 1.6;
	}

	.webok-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.webok-product-page__inner {
		padding: 0 3px;
	}

	.webok-product-page__hero {
		height: auto;
		min-height: 240px;
		padding: 26px 0 20px;
	}

	.webok-product-page__hero .webok-list-hero__inner {
		height: auto;
		padding-top: 0;
		padding-bottom: 0;
	}

	.webok-product-hero-anim {
		width: 46%;
		opacity: 0.66;
	}

	.webok-product-hero-anim__s1,
	.webok-product-hero-anim__s2,
	.webok-product-hero-anim__s3 {
		left: 24px;
		right: 14px;
		height: 30px;
	}

	.webok-product-hero-anim__s1 {
		top: 56px;
	}

	.webok-product-hero-anim__s2 {
		top: 102px;
	}

	.webok-product-hero-anim__s3 {
		top: 148px;
	}

	.webok-product-hero-anim__s4 {
		top: 66px;
	}

	.webok-product-hero-anim__s5 {
		top: 112px;
	}

	.webok-product-hero-anim__s6 {
		top: 158px;
	}

	.webok-product-hero-anim__s7,
	.webok-product-hero-anim__s8,
	.webok-product-hero-anim__s9 {
		right: -92px;
		width: 320px;
		height: 320px;
	}

	.webok-product-page__content {
		padding-bottom: 48px;
	}

	.webok-product-page__sidebar--desktop {
		display: none;
	}

	.webok-product-page__sidebar--mobile-search,
	.webok-product-page__sidebar--mobile-taxonomy {
		display: grid;
		position: static;
		height: auto;
		margin-top: 0;
	}

	.webok-product-page__sidebar--mobile-search {
		gap: 0;
		margin-bottom: 14px;
	}

	.webok-product-page__sidebar--mobile-taxonomy {
		gap: 12px;
		margin-top: 16px;
	}

	.webok-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.webok-product-sidebar__panel,
	.webok-product-card__body {
		padding: 14px;
	}

	.webok-product-sidebar__search {
		grid-template-columns: 1fr;
	}

	.webok-product-sidebar__search button {
		width: 100%;
	}

	.webok-product-card__title {
		font-size: clamp(15px, 4.2vw, 18px);
		line-height: 1.22;
	}

	.webok-product-card__terms {
		gap: 6px;
	}

	.webok-product-card__terms a {
		padding: 4px 8px;
		font-size: 10px;
	}

}
