.bf-popup[hidden] {
	display: none !important;
}

.bf-popup {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .45);
}

.bf-popup__box {
	position: relative;
	width: 620px;
	max-width: 100%;
	line-height: 0;
	animation: bf-popup-in .25s ease-out both;
}

.bf-popup__img {
	display: block;
	width: 100%;
	height: auto;
}

.bf-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 0;
	color: #fff;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	border: 0;
	border-radius: 50%;
	background: #1e1e1e;
}

.bf-popup__close:hover {
	background: #333;
}

.bf-popup__cta {
	position: absolute;
	top: 77.2%;
	left: 20.5%;
	z-index: 1;
	display: block;
	width: 59.2%;
	height: 11.9%;
	font-size: 0;
	text-decoration: none;
	border-radius: 20px;
	background: url('/static/img/activity/black-friday-2026/bf-cta-button.png') center center / 100% 100% no-repeat;
	overflow: hidden;
	transition: filter .2s;
}

.bf-popup__cta:hover {
	filter: brightness(1.05);
}

.bf-popup__cta::before {
	position: absolute;
	top: 0;
	left: -60%;
	width: 50%;
	height: 100%;
	content: '';
	pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-25deg);
	animation: bf-cta-shine 2s ease-in-out infinite;
}

@keyframes bf-cta-shine {
	0% {
		left: -60%;
	}
	45% {
		left: 140%;
	}
	100% {
		left: 140%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bf-popup__cta::before {
		animation: none;
		display: none;
	}
}

.bf-popup__close:focus-visible,
.bf-popup__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@keyframes bf-popup-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 480px) {
	.bf-popup {
		padding: 12px;
	}

	.bf-popup__close {
		top: 8px;
		right: 8px;
		width: 28px;
		height: 28px;
		font-size: 18px;
		line-height: 28px;
	}
}
