/* 3A Labz Upgrades — frontend styles.
 * Every selector is scoped to a .labz- class. No global element selectors,
 * no theme overrides, no Elementor conflicts by design.
 *
 * FLOW (Hello Elementor, 3alabz.shop): both banners are in normal
 * document flow — static, no fixed positioning, no body
 * padding, no header offset, no main-content margin override. The top bar is
 * printed first at wp_body_open, the Black Friday banner is printed
 * right after it and the JS moves it below the header element. The
 * site's existing blue contact bar is part of the header and is left
 * completely untouched. */

/* ---------- Top announcement bar (like 6alabs.com) ---------- */
.labz-topbar {
	background: #000;
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
}
.labz-topbar__track {
	display: inline-flex;
	animation: labz-marquee 30s linear infinite;
}
.labz-topbar__item {
	display: inline-block;
	padding: 8px 0;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-family: inherit;
}
.labz-topbar__item + .labz-topbar__item {
	padding-left: 3rem;
}
@keyframes labz-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.labz-topbar__track { animation: none; }
}

/* ---------- Black Friday banner ---------- */
/* .labz-bf--global is only a marker for the JS that moves the global
 * copy below the header. It carries NO offset, margin or positioning
 * of its own — the banner sits in normal flow wherever it lands. */
.labz-bf {
	/* 3A Labz brand: black with electric-blue diagonal stripes.
	 * Was bright red like 6alabs.com; changed 2026-11-24 to follow the
	 * client's own black + blue brand (site header + promo image). */
	background-color: #000;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(0, 102, 255, 0.22) 0,
		rgba(0, 102, 255, 0.22) 18px,
		transparent 18px,
		transparent 36px
	);
	color: #fff;
	width: 100%;
	text-align: center;
	padding: 18px 16px;
	box-sizing: border-box;
}
.labz-bf__link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.labz-bf__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
	max-width: 1200px;
	margin: 0 auto;
}
.labz-bf__title {
	font-size: 30px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.labz-bf__badge {
	/* Electric blue on the black brand banner (was black on red). */
	background: #0066ff;
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	letter-spacing: 0.03em;
	padding: 8px 14px;
	border-radius: 4px;
	white-space: nowrap;
}
.labz-bf__badge-gold {
	color: #f5c518;
}
.labz-bf__sub {
	font-size: 14px;
	opacity: 0.95;
}
.labz-bf__code {
	background: #f5c518;
	color: #000;
	font-weight: 800;
	font-size: 16px;
	letter-spacing: 0.05em;
	padding: 5px 12px;
	border-radius: 4px;
	white-space: nowrap;
}
.labz-bf__countdown {
	display: inline-flex;
	gap: 8px;
}
.labz-bf__time {
	/* Dark navy box with a blue edge so it reads on the black banner
	 * (was plain black on the old red banner). */
	background: #0d1b2e;
	border: 1px solid #0066ff;
	color: #fff;
	border-radius: 4px;
	padding: 6px 8px;
	min-width: 52px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.1;
}
.labz-bf__num {
	font-size: 18px;
	font-weight: 800;
}
.labz-bf__label {
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f5c518;
}
@media (max-width: 600px) {
	.labz-bf__title { font-size: 22px; }
	.labz-bf__badge { font-size: 14px; }
}
