body.ip-popup-open {
	overflow: hidden;
}

.ip-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.52);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 20px;
}

.ip-popup-overlay[hidden] {
	display: none !important;
}

.ip-popup {
	background: #ffffff;
	color: #111111;
	width: min(720px, 100%);
	height: min(350px, calc(100vh - 40px));
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.ip-popup-content-col,
.ip-popup-image-col {
	min-width: 0;
	flex: 1 1 50%;
	background: #ffffff;
}

.ip-popup-content-col {
	flex: 0 0 50%;
	order: 1;
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	overflow: auto;
}

.ip-popup-content-col h2 {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	letter-spacing: -0.01em;
	text-align: center;
}

.ip-popup-content-col p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	max-width: 320px;
	text-align: center;
}

.ip-popup-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 50px;
	background: #000000;
	color: #ffffff !important;
	font-size: 18px !important;
	font-weight: inherit;
	letter-spacing: inherit;
	text-decoration: none;
	max-width: 100%;
	min-height: 40px;
}

.ip-popup-button:hover,
.ip-popup-button:focus {
	background: #555555 !important;
	color: #ffffff;
}

.ip-popup-image-col {
	flex: 0 0 50%;
	order: 2;
	overflow: hidden;
}

.ip-popup-image-col picture,
.ip-popup-image-col img {
	display: block;
	width: 100%;
	height: 100%;
}

.ip-popup-image-col img {
	object-fit: cover;
}

.ip-popup .ip-popup-close {
	position: absolute !important;
	inset: 10px 10px auto auto !important;
	border: 0;
	background: rgba(17, 17, 17, 0.8);
	color: #fff;
	width: 34px;
	height: 34px;
	min-height: 10px;
	border-radius: 10px;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 !important;
	margin: 0 !important;
	transform: none !important;
	float: none !important;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	appearance: none;
}

@media (max-width: 768px) {
	.ip-popup-overlay {
		padding: 12px;
	}

	.ip-popup {
		width: 100%;
		max-width: 460px;
		height: auto;
		max-height: 95vh;
		overflow: visible;
		display: flex;
		flex-direction: column;
		padding: 0px;
		border-radius: 14px;
	}

	.ip-popup-image-col {
		order: 1;
		flex: 0 0 auto;
		border-top-left-radius: 18px;
		border-top-right-radius: 18px;
		overflow: hidden;
	}

	.ip-popup-image-col img {
		min-height: 0;
		height: auto;
	}

	.ip-popup-content-col {
		order: 2;
		flex: 0 0 auto;
		padding: 22px 20px 22px;
		gap: 20px;
		text-align: center;
		border-bottom-left-radius: 18px;
		border-bottom-right-radius: 18px;
	}

	.ip-popup-content-col h2 {
		font-size: inherit;
		line-height: 1.2;
	}

	.ip-popup-content-col p {
		font-size: inherit;
		line-height: 1.2;
		max-width: 400px;
	}

	.ip-popup-button {
		width: 100%;
		max-width: 100%;
		font-size: 18px !important;
		min-height: 0px;
	}

	.ip-popup .ip-popup-close {
		inset: 4px 4px auto auto !important;
	}
}
