/* ==========================================================================
 * Black Friday 2026: the sale skin on the pages the home hero and the catalog
 * skin do not reach (cart, checkout, account, product, search, content pages).
 * Loaded by inc/lsfab-bf26-site.php only while the sale skin is on
 * (lsfab_bf26_hero_on), so it stops loading by itself on Dec 1 and style.css,
 * site.css and woocommerce.css are untouched.
 *
 * Three pieces:
 *   1. The brand accent. Every purple-to-cyan line and cyan label on the
 *      storefront reads three variables; they turn pink here, so a page is
 *      never half pink and half blue.
 *   2. The title band (.ls-page-hero) on every page that is not a product
 *      listing gets the same speckled band and pink tape the listings have
 *      (css/bf26-archive.css keeps doing the listings).
 *   3. The "Black Friday price" line under the price on a marked-down product
 *      page (markup from inc/lsfab-bf26-site.php).
 *
 * Kit: pink #FF0044 is the one accent, speckled #171717, the pink tape.
 * ======================================================================= */

/* ---- 1. Accent ----------------------------------------------------------- */
body:not(.lsfab-dash) {
	--ls-purple: #ff0044;
	--ls-purple-hover: #d6003a;
	--ls-cyan: #ff0044;
	--ls-gradient-brand: linear-gradient(90deg, #ff0044 0%, #ff3d6e 100%);
}

/* ---- 2. Title band on cart, checkout, account and content pages ---------- */
body:not(.ls-archive).et-db #et-boc .et-l .ls-page-hero.et_pb_section.et_pb_section.et_pb_section,
body:not(.ls-archive).et-db .ls-page-hero.et_pb_section.et_pb_section.et_pb_section {
	padding-bottom: calc(var(--ls-section-sm) + 10px) !important;
	overflow: hidden;
	box-shadow: none;
	background-color: #171717 !important;
	background-image:
		radial-gradient(900px 420px at 6% 0%, rgba(255, 0, 68, .34) 0%, rgba(255, 0, 68, 0) 62%),
		radial-gradient(760px 420px at 100% 100%, rgba(255, 0, 68, .16) 0%, rgba(255, 0, 68, 0) 60%),
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 26px),
		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") !important;
	background-size: auto !important;
	background-position: 0 0 !important;
	background-repeat: repeat !important;
	background-blend-mode: normal !important;
}

body:not(.ls-archive) .ls-page-hero .et_pb_text:first-of-type .et_pb_text_inner::before {
	font-family: var(--ls-font-display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .2em;
	color: #ff0044;
}

body:not(.ls-archive) .ls-page-hero::after {
	content: "Up to 20% off everything we make  ///  No codes. No games.  ///  Every LS Fabrication part is marked down  ///  Ends Cyber Monday, Nov 30  ///  Up to 20% off everything we make  ///  No codes. No games.  ///  Every LS Fabrication part is marked down  ///  Ends Cyber Monday, Nov 30  ///  Up to 20% off everything we make  ///  No codes. No games.  ///  Every LS Fabrication part is marked down  ///  Ends Cyber Monday, Nov 30  ///  Up to 20% off everything we make  ///  No codes. No games.  ///  Every LS Fabrication part is marked down  ///  Ends Cyber Monday, Nov 30  ///  Up to 20% off everything we make  ///  No codes. No games.  ///  Every LS Fabrication part is marked down  ///  Ends Cyber Monday, Nov 30  ///  Up to 20% off everything we make  ///  No codes. No games.  ///  Every LS Fabrication part is marked down  ///  Ends Cyber Monday, Nov 30  ///  ";
	left: 0;
	right: auto;
	bottom: 0;
	width: max-content;
	height: auto;
	padding: 7px 0 6px;
	background: #ff0044;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 0 34px -6px rgba(255, 0, 68, .9);
	color: #111;
	font-family: var(--ls-font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: pre;
	animation: lsbf26SiteTape 80s linear infinite;
}
@keyframes lsbf26SiteTape {
	to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
	body:not(.ls-archive).et-db #et-boc .et-l .ls-page-hero.et_pb_section.et_pb_section.et_pb_section,
	body:not(.ls-archive).et-db .ls-page-hero.et_pb_section.et_pb_section.et_pb_section {
		padding-bottom: calc(var(--ls-section-sm) + 8px) !important;
	}
	body:not(.ls-archive) .ls-page-hero::after { padding: 6px 0 5px; font-size: 13px; }
}

/* ---- 3. "Black Friday price" line under the product price ---------------- */
.ls-bf26-pline,
.et-db #et-boc .et-l .ls-bf26-pline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 2px 0 16px !important;
	padding: 0 0 0 4px !important;
	color: #b4b4b4;
	font-size: 13px;
	line-height: 1.3;
}
.ls-bf26-pline__tag,
.et-db #et-boc .et-l .ls-bf26-pline__tag {
	display: inline-block;
	padding: 6px 11px 5px;
	background: #ff0044;
	box-shadow: 3px 3px 0 #000;
	color: #fff;
	font-family: var(--ls-font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	transform: skewX(-10deg);
}
.ls-bf26-pline__tag > span { display: inline-block; transform: skewX(10deg); }
.ls-bf26-pline__txt b,
.et-db #et-boc .et-l .ls-bf26-pline__txt b { color: #fff; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
	body:not(.ls-archive) .ls-page-hero::after { animation: none; }
}
