/* ==========================================================================
 * Black Friday 2026 home hero (sale skin). Loaded only while
 * inc/lsfab-bf26-hero.php has the sale hero on, after home-2026.css, so the
 * plain .ls-h26-hero selectors here are safe: when the sale ends this file
 * stops loading and the everyday hero is untouched.
 *
 * The kit, same as the dashboard's Black Friday tab: pink #FF0044 is the one
 * accent, #171717 speckled black, the LS FAB + six trucks lockup, pink tape,
 * slanted buttons, Barlow Condensed caps.
 * ======================================================================= */

.ls-h26-hero.et_pb_section {
	--bf-pink: #ff0044;
	--bf-pink-2: #ff3d6e;
	--bf-rule: #353535;
	--bf-ink-2: #ababab;
	padding: var(--ls-space-7) 0 0 !important;
	overflow: hidden;
	background:
		radial-gradient(900px 520px at 4% 0%, rgba(255, 0, 68, .30) 0%, rgba(255, 0, 68, 0) 62%),
		radial-gradient(820px 600px at 98% 70%, rgba(255, 0, 68, .16) 0%, rgba(255, 0, 68, 0) 60%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 -.5'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"),
		#171717;
}

/* The everyday hero's square grid becomes faint slanted hairlines. */
.ls-h26-hero.et_pb_section::before {
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 26px);
	background-size: auto;
	-webkit-mask-image: radial-gradient(75% 80% at 30% 30%, #000 20%, transparent 100%);
	mask-image: radial-gradient(75% 80% at 30% 30%, #000 20%, transparent 100%);
}

.ls-bf26 { position: relative; }

.ls-h26-hero .ls-bf26__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	gap: var(--ls-space-7);
}

/* Copy -------------------------------------------------------------------- */

.ls-h26-hero .ls-bf26__copy { gap: var(--ls-space-4); }

.ls-h26-hero .ls-bf26__kicker {
	color: var(--bf-pink);
	font-family: var(--ls-font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .2em;
}

.ls-h26 .ls-bf26__h1 {
	max-width: none;
	font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem);
	line-height: .95;
	letter-spacing: .01em;
	text-transform: uppercase;
}
.ls-bf26__h1 span { display: block; }
.ls-bf26__h1 .ls-bf26__h1-a { font-size: .62em; letter-spacing: .22em; color: #e6e6e6; }
.ls-bf26__h1 b {
	display: block;
	margin: .02em 0 .06em -.03em;
	font-size: 2.7em;
	font-weight: 700;
	line-height: .84;
	letter-spacing: -.01em;
	color: var(--bf-pink);
	text-shadow: 0 0 42px rgba(255, 0, 68, .55), 4px 4px 0 #000;
	white-space: nowrap;
}

.ls-h26-hero .ls-bf26__sub { max-width: 46ch; color: #cfcfcf; }

/* Clock: pink-edged tiles, same as the dashboard's countdown --------------- */

.ls-bf26-clock {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 106px;
	opacity: 0;
	transition: opacity .25s ease;
}
.ls-bf26-clock.is-live { opacity: 1; }
.ls-bf26-clock.is-over { display: none; }
.ls-bf26-clock__label {
	font-family: var(--ls-font-display);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--bf-pink);
}
.ls-bf26-clock__row { display: flex; gap: 14px; }
.ls-bf26-clock__unit { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ls-bf26-clock__unit b { display: flex; gap: 4px; font-weight: 700; }
.ls-bf26-clock__unit i {
	position: relative;
	display: block;
	width: 40px;
	height: 58px;
	overflow: hidden;
	border: 1px solid rgba(255, 0, 68, .6);
	border-radius: 5px;
	background: linear-gradient(180deg, #0c0c0c 0 50%, #151515 50% 100%);
	box-shadow: 0 10px 22px -10px rgba(255, 0, 68, .75);
	color: #fff;
	font-family: var(--ls-font-display);
	font-size: 46px;
	font-style: normal;
	font-weight: 700;
	line-height: 56px;
	text-align: center;
	text-shadow: 0 0 6px rgba(255, 255, 255, .55), 0 0 22px rgba(255, 0, 68, .75);
}
.ls-bf26-clock__unit i::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: rgba(0, 0, 0, .75);
}
.ls-bf26-clock__unit i.is-tick { animation: lsbf26Tick .32s ease-out; }
.ls-bf26-clock__unit small {
	font-family: var(--ls-font-display);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--bf-ink-2);
}
@keyframes lsbf26Tick {
	0% { transform: translateY(-3px); filter: brightness(1.5); }
	100% { transform: none; filter: none; }
}

/* Buttons: slanted tags, the main one solid pink --------------------------- */

.ls-h26-hero .ls-bf26__cta { gap: var(--ls-space-4); padding: 4px 0 6px 6px; }
.ls-h26-hero .ls-btn.ls-bf26__btn {
	border: 1px solid var(--bf-pink) !important;
	border-radius: 3px;
	background-color: var(--bf-pink);
	color: #fff;
	box-shadow: 5px 5px 0 #000, 0 0 30px -8px rgba(255, 0, 68, .95);
	transform: skewX(-10deg);
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.ls-h26-hero .ls-btn.ls-bf26__btn > span { display: inline-block; transform: skewX(10deg); }
.ls-h26-hero .ls-btn.ls-bf26__btn:hover {
	background-color: var(--bf-pink-2);
	color: #fff;
	box-shadow: 7px 7px 0 #000, 0 0 36px -6px rgba(255, 0, 68, 1);
	transform: skewX(-10deg) translate(-2px, -2px);
}
.ls-h26-hero .ls-btn.ls-bf26__btn--ghost {
	border-color: rgba(255, 0, 68, .65) !important;
	background-color: rgba(0, 0, 0, .35);
	box-shadow: none;
}
.ls-h26-hero .ls-btn.ls-bf26__btn--ghost:hover {
	border-color: var(--bf-pink) !important;
	background-color: var(--bf-pink);
	box-shadow: 4px 4px 0 #000;
}
.ls-h26-hero .ls-btn.ls-bf26__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Art: the lockup on a pink glow, a sticker, three facts ------------------- */

.ls-h26-hero .ls-bf26__visual { display: flex; flex-direction: column; gap: var(--ls-space-5); }
.ls-bf26__art { position: relative; }
.ls-bf26__art::before {
	content: "";
	position: absolute;
	inset: 12% 6% 6%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 0, 68, .55), rgba(255, 0, 68, 0) 72%);
	filter: blur(26px);
	pointer-events: none;
}
.ls-bf26__art img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .7));
}
.ls-bf26__stamp {
	position: absolute;
	top: -4px;
	right: 0;
	z-index: 2;
	padding: 7px 14px 6px;
	background: #fff;
	box-shadow: 5px 5px 0 var(--bf-pink);
	color: #111;
	font-family: var(--ls-font-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: rotate(5deg);
}

.ls-h26-hero .ls-bf26__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ls-h26-hero .ls-bf26__facts li {
	position: relative;
	margin: 0;
	padding: 16px 14px 12px;
	overflow: hidden;
	border: 1px solid var(--bf-rule);
	border-radius: 4px;
	background: rgba(0, 0, 0, .38);
	list-style: none;
}
.ls-h26-hero .ls-bf26__facts li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--bf-pink);
}
.ls-bf26__facts b {
	display: block;
	font-family: var(--ls-font-display);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
}
.ls-bf26__facts b i { margin-left: 4px; font-size: .8em; font-style: normal; color: var(--ls-amber, #ffb400); }
.ls-bf26__facts span {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--bf-ink-2);
}

/* Truck picker in the sale colours ----------------------------------------- */

.ls-h26-hero .ls-h26-picker {
	margin-top: var(--ls-space-6);
	border-color: var(--bf-rule);
	border-radius: 6px;
	background: rgba(0, 0, 0, .45);
}
.ls-h26-hero .ls-h26-picker::before { height: 3px; background: var(--bf-pink); background-image: none; }
.ls-h26-hero .ls-h26-chip { border-radius: 3px; }
.ls-h26-hero .ls-h26-chip:hover {
	border-color: var(--bf-pink);
	box-shadow: 3px 3px 0 rgba(255, 0, 68, .45);
}

/* Tape: full width along the bottom edge of the hero ----------------------- */

.ls-bf26__tape {
	position: relative;
	width: 100vw;
	margin: var(--ls-space-6) 0 0 calc(50% - 50vw);
	overflow: hidden;
	background: var(--bf-pink);
	box-shadow: 0 -1px 0 rgba(255, 255, 255, .25) inset, 0 0 34px -6px rgba(255, 0, 68, .9);
	line-height: 0;
}
.ls-bf26__tape span {
	display: inline-block;
	width: max-content;
	padding: 9px 0 8px;
	color: #111;
	font-family: var(--ls-font-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: pre;
	animation: lsbf26Tape 70s linear infinite;
}
@keyframes lsbf26Tape {
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.ls-bf26__tape span,
	.ls-bf26-clock__unit i.is-tick { animation: none; }
}

/* Tablet and phone --------------------------------------------------------- */

@media (max-width: 980px) {
	.ls-h26-hero .ls-bf26__grid { grid-template-columns: 1fr; gap: var(--ls-space-5); }
	.ls-h26-hero .ls-bf26__visual { max-width: 560px; gap: 0; }
	.ls-h26-hero .ls-bf26__facts { display: none; }
	.ls-bf26__stamp { font-size: 14px; }
}

@media (max-width: 767px) {
	.ls-h26-hero.et_pb_section { padding: var(--ls-space-5) 0 0 !important; }
	.ls-h26-hero .ls-bf26__visual { max-width: none; }
	.ls-bf26__h1 b { font-size: 2.5em; }
	.ls-bf26__tape span { font-size: 14px; }
}

@media (max-width: 480px) {
	.ls-bf26-clock { min-height: 90px; }
	.ls-bf26-clock__row { gap: 10px; }
	.ls-bf26-clock__unit i { width: 32px; height: 46px; font-size: 36px; line-height: 44px; }
	.ls-bf26__stamp { right: 2px; padding: 6px 10px 5px; font-size: 12px; box-shadow: 3px 3px 0 var(--bf-pink); }
	.ls-h26-hero .ls-bf26__cta { gap: var(--ls-space-3); }
}

/* --------------------------------------------------------------------------
 * "Shop classic truck parts by era" tiles. The tile art is swapped for red
 * twins by inc/lsfab-bf26-tiles.php; this turns the parts count and the hover
 * rule on each tile from cyan / purple-to-cyan to the sale pink to match.
 * ----------------------------------------------------------------------- */
.ls-h26-era {
	--ls-cyan: #ff0044;
	--ls-gradient-brand: linear-gradient(90deg, #ff0044 0%, #ff3d6e 100%);
}
