/* Fixed Black Friday / Cyber Monday top promo bar */

:root {
	--bfcm-top-banner-height: 0px;
}

body.has-bfcm-top-banner .main-navbar {
	top: var(--bfcm-top-banner-height, 0px);
}

.bfcm-top-banner-spacer {
	display: block;
	height: 0;
	overflow: hidden;
	pointer-events: none;
}

.bfcm-top-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1041;
	background: linear-gradient(90deg, #0b0b0f 0%, #14141c 42%, #1a1224 100%);
	color: #f8fafc;
	border-bottom: 1px solid rgba(251, 191, 36, 0.35);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.bfcm-top-banner::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(251, 191, 36, 0) 0%,
		rgba(251, 191, 36, 0.12) 50%,
		rgba(251, 191, 36, 0) 100%
	);
	opacity: 0.65;
}

.bfcm-top-banner-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem 1rem;
	padding: 0.55rem 1rem 0.6rem;
	max-width: 100%;
}

@media (min-width: 992px) {
	.bfcm-top-banner-inner {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		flex-wrap: nowrap;
	}
}

@media (min-width: 1200px) {
	.bfcm-top-banner-inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.bfcm-top-banner-lead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	min-width: 0;
	flex: 1 1 auto;
}

.bfcm-top-banner-event {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #0b0b0f;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	white-space: nowrap;
}

.bfcm-top-banner-headline {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: #e2e8f0;
	white-space: nowrap;
}

.bfcm-top-banner-headline strong {
	color: #fef3c7;
	font-weight: 700;
}

.bfcm-top-banner-headline-muted {
	color: #94a3b8;
	font-weight: 500;
}

.bfcm-top-banner-price {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	white-space: nowrap;
}

.bfcm-top-banner-was {
	color: #94a3b8;
	font-size: 0.8125rem;
}

.bfcm-top-banner-now {
	color: #fef08a;
	font-size: 1rem;
	font-weight: 700;
}

.bfcm-top-banner-term {
	color: #cbd5e1;
	font-size: 0.75rem;
}

.bfcm-top-banner-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem 0.65rem;
	flex-shrink: 0;
}

.bfcm-top-banner-promo {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.bfcm-top-banner-promo-label {
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
	font-weight: 600;
}

.bfcm-top-banner-promo-row {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.2rem 0.35rem 0.2rem 0.55rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(251, 191, 36, 0.25);
}

.bfcm-top-banner-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.75rem;
	font-weight: 700;
	color: #fef3c7;
	letter-spacing: 0.04em;
}

.bfcm-top-banner-copy {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.2rem 0.45rem;
	border: none;
	border-radius: 6px;
	background: rgba(251, 191, 36, 0.15);
	color: #fde68a;
	font-size: 0.6875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.bfcm-top-banner-copy:hover {
	background: rgba(251, 191, 36, 0.28);
	color: #fffbeb;
}

.bfcm-top-banner-copy.copied {
	background: rgba(34, 197, 94, 0.25);
	color: #bbf7d0;
}

.bfcm-top-banner-plans {
	align-items: center;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #cbd5e1;
	text-decoration: none;
	padding: 0.35rem 0.5rem;
	border-radius: 8px;
	transition: color 0.2s ease, background 0.2s ease;
}

.bfcm-top-banner-plans:hover {
	color: #fef3c7;
	background: rgba(255, 255, 255, 0.06);
}

.bfcm-top-banner-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.85rem;
	border: none;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0b0b0f;
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bfcm-top-banner-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.bfcm-top-banner-cta i {
	font-size: 0.95rem;
}

@media (max-width: 575.98px) {
	.bfcm-top-banner-inner {
		justify-content: center;
		text-align: center;
	}

	.bfcm-top-banner-lead {
		justify-content: center;
	}

	.bfcm-top-banner-actions {
		width: 100%;
		justify-content: center;
	}

	.bfcm-top-banner-headline {
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bfcm-top-banner-cta,
	.bfcm-top-banner-copy,
	.bfcm-top-banner-plans {
		transition: none;
	}

	.bfcm-top-banner-cta:hover {
		transform: none;
	}
}