:root {
	--jssx-category-blue: #0078c0;
	--jssx-category-blue-dark: #005d96;
	--jssx-category-ink: #172b3a;
	--jssx-category-muted: #617383;
	--jssx-category-line: #dfe8ee;
	--jssx-category-surface: #f4f8fb;
}

.page-template-page-product-category .site-content,
.page-template-page-product-category .site-content > .ast-container,
.page-template-page-product-category-visual .site-content,
.page-template-page-product-category-visual .site-content > .ast-container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.jssx-product-category-visual-page,
.jssx-product-category-visual-page__content {
	width: 100%;
	margin: 0;
}

.jssx-product-category-visual-page__content > :first-child {
	margin-top: 0;
}

.jssx-product-category-visual-page__content > :last-child {
	margin-bottom: 0;
}

/* Keep visual category-page sections on a wide, transparent canvas. */
.page-template-page-product-category-visual .uagb-container-inner-blocks-wrap {
	width: min(1440px, calc(100% - 48px)) !important;
	max-width: 1440px !important;
	margin-inline: auto !important;
}

.jssx-product-category-page {
	width: 100%;
	overflow: clip;
	background: #fff;
	color: var(--jssx-category-ink);
}

.jssx-category-container {
	width: min(1440px, calc(100% - 48px));
	margin-inline: auto;
}

.jssx-category-eyebrow {
	margin: 0 0 14px;
	color: var(--jssx-category-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.jssx-category-hero {
	position: relative;
	display: grid;
	min-height: clamp(480px, 58vw, 680px);
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 28%, rgba(74, 183, 230, 0.54), transparent 34%),
		linear-gradient(125deg, #083a5b 0%, #0069a7 52%, #0c8cc7 100%);
	color: #fff;
	isolation: isolate;
}

.jssx-category-hero__image,
.jssx-category-hero__veil {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.jssx-category-hero__image {
	z-index: -2;
	object-fit: cover;
}

.jssx-category-hero__veil {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(5, 30, 48, 0.82) 0%, rgba(5, 38, 61, 0.58) 46%, rgba(0, 71, 111, 0.18) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 38%, rgba(0, 30, 47, 0.18));
}

.jssx-category-hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding-top: 130px;
	padding-bottom: 80px;
}

.jssx-category-hero .jssx-category-eyebrow {
	color: #8bd9ff;
}

.jssx-category-hero__title {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(44px, 5.3vw, 78px);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.08;
	text-wrap: balance;
}

.jssx-category-hero__subtitle {
	max-width: 720px;
	margin-top: 26px;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(17px, 1.45vw, 21px);
	line-height: 1.7;
}

.jssx-category-hero__inner > .jssx-category-hero__subtitle:first-child {
	margin-top: 0;
}

.jssx-category-hero__subtitle > :last-child {
	margin-bottom: 0;
}

.jssx-category-intro {
	padding: clamp(72px, 8vw, 118px) 0;
	background: #fff;
}

.jssx-category-intro__inner {
	display: block;
}

.jssx-category-intro__content {
	max-width: 1000px;
	margin-inline: auto;
	color: var(--jssx-category-ink);
	font-size: clamp(22px, 2.1vw, 32px);
	font-weight: 520;
	letter-spacing: -0.018em;
	line-height: 1.55;
}

.jssx-category-intro__content > :last-child {
	margin-bottom: 0;
}

.jssx-product-functions {
	padding: clamp(74px, 8vw, 116px) 0;
	background:
		radial-gradient(circle at 85% 10%, rgba(0, 120, 192, 0.09), transparent 30%),
		var(--jssx-category-surface);
}

.jssx-product-functions__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jssx-product-functions__item {
	position: relative;
	display: grid;
	min-height: 124px;
	padding: 26px;
	place-items: center;
	overflow: hidden;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow:
		0 16px 36px rgba(24, 62, 88, 0.1),
		0 3px 10px rgba(24, 62, 88, 0.05);
}

.jssx-product-functions__text {
	color: var(--jssx-category-ink);
	font-size: 18px;
	font-weight: 650;
	line-height: 1.6;
	text-align: center;
}

.jssx-category-architecture {
	padding: clamp(74px, 8vw, 116px) 0;
	background: #fff;
}

.jssx-category-architecture__gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.jssx-category-architecture__figure {
	position: relative;
	display: block;
	overflow: hidden;
	padding: clamp(18px, 3vw, 42px);
	border-radius: 22px;
	background:
		linear-gradient(145deg, rgba(244, 249, 252, 0.72), rgba(255, 255, 255, 0.98)),
		#fff;
	box-shadow:
		0 22px 54px rgba(24, 62, 88, 0.12),
		0 4px 14px rgba(24, 62, 88, 0.06);
	text-decoration: none;
	transition:
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.jssx-category-architecture__figure:hover,
.jssx-category-architecture__figure:focus-visible {
	box-shadow: 0 26px 62px rgba(24, 62, 88, 0.14);
	transform: translateY(-3px);
}

.jssx-category-architecture__figure:focus-visible {
	outline: 3px solid rgba(0, 120, 192, 0.2);
	outline-offset: 3px;
}

.jssx-category-architecture__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 760px;
	margin-inline: auto;
	object-fit: contain;
}

.jssx-category-products {
	padding: clamp(40px, 3vw, 56px) 0;
	background: var(--jssx-category-surface);
}

.page-template-page-product-category-visual .jssx-category-products {
	background: transparent;
}

.jssx-category-section-heading {
	max-width: 840px;
	margin-bottom: 42px;
}

.jssx-category-section-heading h2 {
	margin: 0;
	color: var(--jssx-category-ink);
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 730;
	letter-spacing: -0.03em;
	line-height: 1.12;
	text-wrap: balance;
}

.jssx-category-section-heading--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.jssx-category-section-heading__intro {
	max-width: 720px;
	margin: 20px auto 0;
	color: var(--jssx-category-muted);
	font-size: 18px;
	line-height: 1.7;
}

.jssx-product-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 38px;
	padding-bottom: 22px;
}

