.fl-module-photo .fl-photo-content img {
	cursor: zoom-in;
}

.bbzl-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.bbzl-overlay.bbzl-open {
	opacity: 1;
}

.bbzl-frame {
	position: relative;
	width: 92vw;
	height: 90vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #111;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	touch-action: none;
	cursor: grab;
}

.bbzl-frame.bbzl-dragging {
	cursor: grabbing;
}

.bbzl-frame img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	transform-origin: center center;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
	will-change: transform;
}

.bbzl-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 28px;
	line-height: 44px;
	text-align: center;
	cursor: pointer;
}

.bbzl-close:hover,
.bbzl-close:focus-visible {
	background: rgba(0, 0, 0, 0.9);
	outline: 2px solid #fff;
}

.bbzl-hint {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	padding: 4px 12px;
	border-radius: 20px;
	background: rgba(0, 0, 0, 0.6);
	color: #ddd;
	font: 13px/1.4 system-ui, sans-serif;
	pointer-events: none;
}

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

.bbzl-frame.bbzl-no-zoom {
	cursor: default;
}
