.pixalty-popups,
.pixalty-popups *,
.pixalty-popups *::before,
.pixalty-popups *::after {
	box-sizing: border-box;
}

.pixalty-popups[hidden] {
	display: none !important;
}

.pixalty-popups {
	--pixalty-popups-bg: #ffffff;
	--pixalty-popups-overlay-color: rgba(15, 23, 42, 0.58);
	--pixalty-popups-padding: 28px;
	--pixalty-popups-radius: 8px;
	--pixalty-popups-width: 640px;
	--pixalty-popups-z-index: 99999;
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	pointer-events: none;
	position: fixed;
	z-index: var(--pixalty-popups-z-index);
}

.pixalty-popups.is-visible {
	pointer-events: auto;
}

.pixalty-popups--position-top_left {
	align-items: flex-start;
	justify-content: flex-start;
}

.pixalty-popups--position-top_center {
	align-items: flex-start;
	justify-content: center;
}

.pixalty-popups--position-top_right {
	align-items: flex-start;
	justify-content: flex-end;
}

.pixalty-popups--position-center_left {
	align-items: center;
	justify-content: flex-start;
}

.pixalty-popups--position-center_right {
	align-items: center;
	justify-content: flex-end;
}

.pixalty-popups--position-bottom_left {
	align-items: flex-end;
	justify-content: flex-start;
}

.pixalty-popups--position-bottom_center {
	align-items: flex-end;
	justify-content: center;
}

.pixalty-popups--position-bottom_right {
	align-items: flex-end;
	justify-content: flex-end;
}

.pixalty-popups__overlay {
	background: var(--pixalty-popups-overlay-color);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 0.22s ease;
}

.pixalty-popups.is-visible .pixalty-popups__overlay {
	opacity: 1;
}

.pixalty-popups__surface {
	background: var(--pixalty-popups-bg);
	border: 0;
	border-radius: var(--pixalty-popups-radius);
	box-shadow: none;
	color: #111827;
	max-height: min(82vh, 900px);
	max-width: 100%;
	opacity: 0;
	outline: 0;
	overflow: auto;
	padding: var(--pixalty-popups-padding);
	pointer-events: auto;
	position: relative;
	transform: none;
	transform-origin: center;
	transition: opacity 0.22s ease, transform 0.22s ease;
	width: min(var(--pixalty-popups-width), 100%);
	z-index: 1;
}

.pixalty-popups.is-visible .pixalty-popups__surface {
	opacity: 1;
}

.pixalty-popups--animation-fade .pixalty-popups__surface,
.pixalty-popups--animation-fade.is-visible .pixalty-popups__surface {
	transform: none;
}

.pixalty-popups--animation-zoom .pixalty-popups__surface {
	transform: scale(0.94);
}

.pixalty-popups--animation-zoom.is-visible .pixalty-popups__surface {
	transform: scale(1);
}

.pixalty-popups--animation-slide .pixalty-popups__surface {
	transform: translate3d(0, 32px, 0);
}

.pixalty-popups--animation-slide.is-visible .pixalty-popups__surface {
	transform: translate3d(0, 0, 0);
}

.pixalty-popups--animation-none .pixalty-popups__surface,
.pixalty-popups--animation-none.is-visible .pixalty-popups__surface {
	transform: none;
}

.pixalty-popups--animation-none .pixalty-popups__overlay,
.pixalty-popups--animation-none .pixalty-popups__surface {
	transition: none;
}

.pixalty-popups__close {
	align-items: center;
	appearance: none;
	background: rgba(15, 23, 42, 0.08);
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 30px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 3px 0 0;
	position: absolute;
	right: 12px;
	top: 12px;
	transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
	width: 34px;
	z-index: 3;
}

.pixalty-popups__close span {
	display: block;
	transform: translateY(-0.15em);
}

.pixalty-popups__close:hover,
.pixalty-popups__close:focus {
	background: #111827;
	color: #ffffff;
	transform: scale(1.04);
}

.pixalty-popups__close:focus-visible,
.pixalty-popups-trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.pixalty-popups__content {
	min-width: 0;
}

.pixalty-popups__content > :first-child {
	margin-top: 0;
}

.pixalty-popups__content > :last-child {
	margin-bottom: 0;
}

.pixalty-popups--type-floating_bar {
	align-items: stretch;
	display: block;
	inset: 0;
	padding: 0;
}

.pixalty-popups--type-floating_bar.is-visible {
	pointer-events: none;
}

.pixalty-popups--type-floating_bar .pixalty-popups__surface {
	border-radius: 0;
	left: 0;
	max-height: none;
	max-width: none;
	position: absolute;
	right: 0;
	width: 100%;
}

.pixalty-popups--type-floating_bar.pixalty-popups--animation-slide.pixalty-popups--bar-top .pixalty-popups__surface {
	transform: translate3d(0, -100%, 0);
}

.pixalty-popups--type-floating_bar.pixalty-popups--animation-slide.pixalty-popups--bar-bottom .pixalty-popups__surface {
	transform: translate3d(0, 100%, 0);
}

.pixalty-popups--type-floating_bar.pixalty-popups--animation-slide.is-visible .pixalty-popups__surface {
	transform: translate3d(0, 0, 0);
}

.pixalty-popups--type-floating_bar.pixalty-popups--bar-top .pixalty-popups__surface {
	top: 0;
}

.admin-bar .pixalty-popups--type-floating_bar.pixalty-popups--bar-top .pixalty-popups__surface {
	top: 32px;
}

.pixalty-popups--type-floating_bar.pixalty-popups--bar-bottom .pixalty-popups__surface {
	bottom: 0;
}

.pixalty-popups--type-fullscreen {
	padding: 0;
}

.pixalty-popups--type-fullscreen .pixalty-popups__surface {
	border-radius: 0;
	box-shadow: none;
	height: 100vh;
	max-height: none;
	max-width: none;
	width: 100%;
}

.pixalty-popups-trigger {
	cursor: pointer;
}

body.pixalty-popups-modal-open {
	overflow: hidden;
}

@media screen and (max-width: 782px) {
	.admin-bar .pixalty-popups--type-floating_bar.pixalty-popups--bar-top .pixalty-popups__surface {
		top: 46px;
	}
}

@media screen and (max-width: 680px) {
	.pixalty-popups {
		padding: 12px;
	}

	.pixalty-popups__surface {
		max-height: calc(100vh - 24px);
		width: min(var(--pixalty-popups-width), 100%);
	}

	.pixalty-popups--type-floating_bar .pixalty-popups__surface {
		padding: max(14px, var(--pixalty-popups-padding));
	}

}

@media screen and (max-width: 600px) {
	.admin-bar .pixalty-popups--type-floating_bar.pixalty-popups--bar-top .pixalty-popups__surface {
		top: 0;
	}
}
