:root {
	--xz-product-ink: #09182b;
	--xz-product-muted: #53627a;
	--xz-product-blue: #1769e8;
	--xz-product-cyan: #25bee7;
	--xz-product-line: #dbe5f1;
	--xz-product-surface: #ffffff;
	--xz-product-soft: #f3f7fc;
}

.xz-product-catalog {
	width: min(1180px, calc(100% - 40px));
	max-width: 1180px !important;
	margin: 0 auto;
}

.xz-catalog-overview {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(44px, 7vw, 76px);
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid rgba(23, 105, 232, 0.13);
	border-radius: 24px;
	background:
		radial-gradient(circle at 88% 18%, rgba(37, 190, 231, 0.16), transparent 30%),
		linear-gradient(135deg, #fff 0%, #f4f8ff 100%);
	box-shadow: 0 22px 65px rgba(20, 47, 82, 0.09);
}

.xz-catalog-overview p {
	max-width: 690px;
	margin: 9px 0 0;
	color: var(--xz-product-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.xz-catalog-kicker,
.xz-section-heading > span {
	color: var(--xz-product-blue);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.xz-catalog-overview > strong {
	display: flex;
	align-items: baseline;
	gap: 7px;
	flex: 0 0 auto;
	color: var(--xz-product-muted);
	font-size: 0.9rem;
	font-weight: 650;
}

.xz-catalog-overview > strong span {
	color: var(--xz-product-ink);
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	font-weight: 760;
	letter-spacing: -0.05em;
	line-height: 1;
}

.xz-product-group + .xz-product-group {
	margin-top: clamp(58px, 8vw, 92px);
}

.xz-product-group-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--xz-product-line);
}

.xz-product-group-heading h2 {
	position: relative;
	margin: 0 !important;
	padding-left: 18px;
	color: var(--xz-product-ink);
	font-size: clamp(1.45rem, 2.8vw, 2rem) !important;
	font-weight: 760;
	letter-spacing: -0.025em;
}

.xz-product-group-heading h2::before {
	position: absolute;
	top: 0.12em;
	bottom: 0.12em;
	left: 0;
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--xz-product-cyan), var(--xz-product-blue));
	content: "";
}

.xz-product-group-heading > span {
	padding: 7px 12px;
	border: 1px solid #dce7f8;
	border-radius: 999px;
	background: #f1f6ff;
	color: #345278;
	font-size: 0.82rem;
	font-weight: 700;
}

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

.xz-product-card {
	display: grid;
	overflow: hidden;
	min-width: 0;
	border: 1px solid var(--xz-product-line);
	border-radius: 24px;
	background: var(--xz-product-surface);
	box-shadow: 0 16px 48px rgba(17, 45, 82, 0.08);
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.xz-product-card:hover {
	border-color: rgba(23, 105, 232, 0.38);
	box-shadow: 0 24px 66px rgba(17, 45, 82, 0.14);
	transform: translateY(-4px);
}

.xz-product-card-media {
	display: grid;
	overflow: hidden;
	min-height: 330px;
	padding: clamp(22px, 4vw, 38px);
	background:
		radial-gradient(circle at 82% 15%, rgba(37, 190, 231, 0.16), transparent 26%),
		linear-gradient(145deg, #fbfdff 0%, #edf3f9 100%);
	place-items: center;
}

.xz-product-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 310px;
	object-fit: contain;
	object-position: center;
	transition: transform 260ms ease;
}

.xz-product-card:hover .xz-product-card-media img {
	transform: scale(1.025);
}

.xz-product-placeholder {
	display: grid;
	width: min(78%, 300px);
	aspect-ratio: 4 / 3;
	border: 1px solid rgba(23, 105, 232, 0.14);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.62);
	place-items: center;
	color: #72829a;
	font-size: 1.2rem;
	font-weight: 750;
	letter-spacing: 0.12em;
}

.xz-product-card-body {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	padding: clamp(24px, 4vw, 34px);
}

.xz-product-category {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 2px 10px;
	border-radius: 999px;
	background: #eaf2ff;
	color: #1357bd;
	font-size: 0.78rem;
	font-weight: 750;
}

.xz-product-card h3 {
	margin: 15px 0 11px;
	font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important;
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.3;
}

.xz-product-card h3 a {
	color: var(--xz-product-ink);
	text-decoration: none;
}

.xz-product-summary {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: var(--xz-product-muted);
	font-size: 0.96rem;
	line-height: 1.72;
}

.xz-product-spec-preview {
	width: 100%;
	box-sizing: border-box;
	margin: 22px 0 0;
	padding: 15px 18px 15px 38px;
	border: 1px solid #e4ebf4;
	border-radius: 15px;
	background: #f7f9fc;
	color: #344761;
	font-size: 0.88rem;
	line-height: 1.65;
}

.xz-product-spec-preview li + li {
	margin-top: 6px;
}

.xz-product-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--xz-product-line);
	color: var(--xz-product-blue);
	font-weight: 750;
	text-decoration: none;
}

.xz-product-link span {
	font-size: 1.3rem;
	transition: transform 180ms ease;
}

.xz-product-card:hover .xz-product-link span {
	transform: translateX(4px);
}

.xz-product-empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 42px;
	border: 1px solid var(--xz-product-line);
	border-radius: 22px;
	background: #fff;
	text-align: center;
}

