/*
 * Techstyle Compliance Center - product page, following the 2026-10-06
 * mock-ups. Fonts come from the theme. No JavaScript.
 */

.tsc {
	--tsc-text: #14171f;
	--tsc-muted: #5a606b;
	--tsc-line: #e3e5e9;
	--tsc-card-line: #e6e8ec;
	--tsc-link: #1d4ed8;
	--tsc-notice-bg: #fff4e5;
	--tsc-notice-line: #b45309;
	--tsc-focus: #2563eb;
	color: var(--tsc-text);
	background: #fff;
	/* Long unbroken titles, SKUs and labels wrap instead of widening the layout. */
	overflow-wrap: break-word;
	overflow-wrap: anywhere;
}

/*
 * Header: the mock-ups show the site header on white with the dark logo,
 * which is the theme's own scrolled ("fixed") look. Norebro's default here is
 * transparent with a white logo, for pages with a dark hero image. The
 * theme's JS sets the logos' display inline when it toggles the fixed state,
 * so the overrides need !important; they only apply while not fixed.
 */
.single-tsc_product #masthead:not(.header-fixed) {
	background: #fff;
	color: #000;
	border-bottom: 1px solid #e3e5e9;
}

.single-tsc_product #masthead:not(.header-fixed) .right {
	border-color: rgba(0, 0, 0, .3);
}

.single-tsc_product #masthead:not(.header-fixed) .logo,
.single-tsc_product #masthead:not(.header-fixed) .mobile-logo {
	display: none !important;
}

.single-tsc_product #masthead:not(.header-fixed) .fixed-logo {
	display: inline-flex !important;
}

@media (max-width: 768px) {
	.single-tsc_product #masthead:not(.header-fixed) .fixed-logo {
		display: none !important;
	}

	.single-tsc_product #masthead:not(.header-fixed) .fixed-mobile-logo {
		display: inline-flex !important;
		align-items: center;
	}

	/*
	 * The theme's mobile header is 80px with the 48px logo pinned to the top,
	 * and pulls the menu icon up off the screen (margin-top: -65px). Here the
	 * header fits the logo and both sit on the same centre line.
	 */
	.single-tsc_product #masthead,
	.single-tsc_product #masthead .header-wrap,
	.single-tsc_product #masthead .site-branding,
	.single-tsc_product #masthead .site-title,
	.single-tsc_product #masthead .header-wrap > .right {
		height: 64px;
		line-height: 64px;
	}

	.single-tsc_product #masthead .site-title,
	.single-tsc_product #masthead .site-title a {
		display: flex;
		align-items: center;
	}

	/* Only the mobile icon; the theme hides #hamburger-fullscreen-menu here. */
	.single-tsc_product #masthead #hamburger-menu {
		display: flex;
		align-items: center;
		height: 64px;
		margin-top: 0;
	}
}

.tsc .screen-reader-text,
.tsc .tsc-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tsc-main {
	max-width: 1000px;
	margin: 0 auto;
	padding: 88px 20px 32px;
}

/* Breadcrumbs */

.tsc .tsc-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tsc-muted);
}

.tsc .tsc-breadcrumbs li {
	margin: 0;
	padding: 0;
}

.tsc .tsc-breadcrumbs li + li::before {
	content: "/";
	margin: 0 8px;
}

.tsc .tsc-breadcrumbs li[aria-current] {
	color: var(--tsc-text);
}

.tsc .tsc-breadcrumbs a {
	color: var(--tsc-muted);
	text-decoration: none;
}

.tsc .tsc-breadcrumbs a:hover {
	color: var(--tsc-text);
	text-decoration: underline;
}

/* Product header */

/* minmax(0, ...): a plain 1fr column grows to fit its widest word and pushes the image off-screen. */
.tsc-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--tsc-line);
}

/* The image keeps its own shape and backdrop; no frame, so no bars show beside photos of any ratio. */
.tsc-image {
	overflow: hidden;
}

.tsc-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 480px;
	margin: 0 auto;
}

.tsc .tsc-eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tsc-text);
}

.tsc .tsc-title {
	margin: 0 0 14px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tsc-text);
}

/*
 * Separators: every item starts with a fixed-width "|", and the list is
 * shifted left by that width and clipped, so the separator of whichever
 * item starts a line (first item or a wrapped one) is hidden.
 */
.tsc .tsc-facts,
.tsc .tsc-doc-meta {
	margin-left: calc(-1 * var(--tsc-sep));
	clip-path: inset(0 0 0 var(--tsc-sep));
}

.tsc .tsc-facts > li::before,
.tsc .tsc-doc-meta > span::before {
	content: "|";
	display: inline-block;
	width: var(--tsc-sep);
	text-align: center;
}

.tsc .tsc-facts {
	--tsc-sep: 28px;
	display: flex;
	flex-wrap: wrap;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 18px;
	padding: 0;
	list-style: none;
	font-size: 15px;
	line-height: 1.6;
}

.tsc .tsc-facts li {
	margin: 0;
	padding: 0;
}

.tsc .tsc-facts li::before {
	color: var(--tsc-muted);
}

/* On mobile the brand drops to its own line, as in the mock-up. */
.tsc .tsc-facts li.tsc-facts-brand {
	flex-basis: 100%;
}

.tsc .tsc-description {
	margin: 0;
	max-width: 36em;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

/* Discontinued */

.tsc .tsc-notice {
	margin: 24px 0 0;
	padding: 14px 18px;
	background: var(--tsc-notice-bg);
	border-left: 4px solid var(--tsc-notice-line);
	font-weight: 600;
	color: #6b3205;
}

/* Documents */

.tsc-documents {
	margin-top: 28px;
}

.tsc .tsc-section-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tsc-text);
}

