.nxc-catalog,
.nxc-product {
	width: min(1360px, calc(100% - 48px));
	margin: 0 auto;
	padding: 48px 0 72px;
	color: #17242a;
}

.nxc-catalog *,
.nxc-product * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.nxc-catalog [hidden] {
	display: none !important;
}

.nxc-catalog__header {
	max-width: 780px;
	margin-bottom: 28px;
}

.nxc-catalog h1,
.nxc-product h1 {
	margin: 0 0 12px;
	font-size: 42px;
	line-height: 1.12;
}

.nxc-catalog__header > p {
	margin: 0;
	color: #4d5b62;
	font-size: 17px;
	line-height: 1.65;
}

.nxc-catalog-tools {
	margin-bottom: 28px;
	padding: 18px;
	border: 1px solid #d7e0e2;
	border-radius: 8px;
	background: #f6f9f9;
}

.nxc-system-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
}

.nxc-system-filter button,
.nxc-filter-summary button,
.nxc-empty-state button {
	min-height: 38px;
	border: 1px solid #cbd6d9;
	border-radius: 6px;
	background: #fff;
	color: #19353d;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.nxc-system-filter button {
	min-width: 82px;
	padding: 10px 16px;
}

.nxc-system-filter button:hover,
.nxc-system-filter button:focus-visible,
.nxc-system-filter button.is-active {
	border-color: #0d4c59;
	background: #0d4c59;
	color: #fff;
}

.nxc-filter-fields {
	display: grid;
	grid-template-columns: minmax(240px, 1.7fr) repeat(4, minmax(145px, 1fr));
	gap: 12px;
}

.nxc-filter-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.nxc-filter-field > span {
	color: #3f5057;
	font-size: 12px;
	font-weight: 700;
}

.nxc-filter-field input,
.nxc-filter-field select {
	width: 100%;
	height: 44px;
	min-width: 0;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #cbd6d9;
	border-radius: 6px;
	background: #fff;
	color: #17242a;
	font: inherit;
	font-size: 14px;
}

.nxc-filter-field input:focus,
.nxc-filter-field select:focus {
	border-color: #0d4c59;
	box-shadow: 0 0 0 3px rgba(13, 76, 89, .12);
	outline: 0;
}

.nxc-filter-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #dde5e7;
}

.nxc-filter-summary p {
	margin: 0;
	color: #536269;
	font-size: 13px;
}

.nxc-filter-summary strong {
	color: #17242a;
}

.nxc-filter-summary button,
.nxc-empty-state button {
	min-height: 34px;
	padding: 8px 12px;
	color: #a02a1d;
}

.nxc-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.nxc-product-card {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid #d7e0e2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(20, 42, 49, .04);
	overflow: hidden;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nxc-product-card:hover {
	transform: translateY(-3px);
	border-color: #bdcbce;
	box-shadow: 0 12px 26px rgba(20, 42, 49, .09);
}

.nxc-product-card__image {
	display: grid;
	height: 204px;
	flex: 0 0 204px;
	place-items: center;
	padding: 14px;
	border-bottom: 1px solid #edf1f2;
	background: #f7f9f9;
	overflow: hidden;
}

.nxc-catalog .nxc-product-card__image > img,
.nxc-catalog .nxc-product-card__image > picture,
.nxc-catalog .nxc-product-card__image > picture > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	transition: transform .2s ease;
}

.nxc-product-card:hover .nxc-product-card__image img {
	transform: scale(1.025);
}

.nxc-product-card__body {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	z-index: 1;
	padding: 16px;
	background: #fff;
}

.nxc-product-card__topline {
	display: flex;
	min-height: 18px;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 7px;
}

