/**
 * PLP / shop hero v1 — dark photo banner (control).
 *
 * Loaded when GrowthBook `led-300` is not 1.
 * Shared crumbs, View More, subcats, and plan chrome stay in plp.css.
 */

.led-plp__hero {
	margin-bottom: var(--space-6, 24px);
}

.led-plp__hero-banner {
	width: 100%;
	min-height: 280px;
	background-color: var(--color-primary-950, #033f05);
	/* Gradient only on small screens — skip heavy BG download for mobile LCP. */
	background-image: linear-gradient(
		272.97deg,
		rgb(3 63 5 / 0) 3.01%,
		rgb(3 63 5 / 0.9) 88.47%
	);
	background-size: cover;
	background-position: top center;
}

@media (min-width: 768px) {
	.led-plp__hero-banner {
		background-image: linear-gradient(
			272.97deg,
			rgb(3 63 5 / 0) 3.01%,
			rgb(3 63 5 / 0.9) 88.47%
		),
			var(--led-plp-hero-bg, none);
	}
}

.led-plp__hero-banner-inner {
	padding-block: 0 var(--space-8, 32px);
}

.led-plp__hero-grid {
	display: flex;
	flex-direction: column;
	gap: var(--space-6, 24px);
	align-items: stretch;
}

/* Mobile: one tree — copy/aside flatten so product sits between subtitle and actions. */
.led-plp__hero-copy,
.led-plp__hero-aside {
	display: contents;
}

.led-plp__hero-title {
	order: 0;
	margin-bottom: 0;
	color: var(--color-neutral-0, #fff);
}

.led-plp__hero-byline {
	order: 1;
	margin: var(--space-2, 8px) 0 0;
	color: var(--color-neutral-0, #fff);
}

.led-plp__hero-subtitle {
	order: 2;
	margin-top: var(--space-6, 24px);
	color: var(--color-neutral-0, #fff);
}

.led-plp__hero-product {
	order: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.led-plp__hero-actions {
	order: 5;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: var(--space-6, 24px);
	width: 100%;
	margin-top: var(--space-3, 12px);
	margin-bottom: var(--space-6, 24px);
}

/* Hero list markers — match .led-home__banner-list */
html body.led-plp-page .led-plp__hero-subtitle ul,
html body.led-plp-page .led-plp__hero-list {
	margin: 0 0 var(--space-2, 8px);
	padding-left: 1.25em;
	list-style: disc;
	list-style-type: disc;
	list-style-position: outside;
	color: inherit;
}

html body.led-plp-page .led-plp__hero-subtitle li,
html body.led-plp-page .led-plp__hero-list li {
	display: list-item;
	margin: 0 0 var(--space-2, 8px);
	padding: 0;
	list-style: disc;
	list-style-type: disc;
	color: inherit;
}

html body.led-plp-page .led-plp__hero-subtitle li:last-child,
html body.led-plp-page .led-plp__hero-list li:last-child {
	margin-bottom: 0;
}

html body.led-plp-page .led-plp__hero-subtitle li::marker,
html body.led-plp-page .led-plp__hero-list li::marker {
	color: inherit;
	font-size: var(--font-size-xxs);
}

.led-plp__hero-subtitle + .led-plp__hero-actions,
.led-plp__hero-list + .led-plp__hero-actions {
	margin-top: var(--space-6, 24px);
}

.led-plp__hero-browse,
.led-plp__hero-plan {
	min-height: 40px;
	padding: 15px 20px;
	font-size: var(--font-size-btn);
	line-height: var(--line-height-button);
	font-weight: var(--font-weight-button);
}

.led-plp__hero-product-img {
	display: block;
	max-width: 100%;
	max-height: 240px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.led-plp__hero-quality {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-6, 24px);
	padding-block: var(--space-7, 28px) var(--space-6, 24px);
	text-align: center;
}

.led-plp__hero-quality-title {
	order: 1;
	width: 100%;
}

.led-plp__hero-quality-icons {
	order: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3, 12px);
}

.led-plp__hero-stamp {
	order: 3;
	width: 73px;
	height: 73px;
}

.led-plp__hero-quality-subtitle {
	order: 4;
	width: 100%;
}

.led-plp__hero-quality-icons img {
	max-width: 40px;
	width: 40px;
	height: 40px;
}

.led-plp__hero-quality-title {
	max-width: 310px;
	margin: 0;
	color: var(--color-primary-700, #088c43);
}

.led-plp__hero-quality-subtitle {
	max-width: 300px;
	margin: 0;
	color: var(--color-primary-700, #088c43);
}

.led-plp__hero-stamp {
	width: 73px;
	height: 73px;
}

@media (min-width: 768px) and (max-width: 980px) {
	.led-plp__hero-browse,
	.led-plp__hero-plan {
		font-size: var(--font-size-btn-tablet, var(--font-size-btn));
	}
}

@media (min-width: 981px) {
	.led-plp__hero-browse,
	.led-plp__hero-plan {
		font-size: var(--font-size-btn-desktop, var(--font-size-btn));
	}
}

@media (min-width: 1024px) {
	.led-plp__hero-banner {
		min-height: 400px;
	}

	.led-plp__hero-grid {
		flex-direction: row;
		justify-content: space-between;
		gap: var(--space-8, 32px);
		align-items: flex-start;
	}

	.led-plp__hero-copy,
	.led-plp__hero-aside {
		display: flex;
		flex-direction: column;
		min-width: 0;
	}

	.led-plp__hero-copy {
		flex: 0 1 60%;
		max-width: 60%;
	}

	.led-plp__hero-aside {
		flex: 0 1 40%;
		max-width: 40%;
		margin-top: 0;
		align-items: flex-end;
		justify-content: flex-end;
	}

	.led-plp__hero-title,
	.led-plp__hero-byline,
	.led-plp__hero-subtitle,
	.led-plp__hero-product,
	.led-plp__hero-actions {
		order: initial;
	}

	html body.led-plp-page .led-plp__hero-subtitle li,
	html body.led-plp-page .led-plp__hero-list li {
		font-size: var(--font-size-body-desktop, var(--font-size-body));
	}

	.led-plp__hero-actions {
		flex-direction: row;
		width: auto;
	}

	.led-plp__hero-plan {
		display: none;
	}

	.led-plp__hero-product-img {
		max-height: 320px;
	}

	.led-plp__hero-quality {
		flex-direction: row;
		flex-wrap: nowrap;
		text-align: left;
	}

	.led-plp__hero-quality-title {
		order: 2;
		width: auto;
	}

	.led-plp__hero-quality-icons {
		order: 1;
	}

	.led-plp__hero-quality-subtitle {
		order: 3;
		width: auto;
		text-align: left;
	}

	.led-plp__hero-stamp {
		order: 4;
	}

	.led-plp__hero-quality-icons img {
		max-width: 68px;
		width: 68px;
		height: 68px;
	}
}