.tsc .tsc-intro {
	margin: 0 0 16px;
	max-width: 38em;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tsc-muted);
}

.tsc .tsc-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tsc .tsc-doc {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 6px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--tsc-card-line);
	border-radius: 4px;
}

.tsc .tsc-doc::before {
	content: none;
}

/*
 * Documents after the first few are hidden on mobile only where :has() works,
 * because :has() is what shows them again. Older browsers skip this block,
 * so they list every document and never show the toggle.
 */
@supports selector(:has(*)) {
	.tsc .tsc-doc--mobile-hidden {
		display: none;
	}

	.tsc .tsc-documents .tsc-more {
		display: inline-flex;
	}
}

.tsc-doc-icon {
	flex: 0 0 28px;
	display: flex;
	justify-content: center;
	color: var(--tsc-text);
}

.tsc-icon {
	display: block;
	width: 26px;
	height: 26px;
}

.tsc-doc-info {
	flex: 1 1 auto;
	min-width: 0;
}

.tsc .tsc-doc-name {
	margin: 0 0 2px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	color: var(--tsc-text);
}

.tsc .tsc-doc-meta {
	--tsc-sep: 17px;
	display: flex;
	flex-wrap: wrap;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--tsc-muted);
}

/*
 * Meta line. Mobile shows version, label and size ("V2.1 | EN | 320 KB");
 * tablet up adds the file type and date. Separators as for .tsc-facts above.
 */
.tsc .tsc-doc-meta .tsc-long {
	display: none;
}

.tsc .tsc-download {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 4px;
	color: var(--tsc-text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.tsc .tsc-download .tsc-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

.tsc .tsc-download-text {
	display: none;
}

.tsc .tsc-download:hover {
	color: var(--tsc-link);
}

.tsc .tsc-download:hover .tsc-download-text {
	text-decoration: underline;
}

.tsc a:focus-visible {
	outline: 3px solid var(--tsc-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/*
 * Mobile "Show all documents": a visually hidden checkbox inside the label
 * below the list. Unlike WordPress's .screen-reader-text, .tsc-visually-hidden
 * stays hidden on focus, so tapping the label never jumps the page.
 */

.tsc .tsc-documents:has(.tsc-more-toggle:checked) .tsc-doc--mobile-hidden {
	display: flex;
}

.tsc .tsc-more {
	position: relative;
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 4px 10px;
	color: var(--tsc-link);
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.tsc .tsc-more-open,
.tsc .tsc-more:has(.tsc-more-toggle:checked) .tsc-more-closed {
	display: none;
}

.tsc .tsc-more:has(.tsc-more-toggle:checked) .tsc-more-open {
	display: inline;
}

.tsc .tsc-chevron {
	transition: transform .2s ease;
}

.tsc .tsc-more:has(.tsc-more-toggle:checked) .tsc-chevron {
	transform: rotate(180deg);
}

.tsc .tsc-more:has(.tsc-more-toggle:focus-visible) {
	outline: 3px solid var(--tsc-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* The revealed documents fade in rather than appearing all at once. */
@media (prefers-reduced-motion: no-preference) {
	.tsc .tsc-documents:has(.tsc-more-toggle:checked) .tsc-doc--mobile-hidden {
		animation: tsc-reveal .25s ease-out both;
	}
}

@keyframes tsc-reveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Empty state, disclaimer */

.tsc .tsc-empty {
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--tsc-card-line);
	border-radius: 4px;
	font-size: 14px;
}

.tsc .tsc-disclaimer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--tsc-line);
	font-size: 13px;
	line-height: 1.6;
	color: var(--tsc-muted);
}

.tsc .tsc-empty p,
.tsc .tsc-disclaimer p {
	margin: 0;
}

.tsc .tsc-empty p + p,
.tsc .tsc-disclaimer p + p {
	margin-top: .75em;
}

.tsc .tsc-empty a,
.tsc .tsc-disclaimer a {
	color: var(--tsc-text);
	text-decoration: underline;
}

/* From 600px: image beside the text, full meta line, "Download" label. (The header logo swap above follows the theme's own 768px breakpoint.) */

@media (min-width: 600px) {
	.tsc-main {
		padding: 110px 32px 40px;
	}

	.tsc .tsc-breadcrumbs ol {
		margin-bottom: 28px;
	}

	.tsc-header {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 36px;
	}

	.tsc-header--no-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.tsc .tsc-eyebrow {
		margin-top: 12px;
	}

	.tsc .tsc-title {
		font-size: 36px;
	}

	.tsc .tsc-facts {
		font-size: 18px;
	}

	.tsc .tsc-facts li.tsc-facts-brand {
		flex-basis: auto;
	}

	.tsc .tsc-description {
		font-size: 17px;
		color: var(--tsc-text);
	}

	.tsc-documents {
		margin-top: 36px;
	}

	.tsc .tsc-section-title {
		font-size: 30px;
	}

	.tsc .tsc-intro {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.tsc .tsc-doc,
	.tsc .tsc-doc--mobile-hidden {
		display: flex;
		gap: 22px;
		padding: 12px 20px 12px 22px;
	}

	.tsc-icon {
		width: 30px;
		height: 30px;
	}

	.tsc .tsc-doc-name {
		font-size: 15px;
	}

	.tsc .tsc-doc-meta {
		font-size: 13px;
	}

	.tsc .tsc-doc-meta .tsc-long {
		display: inline;
	}

	.tsc .tsc-doc-meta > .tsc-long {
		display: block;
	}

	.tsc .tsc-doc-meta .tsc-short {
		display: none;
	}

	.tsc .tsc-download-text {
		display: inline;
	}

	.tsc .tsc-download {
		padding: 0 6px;
	}

	.tsc .tsc-documents .tsc-more {
		display: none;
	}
}
