:root {
	--z-index: 0;
}

.banner-honey {
	width: 296px;
	padding: 28px 28px 40px 28px;
	border-radius: 32px;
	box-sizing: border-box;
	user-select: none;
	background: #e7474a url(bg.webp) 50% / cover no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: calc(1 + var(--z-index, -1));
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, -50%) scale(1.2);
	transition: transform .4s, visibility .4s, opacity .4s;
}

.banner-honey.loaded {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.banner-honey:before {
	content: "";
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	margin: -1px 0 0 -1px;
	border-radius: 32px;
	box-sizing: border-box;
	border: 11px solid rgba(255, 255, 255, .4);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.banner-honey__close {
	width: 36px;
	height: auto;
	border-radius: 50%;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	cursor: pointer !important;
	flex: 0 0 auto;
}

.banner-honey__trigger {
	max-width: 100%;
	height: 52px;
	margin-top: 24px;
	padding: 0 24px;
	font: 800 15px/52px Onest;
	color: #e84e0f;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	border-radius: 36px;
	box-sizing: border-box;
	background-color: #fff;
	flex: 0 0 auto;
}

.banner-honey__content {
	font-family: Onest;
	line-height: 1.4;
	color: #fff;
}

.banner-honey__content h3 {
	margin: 0;
	font-size: 24px;
}

.banner-honey__content h5 {
	margin: 8px 0 0;
	font-size: 20px;
}

.banner-honey__bee {
	width: 132px;
	pointer-events: none;
	position: absolute;
	bottom: -36px;
	right: -40px;
	z-index: 2;
}

.banner-honey__logo {
	width: 72%;
	max-width: 268px;
	height: auto;
	margin-bottom: 16px;
	pointer-events: none;
	display: block;
}

@media (min-width: 480px) {
	.banner-honey {
		width: 456px;
		padding: 36px 36px 44px 36px;
		border-radius: 48px;
	}

	.banner-honey:before {
		border-radius: 48px;
		border: 13px solid rgba(255, 255, 255, .4);
	}

	.banner-honey__content h3 {
		font-size: 28px;
	}

	.banner-honey__content h5 {
		font-size: 24px;
	}
	
	.banner-honey__bee {
		width: 180px;
		right: 12px;
	}
	
	.banner-honey__logo {
		width: 80%;
		margin-bottom: 24px;
	}
	
	.banner-honey__close {
		width: 38px;
		top: 32px;
		right: 32px;
	}
	
	.banner-honey__trigger {
		height: 64px;
		margin-top: 28px;
		padding: 0 28px;
		font-size: 18px;
		line-height: 64px;
		border-radius: 36px;
	}
}

@media (min-width: 540px) {
	.banner-honey {
		width: 468px;
	}
}

@media (min-width: 992px) {
	.banner-honey {
		padding: 53px 36px 64px 36px;
		border-radius: 60px;
		left: 36px;
		transform: translateY(-50%) scale(1.2);
	}

	.banner-honey:before {
		border-radius: 60px;
	}

	.banner-honey.loaded {
		transform: translateY(-50%) scale(1);
	}
	
	.banner-honey__logo {
		width: 100%;
	}
	
	.banner-honey__content h3 {
		font-size: 36px;
	}

	.banner-honey__content h5 {
		font-size: 28px;
	}

	.banner-honey__close {
		top: 0;
		left: calc(100% + 8px);
		right: initial;
	}
	
	.banner-honey__trigger {
		height: 72px;
		padding: 0 36px;
		font-size: 20px;
		line-height: 72px;
		border-radius: 36px;
	}

	.banner-honey__bee {
		width: 252px;
		top: 112px;
		right: -60px;
	}
}

