/* Plugin Republic Black Friday */

/* Banner */
/* The image is 1300px max; either side is filled to match its background and red bottom stripe (15/240 of its height) */
.prbf-banner {
	background: linear-gradient(to top, #ff5939 7.5px, #16101e 7.5px);
	line-height: 0;
	text-align: center;
}
.prbf-banner img {
	display: block;
	width: 100%;
	max-width: 1300px;
	height: auto;
	margin: 0 auto;
}

/* Was / now prices and the saving flash */
.pr-sale-was {
	color: #6b7590;
	font-weight: 400;
	text-decoration: line-through;
	text-decoration-color: rgba(255, 0, 0, 0.6);
}
.pr-sale-now {
	text-decoration: none;
	background: none;
	font-weight: 700;
}
.pr-sale-flash {
	display: inline-block;
	padding: 0.1em 0.6em;
	border-radius: 2rem;
	background: #fe583e;
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	vertical-align: 0.1em;
}

/* Product page pricing table */
.price-section-price .pr-sale-flash {
	margin: 0.5rem 0;
	font-size: 0.9rem;
}

/* Price ranges on cards can wrap onto two lines */
.plugin-price .pr-sale-flash {
	margin-left: 0.25em;
}

/* Checkout: tier switcher flash */
.pr-tier-flash {
	background: #fe583e;
}
.pr-tier-intro {
	color: #fe583e;
}

/* The biggest saving's flash pulses, except on product cards where a grid of them would be too busy */
.prbf-flash-top {
	animation: prbf-pulse 2s ease-out infinite;
}
.plugin-price .prbf-flash-top {
	animation: none;
}
@keyframes prbf-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(254, 88, 62, 0.6); }
	70%  { box-shadow: 0 0 0 8px rgba(254, 88, 62, 0); }
	100% { box-shadow: 0 0 0 0 rgba(254, 88, 62, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.prbf-flash-top {
		animation: none;
	}
}

/* Account licence upgrades: the flash and prices sit on the right of the column */
.prbf-upgrade-cost {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25em;
}
.prbf-upgrade-cost-prices {
	margin-left: auto;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
/* Fixed widths so the flash and prices line up in columns across rows */
.prbf-upgrade-cost-prices .pr-sale-flash {
	min-width: 6.5em;
	text-align: center;
}
.prbf-upgrade-cost-prices .pr-sale-was,
.prbf-upgrade-cost-prices .pr-sale-now {
	display: inline-block;
	min-width: 3.5em;
	text-align: right;
}

/* Bundle cross-sell */
.pr-bundle-upgrade-price-amount .pr-sale-flash {
	margin-left: 0.25em;
}
