/* Hügelton Instruments - Grayscale Theme */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,700&display=swap');
:root {
	--header-height: 3.5rem;

	/* Grayscale palette */
	--white: #ffffff;
	--gray-50: #fafafa;
	--gray-100: #f5f5f5;
	--gray-200: #e5e5e5;
	--gray-300: #d4d4d4;
	--gray-400: #a3a3a3;
	--gray-500: #737373;
	--gray-600: #525252;
	--gray-700: #404040;
	--gray-800: #262626;
	--gray-900: #171717;
	--black: #000000;
	
	/* Accent colors for minimal use */
	--raisin-black: #272727;
	--plum-web: #ff9fe5;
	--tea-rose-red: #ffd4d4;
	--light-red: #ff858d;

	/* Applied colors - Dark mode only */
	--primary-color: var(--gray-800);
	--accent-color: var(--gray-600);
	--text-color: var(--gray-100);
	--bg-color: var(--gray-900);
	--bg-alt: var(--gray-800);
	--link-color: var(--gray-300);
	--link-hover: var(--gray-100);

	/* UI elements */
	--border-color: var(--gray-700);
	--shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
	font-size: 16px;
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	margin: 2rem 0 1rem;
	line-height: 1.2;
	font-weight: 600;
}

h2 {
	font-weight: 300;
	text-align: center;
	font-size: 2.25rem;
	margin: 3rem 0 2rem;
}

a {
	color: var(--link-color);
	text-decoration: underline;
	text-decoration-style: wavy;
	text-decoration-color: var(--accent-color);
	text-underline-offset: 4px;
	text-decoration-thickness: 2px;
	transition: all 0.2s;
}

a:hover {
	color: var(--link-hover);
	text-decoration-color: var(--link-hover);
	text-underline-offset: 6px;
}

/* Float Menu */
.float-menu {
	position: fixed;
	top: 2rem;
	left: 2rem;
	z-index: 1000;
	animation: fadeInSlide 0.6s ease-out;
}