.jssx-product-filter {
	min-height: 44px;
	padding: 9px 20px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 7px 18px rgba(24, 62, 88, 0.1);
	color: #334b5c;
	cursor: pointer;
	font-size: 15px;
	font-weight: 680;
	line-height: 1.2;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.jssx-product-filter:hover,
.jssx-product-filter:focus-visible,
.jssx-product-filter.is-active {
	background: var(--jssx-category-blue);
	box-shadow: 0 10px 24px rgba(0, 120, 192, 0.22);
	color: #fff;
}

.jssx-product-filter:hover {
	transform: translateY(-1px);
}

.jssx-product-filter:focus-visible {
	outline: 3px solid rgba(0, 120, 192, 0.2);
	outline-offset: 2px;
}

.jssx-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.jssx-product-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(211, 223, 231, 0.9);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(24, 62, 88, 0.08);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.jssx-product-card[hidden] {
	display: none !important;
}

.jssx-product-card:hover {
	border-color: rgba(0, 120, 192, 0.34);
	box-shadow: 0 22px 46px rgba(24, 62, 88, 0.14);
	transform: translateY(-5px);
}

.jssx-product-card.is-placeholder {
	background: #f9fbfc;
	cursor: default;
}

.jssx-product-card.is-placeholder:hover {
	border-color: rgba(211, 223, 231, 0.9);
	box-shadow: 0 14px 34px rgba(24, 62, 88, 0.08);
	transform: none;
}

.jssx-product-card__link {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.jssx-product-card__link--placeholder {
	cursor: default;
}

.jssx-product-card__media {
	position: relative;
	display: grid;
	aspect-ratio: 1 / 1;
	place-items: center;
	overflow: hidden;
	padding: 24px;
	background:
		linear-gradient(145deg, rgba(237, 245, 249, 0.5), rgba(255, 255, 255, 0.96)),
		#fff;
}

.jssx-product-card__image {
	width: 100%;
	height: 100%;
	border-radius: 18px;
	object-fit: contain;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.jssx-product-card:hover .jssx-product-card__image {
	transform: scale(1.035);
}

.jssx-product-card.is-placeholder:hover .jssx-product-card__image {
	transform: none;
}

.jssx-product-card__placeholder {
	width: 34%;
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.9), transparent 22%),
		linear-gradient(145deg, #d9e7ef, #eef4f7);
}

.jssx-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px 26px 28px;
}

.jssx-product-card__title {
	margin: 0;
	color: var(--jssx-category-ink);
	font-size: 22px;
	font-weight: 720;
	letter-spacing: -0.018em;
	line-height: 1.35;
}

.jssx-product-card__subtitle {
	margin-top: 8px;
	color: var(--jssx-category-blue);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
}

.jssx-product-card__summary {
	margin-top: 12px;
	color: var(--jssx-category-muted);
	font-size: 15px;
	line-height: 1.65;
}

.jssx-product-card__cta {
	display: inline-flex;
	align-self: flex-end;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding-top: 22px;
	color: #8a99a4;
	font-size: 14px;
	font-weight: 780;
	transition: color 0.2s ease;
}

.jssx-product-card__status {
	display: inline-flex;
	align-self: flex-end;
	margin-top: auto;
	padding-top: 22px;
	color: #7b8d99;
	font-size: 14px;
	font-weight: 780;
}

.jssx-product-card__cta span {
	font-size: 18px;
	transition: transform 0.2s ease;
}

.jssx-product-card:hover .jssx-product-card__cta,
.jssx-product-card__link:focus-visible .jssx-product-card__cta {
	color: var(--jssx-category-blue);
}

.jssx-product-card:hover .jssx-product-card__cta span,
.jssx-product-card__link:focus-visible .jssx-product-card__cta span {
	transform: translateX(4px);
}

.jssx-product-card__download {
	position: absolute;
	left: 24px;
	bottom: 20px;
	z-index: 2;
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 8px 12px;
	border: 1px solid rgba(0, 120, 192, 0.42);
	border-radius: 8px;
	background: #fff;
	color: var(--jssx-category-blue);
	font-size: 13px;
	font-weight: 760;
	line-height: 1;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.jssx-product-card__download svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.jssx-product-card__download:not(.is-disabled):hover,
.jssx-product-card__download:not(.is-disabled):focus-visible {
	border-color: var(--jssx-category-blue);
	background: var(--jssx-category-blue);
	box-shadow: 0 8px 18px rgba(0, 120, 192, 0.22);
	color: #fff;
	transform: translateY(-1px);
}

.jssx-product-card__download:focus-visible {
	outline: 3px solid rgba(0, 120, 192, 0.2);
	outline-offset: 2px;
}

.jssx-product-card__download.is-disabled {
	border-color: #d6dfe5;
	background: #f5f7f8;
	color: #9aa8b2;
	cursor: not-allowed;
}

.jssx-category-notice,
.jssx-product-empty-filter {
	margin: 0;
	padding: 28px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 14px 34px rgba(24, 62, 88, 0.1);
	color: var(--jssx-category-muted);
	text-align: center;
}

.jssx-category-applications {
	padding: clamp(76px, 9vw, 124px) 0;
	background: #fff;
}

.jssx-application-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.jssx-application-card {
	position: relative;
	min-width: 0;
	min-height: 300px;
	overflow: hidden;
	border-radius: 18px;
	background: #0b2739;
	box-shadow: 0 18px 38px rgba(10, 39, 58, 0.12);
	isolation: isolate;
}

.jssx-application-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.jssx-application-card__media::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(4, 22, 34, 0.9) 100%);
	content: "";
	pointer-events: none;
}

