#hpo-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 24px;
	box-sizing: border-box;
}

#hpo-overlay.is-visible {
	display: flex;
}

.hpo-overlay__content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
}

.hpo-overlay__image {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	border-radius: 4px;
}

.hpo-overlay__close {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #111;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hpo-overlay__close:hover {
	background: #f2f2f2;
}

@media (max-width: 480px) {
	.hpo-overlay__close {
		top: 8px;
		right: 8px;
	}
}
