/* Products hub — clone bluesunpv.com/products/ (Elementor #12801) */

body.page-san-pham:not(.home) .bluesun-main {
	padding-top: 0;
}

.bluesun-products-hub-page {
	--hub-primary: #ed741b;
	--hub-text: #1a1a1a;
	--hub-muted: #616161;
	font-family: 'Rany', 'Poppins', sans-serif;
	color: var(--hub-text);
}

.bluesun-products-hub-page .hub-wrap {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

.bluesun-products-hub-page .hub-wrap--1600 {
	max-width: 100rem;
}

.bluesun-products-hub-page .hub-wrap--1680 {
	max-width: 105rem;
}

@media (max-width: 1679px) {
	.bluesun-products-hub-page .hub-bc .hub-wrap,
	.bluesun-products-hub-page .hub-intro-wrap .hub-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* Hero slide */
.bluesun-products-hub-page .hub-hero-slide {
	position: relative;
	height: 400px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bluesun-products-hub-page .hub-hero-bg {
	position: absolute;
	inset: 0;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bluesun-products-hub-page .hub-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	padding: 0;
	text-align: center;
}

.bluesun-products-hub-page .hub-hero-label {
	margin: 0;
	color: #fff;
	font-family: 'Rany Bold', 'Rany', 'Poppins', sans-serif;
	font-size: 72px;
	line-height: 86px;
	font-weight: 700;
}

/* Breadcrumb */
.bluesun-products-hub-page .hub-bc {
	background: #fff;
}

.bluesun-products-hub-page .hub-bc-inner {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	padding: 0;
}

.bluesun-products-hub-page .hub-bc-item {
	font-family: 'Rany', 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 28px;
}

.bluesun-products-hub-page .hub-bc-home {
	margin: 1rem 0;
}

.bluesun-products-hub-page .hub-bc-home a {
	color: var(--hub-text);
	text-decoration: none;
}

.bluesun-products-hub-page .hub-bc-home a:hover {
	color: var(--hub-primary);
}

.bluesun-products-hub-page .hub-bc-sep {
	margin: 1rem 0.5rem;
	color: var(--hub-muted);
}

.bluesun-products-hub-page .hub-bc-current {
	margin: 1rem 0;
	color: var(--hub-muted);
}

/* Intro */
.bluesun-products-hub-page .hub-intro-wrap {
	background: #fff;
}

.bluesun-products-hub-page .hub-intro-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 16.25rem;
	padding: 0;
}

.bluesun-products-hub-page .hub-intro-left {
	flex: 0 1 53.75rem;
	max-width: 53.75rem;
	min-width: 0;
}

.bluesun-products-hub-page .hub-intro-right {
	flex: 0 1 35rem;
	max-width: 35rem;
	min-width: 0;
}

@media (min-width: 768px) {
	.bluesun-products-hub-page .hub-intro-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 35rem);
		column-gap: 16.25rem;
		row-gap: 0;
		align-items: start;
	}

	.bluesun-products-hub-page .hub-intro-left {
		flex: unset;
		width: 100%;
		max-width: 53.75rem;
	}

	.bluesun-products-hub-page .hub-intro-right {
		flex: unset;
		width: 100%;
		max-width: 35rem;
	}
}

.bluesun-products-hub-page .hub-page-title {
	margin: 0;
	text-align: left;
	color: var(--hub-primary);
	font-family: 'Rany Medium', 'Rany', 'Poppins', sans-serif;
	font-size: 40px;
	line-height: 56px;
	font-weight: 500;
}

.bluesun-products-hub-page .hub-page-subtitle {
	margin: 1.25rem 0 0;
	text-align: left;
	color: var(--hub-text);
	font-family: 'Rany Medium', 'Rany', 'Poppins', sans-serif;
	font-size: 30px;
	line-height: 38px;
	font-weight: 500;
}

.bluesun-products-hub-page .hub-page-intro {
	margin: 1.875rem 0 0;
	text-align: left;
	color: var(--hub-muted);
	font-family: 'Rany', 'Poppins', sans-serif;
	font-size: 18px;
	line-height: 32px;
	font-weight: 400;
}

.bluesun-products-hub-page .hub-intro-heading {
	margin: 0;
	text-align: left;
	color: var(--hub-primary);
	font-family: 'Rany Medium', 'Rany', 'Poppins', sans-serif;
	font-size: 30px;
	line-height: 38px;
	font-weight: 500;
}

.bluesun-products-hub-page .hub-page-intro--secondary {
	width: 100%;
	max-width: 31.25rem;
}

/* CTA row — Elementor skin-classic (live /products/) */
.bluesun-products-hub-page .hub-cta-wrap {
	margin: 10px 0;
	background: #fff;
}

.bluesun-products-hub-page .hub-cta-grid {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
}

.bluesun-products-hub-page .hub-cta-col {
	flex: 1 1 20%;
	min-width: 0;
}

.bluesun-products-hub-page .hub-cta-col--wide {
	flex: 1 1 25%;
}

.bluesun-products-hub-page .elementor-cta {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	text-decoration: none;
	color: var(--hub-text);
}

.bluesun-products-hub-page .elementor-cta__bg-wrapper {
	position: relative;
	inset: auto;
	width: 100%;
	min-height: 200px;
	overflow: hidden;
	z-index: 1;
}

.bluesun-products-hub-page .elementor-cta__bg {
	position: absolute;
	inset: 0;
	background-color: #f9fafa;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 1.5s ease;
}

