/* The campaign popup's offer button (GitHub issue 143), placed on the image itself. */
.popup .popup-offer
{
	position:relative;
}

/*
 * Keep the close "x" (20px above the image) on screen: the popup is #main's last child, so the
 * theme gives it 70px of bottom padding on top of its 20px. 130px = 20 + 70 padding, 40 for the "x".
 */
.popup .popup-offer img
{
	display:block;
	max-height:calc(100dvh - 130px) !important;
}

.popup .popup-offer-button
{
	position:absolute;
	left:50%;
	bottom:28px;
	transform:translateX(-50%);
	padding:16px 40px;
	border:3px solid #fff;
	border-radius:40px;
	background:rgb(208,49,76);
	box-shadow:0px 8px 24px rgba(0,0,0,0.45);
	color:#fff;
	font-family:Montserrat,"Montserrat Fallback",sans-serif;
	font-size:22px;
	font-weight:700;
	line-height:1.15;
	letter-spacing:0.02em;
	text-transform:uppercase;
	white-space:nowrap;
	cursor:pointer;
	animation:popup-offer-pulse 1.8s ease-in-out infinite;
}

.popup .popup-offer-button:hover:not(:disabled)
{
	background:rgb(180,40,65);
	animation:none;
}

.popup .popup-offer-button:disabled
{
	background:#242333;
	cursor:default;
	animation:none;
}

.popup .popup-offer-button[hidden]
{
	display:none;
}

@keyframes popup-offer-pulse
{
	0%, 100% { transform:translateX(-50%) scale(1); }
	50% { transform:translateX(-50%) scale(1.06); }
}

@media (prefers-reduced-motion:reduce)
{
	.popup .popup-offer-button
	{
		animation:none;
	}
}

@media screen and (max-width:991.98px)
{
	.popup .popup-offer-button
	{
		bottom:16px;
		padding:12px 26px;
		border-width:2px;
		font-size:17px;
	}
}
