/**
 * Black Friday 2026 campaign styles for the pricing page (BF40, 40% off).
 * Loaded only on /pricing/. Remove this file and its enqueue when the sale ends.
 */

/* Hero: dark campaign canvas. */
.wcr-bf-hero {
	background:
		radial-gradient(circle at 82% 18%, rgb(255 101 79 / 22%), transparent 42%),
		radial-gradient(circle at 8% 92%, rgb(128 198 166 / 12%), transparent 40%),
		var(--wcr-ink);
	border-bottom: 0;
	color: var(--wcr-white);
}

.wcr-bf-hero .wcr-price-hero__ring--one {
	border-color: rgb(255 255 255 / 10%);
}

.wcr-bf-hero .wcr-price-hero__ring--two {
	border-color: rgb(255 101 79 / 35%);
}

.wcr-bf-hero .wcr-price-eyebrow {
	background: rgb(255 101 79 / 14%);
	border: 1px solid rgb(255 101 79 / 40%);
	border-radius: 999px;
	color: #ff8a78;
	padding: 8px 14px;
}

.wcr-bf-hero .wcr-price-eyebrow span {
	animation: wcr-bf-pulse 1.8s ease-in-out infinite;
	box-shadow: 0 0 0 0 rgb(255 101 79 / 55%);
}

.wcr-bf-hero h1 {
	color: var(--wcr-white);
}

.wcr-bf-hero h1 em {
	color: #ff7a66;
	white-space: nowrap;
}

.wcr-bf-hero .wcr-price-hero__copy > p:last-of-type {
	color: rgb(255 255 255 / 72%);
}

.wcr-bf-hero .wcr-price-text-link {
	color: #ff8a78;
}

.wcr-bf-hero .wcr-price-trust {
	color: rgb(255 255 255 / 70%);
}

.wcr-bf-hero .wcr-price-trust svg {
	background: rgb(255 101 79 / 18%);
	color: #ff8a78;
}

.wcr-bf-hero .wcr-price-review-card,
.wcr-bf-hero .wcr-price-float {
	color: var(--wcr-ink);
}

/* Coupon ticket. */
.wcr-bf-coupon {
	align-items: stretch;
	background: rgb(255 255 255 / 5%);
	border: 1.5px dashed rgb(255 138 120 / 70%);
	border-radius: 8px;
	display: inline-flex;
	margin-top: 28px;
	overflow: hidden;
}

.wcr-bf-coupon__code {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px 22px;
}

