/* LightSign collection pages */
body.page-template-canopy-collection-php {
	--lscp-ink: #143e46;
	--lscp-muted: #607c82;
	--lscp-teal: #07989b;
	--lscp-green: #0b5f4a;
	--lscp-mint: #28b983;
	--lscp-line: rgba(31, 151, 151, 0.2);
	background: #f2fbfb;
	color: var(--lscp-ink);
}

body.page-template-canopy-collection-php #main-container,
body.page-template-canopy-collection-php #main-container > main {
	background: linear-gradient(132deg, #f7fcfc 0%, #dcf7f7 47%, #dcf8eb 100%);
}

.ls-canopy-collection {
	background: transparent;
	min-height: calc(100vh - 190px);
	padding: 34px 0 76px;
	position: relative;
}

.ls-canopy-collection::before {
	background: linear-gradient(90deg, rgba(19, 158, 165, 0.08), rgba(46, 187, 132, 0.08));
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.ls-canopy-container {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1380px;
	width: calc(100% - 80px);
}

.ls-canopy-header {
	margin: 0 0 14px;
	max-width: none;
}

.ls-canopy-title {
	color: var(--lscp-ink);
	font-size: 32px;
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 10px;
}

.ls-canopy-description,
.ls-canopy-content {
	color: var(--lscp-muted);
	font-size: 15px;
	line-height: 1.6;
	max-width: none;
}

.ls-canopy-description p,
.ls-canopy-content p {
	font-size: inherit;
	line-height: inherit;
	margin: 0 0 8px;
}

.ls-canopy-description > :last-child,
.ls-canopy-content > :last-child {
	margin-bottom: 0;
}

.ls-canopy-content {
	background: rgba(255, 255, 255, 0.56);
	border-left: 3px solid var(--lscp-teal);
	border-radius: 0 7px 7px 0;
	margin: 12px 0 0;
	padding: 12px 15px;
}

.ls-canopy-content h2,
.ls-canopy-content h3,
.ls-canopy-content h4 {
	color: var(--lscp-ink);
	font-size: 18px;
	font-weight: 740;
	letter-spacing: 0;
	line-height: 1.35;
	margin: 14px 0 7px;
}

.ls-canopy-content > :first-child {
	margin-top: 0;
}

/* Filter and sort controls */
.ls-canopy-toolbar {
	align-items: center;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(239, 253, 251, 0.7));
	border: 1px solid rgba(255, 255, 255, 0.94);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(20, 103, 108, 0.1);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 22px 0 24px;
	padding: 10px 12px;
	position: relative;
}

