/* ==========================================================================
   NEXA product detail — premium dark industrial B2B page (generic)
   Dark / charcoal / white / red. Applied to every single-product template.
   ========================================================================== */

body {
	background: #0a0c0e;
}

.np-page {
	box-sizing: border-box;
	width: min(100%, 1320px);
	margin-inline: auto;
	padding-inline: clamp(20px, 4.5vw, 48px);
	color: #f4f6f7;
	background: #0a0c0e;
	font-family: Sora, system-ui, -apple-system, sans-serif;
}

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

.np-page a {
	color: inherit;
}

.np-page :where(h1, h2, h3, p) {
	margin: 0;
	letter-spacing: -0.01em;
}

.np-page img {
	max-width: 100%;
	height: auto;
}

/* Break out of the parent theme's constrained 645px content size so this
   standalone page spans its full 1320px design width. The 82px top offset
   for the fixed site header is kept intact so content clears the header. */
.np-page > * {
	max-width: none !important;
}
.np-page .wp-block-columns {
	max-width: none !important;
}

/* ---- Hero ---- */
.np-hero {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
	padding-block: clamp(48px, 8vw, 96px) clamp(28px, 5vw, 56px);
}
.np-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #e63329;
	margin-bottom: 22px;
}
.np-hero__title {
	font-size: clamp(34px, 4.6vw, 56px);
	font-weight: 600;
	line-height: 1.05;
	margin-bottom: 24px;
}
.np-hero__subtitle {
	font-size: clamp(17px, 1.6vw, 20px);
	font-weight: 400;
	color: #dbe0e3;
	line-height: 1.4;
	margin-bottom: 16px;
}
.np-hero__desc {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: #9aa4ab;
	max-width: 54ch;
	margin-bottom: 34px;
}
.np-hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.np-hero__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.np-hero__media::before {
	content: "";
	position: absolute;
	inset: 6% 8%;
	background: radial-gradient(closest-side, rgba(230, 51, 41, 0.16), rgba(230, 51, 41, 0) 70%);
	z-index: 0;
}
.np-hero__img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
}
.np-hero__img img {
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.np-hero__placeholder {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #14181c;
}

/* ---- Key spec strip ---- */
.np-specstrip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: clamp(52px, 8vw, 92px);
}
.np-specstrip__item {
	padding: clamp(20px, 3vw, 30px) clamp(16px, 2.5vw, 28px);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.np-specstrip__item:first-child {
	border-left: 0;
}
.np-specstrip__value {
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 600;
	line-height: 1.1;
	margin-bottom: 8px;
}
.np-specstrip__label {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9aa4ab;
}

/* ---- Section shell ---- */
.np-section {
	padding-block: clamp(40px, 6vw, 68px);
}
.np-section + .np-section,
.np-section + .np-cta {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.np-section__title {
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 600;
	margin-bottom: clamp(28px, 4vw, 44px);
}

/* ---- Key highlights ---- */
.np-highlights__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.np-highlight__icon {
	width: 40px;
	height: 40px;
	color: #e63329;
	margin-bottom: 22px;
}
.np-highlight__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 10px;
}
.np-highlight__text {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.65;
	color: #9aa4ab;
}

/* ---- Product details close-up cards ---- */
.np-details__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}
.np-detail {
	display: flex;
	flex-direction: column;
	background: #14181c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	overflow: hidden;
}
.np-detail__media {
	margin: 0;
	padding: 14px;
	background: linear-gradient(180deg, #171b1f, #121519);
}
.np-detail__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
}
.np-detail__body {
	padding: 22px 24px 26px;
}
.np-detail__title {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 10px;
}
.np-detail__text {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.65;
	color: #9aa4ab;
}

/* ---- Technical specifications table (dark) ---- */
.np-section .nexa-table {
	margin: 0;
	width: 100%;
	max-width: none !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	overflow: hidden;
}
.np-section .nexa-table table {
	width: 100%;
	border-collapse: collapse;
}
.np-section .nexa-table th {
	padding: 15px 22px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left;
	color: #f4f6f7;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.np-section .nexa-table td {
	padding: 16px 22px;
	font-size: 14px;
	line-height: 1.4;
	vertical-align: middle;
}
.np-section .nexa-table tbody tr:nth-child(odd) td {
	background: rgba(255, 255, 255, 0.025);
}
.np-section .nexa-table td:first-child {
	width: 46%;
	font-weight: 400;
	color: #9aa4ab;
}
.np-section .nexa-table td:last-child {
	font-weight: 500;
	color: #f4f6f7;
}

/* ---- CTA ---- */
.np-cta {
	margin-top: clamp(40px, 6vw, 68px);
	padding: clamp(36px, 6vw, 64px);
	text-align: center;
	background: #101317;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
}
.np-cta__title {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	margin-bottom: 14px;
}
.np-cta__text {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	color: #9aa4ab;
	max-width: 56ch;
	margin: 0 auto 30px;
}
.np-cta__actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ---- Buttons ---- */
.np-btn {
	display: inline-block;
	font-family: Sora, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1;
	text-decoration: none;
	border-radius: 4px;
	padding: 15px 26px;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.np-btn--primary {
	background: #e63329;
	color: #ffffff;
	border: 1px solid #e63329;
}
.np-btn--primary:hover {
	background: #ff5a4e;
	border-color: #ff5a4e;
}
.np-btn--ghost {
	background: transparent;
	color: #f4f6f7;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.np-btn--ghost:hover {
	border-color: #e63329;
	color: #e63329;
}

/* ---- Accessibility: clear focus ---- */
.np-page a:focus-visible,
.np-page .np-btn:focus-visible {
	outline: 2px solid #e63329;
	outline-offset: 3px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.np-hero {
		grid-template-columns: 1fr 0.9fr;
	}
	.np-highlights__grid,
	.np-specstrip {
		grid-template-columns: repeat(2, 1fr);
	}
	.np-specstrip__item:nth-child(odd) {
		border-left: 0;
	}
}
@media (max-width: 768px) {
	.np-hero {
		grid-template-columns: 1fr;
	}
	.np-hero__media {
		order: -1;
	}
	.np-details__grid,
	.np-highlights__grid,
	.np-specstrip {
		grid-template-columns: 1fr;
	}
	.np-specstrip__item {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
	.np-specstrip__item:nth-child(1) {
		border-top: 0;
	}
	.np-cta__actions {
		flex-direction: column;
	}
	.np-cta__actions .np-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.np-btn {
		transition: none;
	}
}
