/* Product catalog pages — clone bluesunpv.com/products/* layout */

.bluesun-product-catalog-page {
	--pcc-primary: #ed741b;
	--pcc-text: #1a1a1a;
	--pcc-muted: #616161;
	--pcc-bg: #f3f3f3;
	--pcc-border: #b0b0b0;
	--pcc-icon-tree: url('https://www.bluesunpv.com/wp-content/uploads/2024/08/pcc-tree-icon.png');
	--pcc-icon-down: url('https://www.bluesunpv.com/wp-content/uploads/2024/09/video-ico-down.svg');
	--pcc-icon-up: url('https://www.bluesunpv.com/wp-content/uploads/2024/09/video-ico-up.svg');
	--pcc-icon-grid: url('https://www.bluesunpv.com/wp-content/uploads/2024/08/sty-grid.svg');
	--pcc-icon-row: url('https://www.bluesunpv.com/wp-content/uploads/2024/08/sty-row.svg');
	--pcc-icon-grid-on: url('https://www.bluesunpv.com/wp-content/uploads/2024/08/sty-grid-co.svg');
	--pcc-icon-row-on: url('https://www.bluesunpv.com/wp-content/uploads/2024/08/sty-row-co.svg');
}

.bluesun-product-catalog-page .bl-main {
	box-sizing: content-box;
	max-width: 105rem;
	margin: 0 auto;
	padding: 0 15px;
}

.bluesun-product-catalog-page .bl-main-1400 {
	box-sizing: content-box;
	max-width: 87.5rem;
	margin: 0 auto;
	padding: 0 15px;
}

.pcc-banner-img {
	position: relative;
	overflow: hidden;
}

.pcc-banner-img img {
	width: 100%;
	height: auto;
	display: block;
}

.pcc-banner-img .category-title {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: clamp(1.75rem, 4vw, 4.5rem);
	color: #fff;
	line-height: 1.2;
	z-index: 2;
	text-align: center;
	max-width: 90%;
	margin: 0;
}

.pcc-nav {
	height: 3.75rem;
	line-height: 3.75rem;
}

.pcc-nav a:first-child {
	color: var(--pcc-text);
}

.pcc-nav a,
.pcc-nav span {
	display: inline-block;
	color: var(--pcc-muted);
	line-height: 1.75rem;
	font-size: 1rem;
	text-decoration: none;
}

.pcc-nav a:hover {
	color: var(--pcc-primary);
}

.pcc-nav .nav-gap {
	margin: 0 0.5rem;
}

.pcc-box {
	background-color: var(--pcc-bg);
	padding: 5rem 0 7.5rem;
	width: 100%;
}

.pcc-box .service-menu {
	margin-bottom: 3.75rem;
	display: flex;
	width: 100%;
}

.pcc-box .service-menu a {
	background: #fff;
	display: block;
	font-size: 1.125rem;
	line-height: 1.5rem;
	color: var(--pcc-text);
	padding: 1.1875rem 0;
	text-align: center;
	border: none;
	box-sizing: border-box;
	width: 100%;
	position: relative;
	text-decoration: none;
}

.pcc-box .service-menu a:not(:first-child)::before,
.pcc-box .service-menu a:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--pcc-bg);
}

.pcc-box .service-menu a:not(:first-child)::before {
	left: -1px;
}

.pcc-box .service-menu a:not(:last-child)::after {
	right: -1px;
}

.qmenu-on {
	padding-left: 17px !important;
	color: var(--pcc-primary) !important;
}