.ls-canopy-toolbar::before {
	background: linear-gradient(90deg, var(--lscp-teal), var(--lscp-mint));
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.ls-canopy-filters,
.ls-canopy-toolbar-right {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ls-canopy-dropdown {
	position: relative;
}

.ls-canopy-dd-toggle {
	align-items: center;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(11, 95, 74, 0.28);
	border-radius: 8px;
	color: #365a62;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 680;
	gap: 9px;
	height: 40px;
	justify-content: center;
	min-width: 116px;
	padding: 0 14px;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.ls-canopy-dd-toggle:hover,
.ls-canopy-dd-toggle:focus-visible,
.ls-canopy-dropdown.is-open .ls-canopy-dd-toggle {
	background: #eefaf7;
	border-color: rgba(11, 95, 74, 0.62);
	box-shadow: 0 7px 18px rgba(20, 103, 108, 0.12);
	color: var(--lscp-green);
	outline: 0;
}

.ls-canopy-chevron {
	flex: 0 0 auto;
	transition: transform 180ms ease;
}

.ls-canopy-dropdown.is-open .ls-canopy-chevron {
	transform: rotate(180deg);
}

.ls-canopy-dd-menu {
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(11, 95, 74, 0.2);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(20, 103, 108, 0.18);
	left: 0;
	min-width: 210px;
	padding: 8px;
	position: absolute;
	top: calc(100% + 8px);
	z-index: 40;
}

.ls-canopy-check {
	align-items: center;
	border-radius: 6px;
	color: #365a62;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 10px;
	padding: 9px 10px;
}

.ls-canopy-check:hover {
	background: #eefaf7;
	color: var(--lscp-green);
}

.ls-canopy-check input[type="checkbox"] {
	accent-color: var(--lscp-green);
	height: 17px;
	margin: 0;
	width: 17px;
}

.ls-canopy-check.is-disabled {
	color: #91a3a6;
	cursor: default;
}

.ls-canopy-check.is-disabled:hover {
	background: transparent;
}

.ls-canopy-price-menu {
	min-width: 300px;
	padding: 13px;
}

.ls-canopy-price-row {
	align-items: center;
	display: flex;
	gap: 8px;
}

.ls-canopy-price-field {
	align-items: center;
	background: #f9fdfc;
	border: 1px solid rgba(11, 95, 74, 0.24);
	border-radius: 7px;
	display: flex;
	flex: 1;
	padding: 7px 10px;
}

.ls-canopy-price-field:focus-within {
	border-color: rgba(11, 95, 74, 0.68);
	box-shadow: 0 0 0 3px rgba(7, 152, 155, 0.08);
}

.ls-canopy-price-symbol,
.ls-canopy-price-to {
	color: var(--lscp-muted);
	font-size: 13px;
}

.ls-canopy-price-field input {
	-moz-appearance: textfield;
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--lscp-ink);
	font-size: 14px;
	height: 28px;
	outline: 0;
	padding: 0 !important;
	text-align: right;
	width: 100%;
}

.ls-canopy-price-field input::-webkit-outer-spin-button,
.ls-canopy-price-field input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ls-canopy-price-hint {
	color: var(--lscp-muted);
	font-size: 12px;
	margin: 10px 0 0;
}

.ls-canopy-count {
	background: rgba(11, 95, 74, 0.08);
	border-radius: 6px;
	color: var(--lscp-green);
	font-size: 13px;
	font-weight: 700;
	line-height: 32px;
	padding: 0 11px;
	white-space: nowrap;
}

.ls-canopy-sort-menu {
	left: auto;
	min-width: 224px;
	right: 0;
}

.ls-canopy-sort-option {
	align-items: center;
	border-radius: 6px;
	color: #365a62;
	display: flex;
	font-size: 14px;
	gap: 9px;
	padding: 9px 10px;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease;
}

.ls-canopy-sort-option:hover,
.ls-canopy-sort-option:focus-visible {
	background: #eefaf7;
	color: var(--lscp-green);
	outline: 0;
}

.ls-canopy-sort-option .ls-canopy-check-icon {
	flex-shrink: 0;
	visibility: hidden;
}

.ls-canopy-sort-option.is-active {
	background: rgba(11, 95, 74, 0.09);
	color: var(--lscp-green);
	font-weight: 720;
}

.ls-canopy-sort-option.is-active .ls-canopy-check-icon {
	visibility: visible;
}

/* Products */
.ls-canopy-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ls-canopy-grid.products::before,
.ls-canopy-grid.products::after {
	display: none;
}

.ls-canopy-product {
	--lspc-action-width: 120px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 253, 250, 0.84));
	border: 1px solid rgba(255, 255, 255, 0.96);
	border-radius: 14px;
	box-shadow: 0 16px 38px rgba(20, 103, 108, 0.1);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	min-width: 0;
	overflow: hidden;
	padding-bottom: 20px;
	position: relative;
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
	width: auto !important;
}

.ls-canopy-product::before {
	background: linear-gradient(90deg, var(--lscp-teal), var(--lscp-mint));
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 300ms ease;
	z-index: 2;
}

.ls-canopy-product:hover::before,
.ls-canopy-product:focus-within::before {
	transform: scaleX(1);
}

.ls-canopy-product:hover,
.ls-canopy-product:focus-within {
	border-color: rgba(11, 95, 74, 0.25);
	box-shadow: 0 24px 50px rgba(20, 103, 108, 0.17);
	transform: translateY(-5px);
}

.ls-canopy-product-link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.ls-canopy-product-link:focus-visible {
	outline: 3px solid rgba(7, 152, 155, 0.22);
	outline-offset: -3px;
}

.ls-canopy-product-image {
	align-items: center;
	aspect-ratio: 5 / 4;
	background: #fff;
	display: flex;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	position: relative;
}

