/* WooCommerce product-category hero. Scoped to the category header only. */
.len-category-hero {
	--lca-font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
	--lca-primary: #1e7f6b;
	--lca-primary-dark: #155a4d;
	--lca-fg: #1a1a1a;
	box-sizing: border-box;
	width: 100%;
	padding: 1rem clamp(1rem, 1.25vw, 1.5rem) 3.5rem;
	background: #f7faf9;
	color: var(--lca-fg);
}

.len-category-hero *,
.len-category-hero *::before,
.len-category-hero *::after {
	box-sizing: border-box;
}

.len-category-hero__shell {
	position: relative;
	width: 100%;
	max-width: 1800px;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid rgba(30, 127, 107, .12);
	border-radius: 1rem;
	background: #f7fcfa;
	box-shadow: 0 14px 38px rgba(24, 91, 78, .07);
}

.len-category-hero__breadcrumb {
	position: absolute;
	top: 1.35rem;
	left: clamp(1.5rem, 2.7vw, 3.25rem);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: .45rem;
	max-width: calc(50% - 2rem);
	overflow: hidden;
	color: #5d6e6a;
	font-size: .73rem;
	line-height: 1.4;
	white-space: nowrap;
}

.len-category-hero__breadcrumb a,
.len-category-hero__breadcrumb span {
	color: inherit;
	text-decoration: none;
}

.len-category-hero__breadcrumb a:hover,
.len-category-hero__breadcrumb a:focus-visible {
	color: var(--lca-primary-dark);
}

.len-category-hero__breadcrumb [aria-current="page"] {
	overflow: hidden;
	color: #263632;
	font-weight: 700;
	text-overflow: ellipsis;
}

.len-category-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 50%) minmax(0, 50%);
	min-height: 400px;
}

.len-category-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 4.65rem clamp(1.5rem, 2.7vw, 3.25rem) 3rem;
	background: linear-gradient(105deg, #eaf7f3 0%, #f3faf8 62%, #fff 100%);
}

.len-category-hero__title {
	max-width: 15ch;
	margin: 0 0 .58rem;
	color: #101b1a;
	font-family: var(--lca-font-heading);
	font-size: clamp(2.5rem, 3.5vw, 4.1rem);
	font-weight: 900;
	letter-spacing: -.042em;
	line-height: 1.015;
}

.len-category-hero__subtitle {
	max-width: 43rem;
	margin: 0 0 .3rem;
	color: #223532;
	font-size: clamp(.98rem, 1.15vw, 1.12rem);
	font-weight: 750;
	line-height: 1.45;
}

.len-category-hero__text {
	max-width: 40rem;
	margin: 0;
	color: #536762;
	font-size: clamp(.88rem, .95vw, .98rem);
	line-height: 1.58;
}

.len-category-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	margin-top: 1.25rem;
}

.len-category-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-family: var(--lca-font-heading);
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.len-category-hero__button:active {
	transform: translateY(1px);
}

.len-category-hero__button--primary {
	min-height: 49px;
	padding: .82rem 1.55rem;
	border: 1px solid var(--lca-primary);
	background: var(--lca-primary);
	box-shadow: 0 8px 20px rgba(30, 127, 107, .18);
	color: #fff;
	font-size: .88rem;
}

.len-category-hero__button--primary:hover,
.len-category-hero__button--primary:focus-visible {
	border-color: var(--lca-primary-dark);
	background: var(--lca-primary-dark);
	box-shadow: 0 10px 24px rgba(21, 90, 77, .22);
	color: #fff;
}

.len-category-hero__button--secondary {
	min-height: 44px;
	padding: .72rem 1.25rem;
	border: 1px solid rgba(30, 127, 107, .72);
	background: rgba(255, 255, 255, .48);
	color: var(--lca-primary-dark);
	font-size: .82rem;
}

.len-category-hero__button--secondary:hover,
.len-category-hero__button--secondary:focus-visible {
	border-color: var(--lca-primary);
	background: #fff;
	color: #10483e;
}

.len-category-hero__button:focus-visible {
	outline: 3px solid rgba(30, 127, 107, .28);
	outline-offset: 3px;
}

.len-category-hero__media {
	position: relative;
	min-width: 0;
	min-height: 400px;
	background: #d8e9e6;
}

.len-category-hero__media picture,
.len-category-hero__image {
	display: block;
	width: 100%;
	height: 100%;
}

.len-category-hero__image {
	position: absolute;
	inset: 0;
	object-fit: cover;
}

.len-category-hero__feature-card {
	position: absolute;
	top: 50%;
	right: clamp(.8rem, 1.25vw, 1.35rem);
	z-index: 2;
	width: min(216px, calc(100% - 1.6rem));
	padding: 1rem;
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: .9rem;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 12px 32px rgba(18, 60, 53, .14);
	transform: translateY(-50%);
	backdrop-filter: blur(8px);
}