body.xz-product-single .entry-content {
	--wp--style--global--content-size: 1180px;
	--wp--style--global--wide-size: 1180px;
	padding-bottom: clamp(72px, 9vw, 120px);
}

body.xz-product-single .wp-block-post-title {
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(2.25rem, 5vw, 4.5rem) !important;
	font-weight: 780;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.xz-product-detail {
	width: min(1180px, calc(100% - 40px));
	max-width: 1180px !important;
	margin: 0 auto;
}

.xz-product-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	color: #6a7890;
	font-size: 0.86rem;
}

.xz-product-breadcrumb a {
	color: #205eb8;
	font-weight: 650;
	text-decoration: none;
}

.xz-product-detail-grid {
	display: grid;
	align-items: stretch;
	grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
	gap: clamp(26px, 5vw, 58px);
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--xz-product-line);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(17, 45, 82, 0.12);
}

.xz-product-detail-media {
	display: grid;
	min-height: 470px;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid #e5ebf3;
	border-radius: 22px;
	background:
		radial-gradient(circle at 80% 14%, rgba(37, 190, 231, 0.17), transparent 26%),
		linear-gradient(145deg, #fbfdff 0%, #eef3f9 100%);
	place-items: center;
}

.xz-product-detail-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: contain;
	object-position: center;
}

.xz-product-detail-copy {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: clamp(10px, 2vw, 24px) 0;
}

.xz-product-detail-summary {
	margin: 22px 0 0;
	color: #2e415c;
	font-size: clamp(1.06rem, 1.7vw, 1.24rem);
	line-height: 1.9;
}

.xz-product-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.xz-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	box-sizing: border-box;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-weight: 750;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.xz-button:hover {
	transform: translateY(-2px);
}

.xz-button-primary {
	background: linear-gradient(135deg, #1769e8, #124fb6);
	box-shadow: 0 12px 28px rgba(23, 105, 232, 0.22);
	color: #fff !important;
}

.xz-button-secondary {
	border-color: #cad8ea;
	background: #fff;
	color: #23415f !important;
}

.xz-product-specifications {
	margin-top: clamp(42px, 7vw, 76px);
	padding: clamp(28px, 5vw, 52px);
	border: 1px solid var(--xz-product-line);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(17, 45, 82, 0.08);
}

.xz-section-heading h2 {
	margin: 8px 0 28px;
	color: var(--xz-product-ink);
	font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
	font-weight: 760;
	letter-spacing: -0.035em;
}

.xz-product-specifications dl {
	display: grid;
	margin: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.xz-product-specifications dl > div {
	padding: 18px 20px;
	border: 1px solid #e3eaf3;
	border-radius: 15px;
	background: #f8fafc;
}

.xz-product-specifications dt {
	margin-bottom: 7px;
	color: #607089;
	font-size: 0.82rem;
	font-weight: 700;
}

.xz-product-specifications dd {
	margin: 0;
	color: #1f334e;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.65;
}

.xz-channel-card {
	display: grid;
	align-items: center;
	grid-template-columns: 1fr auto;
	gap: 34px;
	margin-top: clamp(42px, 7vw, 76px);
	padding: clamp(28px, 5vw, 50px);
	border-radius: 26px;
	background:
		radial-gradient(circle at 80% 20%, rgba(37, 190, 231, 0.22), transparent 25%),
		linear-gradient(135deg, #08182b 0%, #123865 100%);
	box-shadow: 0 24px 68px rgba(8, 24, 43, 0.22);
	color: #fff;
}

.xz-channel-card span {
	color: #7fe0f6;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.xz-channel-card h2 {
	margin: 8px 0 12px;
	color: #fff;
	font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
}

.xz-channel-card p {
	max-width: 620px;
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.77);
	line-height: 1.75;
}

.xz-channel-card img {
	width: 168px;
	height: 168px;
	padding: 8px;
	border-radius: 18px;
	background: #fff;
	object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
	.xz-product-card,
	.xz-product-card-media img,
	.xz-product-link span,
	.xz-button { transition: none; }
}

@media (max-width: 900px) {
	.xz-product-grid,
	.xz-product-detail-grid {
		grid-template-columns: 1fr;
	}

	.xz-product-card-media {
		min-height: 300px;
	}

	.xz-product-detail-media {
		min-height: 380px;
	}

	.xz-product-specifications dl {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.xz-product-catalog,
	.xz-product-detail {
		width: min(100% - 28px, 1180px);
	}

	.xz-catalog-overview {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 44px;
		border-radius: 19px;
	}

	.xz-product-group + .xz-product-group {
		margin-top: 54px;
	}

	.xz-product-grid {
		gap: 18px;
	}

	.xz-product-card {
		border-radius: 19px;
	}

	.xz-product-card-media {
		min-height: 260px;
		padding: 22px;
	}

	.xz-product-card-body {
		padding: 24px 21px;
	}

	.xz-product-detail-grid,
	.xz-product-specifications {
		padding: 18px;
		border-radius: 20px;
	}

	.xz-product-detail-media {
		min-height: 300px;
		padding: 20px;
	}

	.xz-product-actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.xz-button {
		width: 100%;
	}

	.xz-channel-card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.xz-channel-card img {
		margin: 0 auto;
		order: -1;
	}
}
