/**
Variables
*/

:root {
	--font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/**
Common styles
*/

.wcp-bonus-offers {
	margin-left: 10px;
	position: relative;

	@media screen and (max-width: 1200px) {
		margin-right: 10px;
	}
}

/* Disable page scroll */
body.no-scroll {
	overflow: hidden;
	touch-action: pan-x;
}

/* Fade-in animation effect */
@keyframes fadein {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes fadeout {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/**
Notification icon
*/

.wcp-bonus-offers__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
	position: relative;
}

.wcp-bonus-offers__icon img {
	max-width: 40px;
	max-height: 40px;
	height: auto;
}

.wcp-bonus-offers__icon .wcp-bonus-offers__offers-number {
	width: 16px;
	height: 16px;
	top: 5px;
	right: 6px;
}

/* Hide icon when the popup is active */
.header.is-active .wcp-bonus-offers__icon {
	z-index: -1;
}

.wcp-bonus-offers__offers-number {
	display: flex;
	align-items: center;
	justify-content: center;
	font: 900 14px/12px var(--font-family-base);
	color: #fff;
	background-color: #FF4F4C;
	border-radius: 50%;
	position: absolute;
}

/**
Popup
*/

.wcp-bonus-offers {
	font-family: var(--font-family-base);
	order: 1;
}

.wcp-bonus-offers__content {
	display: none;
	width: 390px;
	background: #157E70;
	background: linear-gradient(0deg, #157E70 0%, #59B95D 100%);
	border-radius: 20px;
	position: absolute;
	top: 45px;
	right: 0;
	animation: fadeout ease .3s;
}

.wcp-bonus-offers.active .wcp-bonus-offers__content {
	display: block;
	animation: fadein ease .3s;
}

@media screen and (max-width: 768px) {
	.wcp-bonus-offers__content {
		max-height: calc(100vh - 70px);
		overflow-y: auto;
	}
}

@media screen and (max-width: 576px) {
	.wcp-bonus-offers__content {
		width: 100%;
		position: fixed;
		top: auto;
		bottom: 0;
		border-radius: 20px 20px 0 0;
		z-index: 100000;
	}
}

.wcp-bonus-offers__heading {
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
	color: #fff;
	padding: 12px 15px 15px;
	margin-right: 25px;
}

.wcp-bonus-offers__subheading {
	font-size: 16px;
	font-weight: bold;
	line-height: 25px;
	color: #fff;
	margin-bottom: 10px;
}

.wcp-bonus-offers__list {
	padding: 0 15px 15px;
}

.wcp-bonus-offers-item {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 70px;
	background-color: #fff;
	border-radius: 15px;
	padding: 0 5px;
	overflow: hidden;
}

.wcp-bonus-offers-item + .wcp-bonus-offers-item {
	margin-top: 10px;
}

.wcp-bonus-offers-item__col:nth-child(1) {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 25%;
	align-self: stretch;
	position: relative;
}

.wcp-bonus-offers-item__col:nth-child(2) {
	flex-grow: 1;
}

.wcp-bonus-offers-item__col:nth-child(3) {
	flex: 0 0 30%;
}

.wcp-bonus-offers-item__logo {
	display: block;
	width: 100%;
	height: auto;
	max-width: 50px;
}

.wcp-bonus-offers-item__label {
	display: flex;
	align-items: center;
	height: 15px;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	background-color: #FF4F4C;
	border-radius: 10px;
	padding: 0 5px;
	position: absolute;
	top: 5px;
	left: 2px;
}

.wcp-bonus-offers-item__bonus {
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	color: #19191A;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}


/*
Bonus offers popup form
*/

.wcp-bonus-offers__form {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 0 0 20px 20px;
	padding: 15px;
}

.wcp-bonus-offers__form form {
	margin-bottom: 0;
}

.wcp-bonus-offers__form.loading {
	position: relative;
}

.wcp-bonus-offers__form.loading > * {
	opacity: .2;
}

.wcp-bonus-offers__form.loading:after {
	content: '';
	width: 100%;
	height: 100%;
	background: center no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='margin:auto;background:0 0' width='80' height='80' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' display='block'%3E%3Ccircle cx='84' cy='50' r='10' fill='%23e15b64'%3E%3Canimate attributeName='r' repeatCount='indefinite' dur='0.8333333333333334s' calcMode='spline' keyTimes='0;1' values='10;0' keySplines='0 0.5 0.5 1' begin='0s'/%3E%3Canimate attributeName='fill' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='discrete' keyTimes='0;0.25;0.5;0.75;1' values='%23e15b64;%23ffef00;%23f8b26a;%23f47e60;%23e15b64' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='10' fill='%23e15b64'%3E%3Canimate attributeName='r' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='0;0;10;10;10' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='0s'/%3E%3Canimate attributeName='cx' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='16;16;16;50;84' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='0s'/%3E%3C/circle%3E%3Ccircle cx='50' cy='50' r='10' fill='%23f47e60'%3E%3Canimate attributeName='r' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='0;0;10;10;10' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='-0.8333333333333334s'/%3E%3Canimate attributeName='cx' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='16;16;16;50;84' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='-0.8333333333333334s'/%3E%3C/circle%3E%3Ccircle cx='84' cy='50' r='10' fill='%23f8b26a'%3E%3Canimate attributeName='r' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='0;0;10;10;10' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='-1.6666666666666667s'/%3E%3Canimate attributeName='cx' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='16;16;16;50;84' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='-1.6666666666666667s'/%3E%3C/circle%3E%3Ccircle cx='16' cy='50' r='10' fill='%23ffef00'%3E%3Canimate attributeName='r' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='0;0;10;10;10' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='-2.5s'/%3E%3Canimate attributeName='cx' repeatCount='indefinite' dur='3.3333333333333335s' calcMode='spline' keyTimes='0;0.25;0.5;0.75;1' values='16;16;16;50;84' keySplines='0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1' begin='-2.5s'/%3E%3C/circle%3E%3C/svg%3E");
	position: absolute;
	top: 0;
	left: 0;
}

.wcp-bonus-offers__form input[name="subject"] {
	display: none;
}

@media screen and (max-width: 576px) {
	.wcp-bonus-offers__form {
		border-radius: 0;
	}
}

.wcp-bonus-offers__input {
	display: flex;
	background: #fff;
	border-radius: 15px;
	height: 50px;
	padding: 5px;
}

.wcp-bonus-offers__input input[type="email"],
.wcp-bonus-offers__input input[type="text"] {
	width: 100%;
	font-size: 14px;
	line-height: 20px;
	color: #19191A;
	background: none;
	border-radius: 0;
	height: auto;
	padding: 0;
	border: none;
	outline: none;
	margin: 0 10px;
	transition: none;
}

.wcp-bonus-offers__input input[type="email"]::placeholder,
.wcp-bonus-offers__input input[type="text"]::placeholder {
	color: #969799;
}

.wcp-bonus-offers__input input[type="email"]:hover,
.wcp-bonus-offers__input input[type="text"]:hover {
	box-shadow: none;
}

.wcp-bonus-offers__input button[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 98px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff !important;
	letter-spacing: normal;
	text-transform: none;
	background-color: #388C38;
	border-radius: 15px;
	border-width: 2px;
	border-style: solid;
	border-color: transparent;
	padding-left: 5px;
	padding-right: 5px;
	transition: all .35s ease;
}

.wcp-bonus-offers__input button[type="submit"]:hover {
	background-color: #FF4F4C;
	box-shadow: 0 2px 5px rgba(87, 98, 132, 0.25);
}

.wcp-bonus-offers__input button[type="submit"]:active {
	background-color: #FF8866 !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

.wcp-bonus-offers__input button[type="submit"]:focus {
	background-color: #388C38;
	border-color: #FFD710;
	box-shadow: none !important;
}

.wcp-bonus-offers__input button[type="submit"]:disabled {
	background-color: #D4D7D9;
}

.wcp-bonus-offers__input button[type="submit"].icon-send {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	text-indent: -10000px;
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.891 11.05l3.345 1.464 9.64-5.26-5.814 6.784 8.333 3.794a.97.97 0 001.356-.823l.969-14.535a.971.971 0 00-1.38-.942L.867 9.284a.97.97 0 00.024 1.765zm5.233 8.802l4.628-2.244-4.628-2.16v4.404z' fill='%23fff'/%3E%3C/svg%3E");
	background-position: center;
	background-size: 20px;
	background-repeat: no-repeat;
}

@media screen and (max-width: 576px) {
	.wcp-bonus-offers__input button[type="submit"],
	.wcp-bonus-offers__input button[type="submit"].icon-send {
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
		text-indent: -10000px;
		background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.891 11.05l3.345 1.464 9.64-5.26-5.814 6.784 8.333 3.794a.97.97 0 001.356-.823l.969-14.535a.971.971 0 00-1.38-.942L.867 9.284a.97.97 0 00.024 1.765zm5.233 8.802l4.628-2.244-4.628-2.16v4.404z' fill='%23fff'/%3E%3C/svg%3E");
		background-position: center;
		background-size: 20px;
		background-repeat: no-repeat;
	}
}

.wcp-bonus-offers-checkbox {
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
	vertical-align: middle;
	position: relative;
	margin-top: 10px;
	margin-bottom: 0;
}

.wcp-bonus-offers-checkbox input {
	width: 1px;
	height: 1px;
	position: absolute;
	top: 0;
	left: 10px;
	visibility: hidden;
}

.wcp-bonus-offers-checkbox input:checked ~ .wcp-bonus-offers-checkbox__mark {
	background-color: #388C38;
	border-color: #388C38;
}

.wcp-bonus-offers-checkbox input:checked ~ .wcp-bonus-offers-checkbox__mark:after {
	display: block;
}

.wcp-bonus-offers-checkbox__label {
	font-size: 12px;
	color: #8ab9b1;
	margin-left: 10px;
}

.wcp-bonus-offers-checkbox__label a {
	color: #8ab9b1;
	text-decoration: underline;
}

.wcp-bonus-offers-checkbox__label a:hover {
	color: #388C38;
}

.wcp-bonus-offers-checkbox__mark {
	width: 20px;
	flex: 0 0 20px;
	height: 20px;
	background-color: transparent;
	border: 1px solid #8ab9b1;
	border-radius: 5px;
	align-self: flex-start;
	position: relative;
	top: 0;
}

.wcp-bonus-offers-checkbox__mark:after {
	display: none;
	content: '';
	position: absolute;
	left: 5.5px;
	top: 1.5px;
	width: 7px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(40deg);
}

.wcp-bonus-offers-overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(10px);
	animation: fadein .3s;
}

.wcp-bonus-offers__close {
	width: 15px;
	height: 15px;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	position: absolute;
	top: 21px;
	right: 15px;
}

.wcp-bonus-offers__close svg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

@media screen and (max-width: 576px) {
	.wcp-bonus-offers__close {
		display: block;
	}
}

.wcp-bonus-offers__success {
	font-size: 14px;
	line-height: 20px;
	color: #fff;
}

.wcp-bonus-offers__success p {
	margin: 0;
}

.wcp-bonus-offers__success strong:first-of-type {
	display: inline-block;
	font-size: 16px;
	line-height: 25px;
	margin-bottom: 10px;
}

.wcp-bonus-offers__error {
	font-size: 12px;
	line-height: 15px;
	color: #FF0000;
	margin-top: 10px;
}

.wcp-bonus-offers__error--inline {
	border: 2px solid #FF0000;
}
