/* Product presentation only. Shared palette, type and site chrome stay unchanged. */
.inocharge-product-page {
	margin-block: 0;
}

.inocharge-product-section {
	padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
	color: var(--inocharge-graphite, #111820);
}

.inocharge-product-container {
	width: 100%;
	max-width: var(--inocharge-shell-width, 80rem);
	margin-inline: auto;
}

.inocharge-product-page > *,
.inocharge-product-section > *,
.inocharge-product-container > * {
	min-width: 0;
}

.inocharge-product-page > .inocharge-product-section,
.inocharge-product-page > .inocharge-product-content {
	margin-block: 0;
}

.inocharge-product-section :where(h1, h2, h3, p, ul, ol, figure) {
	margin-block-start: 0;
}

.inocharge-product-section :where(h1, h2, h3, p, a, th, td, li) {
	overflow-wrap: anywhere;
}

.inocharge-product-section :where(a, button):focus-visible {
	outline: 0.2rem solid var(--inocharge-teal-ink, #006b5d);
	outline-offset: 0.35rem;
}

.inocharge-product-breadcrumb,
.inocharge-product-hero,
.inocharge-product-contact {
	background: var(--inocharge-graphite, #111820);
	color: var(--inocharge-white, #fff);
}

.inocharge-product-breadcrumb {
	padding-block: 1rem;
	border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.inocharge-product-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	padding: 0;
	margin: 0;
	color: #c4d0d2;
	list-style: none;
	font-size: 0.8rem;
}

.inocharge-product-crumbs li + li::before {
	content: '/';
	padding-inline-end: 0.75rem;
	color: #8ea6ae;
}

.inocharge-product-crumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: #c4d0d2;
	text-underline-offset: 0.25em;
}

.inocharge-product-hero {
	padding-block: clamp(2.5rem, 6vw, 6rem);
	background-image: radial-gradient(ellipse at 85% 45%, rgb(0 182 154 / 12%), transparent 55%);
}

.inocharge-product-hero > .inocharge-product-container {
	display: grid;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.inocharge-product-kicker {
	margin-block-end: 1rem;
	color: var(--inocharge-teal, #00b69a);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.inocharge-product-model-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	padding: 0;
	margin-block-end: 1rem;
	color: #c4d0d2;
	font-size: 0.9rem;
	list-style: none;
}

.inocharge-product-model-tags li + li {
	border-inline-start: 1px solid rgb(255 255 255 / 25%);
	padding-inline-start: 1rem;
}

.inocharge-product-title {
	max-width: 20ch;
	margin-block-end: 1.5rem;
	color: inherit;
	font-size: clamp(2.15rem, 1.55rem + 2.4vw, 4.75rem);
	font-weight: 750;
	line-height: 1.08;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.inocharge-product-summary {
	max-width: 52ch;
	margin-block-end: 2rem;
	color: #c4d0d2;
	font-size: clamp(1rem, 0.9rem + 0.45vw, 1.25rem);
	line-height: 1.65;
	white-space: pre-line;
}

.inocharge-product-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
	padding: 1.5rem 0;
	margin-block-end: 2rem;
	border-block: 1px solid rgb(255 255 255 / 15%);
	list-style: none;
}

.inocharge-product-highlights li {
	flex: 1 1 8rem;
	min-width: 0;
}

.inocharge-product-highlights span {
	display: block;
	margin-block-end: 0.5rem;
	color: #c4d0d2;
	font-size: 0.75rem;
}

.inocharge-product-highlights strong {
	font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
	font-weight: 650;
	line-height: 1.25;
}

.inocharge-product-hero__media {
	display: grid;
	place-items: center;
	width: 100%;
	min-width: 0;
	margin: 0;
	aspect-ratio: 1 / 1;
	background: radial-gradient(ellipse, rgb(0 182 154 / 14%), transparent 65%);
}

.inocharge-product-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 42rem;
	object-fit: contain;
}

.inocharge-product-hero__media--empty {
	border: 1px dashed rgb(255 255 255 / 20%);
	border-radius: 1.5rem;
	padding: 2rem;
	color: #c4d0d2;
	text-align: center;
}

.inocharge-product-hero__media--empty p {
	max-width: 28ch;
	margin: 0;
}

.inocharge-product-heading {
	max-width: 25ch;
	margin-block-end: clamp(1.75rem, 4vw, 3rem);
	color: inherit;
	font-size: clamp(1.8rem, 1.3rem + 1.6vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.inocharge-product-specifications {
	background: var(--inocharge-off-white, #f5f7f7);
}

.inocharge-product-specs {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.05rem);
}

.inocharge-product-specs :is(th, td) {
	border-block-end: 1px solid var(--inocharge-border, #d6e0e0);
	padding: 1.1rem 0;
	text-align: start;
	vertical-align: top;
}

.inocharge-product-specs th {
	width: 42%;
	padding-inline-end: clamp(0.75rem, 2vw, 2rem);
	color: var(--inocharge-muted, #536773);
	font-weight: 500;
}

.inocharge-product-specs td {
	font-weight: 600;
	white-space: pre-line;
}

.inocharge-product-content {
	padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 3rem);
	background: var(--inocharge-white, #fff);
}

/* An empty post body should not leave a blank section between specifications and PDFs. */
body.single-inocharge_product:not(.editor-styles-wrapper) .inocharge-product-content:not(:has(> .wp-block-post-content)),
body.single-inocharge_product:not(.editor-styles-wrapper) .inocharge-product-content:has(> .wp-block-post-content:empty) {
	display: none;
}

.inocharge-product-content .wp-block-post-content {
	overflow-wrap: anywhere;
}

.inocharge-product-documents {
	background: var(--inocharge-white, #fff);
	border-top: 1px solid var(--inocharge-border, #d6e0e0);
}

.inocharge-product-document-list {
	display: grid;
	gap: 1rem;
	padding: 0;
	margin: 0;
	border: 0;
	list-style: none;
}

.inocharge-product-document {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.5rem;
	border: 1px solid var(--inocharge-border, #d6e0e0);
	border-radius: 1rem;
	padding: 1.25rem;
	color: var(--inocharge-graphite, #111820);
	font-weight: 650;
	text-decoration: none;
}

.inocharge-product-document__type {
	flex: 0 0 auto;
	color: var(--inocharge-teal-ink, #006b5d);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
}

.inocharge-product-related {
	background: var(--inocharge-off-white, #f5f7f7);
}

.inocharge-product-models {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1rem, 3vw, 2rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.inocharge-product-card a {
	display: block;
	height: 100%;
	border: 1px solid var(--inocharge-border, #d6e0e0);
	border-radius: 1.5rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--inocharge-white, #fff);
	color: var(--inocharge-graphite, #111820);
	text-decoration: none;
}

.inocharge-product-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	margin-block-end: 1.75rem;
	background: radial-gradient(ellipse, rgb(0 182 154 / 8%), transparent 65%);
}

.inocharge-product-card h3 {
	margin-block-end: 1rem;
	font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.75rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.inocharge-product-card__link {
	color: var(--inocharge-teal-ink, #006b5d);
	font-size: 0.875rem;
	font-weight: 650;
}

.inocharge-product-contact > .inocharge-product-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem 3rem;
}

.inocharge-product-contact .inocharge-product-heading {
	margin-block-end: 1rem;
}

.inocharge-product-contact p {
	max-width: 52ch;
	margin-block-end: 0;
	color: #c4d0d2;
}

.inocharge-product-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	max-width: 100%;
	min-height: 3.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0.85rem 1.5rem;
	background: var(--inocharge-teal, #00b69a);
	color: var(--inocharge-graphite, #111820);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

:is(.inocharge-product-hero, .inocharge-product-contact, .inocharge-product-breadcrumb) a:focus-visible {
	outline-color: var(--inocharge-teal, #00b69a);
}

@media (hover: hover) {
	.inocharge-product-button:hover {
		background: var(--inocharge-white, #fff);
		color: var(--inocharge-graphite, #111820);
	}
	.inocharge-product-document:hover,
	.inocharge-product-card a:hover {
		border-color: var(--inocharge-teal-ink, #006b5d);
	}
}

@media (min-width: 40rem) {
	.inocharge-product-document-list,
	.inocharge-product-models {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.inocharge-product-hero__media {
		max-width: 40rem;
		margin-inline: auto;
	}
}

@media (min-width: 64rem) {
	.inocharge-product-hero > .inocharge-product-container {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}

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

@media (prefers-reduced-motion: reduce) {
	.inocharge-product-section :where(a, button) {
		transition: none;
	}
}