.nxc-product-card__brand {
	margin: 0;
	color: #b52b1c;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.nxc-product-card__topline > span {
	max-width: 58%;
	overflow: hidden;
	color: #6a777c;
	font-size: 11px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nxc-product-card h2 {
	display: -webkit-box;
	min-height: 46px;
	margin: 0 0 8px;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nxc-product-card h2 a {
	color: #17242a;
	text-decoration: none;
}

.nxc-product-card__excerpt {
	display: -webkit-box;
	min-height: 58px;
	margin: 0 0 14px;
	overflow: hidden;
	color: #57656b;
	font-size: 13px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.nxc-product-card__commerce {
	display: grid;
	gap: 6px;
	margin-top: auto;
	padding-top: 13px;
	border-top: 1px solid #edf1f2;
}

.nxc-product-card__commerce > strong {
	color: #17242a;
	font-size: 14px;
	line-height: 1.35;
}

.nxc-stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #647278;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.nxc-stock::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d48b1e;
	content: "";
	flex: 0 0 auto;
}

.nxc-stock--in_stock::before {
	background: #15803d;
}

.nxc-stock--out_of_stock::before {
	background: #b42318;
}

.nxc-product-card__actions {
	display: grid;
	grid-template-columns: 1fr;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #edf1f2;
}

.nxc-button {
	display: inline-flex;
	min-width: 0;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.nxc-button--primary {
	background: #0d4c59;
	color: #fff;
}

.nxc-product-card .nxc-button--primary {
	justify-content: space-between;
	padding-inline: 14px;
}

.nxc-button--primary:hover,
.nxc-button--primary:focus-visible {
	background: #083a44;
	color: #fff;
}

.nxc-button--support {
	border-color: #d8a098;
	background: #fff;
	color: #a02a1d;
}

.nxc-button--support:hover,
.nxc-button--support:focus-visible {
	border-color: #b52b1c;
	background: #fff6f4;
	color: #8e2116;
}

.nxc-empty-state {
	grid-column: 1 / -1;
	padding: 48px 24px;
	border: 1px dashed #bbc8cb;
	border-radius: 8px;
	text-align: center;
}

.nxc-empty-state h2 {
	margin: 0 0 8px;
	font-size: 22px;
}

.nxc-empty-state p {
	margin: 0 0 18px;
	color: #5b696f;
}

.nxc-breadcrumb {
	display: flex;
	min-width: 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
	color: #66747a;
	font-size: 13px;
}

.nxc-breadcrumb a {
	color: #8e2116;
}

.nxc-product__hero {
	display: grid;
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
	gap: 64px;
	align-items: start;
}

.nxc-product__gallery,
.nxc-product__summary {
	min-width: 0;
}

.nxc-product__visual {
	position: relative;
	display: flex;
	width: 100%;
	height: 520px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 30px;
	border: 1px solid #dce4e6;
	border-radius: 8px;
	background: #f7f9f9;
	cursor: zoom-in;
	overflow: hidden;
}

.nxc-product .nxc-product__visual > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
}

.nxc-product__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 8px 11px;
	border: 1px solid #d5dfe1;
	border-radius: 5px;
	background: rgba(255, 255, 255, .94);
	color: #16333b;
	font-size: 12px;
	font-weight: 800;
}

.nxc-product__gallery-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.nxc-product__thumbnail {
	display: grid;
	width: 66px;
	height: 66px;
	flex: 0 0 66px;
	place-items: center;
	padding: 5px;
	border: 1px solid #b52b1c;
	border-radius: 6px;
	background: #fff;
	cursor: zoom-in;
	overflow: hidden;
}

.nxc-product__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nxc-product__gallery-meta p {
	display: grid;
	gap: 2px;
	margin: 0;
	color: #67757b;
	font-size: 12px;
	line-height: 1.4;
}

.nxc-product__gallery-meta strong {
	color: #24373e;
	font-size: 13px;
}

.nxc-product__summary {
	position: sticky;
	top: 110px;
}

.nxc-product__labels {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 12px;
}

.nxc-product__labels span {
	padding: 6px 9px;
	border: 1px solid #d8e0e2;
	border-radius: 4px;
	background: #f7f9f9;
	color: #4c5d64;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.nxc-product__summary h1 {
	margin: 0 0 14px;
	font-size: 38px;
	line-height: 1.18;
}

.nxc-eyebrow {
	margin: 0 0 8px;
	color: #b52b1c;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.nxc-product__lead {
	margin: 0;
	color: #4b5a61;
	font-size: 16px;
	line-height: 1.7;
}

.nxc-product__commerce {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 24px;
	padding: 17px 0;
	border-top: 1px solid #e2e8ea;
	border-bottom: 1px solid #e2e8ea;
}

.nxc-product__commerce > div {
	display: grid;
	gap: 3px;
}

.nxc-product__commerce > div > span {
	color: #6c797e;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.nxc-product__commerce > div > strong {
	font-size: 18px;
}

.nxc-marketplaces {
	display: grid;
	gap: 10px;
	margin: 18px 0 10px;
}

.nxc-marketplace-link {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 6px;
	background: #b52b1c;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.nxc-marketplace-link:hover {
	background: #8e2116;
	color: #fff;
}

.nxc-marketplace-note {
	margin: 0;
	color: #58676d;
	font-size: 13px;
	line-height: 1.5;
}

.nxc-product__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 22px 0 0;
	border-top: 1px solid #e4eaeb;
	border-left: 1px solid #e4eaeb;
}