.bluesun-products-hub-page .elementor-bg-transform-zoom-in:hover .elementor-cta__bg {
	transform: scale(1.08);
}

.bluesun-products-hub-page .elementor-cta__bg-overlay {
	display: none !important;
}

.bluesun-products-hub-page .elementor-cta__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 0;
	padding: 35px 20px;
	background-color: #f9fafa;
	color: var(--hub-text);
	text-align: center;
	box-sizing: border-box;
}

.bluesun-products-hub-page .elementor-cta__title {
	margin: 0;
	color: var(--hub-text);
	font-family: 'Rany Medium', 'Rany', 'Poppins', sans-serif;
	font-size: 23px;
	line-height: 1.3;
	font-weight: 500;
}

.bluesun-products-hub-page .elementor-cta__description {
	margin: 15px 0 0;
	color: var(--hub-muted);
	font-family: 'Rany', 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.bluesun-products-hub-page .elementor-cta__button-wrapper {
	margin-top: 15px;
}

.bluesun-products-hub-page .elementor-cta__button {
	display: inline-block;
	align-self: center;
	margin: 0 auto;
	padding: 12px 24px;
	border: 1px solid var(--hub-text) !important;
	border-radius: 0;
	color: var(--hub-text) !important;
	background: #fff !important;
	font-family: 'Rany', 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bluesun-products-hub-page .elementor-cta:hover .elementor-cta__button {
	background: #fff !important;
	color: var(--hub-text) !important;
	border-color: var(--hub-text) !important;
}

/* Explore strip (desktop only on live) */
.bluesun-products-hub-page .hub-explore {
	position: relative;
	min-height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.bluesun-products-hub-page .hub-explore::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.bluesun-products-hub-page .hub-explore-text {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 56rem;
	margin: 5rem auto 0;
	padding: 0 15px;
	text-align: center;
	color: #fff;
	font-family: 'Rany', 'Poppins', sans-serif;
	font-size: 18px;
	line-height: 32px;
	box-sizing: border-box;
}

.bluesun-products-hub-page .hub-explore-btn-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 300px;
	margin: 5.125rem auto 8rem;
	padding: 0;
	text-align: center;
}

.bluesun-products-hub-page .hub-explore-btn-wrap .elementor-button-wrapper {
	display: inline-block;
}

.bluesun-products-hub-page .hub-explore-btn {
	display: inline-block;
	padding: 19px 40px;
	background: #fff;
	color: var(--hub-primary) !important;
	font-family: 'Rany', 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
	text-decoration: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
}

.bluesun-products-hub-page .hub-explore-btn:hover {
	background: var(--hub-primary);
	color: #fff !important;
}

@media (max-width: 1024px) {
	.bluesun-products-hub-page .elementor-hidden-tablet {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.bluesun-products-hub-page .elementor-hidden-mobile {
		display: none !important;
	}

	.bluesun-products-hub-page .hub-hero-slide {
		height: 100px;
		margin-top: 105px;
	}

	.bluesun-products-hub-page .hub-hero-label {
		font-size: 26px;
		line-height: 1.2;
	}

	.bluesun-products-hub-page .hub-bc .hub-wrap,
	.bluesun-products-hub-page .hub-intro-wrap .hub-wrap {
		padding: 10px;
	}

	.bluesun-products-hub-page .hub-bc-home,
	.bluesun-products-hub-page .hub-bc-sep,
	.bluesun-products-hub-page .hub-bc-current {
		margin: 0;
	}

	.bluesun-products-hub-page .hub-bc-item {
		font-size: 11px;
		line-height: 11px;
	}

	.bluesun-products-hub-page .hub-bc-home {
		padding-right: 5px;
	}

	.bluesun-products-hub-page .hub-bc-current {
		padding-left: 5px;
	}

	.bluesun-products-hub-page .hub-intro-grid {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.bluesun-products-hub-page .hub-intro-left,
	.bluesun-products-hub-page .hub-intro-right {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.bluesun-products-hub-page .hub-page-title {
		font-size: 21px;
		line-height: 30px;
		padding: 10px;
	}

	.bluesun-products-hub-page .hub-page-subtitle {
		margin: 0;
		font-size: 20px;
		line-height: 30px;
		padding: 10px;
	}

	.bluesun-products-hub-page .hub-page-intro {
		margin: 0;
		font-size: 16px;
		line-height: 30px;
		padding: 10px;
	}

	.bluesun-products-hub-page .hub-intro-heading {
		font-size: 22px;
		line-height: 30px;
		padding: 10px;
	}

	.bluesun-products-hub-page .hub-page-intro--secondary {
		max-width: none;
		font-size: 16px;
		padding: 10px;
	}

	.bluesun-products-hub-page .hub-cta-grid {
		flex-wrap: wrap;
	}

	.bluesun-products-hub-page .hub-cta-col,
	.bluesun-products-hub-page .hub-cta-col--wide {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.bluesun-products-hub-page .elementor-cta,
	.bluesun-products-hub-page .elementor-cta__content {
		min-height: 0;
	}

	.bluesun-products-hub-page .elementor-cta__bg-wrapper {
		min-height: 160px;
	}

	.bluesun-products-hub-page .elementor-cta__content {
		padding: 24px 16px;
	}

	.bluesun-products-hub-page .hub-explore-text {
		font-size: 20px;
	}
}
