.pt-global-lightbox-link img {
	cursor: zoom-in;
}

.pt-global-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 32px;
	background: rgba(0, 0, 0, 0.72);
	animation: pt-global-lightbox-fade-in 0.2s ease;
}

.pt-global-lightbox__frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 92vw;
	max-height: 92vh;
	padding: 18px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 45px rgba(0, 0, 0, 0.45);
}

.pt-global-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: calc(92vw - 36px);
	max-height: calc(92vh - 36px);
	object-fit: contain;
	background: #fff;
}

.pt-global-lightbox__close,
.pt-global-lightbox__nav {
	appearance: none;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid #dcdcde !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	color: #222 !important;
	cursor: pointer;
	line-height: 1 !important;
}

.pt-global-lightbox__close {
	position: absolute;
	top: -18px;
	right: -18px;
	z-index: 2;
	width: 42px;
	height: 42px;
	font-size: 32px !important;
}

.pt-global-lightbox__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	transform: translateY(-50%);
	color: #0b6bbf !important;
	font-size: 40px !important;
}

.pt-global-lightbox__nav--previous {
	left: 18px;
}

.pt-global-lightbox__nav--next {
	right: 18px;
}

.pt-global-lightbox__count {
	position: absolute;
	right: 24px;
	bottom: 16px;
	padding: 4px 9px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 14px;
	color: #222;
	font-size: 14px;
}

@keyframes pt-global-lightbox-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 600px) {
	.pt-global-lightbox {
		padding: 16px;
	}

	.pt-global-lightbox__frame {
		max-width: 96vw;
		max-height: 92vh;
		padding: 10px;
	}

	.pt-global-lightbox__image {
		max-width: calc(96vw - 20px);
		max-height: calc(92vh - 20px);
	}

	.pt-global-lightbox__close {
		top: -12px;
		right: -8px;
	}

	.pt-global-lightbox__nav {
		width: 42px;
		height: 42px;
		font-size: 34px !important;
	}

	.pt-global-lightbox__nav--previous {
		left: 6px;
	}

	.pt-global-lightbox__nav--next {
		right: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pt-global-lightbox {
		animation: none;
	}
}