.nxc-product__facts > div {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 12px;
	border-right: 1px solid #e4eaeb;
	border-bottom: 1px solid #e4eaeb;
}

.nxc-product__facts dt {
	color: #6c797e;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.nxc-product__facts dd {
	margin: 0;
	overflow-wrap: anywhere;
	color: #20353c;
	font-size: 13px;
	font-weight: 800;
}

.nxc-product__service {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 14px;
	border-left: 3px solid #b52b1c;
	background: #fff7f5;
}

.nxc-product__service > div {
	display: grid;
	gap: 3px;
}

.nxc-product__service strong {
	font-size: 13px;
}

.nxc-product__service span {
	color: #637177;
	font-size: 12px;
	line-height: 1.4;
}

.nxc-product__details {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
	gap: 64px;
	align-items: start;
	margin-top: 64px;
	padding: 48px 0;
	border-top: 1px solid #dfe6e8;
	border-bottom: 1px solid #dfe6e8;
}

.nxc-product__content h2 {
	margin: 0 0 18px;
	font-size: 30px;
	line-height: 1.25;
}

.nxc-product__prose {
	color: #46575e;
	font-size: 16px;
	line-height: 1.8;
}

.nxc-product__prose > :first-child {
	margin-top: 0;
}

.nxc-product__prose > :last-child {
	margin-bottom: 0;
}

.nxc-product__prose h2,
.nxc-product__prose h3 {
	margin: 28px 0 10px;
	color: #17242a;
	font-size: 22px;
	line-height: 1.35;
}

.nxc-product__guide {
	padding: 22px;
	border: 1px solid #dce4e6;
	border-radius: 8px;
	background: #f7f9f9;
}

.nxc-product__guide h2 {
	margin: 0 0 14px;
	font-size: 20px;
}

.nxc-product__guide ul {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding-left: 20px;
	color: #4d5e64;
	font-size: 14px;
	line-height: 1.55;
}

.nxc-product__guide a,
.nxc-related > header > a,
.nxc-related-card__link {
	color: #9d281b;
	font-weight: 800;
	text-decoration: none;
}

.nxc-related {
	margin-top: 56px;
}

.nxc-related > header {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	margin-bottom: 20px;
}

.nxc-related > header .nxc-eyebrow {
	grid-column: 1 / -1;
}

.nxc-related > header h2 {
	margin: 0;
	font-size: 28px;
}

.nxc-related__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.nxc-related-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid #dde5e7;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(20, 42, 49, .04);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}

.nxc-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(20, 42, 49, .08);
}

.nxc-related-card__image {
	display: grid;
	height: 164px;
	flex: 0 0 164px;
	place-items: center;
	padding: 12px;
	border-bottom: 1px solid #edf1f2;
	background: #f7f9f9;
	overflow: hidden;
}

.nxc-product .nxc-related-card__image > img,
.nxc-product .nxc-related-card__image > picture,
.nxc-product .nxc-related-card__image > picture > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
}

