/* Product & Project single pages - match bluesunpv.com */
:root {
	--bluesun-primary: #ED741B;
	--bluesun-dark: #041226;
	--bluesun-text-main: #111111;
	--bluesun-text-body: #555555;
	--bluesun-text-content: #444444;
	--bluesun-text-nav: #1A1A1A;
	--bluesun-text-muted: #616161;
	--bluesun-text-soft: #666666;
	--bluesun-font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	--bluesun-font-medium: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	--bluesun-font-bold: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}
.bluesun-product-banner { max-height: 200px; overflow: hidden; }
.bluesun-product-banner img { width: 100%; height: 200px; object-fit: cover; }

.bluesun-breadcrumb-bar {
	background: #fafafa;
	padding: 12px 0;
	font-size: 14px;
	color: var(--bluesun-text-soft);
	border-bottom: 1px solid #B0B0B0;
}
.bluesun-breadcrumb-bar a { color: var(--bluesun-text-muted); }
.bluesun-breadcrumb-bar span { margin: 0 8px; color: #ccc; }

.bluesun-product-detail { padding: 48px 0; }
.bluesun-product-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.bluesun-gallery-main {
	border: 1px solid var(--bluesun-border);
	border-radius: var(--bluesun-radius);
	overflow: hidden;
	aspect-ratio: 1;
	background: #f9f9f9;
}
.bluesun-gallery-main img { width: 100%; height: 100%; object-fit: contain; }

.bluesun-gallery-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	flex-wrap: wrap;
}
.bluesun-gallery-thumb {
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: none;
}
.bluesun-gallery-thumb.active { border-color: var(--bluesun-primary); }
.bluesun-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.bluesun-product-title { font-family: var(--bluesun-font-bold); font-size: 28px; margin: 0 0 16px; line-height: 1.3; }
.bluesun-product-excerpt { color: var(--bluesun-text-light); margin-bottom: 24px; line-height: 1.7; }

.bluesun-product-specs-table table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.bluesun-product-specs-table td { padding: 10px 12px; border-bottom: 1px solid var(--bluesun-border, #B0B0B0); font-size: 14px; color: var(--bluesun-text-body); }
.bluesun-product-specs-table .spec-label { font-weight: 600; color: var(--bluesun-text-nav); width: 40%; }
.bluesun-product-specs-table .spec-value { color: var(--bluesun-text-light); }

.bluesun-product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bluesun-btn-datasheet {
	background: #fff !important;
	color: #ED741B !important;
	border: 2px solid #ED741B !important;
}
.bluesun-btn-datasheet:hover { background: #ED741B !important; color: #fff !important; }

.bluesun-product-content {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--bluesun-border);
}
.bluesun-elementor-content img { max-width: 100%; height: auto; margin: 16px 0; border-radius: var(--bluesun-radius); }
.bluesun-elementor-content,
.bluesun-product-specs-table {
	font-family: var(--bluesun-font-body);
}
.bluesun-elementor-content h2 { font-family: var(--bluesun-font-bold); font-size: 24px; margin: 32px 0 16px; color: var(--bluesun-dark); }
.bluesun-elementor-content p { line-height: 1.8; margin-bottom: 12px; }
.bluesun-elementor-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.bluesun-elementor-content td, .bluesun-elementor-content th { padding: 8px 12px; border: 1px solid var(--bluesun-border); }

.bluesun-product-inquiry {
	background: var(--bluesun-bg-light);
	padding: 48px 0;
}
.bluesun-product-inquiry h2 { margin: 0 0 8px; }
.inquiry-subject { background: #fff; padding: 12px 16px; border-radius: var(--bluesun-radius); margin: 16px 0; }

/* Project pages */
.bluesun-project-hero {
	min-height: 360px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	position: relative;
	color: #fff;
}
.bluesun-project-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.75) 100%);
}
.bluesun-project-hero .bluesun-container { position: relative; z-index: 1; padding: 48px 20px; }
.bluesun-project-cat {
	display: inline-block;
	background: var(--bluesun-primary);
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 12px;
}
.bluesun-project-hero h1 { font-family: var(--bluesun-font-bold); font-size: 36px; margin: 0 0 12px; max-width: 700px; }
.bluesun-project-hero-desc { font-family: var(--bluesun-font-body); font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0; }

.bluesun-project-case { padding: 48px 0; }
.bluesun-project-case-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
}
.bluesun-project-main { line-height: 1.8; }
.bluesun-project-main h3 { margin: 24px 0 12px; }
.bluesun-project-card {
	background: var(--bluesun-bg-light);
	padding: 24px;
	border-radius: var(--bluesun-radius);
}
.bluesun-project-card h3 { margin: 0 0 16px; }

.bluesun-related-projects { padding: 48px 0; background: var(--bluesun-bg-light); }
.bluesun-related-projects h2 { text-align: center; margin-bottom: 32px; }

.bluesun-projects-grid,
.bluesun-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.bluesun-project-card,
.bluesun-product-card-item {
	border-radius: var(--bluesun-radius);
	overflow: hidden;
	box-shadow: var(--bluesun-shadow);
	background: #fff;
	transition: transform 0.3s;
}
.bluesun-project-card:hover,
.bluesun-product-card-item:hover { transform: translateY(-4px); }
.bluesun-project-card a,
.bluesun-product-card-item a { color: var(--bluesun-text); display: block; }
.bluesun-project-card-img img,
.bluesun-product-card-img img { width: 100%; height: 220px; object-fit: cover; }
.bluesun-project-card-body,
.bluesun-product-card-body { padding: 20px; }
.bluesun-project-card-body h2,
.bluesun-product-card-body h2 { font-size: 18px; margin: 8px 0; }

.bluesun-project-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}
.bluesun-project-filters a {
	padding: 8px 16px;
	border-radius: 20px;
	background: var(--bluesun-bg-light);
	color: var(--bluesun-text);
	font-size: 14px;
	font-weight: 500;
}
.bluesun-project-filters a.active,
.bluesun-project-filters a:hover {
	background: var(--bluesun-primary);
	color: #fff;
}

@media (max-width: 768px) {
	.bluesun-product-layout,
	.bluesun-project-case-grid,
	.bluesun-projects-grid,
	.bluesun-products-grid { grid-template-columns: 1fr; }
}
