/* Black Friday look (inc/black-friday.php). Loaded only while the sale runs.
 * Same language as the Black Friday ads: black, white, cyan. */

.bm-bf {
	--bf-cyan: #3fd0e6;
}

/* ---------- Top strip: black ---------- */
.bm-bf .bm-fstrip {
	background: #000;
}
.bm-bf .bm-fstrip__grid {
	opacity: .55;
}
.bm-bf .bm-fstrip__big {
	color: #fff;
}
.bm-bf .bm-fstrip__sub {
	color: var(--bf-cyan);
}

/* ---------- Homepage hero ---------- */
.bm-bfh {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60% 80% at 78% 55%, rgba(63, 208, 230, .16) 0%, rgba(63, 208, 230, 0) 60%),
		linear-gradient(180deg, #000 0%, #05080b 100%);
	color: #fff;
}
.bm-bfh::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(63, 208, 230, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(63, 208, 230, .05) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(70% 90% at 70% 50%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 90% at 70% 50%, #000 0%, transparent 75%);
	pointer-events: none;
}
.bm-bfh__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 24px;
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(40px, 6vw, 72px);
}
.bm-bfh__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-family: var(--bm-mono);
	font-size: 13px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--bf-cyan);
}
.bm-bfh__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e5484d;
	box-shadow: 0 0 0 4px rgba(229, 72, 77, .22);
	animation: bm-bf-pulse 1.6s ease-in-out infinite;
}
@keyframes bm-bf-pulse {
	50% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); }
}
.bm-bfh__title {
	margin: 0 0 16px;
	line-height: .95;
}
.bm-bfh__bf {
	display: block;
	font-size: clamp(54px, 8.4vw, 112px);
	font-weight: 700;
	letter-spacing: -.035em;
	text-transform: uppercase;
	color: #fff;
}
.bm-bfh__deal {
	display: block;
	margin-top: 12px;
	font-size: clamp(30px, 4.2vw, 50px);
	font-weight: 700;
	letter-spacing: -.02em;
	color: #fff;
}
.bm-bfh__deal em {
	font-style: normal;
	color: var(--bf-cyan);
}
.bm-bfh__body {
	max-width: 520px;
	margin: 0 0 22px;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .72);
}
.bm-bfh__deals {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}
.bm-bfh__deals li {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 140px;
	padding: 11px 14px;
	border: 1px solid rgba(63, 208, 230, .28);
	border-radius: 12px;
	background: rgba(63, 208, 230, .06);
}
.bm-bfh__deals b {
	font-family: var(--bm-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
.bm-bfh__deals span {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}
.bm-bfh__deals li:first-child {
	border-color: var(--bf-cyan);
	background: rgba(63, 208, 230, .14);
}
.bm-bfh__deals li:first-child span {
	color: var(--bf-cyan);
}
.bm-bfh__count {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
}
.bm-bfh__endsin {
	margin-right: 6px;
	font-family: var(--bm-mono);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
.bm-bfh__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
	padding: 8px 6px 6px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 10px;
	background: rgba(255, 255, 255, .05);
}
.bm-bfh__cell b {
	font-family: var(--bm-mono);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.bm-bfh__cell small {
	margin-top: 4px;
	font-family: var(--bm-mono);
	font-size: 9.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}
.bm-bfh__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}
.bm-bfh__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 26px;
	border: 1px solid var(--bf-cyan);
	border-radius: 999px;
	background: var(--bf-cyan);
	color: #021016;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.bm-bfh__btn:hover {
	background: #fff;
	border-color: #fff;
	color: #000;
	transform: translateY(-1px);
}
.bm-bfh__btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .35);
	color: #fff;
}
.bm-bfh__btn--ghost:hover {
	background: #fff;
	color: #000;
}
.bm-bfh__fine {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .5);
}
.bm-bfh__fine a {
	color: rgba(255, 255, 255, .78);
	text-decoration: underline;
}
.bm-bfh__art {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}
.bm-bfh__art img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 600px;
	height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.bm-bfh__glow {
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: 4%;
	height: 18%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(63, 208, 230, .45), rgba(63, 208, 230, 0));
	filter: blur(6px);
}
.bm-bfh__tag {
	position: absolute;
	z-index: 2;
	top: 6%;
	right: 4%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	background: var(--bf-cyan);
	color: #021016;
	text-align: center;
	transform: rotate(-10deg);
	box-shadow: 0 14px 30px -10px rgba(63, 208, 230, .6);
}
.bm-bfh__tag b {
	font-size: 46px;
	font-weight: 700;
	line-height: .9;
}
.bm-bfh__tag small {
	max-width: 84px;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
}

/* ---------- Homepage: Black Friday deals card ---------- */
.bm-hdeal__card--bf {
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(63, 208, 230, .22) 0%, rgba(63, 208, 230, 0) 55%),
		#000;
	border-color: #000;
}
.bm-hdeal__card--bf .bm-hdeal__tier {
	padding: 0;
}
.bm-hdeal__tierlink {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 14px 14px 13px;
	color: inherit;
	text-decoration: none;
	border-radius: 12px;
	transition: background .15s;
}
.bm-hdeal__tierlink:hover {
	background: rgba(63, 208, 230, .1);
	color: inherit;
}
.bm-hdeal__card--bf .bm-hdeal__off {
	font-size: 19px;
}

/* ---------- Product cards: the offer chip in cyan ---------- */
.bm-bf .bm-gcard__deal {
	background: #000;
	color: var(--bf-cyan);
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
	.bm-bfh__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		padding-top: 30px;
	}
	.bm-bfh__art {
		order: -1;
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
	}
	.bm-bfh__tag {
		width: 92px;
		height: 92px;
		top: 2%;
		right: 0;
	}
	.bm-bfh__tag b {
		font-size: 36px;
	}
	.bm-bfh__tag small {
		font-size: 9.5px;
	}
	.bm-bfh__copy {
		text-align: center;
	}
	.bm-bfh__kicker,
	.bm-bfh__deals,
	.bm-bfh__count,
	.bm-bfh__ctas {
		justify-content: center;
	}
	.bm-bfh__body {
		margin-left: auto;
		margin-right: auto;
	}
	.bm-bfh__deals li {
		min-width: 0;
		flex: 1 1 0;
		padding: 9px 8px;
		text-align: center;
	}
	.bm-bfh__deals b {
		font-size: 9.5px;
	}
	.bm-bfh__deals span {
		font-size: 14px;
	}
	.bm-bfh__endsin {
		display: none;
	}
	.bm-bfh__cell {
		min-width: 52px;
	}
	.bm-bfh__btn {
		flex: 1 1 100%;
		justify-content: center;
	}
	.bm-hdeal__card--bf .bm-hdeal__off {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bm-bfh__dot {
		animation: none;
	}
}
