#hc-scroll-popup[hidden] {
	display: none !important;
}

.hc-scroll-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
}

.hc-scroll-popup__overlay {
	position: absolute;
	inset: 0;
	opacity: 0.5;
}

.hc-scroll-popup__overlay--disabled {
	background: transparent !important;
	opacity: 0 !important;
	pointer-events: none;
}

.hc-scroll-popup__dialog {
	position: fixed;
	width: calc(100% - 32px);
	max-width: 420px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	padding: 22px 18px 20px;
	min-height: 120px;
}

/* Positions-Presets */
.hc-scroll-popup__dialog.hc-pos-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hc-scroll-popup__dialog.hc-pos-top {
	top: var(--hc-offset-y, 24px);
	left: 50%;
	transform: translateX(-50%);
}

.hc-scroll-popup__dialog.hc-pos-bottom {
	bottom: var(--hc-offset-y, 24px);
	left: 50%;
	transform: translateX(-50%);
}

.hc-scroll-popup__dialog.hc-pos-left {
	top: 50%;
	left: var(--hc-offset-x, 24px);
	transform: translateY(-50%);
}

.hc-scroll-popup__dialog.hc-pos-right {
	top: 50%;
	right: var(--hc-offset-x, 24px);
	transform: translateY(-50%);
}

.hc-scroll-popup__dialog.hc-pos-top-left {
	top: var(--hc-offset-y, 24px);
	left: var(--hc-offset-x, 24px);
}

.hc-scroll-popup__dialog.hc-pos-top-right {
	top: var(--hc-offset-y, 24px);
	right: var(--hc-offset-x, 24px);
}

.hc-scroll-popup__dialog.hc-pos-bottom-left {
	bottom: var(--hc-offset-y, 24px);
	left: var(--hc-offset-x, 24px);
}

.hc-scroll-popup__dialog.hc-pos-bottom-right {
	bottom: var(--hc-offset-y, 24px);
	right: var(--hc-offset-x, 24px);
}

.hc-scroll-popup__dialog.hc-pos-custom {
	top: var(--hc-offset-y, 50%);
	left: var(--hc-offset-x, 50%);
	transform: none;
}

.hc-scroll-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #F5E9D7;
	color: #2A2A2A;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.hc-scroll-popup__close:hover,
.hc-scroll-popup__close:focus {
	outline: none;
	background: #F5E9D7;
	box-shadow: 0 0 0 2px rgba(127, 159, 122, 0.25);
}

.hc-scroll-popup__content {
	padding-top: 14px;
}

.hc-scroll-popup__title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.25;
	color: #2A2A2A;
}

.hc-scroll-popup__text {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.6;
	color: #5e5e5e;
}

.hc-scroll-popup__button {
	display: inline-block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	background: transparent;
	color: #2A2A2A !important;
	padding: 14px 18px;
	border-radius: 12px;
	font-weight: 700;
	line-height: 1.3;
	border: 2px solid #fa8072;
}

.hc-scroll-popup__button:hover,
.hc-scroll-popup__button:focus,
.hc-scroll-popup__button:active,
.hc-scroll-popup__button:visited {
	color: #2A2A2A !important;
	text-decoration: none;
	background: transparent;
}

html.hc-scroll-popup-open,
body.hc-scroll-popup-open {
	overflow: hidden;
}

@media (min-width: 768px) {
	.hc-scroll-popup__dialog {
		padding: 26px 24px 24px;
		max-width: 460px;
	}

	.hc-scroll-popup__title {
		font-size: 28px;
	}

	.hc-scroll-popup__text {
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	.hc-scroll-popup__dialog.hc-pos-left,
	.hc-scroll-popup__dialog.hc-pos-right,
	.hc-scroll-popup__dialog.hc-pos-custom {
		width: calc(100% - 24px);
		max-width: none;
	}
}