.wcr-bf-coupon__code small {
	color: rgb(255 255 255 / 60%);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.wcr-bf-coupon__code strong {
	color: var(--wcr-white);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 26px;
	letter-spacing: 0.16em;
	line-height: 1.2;
}

.wcr-bf-coupon__copy {
	background: var(--wcr-coral);
	border: 0;
	border-left: 1.5px dashed rgb(23 32 30 / 35%);
	color: var(--wcr-white);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	min-height: 48px;
	min-width: 118px;
	padding: 0 20px;
	transition: background-color 200ms ease;
}

.wcr-bf-coupon__copy:hover,
.wcr-bf-coupon__copy.is-copied {
	background: #f0503d;
}

.wcr-bf-coupon__copy:focus-visible {
	outline: 3px solid var(--wcr-white);
	outline-offset: -5px;
}

/* "40% off" sticker over the review card. */
.wcr-bf-sticker {
	align-items: center;
	animation: wcr-bf-wobble 6s ease-in-out infinite;
	background: var(--wcr-coral);
	border-radius: 50%;
	box-shadow: 0 18px 40px rgb(255 101 79 / 35%), inset 0 0 0 6px rgb(255 255 255 / 18%);
	color: var(--wcr-white);
	display: flex;
	flex-direction: column;
	bottom: 96px;
	height: 132px;
	justify-content: center;
	position: absolute;
	right: -22px;
	transform: rotate(-12deg);
	width: 132px;
	z-index: 3;
}

.wcr-bf-sticker strong {
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.wcr-bf-sticker span {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Plan cards: was / now pricing. */
.wcr-price-card__was {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 24px 0 0;
}

.wcr-price-card__was s {
	color: var(--wcr-muted);
	font-size: 17px;
	font-weight: 600;
	text-decoration-color: var(--wcr-coral);
	text-decoration-thickness: 2px;
}

.wcr-price-card__off {
	background: var(--wcr-ink);
	border-radius: 999px;
	color: var(--wcr-white);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 5px 10px;
	text-transform: uppercase;
}

.wcr-price-card--featured .wcr-price-card__off {
	background: var(--wcr-coral);
}

.wcr-price-card__was + .wcr-price-card__price {
	margin-top: 8px;
}

.wcr-price-card__price sup {
	font-size: 22px;
	letter-spacing: -0.02em;
	margin-left: 1px;
	vertical-align: 1.05em;
}

.wcr-price-card__save {
	color: #2f7d5b;
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 12px;
}

/* Closing CTA. */
.wcr-bf-cta {
	background:
		radial-gradient(circle at 90% 10%, rgb(255 101 79 / 35%), transparent 45%),
		var(--wcr-ink);
}

.wcr-bf-cta .wcr-price-kicker {
	color: #ff8a78;
}

.wcr-bf-cta > div:last-child > span {
	color: rgb(255 255 255 / 75%);
	font-size: 12px;
}

.wcr-bf-cta > div:last-child > span strong {
	color: var(--wcr-white);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.1em;
}

@keyframes wcr-bf-pulse {
	0% { box-shadow: 0 0 0 0 rgb(255 101 79 / 55%); }
	70% { box-shadow: 0 0 0 9px rgb(255 101 79 / 0%); }
	100% { box-shadow: 0 0 0 0 rgb(255 101 79 / 0%); }
}

@keyframes wcr-bf-wobble {
	0%, 100% { transform: rotate(-12deg); }
	50% { transform: rotate(-6deg) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
	.wcr-bf-hero .wcr-price-eyebrow span,
	.wcr-bf-sticker {
		animation: none;
	}
}

@media (max-width: 900px) {
	.wcr-bf-sticker {
		right: 4%;
	}
}

@media (max-width: 600px) {
	.wcr-bf-hero h1 em {
		white-space: normal;
	}

	.wcr-bf-coupon {
		display: flex;
		width: 100%;
	}

	.wcr-bf-coupon__code {
		flex: 1;
		text-align: left;
	}

	.wcr-bf-sticker {
		bottom: 70px;
		height: 96px;
		right: -4px;
		width: 96px;
	}

	.wcr-bf-sticker strong {
		font-size: 29px;
	}

	.wcr-bf-sticker span {
		font-size: 10px;
	}
}

/* Sale countdown (pricing hero, CTA and the Black Friday post). */
.wcr-bf-countdown {
	margin-top: 22px;
}

.wcr-bf-countdown__label {
	color: rgb(255 255 255 / 62%);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.wcr-bf-countdown__units {
	display: flex;
	gap: 8px;
}

.wcr-bf-countdown__units[hidden] {
	display: none;
}

.wcr-bf-countdown__units > span {
	align-items: center;
	background: rgb(255 255 255 / 6%);
	border: 1px solid rgb(255 255 255 / 12%);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	min-width: 66px;
	padding: 10px 8px 8px;
}

.wcr-bf-countdown__units b {
	color: var(--wcr-white, #fff);
	font-size: 28px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.wcr-bf-countdown__units small {
	color: rgb(255 255 255 / 58%);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-top: 6px;
	text-transform: uppercase;
}

.wcr-bf-countdown__ended {
	color: #ff8a78;
	font-size: 15px;
	font-weight: 700;
	margin: 0;
}

/* Standalone dark card version, used inside blog posts. */
.wcr-bf-countdown--card {
	align-items: center;
	background:
		radial-gradient(circle at 92% 10%, rgb(255 101 79 / 30%), transparent 45%),
		#17201e;
	border-radius: 10px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	justify-content: space-between;
	margin: 32px 0;
	padding: 26px 28px;
}

.wcr-bf-countdown--card .wcr-bf-countdown__label {
	margin-bottom: 12px;
}

.wcr-bf-countdown--card .wcr-bf-countdown__code {
	color: #fff;
	font-size: 15px;
	margin: 0;
}

.wcr-bf-countdown--card .wcr-bf-countdown__code strong {
	color: #ff8a78;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.1em;
}

.wcr-bf-countdown--card a.wcr-bf-countdown__cta {
	background: #ff654f;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	margin-top: 12px;
	padding: 12px 20px;
	text-decoration: none;
}

.wcr-bf-countdown--card a.wcr-bf-countdown__cta:hover {
	background: #f0503d;
}

.wcr-bf-countdown--card.is-ended .wcr-bf-countdown__cta,
.wcr-bf-countdown--card.is-ended .wcr-bf-countdown__code {
	display: none;
}

@media (max-width: 900px) {
	.wcr-bf-hero .wcr-bf-countdown__units {
		justify-content: center;
	}
}

@media (max-width: 600px) {
	.wcr-bf-countdown__units > span {
		flex: 1;
		min-width: 0;
	}

	.wcr-bf-countdown__units b {
		font-size: 24px;
	}
}