.ls-canopy-product-image::after {
	background: linear-gradient(180deg, transparent 68%, rgba(8, 117, 121, 0.035));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.ls-canopy-product-image .lspc-media {
	height: 100%;
	min-width: 0;
	width: 100%;
}

.ls-canopy-product-image img {
	height: 100%;
	object-fit: contain;
	transform: scale(0.94);
	transition: transform 260ms ease;
	width: 100%;
}

.ls-canopy-product:hover .ls-canopy-product-image img,
.ls-canopy-product:focus-within .ls-canopy-product-image img {
	transform: scale(0.99);
}

.ls-canopy-product h2 {
	color: var(--lscp-ink);
	font-size: 16px;
	font-weight: 720;
	letter-spacing: 0;
	line-height: 1.42;
	margin: 18px 20px 12px;
	min-height: 47px;
	padding: 0;
}

.ls-canopy-product h2 a {
	color: inherit;
	text-decoration: none;
}

.ls-canopy-product .price {
	align-items: center;
	align-self: flex-end;
	color: #344b67;
	display: flex;
	font-size: 19px;
	font-weight: 700;
	justify-content: center;
	margin: auto 20px 12px;
	max-width: calc(100% - 40px);
	min-height: 28px;
	min-width: min(var(--lspc-action-width), calc(100% - 40px));
	padding: 0;
	text-align: center;
}

.ls-canopy-product .price del {
	color: #829699;
	font-weight: 500;
	margin-right: 6px;
}

.ls-canopy-product .price ins {
	text-decoration: none;
}

.ls-canopy-product > .lspv-price-notice,
.ls-canopy-product .lspv-price-notice {
	color: var(--lscp-green);
	font-size: 13px;
	font-weight: 700;
	text-align: right;
}

.ls-canopy-product .ct-woo-card-actions {
	display: flex;
	justify-content: flex-end;
	margin: 0 20px;
}

.ls-canopy-product .ct-woo-card-actions .button {
	align-items: center;
	background: var(--lscp-green) !important;
	border: 1px solid var(--lscp-green) !important;
	border-radius: 7px;
	box-shadow: 0 8px 18px rgba(11, 95, 74, 0.18);
	box-sizing: border-box;
	color: #fff !important;
	display: inline-flex;
	justify-content: center;
	max-width: 100%;
	min-height: 40px;
	padding-inline: 12px;
	text-align: center;
}

.ls-canopy-product .ct-woo-card-actions .add_to_cart_button {
	flex: 0 1 var(--lspc-action-width);
	width: var(--lspc-action-width);
}

.ls-canopy-product .ct-woo-card-actions .button:hover,
.ls-canopy-product .ct-woo-card-actions .button:focus-visible {
	background: #084638 !important;
	border-color: #084638 !important;
	box-shadow: 0 11px 22px rgba(8, 70, 56, 0.26);
}

/* Pagination */
.ls-canopy-pagination {
	margin-top: 36px;
}

.ls-canopy-pagination ul {
	display: flex;
	gap: 6px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ls-canopy-pagination a,
.ls-canopy-pagination span {
	align-items: center;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid var(--lscp-line);
	border-radius: 7px;
	color: var(--lscp-ink);
	display: inline-flex;
	font-size: 14px;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	padding: 0 10px;
	text-decoration: none;
}

.ls-canopy-pagination .current {
	background: var(--lscp-green);
	border-color: var(--lscp-green);
	color: #fff;
}

.ls-canopy-pagination a:hover,
.ls-canopy-pagination a:focus-visible {
	border-color: var(--lscp-green);
	color: var(--lscp-green);
	outline: 0;
}

@media (prefers-reduced-motion: reduce) {
	.ls-canopy-product,
	.ls-canopy-product-image img,
	.ls-canopy-dd-toggle,
	.ls-canopy-chevron {
		transition: none;
	}
}

@media (min-width: 1280px) {
	.ls-canopy-description p {
		white-space: nowrap;
	}
}

@media (max-width: 1180px) {
	.ls-canopy-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.ls-canopy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.ls-canopy-collection {
		padding: 24px 0 52px;
	}

	.ls-canopy-container {
		width: calc(100% - 32px);
	}

	.ls-canopy-title {
		font-size: 27px;
	}

	.ls-canopy-description,
	.ls-canopy-content {
		font-size: 14px;
	}

	.ls-canopy-toolbar {
		align-items: stretch;
		gap: 10px;
		margin-top: 18px;
		padding: 11px;
	}

	.ls-canopy-filters {
		flex: 1 1 auto;
	}

	.ls-canopy-toolbar-right {
		flex: 0 0 auto;
		margin-left: auto;
	}

	.ls-canopy-dd-toggle {
		height: 38px;
		min-width: 0;
		padding: 0 11px;
	}

	.ls-canopy-count {
		display: none;
	}

	.ls-canopy-price-menu {
		min-width: min(300px, calc(100vw - 44px));
	}

	.ls-canopy-grid {
		gap: 16px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ls-canopy-product h2 {
		font-size: 15px;
		line-height: 1.4;
		min-height: 47px;
		margin: 14px 14px 10px;
		padding: 0;
	}

	.ls-canopy-product .price {
		font-size: 19px;
		margin-inline: 14px;
		max-width: calc(100% - 28px);
		min-width: min(var(--lspc-action-width), calc(100% - 28px));
		padding: 0;
	}

	.ls-canopy-product .ct-woo-card-actions {
		margin-inline: 14px;
	}
}

@media (max-width: 600px) {
	.ls-canopy-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 430px) {

	.ls-canopy-toolbar {
		flex-wrap: wrap;
	}

	.ls-canopy-filters {
		width: 100%;
	}

	.ls-canopy-filters .ls-canopy-dropdown {
		flex: 1 1 0;
	}

	.ls-canopy-filters .ls-canopy-dd-toggle {
		width: 100%;
	}

	.ls-canopy-toolbar-right {
		margin-left: 0;
		width: 100%;
	}

	.ls-canopy-sort-dropdown,
	.ls-canopy-sort-dropdown .ls-canopy-dd-toggle {
		width: 100%;
	}
}