.jssx-application-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.jssx-application-card:hover .jssx-application-card__media img {
	transform: scale(1.055);
}

.jssx-application-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 5px;
	align-items: end;
	padding: 26px;
	color: #fff;
}

.jssx-application-card h3 {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.jssx-application-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 14px;
	line-height: 1.55;
}

.jssx-product-contact {
	padding: clamp(76px, 8vw, 118px) 0;
	background: #fff;
}

.jssx-product-contact__title {
	margin: 0 0 clamp(54px, 7vw, 92px);
	color: var(--jssx-category-ink);
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 730;
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.jssx-product-contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
	gap: clamp(52px, 9vw, 140px);
	align-items: start;
}

.jssx-product-contact.form-only .jssx-product-contact__layout {
	display: block;
	width: min(100%, 680px);
	margin-inline: auto;
}

.jssx-product-contact__description {
	max-width: 520px;
	color: var(--jssx-category-muted);
	font-size: 17px;
	line-height: 1.9;
}

.jssx-product-contact__description > :last-child {
	margin-bottom: 0;
}

.jssx-product-contact__form {
	position: relative;
	display: grid;
	gap: 0;
}

.jssx-product-contact__form input:not([type="hidden"]),
.jssx-product-contact__form textarea {
	width: 100%;
	margin: 0;
	padding: 14px 4px 11px;
	border: 0;
	border-bottom: 1px solid #cfd9e0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--jssx-category-ink);
	font: inherit;
	line-height: 1.5;
	resize: vertical;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.jssx-product-contact__form input:not([type="hidden"])::placeholder,
.jssx-product-contact__form textarea::placeholder {
	color: #8a99a5;
	opacity: 1;
}

.jssx-product-contact__form input:not([type="hidden"]):focus,
.jssx-product-contact__form textarea:focus {
	border-color: var(--jssx-category-blue);
	outline: 0;
	box-shadow: 0 1px 0 var(--jssx-category-blue);
}

.jssx-product-contact__form textarea {
	min-height: 76px;
}

.jssx-product-contact__form button {
	width: 100%;
	min-height: 48px;
	margin-top: 16px;
	padding: 12px 24px;
	border: 0;
	border-radius: 4px;
	background: var(--jssx-category-blue);
	box-shadow: 0 10px 24px rgba(0, 120, 192, 0.2);
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 720;
	line-height: 1.3;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.jssx-product-contact__form button:hover,
.jssx-product-contact__form button:focus-visible {
	background: var(--jssx-category-blue-dark);
	box-shadow: 0 14px 30px rgba(0, 93, 150, 0.26);
}

.jssx-product-contact__form button:hover {
	transform: translateY(-1px);
}

.jssx-product-contact__form button:focus-visible {
	outline: 3px solid rgba(0, 120, 192, 0.2);
	outline-offset: 3px;
}

.jssx-product-contact__status {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
}

.jssx-product-contact__status.is-success {
	background: #eaf7f0;
	color: #236b45;
}

.jssx-product-contact__status.is-error {
	background: #fff0f0;
	color: #a23434;
}

.jssx-product-contact__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 1024px) {
	.jssx-category-container {
		width: min(100% - 40px, 960px);
	}

	.jssx-product-grid,
	.jssx-application-grid,
	.jssx-product-functions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jssx-product-contact__layout {
		gap: 48px;
	}
}

@media (max-width: 767px) {
	.jssx-category-container {
		width: min(100% - 32px, 680px);
	}

	.jssx-category-hero {
		min-height: 520px;
	}

	.jssx-category-hero__inner {
		padding-top: 118px;
		padding-bottom: 64px;
	}

	.jssx-category-hero__title {
		font-size: clamp(38px, 12vw, 56px);
	}

	.jssx-category-intro__content {
		font-size: 22px;
	}

	.jssx-category-section-heading {
		margin-bottom: 30px;
	}

	.jssx-product-filters {
		flex-wrap: nowrap;
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.jssx-product-filters::-webkit-scrollbar {
		display: none;
	}

	.jssx-product-filter {
		flex: 0 0 auto;
	}

	.jssx-product-grid,
	.jssx-application-grid,
	.jssx-product-functions__grid,
	.jssx-category-architecture__gallery {
		grid-template-columns: 1fr;
	}

	.jssx-product-card__body {
		padding: 22px;
	}

	.jssx-product-contact__title {
		margin-bottom: 38px;
	}

	.jssx-product-contact__layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.jssx-category-architecture__figure {
		padding: 12px;
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jssx-category-architecture__figure,
	.jssx-product-filter,
	.jssx-product-card,
	.jssx-product-card__image,
	.jssx-product-card__cta span,
	.jssx-application-card__media img {
		transition: none;
	}
}