.menu-container {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 28px;
	padding: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

@media (prefers-color-scheme: dark) {
	.menu-container {
		background: rgba(0, 0, 0, 0.2);
		border-color: rgba(255, 255, 255, 0.1);
	}
}

.menu-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.menu-logo:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.logo-icon {
	width: 24px;
	height: 24px;
	color: var(--text-color);
}

/* Pace.js Loading - Top progress bar */
.pace {
	-webkit-pointer-events: none;
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	z-index: 2000;
	background: rgba(255, 255, 255, 0.1);
}

.pace-inactive {
	display: none;
}

.pace .pace-progress {
	background: linear-gradient(90deg, #ffffff, #e0e0e0);
	position: fixed;
	z-index: 2000;
	top: 0;
	left: 0;
	right: 100%;
	bottom: 0;
	width: 0;
	height: 4px;
	transition: width 0.3s ease-out;
	box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Pulse animation for progress bar */
.pace .pace-progress::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 30px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
	animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}

.menu-nav {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.menu-link {
	color: var(--text-color);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.menu-link ion-icon {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.menu-link:hover {
	background-color: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}

ion-icon {
	font-size: 16px;
}

@keyframes fadeInSlide {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.float-menu {
		top: 1rem;
		left: 1rem;
	}
}

/* Hero Grid Layout */
.hero-grid {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 50vh;
	gap: 0;
	margin: 0;
	padding: 0;
}

/* Desktop layout with flexible tiles */
@media (min-width: 769px) {
	.hero-grid {
		grid-template-columns: repeat(4, 1fr);
		grid-auto-rows: 50vh;
	}
	
	.hero-card-large {
		grid-column: span 2;
		grid-row: span 2;
	}
}


/* Mobile Layout */
@media (max-width: 768px) {
	.hero-grid {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 50vh;
	}
	
	/* Large tiles take full width (1 column) on mobile */
	.hero-card-large {
		grid-column: 1 / -1;
		grid-row: span 1;
		min-height: 50vh;
	}
	
	/* Regular tiles stay in 2 columns on mobile */
	.hero-card:not(.hero-card-large) {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 50vh;
	}
	
	/* Mobile typography adjustments */
	.hero-card-title {
		font-size: 1rem !important;
	}
	
	.hero-card-subtitle {
		font-size: 0.625rem !important;
	}
	
	.hero-card-category {
		font-size: 0.5rem !important;
	}
	
	.hero-card-news .hero-card-title {
		font-size: 0.75rem !important;
	}
	
	.hero-card-news .hero-card-category {
		font-size: 0.5rem !important;
	}
	
	.hero-card-news .hero-card-date {
		font-size: 0.5rem !important;
	}
}

/* Regular Hero Cards */
.hero-card {
	position: relative;
	min-height: 50vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-radius: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle hover effect for homepage tiles */
.hero-card:hover::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
	z-index: 1;
}

.hero-card-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.hero-card-info {
	padding: 0;
	text-align: left;
}

.hero-card-image-container {
	flex: 1;
	width: 100%;
	position: relative;
}

.hero-card-picture {
	width: 100%;
	height: 100%;
	display: block;
}

.hero-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

/* K102E specific scaling on homepage */
.hero-card[data-product="k102e"] .hero-card-image-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-card[data-product="k102e"] .hero-card-picture {
	width: 60%;
	height: 60%;
}

.hero-card[data-product="k102e"] .hero-card-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Removed hover effect for homepage */
/* .hero-card:hover .hero-card-image {
	transform: scale(1.02);
} */

.hero-card-category {
	font-size: 0.875rem;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
	display: block;
	margin-bottom: 0.5rem;
}

.hero-card-title {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 0.5rem 0;
}

.hero-card-subtitle {
	font-size: 1rem;
	opacity: 0.8;
	margin: 0;
	line-height: 1.4;
}

/* Dark mode support for hero cards */
@media (prefers-color-scheme: dark) {
	.hero-card-info[style*="--bg-dark"] {
		background-color: var(--bg-dark) !important;
	}
	
	.hero-card-info[style*="--text-dark"],
	.hero-card-info[style*="--text-dark"] *,
	.hero-card-info[style*="--text-dark"] .hero-card-category,
	.hero-card-info[style*="--text-dark"] .hero-card-title,
	.hero-card-info[style*="--text-dark"] .hero-card-subtitle {
		color: var(--text-dark) !important;
	}
	
	.hero-card-image-container[style*="--bg-dark"] {
		background-color: var(--bg-dark) !important;
	}
}

.hero-card-overlay {
	position: absolute;
	inset: 0;
	background: transparent;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 2rem;
	z-index: 2;
}

.hero-card-content {
	color: var(--text-color);
	width: 100%;
}

.hero-card-category {
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 0.5rem;
}

.hero-card-title {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	margin: 0 0 0.25rem 0;
	line-height: 1.2;
	text-align: left;
}

.hero-card-subtitle {
	font-size: 0.875rem;
	font-weight: 400;
	opacity: 0.9;
	margin: 0;
	line-height: 1.4;
}

/* News card specific styling */
.hero-card-news {
	background: var(--gray-800);
	color: var(--gray-100);
}

.news-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.hero-card-news .hero-card-overlay {
	z-index: 2;
}

.hero-card-news .hero-card-title {
	font-size: 1rem;
	font-weight: 400;
	margin: 0 0 0.5rem 0;
	line-height: 1.3;
}

.hero-card-news .hero-card-category {
	font-size: 0.75rem;
	font-weight: 600;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 0.5rem;
}

.hero-card-news .hero-card-date {
	font-size: 0.75rem;
	font-weight: 400;
	opacity: 0.7;
	margin: 0;
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}


.hero-card-ribbon {
	display: inline-block;
	font-size: 0.75rem;
	background: var(--accent-color);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 0;
	font-weight: 500;
	text-transform: uppercase;
	margin-left: 0.5rem;
	vertical-align: middle;
}

.hero-card-ribbon.state-discontinued {
	background: var(--light-red);
}

.hero-card-ribbon.state-new {
	background: #ffd700 !important;
	color: #000000 !important;
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 600;
	border-radius: 0.5rem;
	padding: 0.375rem 0.75rem;
}

.hero-card-ribbon.state-development {
	background: #40e0d0 !important;
	color: #000000 !important;
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 600;
	border-radius: 0.5rem;
	padding: 0.375rem 0.75rem;
}

.hero-card-ribbon.state-soon {
	background: #ff6b35 !important;
	color: #000000 !important;
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 600;
	border-radius: 0.5rem;
	padding: 0.375rem 0.75rem;
}

/* News Section */
.news-section {
	background: var(--bg-alt);
	padding: 4rem 0;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section-title {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	font-weight: 600;
}


/* Homepage header */
.showcase-header {
	margin-bottom: 4rem;
}

.showcase-header p {
	font-size: 1.125rem;
	color: var(--text-color);
	opacity: 0.8;
	max-width: 600px;
}

.page-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.subtitle {
	font-size: 1.125rem;
	opacity: 0.6;
}

.category-title {
	font-size: 1.5rem;
	margin: 4rem 0 2rem;
	font-weight: 600;
}

/* Product grid */
.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.product-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 0;
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.product-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.product-card .category-type-breadcrumb {
	font-size: 0.75rem;
	opacity: 0.6;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.product-card-ribbon {
	position: absolute;
	z-index: 10;
	font-size: 0.75rem;
	background: var(--accent-color);
	color: white;
	padding: 0.25rem 0.75rem;
	margin: 1rem;
	border-radius: 0;
	font-weight: 500;
	text-transform: uppercase;
}

.product-card-ribbon.state-discontinued {
	background: var(--light-red);
}

.product-card-ribbon.state-new {
	background: var(--deep-sky-blue);
	color: white;
}

.product-card-image-wrapper {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: var(--bg-alt);
}

.product-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-card:hover .product-card-image {
	transform: scale(1.05);
}

.product-content {
	padding: 1.5rem;
}

.product-title {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

/* Product detail */
.product-image-container {
	margin: 3rem 0;
}

.product-image-container .product-image {
	width: 100%;
	max-width: 800px;
	height: auto;
	border-radius: 0;
	box-shadow: var(--shadow);
}

.product-links {
	margin-top: 2rem;
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.product-link {
	color: var(--link-color);
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--border-color);
	border-radius: 0;
	transition: all 0.2s;
	text-decoration: none;
}

.product-link:hover {
	background: var(--bg-alt);
	border-color: var(--link-hover);
	color: var(--link-hover);
}

.product-link::before {
	content: "";
	width: 0;
	margin: 0;
}

.back-link {
	display: inline-block;
	margin-bottom: 2rem;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.back-link:hover {
	opacity: 1;
}

/* News */
.news-list {
	margin: 2rem 0;
}

.news-item {
	padding: 1rem 0;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	align-items: baseline;
	gap: 1rem;
}

.news-item:last-child {
	border-bottom: none;
}

.news-date {
	font-family: ui-monospace, SFMono-Regular, monospace;
	font-size: 0.875rem;
	opacity: 0.6;
	min-width: 100px;
}

.news-title {
	font-weight: 500;
}

/* Article */
.article {
	max-width: 700px;
	margin: 0 auto;
}

.article-header {
	margin-bottom: 3rem;
}

.article-date {
	display: block;
	margin-bottom: 0.5rem;
	font-family: ui-monospace, SFMono-Regular, monospace;
	font-size: 0.875rem;
	opacity: 0.6;
}

/* Article Layout */
.article-main {
	min-height: 100vh;
}

.article-hero {
	padding: 6rem 2rem 3rem 2rem;
	border-bottom: 1px solid var(--border-color);
}

.article-hero-container {
	max-width: 800px;
	margin: 0 auto;
}

.article-meta {
	margin-top: 2rem;
}

.article-category {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.article-title {
	font-size: 2.25rem;
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

.article-date {
	font-family: ui-monospace, SFMono-Regular, monospace;
	font-size: 0.875rem;
	opacity: 0.6;
}

.article-content-section {
	padding: 4rem 2rem;
}

.content-container {
	max-width: 800px;
	margin: 0 auto;
}

.article-content {
	line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3 {
	margin-top: 3rem;
	margin-bottom: 1rem;
}

.article-content p {
	margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
}

.article-content img {
	max-width: 100%;
	height: auto;
	margin: 2rem 0;
	border-radius: 0;
}

/* Footer */
footer {
	padding: 4rem 2rem;
	border-top: 1px solid var(--border-color);
}

.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.footer-left {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-logo {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--text-color);
	letter-spacing: 0.1em;
}

.footer-location {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 0.875rem;
	opacity: 0.6;
	color: var(--text-color);
	letter-spacing: 0.1em;
}

.footer-right {
	display: flex;
	align-items: center;
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--text-color);
	text-decoration: none;
	opacity: 0.6;
	transition: all 0.2s;
}

.social-link:hover {
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.1);
	text-decoration: none;
}

@media (max-width: 768px) {
	.footer-container {
		flex-direction: column;
		gap: 2rem;
		text-align: center;
	}
	
	.footer-left {
		align-items: center;
	}
}

/* Technical Specifications - TE Style */
.tech-specs {
	background: var(--bg-alt);
	border-radius: 0;
	padding: 3rem;
	margin: 4rem 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 3rem;
	text-align: left;
}

.spec-section {
	display: flex;
	flex-direction: column;
}

.spec-section h3 {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
	margin: 0 0 1.5rem 0;
	color: var(--text-color);
	opacity: 0.8;
}

.spec-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.spec-item {
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--text-color);
}

.spec-item strong {
	font-weight: 500;
	display: block;
	margin-bottom: 0.25rem;
}

.spec-value {
	opacity: 0.8;
	font-family: ui-monospace, SFMono-Regular, monospace;
	font-size: 0.8rem;
}

.spec-highlight {
	background: var(--primary-color);
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0;
	font-size: 0.75rem;
	font-weight: 500;
	display: inline-block;
	margin-bottom: 0.5rem;
}

.spec-icon {
	width: 24px;
	height: 24px;
	margin-bottom: 1rem;
	opacity: 0.6;
}

.dimensions-placeholder {
	background: var(--bg-alt);
	border: 2px dashed var(--text-color);
	border-radius: 0;
	padding: 2rem;
	text-align: center;
	margin: 1rem 0;
	opacity: 0.6;
}

.placeholder-content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.placeholder-text {
	font-weight: 500;
	font-size: 0.875rem;
	color: var(--text-color);
}

.placeholder-detail {
	font-family: ui-monospace, SFMono-Regular, monospace;
	font-size: 0.75rem;
	color: var(--text-color);
	opacity: 0.7;
}

/* Product Pages */
.product-main {
	min-height: 100vh;
}

.product-hero {
	height: 70vh;
	overflow: hidden;
	position: relative;
}

@media (prefers-color-scheme: dark) {
	.product-hero[style*="--hero-bg-dark"] {
		background-color: var(--hero-bg-dark) !important;
	}
	
	body[style*="--bg-dark"] {
		background-color: var(--bg-dark) !important;
	}
	
	body[style*="--text-dark"] {
		color: var(--text-dark) !important;
	}
	
	.product-info[style*="--bg-dark"] {
		background-color: var(--bg-dark) !important;
	}
	
	.product-info[style*="--text-dark"],
	.product-info[style*="--text-dark"] *,
	.product-info[style*="--text-dark"] .product-category,
	.product-info[style*="--text-dark"] .product-title,
	.product-info[style*="--text-dark"] .product-subtitle {
		color: var(--text-dark) !important;
	}
	
	.product-content[style*="--bg-dark"] {
		background-color: var(--bg-dark) !important;
	}
	
	.product-content[style*="--text-dark"],
	.product-content[style*="--text-dark"] * {
		color: var(--text-dark) !important;
	}
}

.product-hero-image-container {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-hero-image {
	max-width: calc(80% * var(--image-scale, 1));
	max-height: 70vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.product-hero.full-width .product-hero-image {
	max-width: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Product Info Section */
.product-info {
	padding: 4rem 0 1rem 0;
	background: var(--bg-color);
	position: relative;
}

.product-info.has-bg-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 55rem;
	max-height: 80vh;
	display: flex;
	align-items: flex-start;
}

.product-info.has-bg-image .product-info-container {
	position: relative;
}

.product-info-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.product-meta {
	text-align: center;
}

.product-category {
	font-size: 0.875rem;
	color: var(--text-color);
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
	display: block;
	margin-bottom: 1rem;
}

.product-title {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 4rem;
	font-weight: 400;
	color: var(--text-color);
	line-height: 1.1;
	margin: 0 0 1rem 0;
}

.product-subtitle {
	font-size: 1.5rem;
	color: var(--text-color);
	opacity: 0.8;
	margin: 0 0 1rem 0;
	line-height: 1.4;
}

/* Product page state badge styling */
.product-meta .state-badge {
	display: inline-block;
	font-size: 0.75rem;
	background: var(--accent-color);
	color: white;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	font-weight: 600;
	text-transform: uppercase;
	margin: 0 0 1rem 0;
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.product-meta .state-badge.state-new {
	background: #ffd700 !important;
	color: #000000 !important;
}

.product-meta .state-badge.state-development {
	background: #40e0d0 !important;
	color: #000000 !important;
}

.product-meta .state-badge.state-soon {
	background: #ff6b35 !important;
	color: #000000 !important;
}

.product-meta .state-badge.state-discontinued {
	background: var(--light-red) !important;
	color: #ffffff !important;
}

.product-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Product Content Section */
.product-content {
	padding: 4rem 0;
	background: var(--bg-alt);
}

.content-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 2rem;
	line-height: 1.7;
}

.content-container h1 {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 2.5rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.content-container h2 {
	font-size: 2.5em;
	font-weight: 400;
	margin: 3rem 0 1.5rem 0;
	color: var(--text-color);
}

.content-container h3 {
	font-size: 1.25rem;
	font-weight: 500;
	margin: 2rem 0 1rem 0;
	color: var(--text-color);
}

.content-container p {
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.content-container ul {
	margin-bottom: 2rem;
	padding-left: 1.5rem;
}

.content-container li {
	margin-bottom: 0.5rem;
	color: var(--text-color);
}

.content-container img {
	max-width: 100%;
	height: auto;
	border-radius: 0;
	margin: 1.5rem 0;
}

/* Video container for responsive YouTube embeds */
.video-container {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	margin: 2rem 0;
	border-radius: 0;
	overflow: hidden;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Product page headings with Clash Display */
.product-content h1,
.product-content h3 {
	font-family: "Clash Display", sans-serif;
	font-weight: 700;
}

.product-content h2 {
	font-family: "Clash Display", sans-serif;
	font-weight: 400;
}

/* Dimensions diagram styling */
.dimensions-diagram {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
	padding: 2rem;
	background: var(--bg-alt);
}

.dimensions-diagram svg {
	max-width: 100%;
	height: auto;
}

/* Modern spec table styling */
.spec-table {
	margin: 2rem 0;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	padding: 1.5rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row {
	display: flex;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.2s ease;
}

.spec-row:last-child {
	border-bottom: none;
}


.spec-row ion-icon {
	margin-right: 1rem;
	font-size: 1.2rem;
	color: var(--gray-400);
	min-width: 24px;
}

.spec-label {
	font-weight: 600;
	min-width: 120px;
	margin-right: 1rem;
	color: var(--text-color);
	display: flex;
	align-items: center;
}

.spec-value {
	flex: 1;
	color: var(--gray-300);
	font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
	font-size: 0.9rem;
}


/* Modern resources block styling */
.resources-block {
	margin: 2rem 0;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	padding: 1.5rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.resource-item {
	display: flex;
	align-items: center;
	padding: 1rem;
	margin: 0.5rem 0;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
	transition: all 0.2s ease;
	text-decoration: none;
	color: inherit;
}

.resource-item:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	color: inherit;
}

.resource-item ion-icon {
	margin-right: 1rem;
	font-size: 1.5rem;
	color: var(--gray-400);
	min-width: 32px;
}

.resource-info {
	flex: 1;
}

.resource-title {
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.25rem;
	color: var(--text-color);
}

.resource-description {
	font-size: 0.875rem;
	color: var(--gray-400);
	line-height: 1.4;
}


/* Parameters grid styling */
.parameters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	margin: 2rem 0;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.parameter-item {
	text-align: center;
	padding: 1rem 0.5rem;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 8px;
	transition: all 0.2s ease;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--gray-300);
	text-transform: uppercase;
}

.parameter-item:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-1px);
	color: var(--text-color);
}


@media (max-width: 768px) {
	.parameters-grid {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 0.75rem;
		padding: 1rem;
	}
	
	.parameter-item {
		padding: 0.75rem 0.25rem;
		font-size: 0.7rem;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.page-title {
		font-size: 1.75rem;
	}
	
	.products {
		grid-template-columns: 1fr;
	}
	
	.news-item {
		flex-direction: column;
		gap: 0.25rem;
	}
	
	.news-date {
		min-width: auto;
	}
	
	.tech-specs {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.5rem;
		margin: 2rem 0;
	}
	
	.spec-section {
		background: var(--gray-800);
		padding: 1.5rem;
		border-radius: 8px;
		border: 1px solid var(--border-color);
	}
	
	.spec-section h3 {
		font-size: 1rem !important;
		margin-bottom: 1rem !important;
		padding-bottom: 0.5rem;
		border-bottom: 1px solid var(--border-color);
	}
	
	.spec-item {
		font-size: 0.8rem !important;
		padding: 0.5rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	}
	
	.spec-item:last-child {
		border-bottom: none;
	}
	
	.product-hero-title,
	.product-title {
		font-size: 1.75rem !important;
	}
	
	.product-hero-subtitle,
	.product-subtitle {
		font-size: 0.875rem !important;
	}
	
	.article-title {
		font-size: 1.5rem !important;
	}
	
	.content-container h1 {
		font-size: 1.5rem !important;
	}
	
	.content-container h2 {
		font-size: 2rem !important;
		font-weight: 400 !important;
	}
	
	.content-container h3 {
		font-size: 1rem !important;
	}
	
	/* Mobile spec table - th/td style */
	.spec-row {
		flex-direction: column !important;
		align-items: flex-start !important;
		padding: 1rem 0 !important;
		gap: 0.5rem;
	}
	
	/* Product info background position on mobile */
	.product-info.has-bg-image {
		background-position: bottom !important;
		padding-top: 6rem !important;
	}
	
	.spec-row ion-icon {
		margin-right: 0.5rem !important;
		margin-bottom: 0 !important;
	}
	
	.spec-label {
		font-weight: 700 !important;
		min-width: auto !important;
		margin-right: 0 !important;
		display: flex !important;
		align-items: center !important;
		width: 100% !important;
	}
	
	.spec-value {
		font-size: 0.875rem !important;
		padding-left: 0 !important;
		margin-top: 0.25rem !important;
		width: 100% !important;
		display: block !important;
	}
	
	.product-content {
		padding: 2rem 1rem;
	}
}

/* Related Products Section */
.related-products {
	margin: 3rem auto 2rem auto;
	padding-top: 2rem;
	max-width: 1200px;
	padding-left: 2rem;
	padding-right: 2rem;
}

.related-products-title {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 1.5rem 0;
	color: var(--text-color);
}

.related-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.related-product-card {
	display: block;
	text-decoration: none;
	border-radius: 0.75rem;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: var(--gray-900);
	border: 1px solid var(--border-color);
}

.related-product-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
	text-decoration: none;
}

.related-product-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	background: var(--gray-100);
}

.related-product-info {
	padding: 1rem;
}

.related-product-category {
	font-size: 0.75rem;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.related-product-title {
	font-family: "Clash Display", "ClashDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-color);
	margin: 0 0 0.25rem 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.related-product-subtitle {
	font-size: 0.875rem;
	color: var(--gray-400);
	margin: 0;
}

.related-product-badge {
	font-size: 0.625rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 0.375rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.related-product-badge.state-new {
	background: #ffd700;
	color: #000000;
}

.related-product-badge.state-development {
	background: #40e0d0;
	color: #000000;
}

.related-product-badge.state-soon {
	background: #ff6b35;
	color: #ffffff;
}

/* BASE Embed Container */
.base-embed-container {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

.base-embed-container iframe {
	border-radius: 0.5rem;
	box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
	.related-products-grid {
		grid-template-columns: 1fr;
	}
}