/**
 * Single product Page.
 */

.nexora-product-single {
	width: 100%;
	max-width: var(--nexora-content-width);
	min-width: 0;
	margin-inline: auto;
	padding: clamp(0.5rem, 2vw, 1.5rem) clamp(0.25rem, 2vw, 1rem) clamp(3rem, 8vw, 6rem);
}

.nexora-product-single--not-found {
	max-width: 48rem;
	padding-block: clamp(3rem, 9vw, 6rem);
	text-align: center;
}

.nexora-product-single--not-found h1 {
	margin: 0;
	color: var(--nexora-navy);
	font-size: clamp(2rem, 7vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.nexora-product-single--not-found p {
	max-width: 38rem;
	margin: 1.25rem auto 0;
	color: var(--nexora-navy-soft);
}

.nexora-product-single--not-found > a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.75rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--nexora-navy);
	border-radius: 0.35rem;
	color: var(--nexora-white);
	background: var(--nexora-navy);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.nexora-product-single--not-found > a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__back {
	margin-top: clamp(3rem, 8vw, 6rem);
}

.nexora-product-single__back a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	max-width: 100%;
	padding: 0.25rem 0;
	color: var(--nexora-navy);
	font-weight: 700;
	line-height: 1.45;
	text-decoration: underline;
	text-decoration-color: var(--nexora-champagne);
	text-underline-offset: 0.22em;
	overflow-wrap: anywhere;
}

.nexora-product-single__back a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__hero {
	display: grid;
	grid-template-areas:
		"summary"
		"media";
	gap: clamp(2rem, 7vw, 4rem);
	align-items: start;
	min-width: 0;
}

.nexora-product-single__summary {
	grid-area: summary;
	min-width: 0;
}

