.hayb-geo-popup[hidden] {
	display: none !important;
}

.hayb-geo-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.hayb-geo-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(19, 24, 28, 0.62);
}

.hayb-geo-popup__panel {
	position: relative;
	width: min(100%, 520px);
	padding: 32px;
	border-radius: 18px;
	background: #fffdf7;
	box-shadow: 0 24px 80px rgba(26, 24, 19, 0.28);
	border: 1px solid rgba(62, 45, 23, 0.12);
	color: #1f1b16;
	outline: none;
}

.hayb-geo-popup__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.12;
	font-weight: 700;
}

.hayb-geo-popup__description {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: #4f4538;
}

.hayb-geo-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hayb-geo-popup__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.hayb-geo-popup__button:hover,
.hayb-geo-popup__button:focus-visible {
	transform: translateY(-1px);
}

.hayb-geo-popup__button--primary {
	background: #1f1b16;
	color: #fffdf7;
	box-shadow: 0 10px 24px rgba(31, 27, 22, 0.22);
}

.hayb-geo-popup__button--secondary {
	border: 1px solid rgba(31, 27, 22, 0.18);
	background: #ffffff;
	color: #1f1b16;
}

.hayb-geo-popup-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.hayb-geo-popup {
		padding: 16px;
		align-items: end;
	}

	.hayb-geo-popup__panel {
		padding: 24px;
		border-radius: 20px 20px 0 0;
		width: 100%;
	}

	.hayb-geo-popup__actions {
		flex-direction: column;
	}

	.hayb-geo-popup__button {
		width: 100%;
	}
}
