.ffit-lgn {
	margin: 0 0 1em;
	padding: 8px 10px;
	border: 1px solid var(--ffit-lgn-border, #0b4ea2);
	border-radius: 4px;
	background: var(--ffit-lgn-bg, #f3f7fc);
}
.ffit-lgn-open {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ffit-lgn-text, #0b4ea2) !important;
	font-weight: 600;
	line-height: 1.3;
}
.ffit-lgn-open:hover .ffit-lgn-text,
.ffit-lgn-open:focus .ffit-lgn-text {
	text-decoration: underline;
}
.ffit-lgn-thumb {
	flex: 0 0 auto;
	width: 36px !important;
	height: auto !important;
	margin: 0 !important;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.ffit-lgn--product {
	margin-top: 1em;
}

.ffit-lgn-full img {
	display: block;
	width: 100%;
	max-width: 620px;
	height: auto;
}

.ffit-lgn-dialog {
	padding: 0;
	border: 0;
	max-width: min(92vw, 760px);
	max-height: 92vh;
	overflow: auto;
	background: #fff;
}
.ffit-lgn-dialog::backdrop {
	background: rgba(0, 0, 0, .65);
}
.ffit-lgn-dialog img {
	display: block;
	width: 100%;
	height: auto;
}
.ffit-lgn-dialog form {
	position: sticky;
	top: 0;
	height: 0;
	text-align: right;
}
.ffit-lgn-close {
	margin: 6px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .7);
	color: #fff;
	font-size: 24px;
	line-height: 36px;
	cursor: pointer;
}