.nexora-product-single__summary h1 {
	margin: 0;
	color: var(--nexora-navy);
	font-size: clamp(2.15rem, 8vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	overflow-wrap: anywhere;
}

.nexora-product-single__code,
.nexora-product-single__categories,
.nexora-product-single__series {
	margin: 0.65rem 0 0;
	color: var(--nexora-navy-soft);
	font-size: 0.875rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.nexora-product-single__categories a,
.nexora-product-single__series a {
	color: inherit;
	text-decoration-color: currentColor;
	text-underline-offset: 0.18em;
}

.nexora-product-single__categories a:hover,
.nexora-product-single__categories a:focus-visible,
.nexora-product-single__series a:hover,
.nexora-product-single__series a:focus-visible {
	color: var(--nexora-navy);
	text-decoration-color: currentColor;
}

.nexora-product-single__code {
	margin-top: 1.25rem;
	padding-left: 0.75rem;
	border-left: 0.2rem solid var(--nexora-champagne);
	font-weight: 700;
	letter-spacing: 0.035em;
}

.nexora-product-single__excerpt {
	max-width: 42rem;
	margin: 1.5rem 0 0;
	color: #4d596b;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.75;
}

.nexora-product-single__actions {
	display: grid;
	gap: 0.75rem;
	margin-top: 2rem;
}

.nexora-product-single__actions a {
	display: inline-flex;
	width: 100%;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--nexora-navy);
	border-radius: 0.35rem;
	color: var(--nexora-white);
	background: var(--nexora-navy);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nexora-product-single__actions a + a {
	color: var(--nexora-navy);
	background: transparent;
}

.nexora-product-single__actions a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__media {
	grid-area: media;
	min-width: 0;
}

.nexora-product-single__featured,
.nexora-product-single__gallery-button {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--nexora-border);
	border-radius: 0.75rem;
	background: var(--nexora-white);
}

.nexora-product-single__featured {
	padding: clamp(0.75rem, 3vw, 1.5rem);
	box-shadow: 0 0.75rem 2rem rgb(8 26 51 / 5%);
}

.nexora-product-single__featured-image,
.nexora-product-single__gallery-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.nexora-product-single__gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.nexora-product-single__gallery li {
	min-width: 0;
}

.nexora-product-single__gallery-button {
	display: grid;
	width: 100%;
	aspect-ratio: 1;
	place-items: center;
	padding: 0.5rem;
	cursor: pointer;
	font: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.nexora-product-single__gallery-button[aria-current="true"] {
	border-color: var(--nexora-navy);
	box-shadow: 0 0 0 2px var(--nexora-champagne);
}

.nexora-product-single__gallery-button:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__gallery-image {
	max-height: 100%;
	object-fit: contain;
}

.nexora-product-single__highlights,
.nexora-product-single__content,
.nexora-product-single__specifications,
.nexora-product-single__variants,
.nexora-product-single__documents,
.nexora-product-single__related {
	min-width: 0;
	margin-top: clamp(3rem, 8vw, 6rem);
	padding-top: clamp(1.5rem, 4vw, 2.5rem);
	border-top: 1px solid var(--nexora-border);
}

.nexora-product-single__highlights > h2,
.nexora-product-single__content > h2,
.nexora-product-single__specifications > h2,
.nexora-product-single__variants > h2,
.nexora-product-single__documents > h2,
.nexora-product-single__related > h2 {
	margin: 0;
	color: var(--nexora-navy);
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.nexora-product-single__highlights > ul {
	display: grid;
	gap: 0.75rem;
	max-width: 50rem;
	margin: 1.5rem 0 0;
	padding-left: 1.25rem;
}

.nexora-product-single__highlights li {
	padding-left: 0.35rem;
	line-height: 1.7;
}

.nexora-product-single__highlights li::marker {
	color: #7b602f;
}

.nexora-product-single__content-body {
	max-width: 50rem;
	margin-top: 1.5rem;
	color: var(--nexora-text);
	overflow-wrap: anywhere;
}

.nexora-product-single__content-body > :first-child {
	margin-top: 0;
}

.nexora-product-single__content-body > :last-child {
	margin-bottom: 0;
}

.nexora-product-single__content-body p,
.nexora-product-single__content-body li {
	line-height: 1.75;
}

.nexora-product-single__content-body h2,
.nexora-product-single__content-body h3,
.nexora-product-single__content-body h4 {
	margin: 2rem 0 0.75rem;
	color: var(--nexora-navy);
	line-height: 1.25;
}

.nexora-product-single__content-body h2 {
	font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.nexora-product-single__content-body h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.nexora-product-single__content-body h4 {
	font-size: 1.125rem;
}

.nexora-product-single__content-body ul,
.nexora-product-single__content-body ol {
	padding-left: 1.4rem;
}

.nexora-product-single__content-body a {
	color: var(--nexora-navy);
	text-decoration: underline;
	text-decoration-color: var(--nexora-champagne);
	text-underline-offset: 0.22em;
}

.nexora-product-single__content-body a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__content-body blockquote {
	margin: 1.75rem 0;
	padding: 1rem 1.25rem;
	border-left: 0.2rem solid var(--nexora-champagne);
	background: var(--nexora-white);
}

.nexora-product-single__content-body img,
.nexora-product-single__content-body figure,
.nexora-product-single__content-body iframe,
.nexora-product-single__content-body embed {
	max-width: 100%;
}

.nexora-product-single__content-body img {
	height: auto;
}

.nexora-product-single__content-body figure {
	margin-inline: 0;
}

.nexora-product-single__content-body table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
}

.nexora-product-single__content-body th,
.nexora-product-single__content-body td {
	padding: 0.65rem;
	border: 1px solid var(--nexora-border);
	text-align: left;
	overflow-wrap: anywhere;
}

.nexora-product-single__specifications dl {
	max-width: 56rem;
	margin: 1.5rem 0 0;
	overflow: hidden;
	border: 1px solid var(--nexora-border);
	border-radius: 0.35rem;
	background: var(--nexora-white);
}

.nexora-product-single__specifications dl > div {
	display: grid;
	grid-template-columns: minmax(9rem, 0.9fr) minmax(0, 1.1fr);
	min-width: 0;
	border-bottom: 1px solid var(--nexora-border);
}

.nexora-product-single__specifications dl > div:last-child {
	border-bottom: 0;
}

.nexora-product-single__specifications dt {
	padding: 0.9rem 1rem;
	color: var(--nexora-navy);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.nexora-product-single__specifications dd {
	margin: 0;
	padding: 0.9rem 1rem;
	color: var(--nexora-text);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.nexora-product-single__variants-table {
	max-width: 100%;
	margin-top: 1.5rem;
	overflow-x: auto;
	border: 1px solid var(--nexora-border);
	border-radius: 0.5rem;
	background: var(--nexora-white);
	-webkit-overflow-scrolling: touch;
}

.nexora-product-single__variants-table:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__variants-table table {
	width: 100%;
	min-width: 42rem;
	border-collapse: collapse;
}

.nexora-product-single__variants-table caption {
	padding: 1rem;
	color: var(--nexora-navy);
	background: #f1f3f5;
	font-weight: 700;
	text-align: left;
}

.nexora-product-single__variants-table th,
.nexora-product-single__variants-table td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--nexora-border);
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
}

.nexora-product-single__variants-table thead th {
	color: var(--nexora-white);
	background: var(--nexora-navy);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.nexora-product-single__variants-table tbody th {
	color: var(--nexora-navy);
	font-weight: 700;
}

.nexora-product-single__variants-table tbody tr:last-child > * {
	border-bottom: 0;
}

.nexora-product-single__documents > ul {
	display: grid;
	gap: 0.75rem;
	max-width: 50rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.nexora-product-single__documents li {
	min-width: 0;
}

.nexora-product-single__documents a {
	display: flex;
	min-height: 2.75rem;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--nexora-border);
	color: var(--nexora-navy);
	font-weight: 700;
	line-height: 1.5;
	text-decoration: underline;
	text-decoration-color: var(--nexora-champagne);
	text-underline-offset: 0.22em;
	overflow-wrap: anywhere;
}

.nexora-product-single__documents a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-product-single__related > ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-auto-rows: 1fr;
	gap: 1.25rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.nexora-product-single__related > ul > li {
	min-width: 0;
	height: 100%;
}

@media (min-width: 40rem) {
	.nexora-product-single {
		padding-inline: clamp(0.5rem, 2vw, 1.25rem);
	}

	.nexora-product-single__actions {
		display: flex;
		flex-wrap: wrap;
	}

	.nexora-product-single__actions a {
		width: auto;
		min-width: 11rem;
	}

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

	.nexora-product-single__related > ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60rem) {
	.nexora-product-single__hero {
		grid-template-areas: "media summary";
		grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
	}

	.nexora-product-single__variants-table th:nth-child(1),
	.nexora-product-single__variants-table td:nth-child(1),
	.nexora-product-single__variants-table th:nth-child(3),
	.nexora-product-single__variants-table td:nth-child(3) {
		white-space: normal;
	}

	.nexora-product-single__related > ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (hover: hover) and (pointer: fine) {
	.nexora-product-single--not-found > a:hover,
	.nexora-product-single__actions a:hover {
		border-color: var(--nexora-navy-soft);
		color: var(--nexora-white);
		background: var(--nexora-navy-soft);
		transform: translateY(-1px);
	}

	.nexora-product-single__actions a + a:hover {
		color: var(--nexora-white);
	}

	.nexora-product-single__content-body a:hover,
	.nexora-product-single__back a:hover,
	.nexora-product-single__documents a:hover {
		color: var(--nexora-navy-soft);
		text-decoration-thickness: 2px;
	}

	.nexora-product-single__variants-table tbody tr:hover {
		background: #f7f8f9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexora-product-single--not-found > a,
	.nexora-product-single__actions a,
	.nexora-product-single__gallery-button {
		transition-duration: 0.01ms;
	}
}