.qmenu-on::before {
	position: absolute;
	left: 0;
	transform: translateY(30%);
	background-image: var(--pcc-icon-tree);
	padding: 7px;
	content: ' ';
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.bluesun-product-catalog-page .bl-pro-rp {
	margin-top: 0;
	padding-top: 0;
}

.bl-grid {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.pcc-box .pcc-left {
	width: 20.238%;
}

.pcc-left .left-nav {
	padding: 1.25rem 1.25rem 0.625rem;
	background: #fff;
}

.pcc-left .pcc-menu-title {
	font-size: 1.5rem;
	color: var(--pcc-text);
	line-height: 1.5rem;
	border-bottom: 1px dashed var(--pcc-border);
	padding-bottom: 1.25rem;
	margin: 0;
}

.pcc-left .toggle_content {
	overflow: visible;
}

.pcc-left .toggle_content.is-sliding {
	overflow: hidden;
}

.pcc-left .blockcms > span,
.pcc-left .new-product > span {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pcc-left .column_icon_toggle {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
}

.pcc-left .column_icon_toggle.icon-plus-sign::before,
.pcc-left .column_icon_toggle.icon-plus-sign::after {
	content: '';
	position: absolute;
	background: var(--pcc-muted);
}

.pcc-left .column_icon_toggle.icon-plus-sign::before {
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	transform: translateY(-50%);
}

.pcc-left .column_icon_toggle.icon-plus-sign::after {
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	transform: translateX(-50%);
	transition: opacity 0.2s ease;
}

.pcc-left .column_icon_toggle.is-open::after {
	opacity: 0;
}

.blkg-cursor-pointer {
	cursor: pointer;
}

.hov-scale-img {
	overflow: hidden;
}

.hov-scale-img img {
	transition: transform 0.5s ease;
}

.hov-scale-img:hover img {
	transform: scale(1.05);
}

.pcc-left .tree,
.pcc-left .tree ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pcc-left .tree li a {
	transition: all 0.3s ease;
	color: var(--pcc-text);
	text-decoration: none;
	line-height: 1.5rem;
	display: inline-block;
	padding: 10px 30px 10px 0;
	width: 100%;
	font-size: 1rem;
	position: relative;
}

.pcc-left .tree > li > a {
	border-bottom: 1px dashed var(--pcc-border);
	padding-right: 2.5rem;
}

.pcc-left .tree > li:has(> ul.treemenu) > a {
	width: calc(100% - 2rem);
	max-width: calc(100% - 2rem);
}

.pcc-left .tree > li:last-child > a {
	border-bottom: none;
}

.pcc-left .tree li li a {
	padding: 0.625rem 1.875rem;
	color: var(--pcc-muted);
	font-size: 0.875rem;
}

.pcc-left .tree li li:hover > a,
.menu-on {
	color: var(--pcc-primary) !important;
}

.pcc-left .tree li li:hover > a::before,
.menu-on::before {
	position: absolute;
	left: 12px;
	transform: translateY(30%);
	background-image: var(--pcc-icon-tree);
	padding: 7px;
	content: ' ';
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.pcc-left .treemenu li,
.pcc-left .tree > li {
	list-style: none;
	position: relative;
}

.pcc-left .treemenu .toggler {
	cursor: pointer;
	height: 2.75rem;
}

.pcc-left .tree li > span.toggler {
	position: absolute;
	right: 0;
	top: 12px;
	display: block;
	width: 1.875rem;
	height: 1.875rem;
	z-index: 5;
	cursor: pointer;
	pointer-events: auto;
}

.pcc-left .tree li > a {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
}

.pcc-left .tree li.tree-empty:not(.tree-closed):not(.tree-opened) > .toggler::before {
	content: none;
	display: none;
}

.pcc-left .tree li.tree-closed > .toggler::before {
	content: '';
	background-image: var(--pcc-icon-down);
	background-repeat: no-repeat;
	background-position: center;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-block;
}

.pcc-left .tree li.tree-opened > .toggler::before {
	content: '';
	background-image: var(--pcc-icon-up);
	background-repeat: no-repeat;
	background-position: center;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-block;
}

.pcc-left .tree li ul {
	padding: 0;
	border-bottom: none;
	background: var(--pcc-bg);
}

.pcc-left .tree > li > ul > li:first-child > a {
	padding-top: 1.25rem;
}

.pcc-left .tree > li > ul > li:last-child > a {
	padding-bottom: 1.25rem;
}

.new-product {
	margin-top: 1.25rem;
	padding: 1.25rem 1.25rem 0.625rem;
	background: #fff;
}

.new-product ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.new-product ul li {
	display: inline-flex;
	border-bottom: 1px dashed var(--pcc-border);
	padding: 1.25rem 0;
	width: 100%;
	cursor: pointer;
}

.new-product ul li:last-child {
	border-bottom: unset;
}

.new-product ul li .np-img {
	max-width: 5.625rem;
	flex-shrink: 0;
}

.new-product ul li img {
	width: 5.625rem;
	height: 5.625rem;
	object-fit: cover;
}

.new-product ul li .np-tit-mo {
	max-width: 12.5rem;
	margin-left: 0.625rem;
}

.new-product ul li .np-tit-mo p {
	font-size: 1rem;
	line-height: 1.25rem;
	color: var(--pcc-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	cursor: pointer;
}

.new-product ul li:hover .np-tit-mo p {
	color: var(--pcc-primary);
}

.pcc-right {
	width: 79.762%;
	padding-left: 2.5rem;
}

.pcc-right .ri-top {
	height: 3.125rem;
	line-height: 3.125rem;
	background: #fff;
	position: relative;
}

.category-this-title {
	color: var(--pcc-primary);
	font-size: 1.125rem;
	line-height: 1.5rem;
	display: inline-block;
	padding-left: 1.875rem;
}

.pcc-right .list-sty {
	position: absolute;
	display: inline-block;
	right: 0.625rem;
	height: 3.125rem;
}

.pcc-right .list-sty .sty-grid,
.pcc-right .list-sty .sty-row {
	display: inline-block;
	cursor: pointer;
	width: 1.875rem;
	height: 1.875rem;
	position: relative;
}

.pcc-right .list-sty .sty-grid::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -4.375rem;
	transform: translateY(-50%);
	width: 1.875rem;
	height: 1.875rem;
	background: var(--pcc-icon-grid) no-repeat center;
	background-size: contain;
}

.pcc-right .list-sty .sty-row::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -1.75rem;
	transform: translateY(-50%);
	width: 1.875rem;
	height: 1.875rem;
	background: var(--pcc-icon-row) no-repeat center;
	background-size: contain;
}

.pcc-right .list-sty .sty-grid:hover::before {
	background-image: var(--pcc-icon-grid-on);
}

.pcc-right .list-sty .sty-row:hover::before {
	background-image: var(--pcc-icon-row-on);
}

.pcc-right .list-sty .sty-grid.grid::before {
	background-image: var(--pcc-icon-grid-on);
}

.pcc-right .list-sty .sty-row.row::before {
	background-image: var(--pcc-icon-row-on);
}

.pcc-right .list-product {
	margin-top: 1.25rem;
}

.pcc-right .list-product .list-grid,
.pcc-right .list-product .list-row {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pcc-right .list-product .list-grid {
	display: none;
}

.pcc-right .list-product .list-grid::after {
	content: '';
	display: block;
	clear: both;
}

.pcc-right .list-product .list-grid .product-detail {
	width: 23.8%;
	height: 25rem;
	background: #fff;
	float: left;
	margin: 0 1.538% 1.25rem 0;
}

.pcc-right .list-product .list-grid .product-detail:nth-of-type(4n) {
	margin-right: 0;
}

.pcc-right .list-product .list-grid .product-img {
	height: 18rem;
}

.pcc-right .list-product .list-grid .product-detail .pdi-img {
	padding: 0.625rem;
}

.pcc-right .list-product .list-grid .product-detail .pdi-img img {
	width: 100%;
	max-height: 18.75rem;
	height: auto;
	object-fit: contain;
}

.pcc-right .list-product .list-grid .product-detail .pd-mo {
	opacity: 0;
	visibility: hidden;
	display: inline-flex;
	height: 2.75rem;
	width: 100%;
	background: var(--pcc-primary);
	line-height: 2.75rem;
	color: #fff;
	padding-left: 1.875rem;
	position: relative;
	transform: translateY(-3.375rem);
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pcc-right .list-product .list-grid .product-detail .pd-mo span:last-of-type {
	position: absolute;
	right: 1.875rem;
}

.pcc-right .list-product .list-grid .product-title {
	padding: 1.875rem;
}

.pcc-right .list-product .list-grid .product-title span {
	font-size: 1.125rem;
	line-height: 2rem;
	color: var(--pcc-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pcc-right .list-product .list-grid .product-detail:hover .pd-mo {
	opacity: 1;
	visibility: visible;
}

.pcc-right .list-product .list-grid .product-detail:hover .product-title span {
	color: var(--pcc-primary);
}

.pcc-right .list-product .list-row {
	display: none;
}

.pcc-right .list-product .list-row li {
	padding: 1.875rem;
	background: #fff;
	margin-bottom: 1.25rem;
	width: 100%;
	list-style: none;
}

.pcc-right .list-product .list-row li > a {
	display: inline-flex;
	text-decoration: none;
	width: 100%;
}

.pcc-right .list-product .list-row li .product-row-img {
	width: 23.076%;
	flex-shrink: 0;
}

.pcc-right .list-product .list-row li img {
	width: 100%;
	height: auto;
}

.pcc-right .list-product .list-row li .product-info {
	margin-left: 1.25rem;
	width: 70.76%;
}

.pcc-right .list-product .list-row li .product-info .product-title {
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--pcc-text);
}

.pcc-right .list-product .list-row li .product-info .product-dec {
	font-size: 1rem;
	line-height: 1.25rem;
	color: var(--pcc-muted);
	padding: 1.25rem 0 1.875rem;
	margin: 0;
}

.pcc-right .list-product .list-row li .product-info .product-tag {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.pcc-right .list-product .list-row li .product-info .product-tag .tag-name {
	min-width: 3.5rem;
	font-size: 1rem;
	line-height: 2rem;
}

.pcc-right .list-product .list-row li .product-info .product-tag .tag-list {
	display: flex;
	flex-wrap: wrap;
	flex: 1;
}

.pcc-right .list-product .list-row li .product-info .product-tag .tag-t {
	display: inline-block;
	padding: 0.375rem 0.625rem;
	background: var(--pcc-bg);
	color: var(--pcc-muted);
	font-size: 0.875rem;
	line-height: 1.25rem;
	margin: 0 0.625rem 0.625rem 0;
}

.pcc-right .list-product .list-row li .product-info .view-details {
	margin-top: 1.25rem;
	display: inline-block;
	padding: 0.625rem 1rem 0.625rem 1.75rem;
	background: #fff;
	border: 1px solid var(--pcc-primary);
}

.pcc-right .list-product .list-row li .product-info .view-details span {
	font-size: 1rem;
	line-height: 1.5rem;
	color: var(--pcc-primary);
}

.pcc-right .list-product .list-row li .product-info .view-details span:last-child {
	margin-left: 0.625rem;
}

.pcc-right .list-product .list-row li:hover {
	margin-left: -1.25rem;
	margin-right: -1.25rem;
	padding-left: 3.125rem;
	padding-right: 3.125rem;
	box-shadow: 0 0 40px rgba(237, 116, 27, 0.2);
	width: calc(100% + 2.5rem);
}

.pcc-right .list-product .list-row li:hover .product-title,
.pcc-right .list-product .list-row li:hover .product-info .product-title {
	color: var(--pcc-primary);
}

.pcc-right .list-product .list-row li:hover .view-details {
	background: var(--pcc-primary);
}

.pcc-right .list-product .list-row li:hover .view-details span {
	color: #fff;
}

.cat-empty {
	padding: 2rem;
	background: #fff;
	color: var(--pcc-muted);
}

@media only screen and (max-width: 991px) {
	.bl-grid {
		flex-direction: column;
	}

	.pcc-box .pcc-left {
		display: none;
	}

	.pcc-right {
		width: 100%;
		padding: 0;
	}

	.pcc-right .list-product .list-grid .product-detail {
		width: 48%;
		height: auto;
	}

	.pcc-right .list-product .list-row li > a {
		flex-direction: column;
	}

	.pcc-right .list-product .list-row li .product-row-img,
	.pcc-right .list-product .list-row li .product-info {
		width: 100%;
		margin-left: 0;
	}
}

@media only screen and (max-width: 767px) {
	.pcc-nav {
		height: auto;
		line-height: 28px;
		padding: 0 10px;
	}

	.pcc-nav a,
	.pcc-nav span {
		font-size: 12px;
	}

	.pcc-box {
		padding: 20px 0;
	}

	.pcc-banner-img .category-title {
		font-size: 1.5rem;
	}

	.pcc-right .list-product {
		margin: 10px;
	}

	.pcc-right .list-product .list-grid .product-detail {
		width: 100%;
		float: none;
		margin-right: 0;
	}
}
