/* Extras on top of PhotoSwipe 5 for the Phox gallery lightbox. */
.pswp .pswp__phox-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px 20px;
	text-align: center;
	color: var(--pswp-icon-color, #fff);
	font-size: 14px;
	line-height: 1.4;
	pointer-events: none;
	z-index: 2;
}
.pswp.phox-pswp-has-thumbs .pswp__phox-caption {
	bottom: 78px;
}
.pswp__phox-thumbs {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 8px 12px;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.pswp__phox-thumbs.phox-pswp-thumbs-single {
	display: none;
}
.phox-pswp-thumbs-inner {
	display: flex;
	gap: 6px;
	max-width: 100%;
	overflow-x: auto;
	pointer-events: auto;
	scrollbar-width: thin;
}
.phox-pswp-thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.15);
	background-size: cover;
	background-position: center;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}
.phox-pswp-thumb:hover,
.phox-pswp-thumb.is-active {
	opacity: 1;
}
.phox-pswp-thumb.is-active {
	border-color: var(--pswp-icon-color, #fff);
}
.pswp__button.pswp__button--phox-slideshow.phox-pswp-on {
	opacity: 0.75;
}
