.lfp-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
}

.lfp-popup.is-open {
	display: grid;
	place-items: center;
}

.lfp-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}

.lfp-popup__dialog {
	position: relative;
	max-width: min(90vw, 640px);
	max-height: 90vh;
}

.lfp-popup__link {
	display: block;
	line-height: 0;
	cursor: pointer;
}

.lfp-popup__dialog picture {
	display: block;
}

.lfp-popup__image {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 4px;
}

.lfp-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: #222;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.lfp-popup__close:hover {
	background: #f0f0f0;
}

body.lfp-no-scroll {
	overflow: hidden;
}
