/**
 * Hero block — front-end + editor canvas.
 * Tuned to the supplied eRetail desktop/mobile comps.
 */
.eretail-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp( 560px, 45vw, 655px );
	overflow: hidden;
	color: var( --eretail-color-text, #4a4a4a );
	background: #f4f2f2;
}

.eretail-hero__media,
.eretail-hero__poster,
.eretail-hero__poster img,
.eretail-hero__video,
.eretail-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.eretail-hero__media { z-index: 0; }
.eretail-hero__poster { display: block; }
.eretail-hero__poster img,
.eretail-hero__video { object-fit: cover; }
.eretail-hero__poster img { display: block; }

.eretail-hero__video--mobile { display: none; }

.eretail-hero__overlay { pointer-events: none; }
.eretail-hero__overlay--desktop {
	background: var( --eretail-hero-overlay-desktop, none );
	opacity: var( --eretail-hero-overlay-desktop-opacity, 0 );
}
.eretail-hero__overlay--mobile { display: none; }

.eretail-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding: 72px clamp( 32px, 6.95vw, 100px ) 80px;
}

.eretail-hero__eyebrow {
	max-width: 620px;
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.875rem;
	color: var( --eretail-color-primary, #e41e26 );
}

.eretail-hero__heading {
	max-width: 650px;
	margin: 0 0 16px;
	font-size: clamp( 3rem, 4.35vw, 4rem );
	line-height: 0.99;
	letter-spacing: -0.035em;
	color: var( --eretail-color-heading, #111 );
}

.eretail-hero__body {
	max-width: 570px;
	margin: 0 0 28px;
	font-size: 1rem;
	line-height: 1.45;
	color: #5f5f5f;
}
.eretail-hero__body p:last-child { margin-bottom: 0; }

.eretail-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 36px;
}

.eretail-hero__actions .eretail-btn {
	min-width: 210px;
	justify-content: center;
	padding: 13px 28px;
}

.eretail-hero__stats {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
	max-width: 640px;
}

.eretail-hero__stat {
	position: relative;
	min-width: 0;
	padding: 4px 30px 0;
}
.eretail-hero__stat:first-child { padding-left: 0; }
.eretail-hero__stat:last-child { padding-right: 0; }
.eretail-hero__stat:not( :first-child )::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba( 17, 17, 17, 0.14 );
}
.eretail-hero__stat-value {
	display: block;
	font-size: clamp( 2rem, 2.5vw, 2.55rem );
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.025em;
	color: #111;
	white-space: nowrap;
}
.eretail-hero__stat-label {
	display: block;
	margin-top: 7px;
	font-size: 0.9rem;
	line-height: 1.2;
	color: #777;
	white-space: nowrap;
}

@media ( max-width: 767px ) {
	.eretail-hero {
		align-items: flex-start;
		min-height: 456px;
	}
	.eretail-hero__video--desktop { display: none; }
	.eretail-hero__video--mobile { display: block; }
	.eretail-hero__overlay--desktop { display: none; }
	.eretail-hero__overlay--mobile {
		display: block;
		background: var( --eretail-hero-overlay-mobile, none );
		opacity: var( --eretail-hero-overlay-mobile-opacity, 0 );
	}
	.eretail-hero__inner {
		padding: 34px 34px 48px;
	}
	.eretail-hero__heading {
		max-width: 345px;
		margin-bottom: 14px;
		font-size: clamp( 2rem, 8.2vw, 2.2rem );
		line-height: 1.02;
		letter-spacing: -0.03em;
	}
	.eretail-hero__body {
		max-width: 340px;
		margin-bottom: 24px;
		font-size: 0.94rem;
		line-height: 1.45;
	}
	.eretail-hero__actions {
		margin-bottom: 31px;
	}
	.eretail-hero__actions .eretail-btn {
		width: auto;
		min-width: 158px;
		padding: 10px 22px;
	}
	.eretail-hero__stats {
		width: 100%;
		max-width: 360px;
		justify-content: space-between;
	}
	.eretail-hero__stat {
		flex: 1 1 0;
		padding: 0 8px;
		text-align: left;
	}
	.eretail-hero__stat:first-child { padding-left: 0; }
	.eretail-hero__stat:last-child { padding-right: 0; }
	.eretail-hero__stat:not( :first-child )::before { display: none; }
	.eretail-hero__stat-value {
		font-size: clamp( 1.25rem, 5.5vw, 1.5rem );
	}
	.eretail-hero__stat-label {
		margin-top: 3px;
		font-size: clamp( 0.55rem, 2.1vw, 0.65rem );
		white-space: normal;
	}
}

@media ( max-width: 370px ) {
	.eretail-hero__inner { padding-inline: 24px; }
	.eretail-hero__stat { padding-inline: 5px; }
	.eretail-hero__stat-label { font-size: 0.55rem; }
}