.nxc-related-card__body {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	z-index: 1;
	padding: 14px;
	background: #fff;
}

.nxc-related-card h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.nxc-related-card h3 a {
	color: #17242a;
	text-decoration: none;
}

.nxc-related-card__link {
	align-self: flex-start;
	margin-top: auto;
	color: #a92c1e;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.nxc-lightbox {
	width: min(920px, calc(100% - 32px));
	height: min(820px, calc(100% - 32px));
	padding: 24px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(8, 28, 34, .28);
}

.nxc-lightbox::backdrop {
	background: rgba(6, 22, 27, .8);
}

.nxc-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	padding: 0;
	border: 1px solid #d6dfe1;
	border-radius: 50%;
	background: #fff;
	color: #17242a;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
}

.nxc-lightbox figure {
	display: grid;
	height: 100%;
	grid-template-rows: minmax(0, 1fr) auto;
	gap: 12px;
	margin: 0;
	place-items: center;
}

.nxc-product .nxc-lightbox img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
}

.nxc-lightbox figcaption {
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.nav-links .page-numbers {
	padding: 8px 12px;
	border: 1px solid #d8dee0;
	border-radius: 4px;
	text-decoration: none;
}

@media (max-width: 1180px) {
	.nxc-filter-fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nxc-filter-field--search {
		grid-column: span 2;
	}

	.nxc-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nxc-product__hero {
		gap: 40px;
	}

	.nxc-product__visual {
		height: 460px;
	}

	.nxc-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.nxc-catalog,
	.nxc-product {
		width: min(100% - 32px, 720px);
		padding-top: 32px;
	}

	.nxc-catalog h1,
	.nxc-product h1 {
		font-size: 34px;
	}

	.nxc-filter-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.nxc-product__hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.nxc-product__summary {
		position: static;
	}

	.nxc-product__visual {
		height: 500px;
	}

	.nxc-product__details {
		grid-template-columns: 1fr;
		gap: 32px;
		margin-top: 48px;
		padding: 36px 0;
	}

	.nxc-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.nxc-catalog,
	.nxc-product {
		width: calc(100% - 24px);
		padding-top: 26px;
	}

	.nxc-catalog h1,
	.nxc-product h1 {
		font-size: 30px;
	}

	.nxc-catalog__header > p {
		font-size: 15px;
	}

	.nxc-catalog-tools {
		padding: 14px;
	}

	.nxc-system-filter {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nxc-system-filter button {
		min-width: 0;
		padding: 9px 8px;
	}

	.nxc-filter-fields {
		grid-template-columns: 1fr;
	}

	.nxc-filter-field--search {
		grid-column: auto;
	}

	.nxc-filter-summary {
		align-items: flex-start;
		flex-direction: column;
	}

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

	.nxc-product-card__image {
		height: 210px;
		flex-basis: 210px;
	}

	.nxc-product-card h2,
	.nxc-product-card__excerpt {
		min-height: 0;
	}

	.nxc-product-card__actions {
		grid-template-columns: 1fr;
	}

	.nxc-product__lead,
	.nxc-product__prose {
		font-size: 15px;
	}

	.nxc-marketplace-link {
		width: 100%;
	}

	.nxc-product__visual {
		height: 360px;
		padding: 18px;
	}

	.nxc-product__summary h1 {
		font-size: 29px;
	}

	.nxc-product__commerce,
	.nxc-product__service {
		align-items: flex-start;
		flex-direction: column;
	}

	.nxc-product__service .nxc-button {
		width: 100%;
	}

	.nxc-product__facts {
		grid-template-columns: 1fr;
	}

	.nxc-related > header {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.nxc-related__grid {
		grid-template-columns: 1fr;
	}

	.nxc-related-card {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
	}

	.nxc-related-card__image {
		height: 150px;
		min-height: 150px;
		flex-basis: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nxc-product-card,
	.nxc-product-card__image img,
	.nxc-related-card {
		transition: none;
	}

	.nxc-product-card:hover,
	.nxc-product-card:hover .nxc-product-card__image img,
	.nxc-related-card:hover {
		transform: none;
	}
}