.len-category-hero__feature-card ul {
	display: grid;
	gap: .78rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.len-category-hero__feature-card li {
	display: grid;
	grid-template-columns: 1.7rem minmax(0, 1fr);
	gap: .52rem;
	align-items: center;
}

.len-category-hero__feature-icon {
	display: grid;
	place-items: center;
	width: 1.7rem;
	height: 1.7rem;
	color: var(--lca-primary);
}

.len-category-hero__feature-icon svg {
	width: 1.35rem;
	height: 1.35rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.len-category-hero__feature-card strong,
.len-category-hero__feature-card small,
.len-category-hero__benefit strong,
.len-category-hero__benefit small {
	display: block;
}

.len-category-hero__feature-card strong {
	color: #172522;
	font-size: .74rem;
	line-height: 1.25;
}

.len-category-hero__feature-card small {
	margin-top: .13rem;
	color: #667773;
	font-size: .64rem;
	line-height: 1.3;
}

.len-category-hero__benefits {
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .65rem;
	width: min(1740px, calc(100% - clamp(2rem, 3vw, 4rem)));
	margin: -30px auto 0;
}

.len-category-hero__benefit {
	display: grid;
	grid-template-columns: 2.55rem minmax(0, 1fr);
	gap: .8rem;
	align-items: center;
	min-width: 0;
	padding: .85rem 1rem;
	border: 1px solid #e1ebe8;
	border-radius: .85rem;
	background: #fff;
	box-shadow: 0 7px 20px rgba(35, 83, 74, .055);
}

.len-category-hero__benefit-icon {
	display: grid;
	place-items: center;
	width: 2.55rem;
	height: 2.55rem;
	border-radius: .75rem;
	background: #e7f5f2;
	color: var(--lca-primary);
}

.len-category-hero__benefit-icon svg {
	width: 1.3rem;
	height: 1.3rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.len-category-hero__benefit strong {
	color: #172522;
	font-size: .78rem;
	line-height: 1.25;
}

.len-category-hero__benefit small {
	margin-top: .12rem;
	color: #71807d;
	font-size: .68rem;
	line-height: 1.3;
}

@media (min-width: 1200px) {
	.len-category-hero__breadcrumb {
		max-width: calc(42% - 2rem);
	}

	.len-category-hero__layout {
		grid-template-columns: minmax(0, 42%) minmax(0, 58%);
	}
}

@media (max-width: 1199px) {
	.len-category-hero__content {
		padding-right: clamp(1.5rem, 3vw, 2.5rem);
		padding-left: clamp(1.5rem, 3vw, 2.5rem);
	}

	.len-category-hero__title {
		font-size: clamp(2.35rem, 4.8vw, 3.45rem);
	}

	.len-category-hero__feature-card {
		right: .85rem;
		width: min(202px, calc(100% - 1.7rem));
	}

	.len-category-hero__benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: min(760px, calc(100% - 4rem));
	}
}

@media (max-width: 767px) {
	.len-category-hero {
		padding: .75rem 0 2rem;
	}

	.len-category-hero__shell {
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.len-category-hero__breadcrumb {
		position: static;
		max-width: none;
		padding: 1rem 1rem 0;
	}

	.len-category-hero__layout {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.len-category-hero__content {
		padding: 1.65rem 1rem 1.75rem;
		background: linear-gradient(180deg, #eaf7f3 0%, #f9fdfb 100%);
	}

	.len-category-hero__title {
		max-width: 15ch;
		font-size: clamp(2.15rem, 10.5vw, 3rem);
		line-height: 1.02;
	}

	.len-category-hero__subtitle {
		font-size: .98rem;
	}

	.len-category-hero__text {
		font-size: .86rem;
	}

	.len-category-hero__actions {
		display: grid;
		grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
		gap: .55rem;
	}

	.len-category-hero__button--primary,
	.len-category-hero__button--secondary {
		min-width: 0;
		padding-right: .6rem;
		padding-left: .6rem;
		font-size: .75rem;
	}

	.len-category-hero__media {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.len-category-hero__media picture {
		position: relative;
		flex: 0 0 auto;
		height: min(82vw, 350px);
	}

	.len-category-hero__feature-card {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: auto;
		margin: -1.25rem 1rem 1rem;
		padding: .9rem;
		transform: none;
	}

	.len-category-hero__feature-card ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .8rem .6rem;
	}

	.len-category-hero__feature-card li {
		grid-template-columns: 1.5rem minmax(0, 1fr);
		gap: .38rem;
	}

	.len-category-hero__feature-icon,
	.len-category-hero__feature-icon svg {
		width: 1.3rem;
		height: 1.3rem;
	}

	.len-category-hero__feature-card strong {
		font-size: .7rem;
	}

	.len-category-hero__feature-card small {
		font-size: .61rem;
	}

	.len-category-hero__benefits {
		display: flex;
		gap: .6rem;
		width: 100%;
		margin: .7rem 0 0;
		padding: 0 1rem .5rem;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.len-category-hero__benefit {
		flex: 0 0 min(78vw, 285px);
		scroll-snap-align: start;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.len-category-hero__feature-card {
		background: #fff;
		backdrop-filter: none;
	}
}
