.carousel3d {
	position: relative;
	width: 100%;
	height: 460px;
	perspective: 1400px;
	background: #f3f3f3;
	overflow: hidden;
}
.carousel3d-spinner {
	position: absolute;
	left: 50%;
	top: 24px;
	width: 340px;
	height: 400px;
	margin: 0 0 0 -170px;
	transform-style: preserve-3d;
	transition: transform 0.8s ease;
}
.carousel3d-spinner img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	backface-visibility: hidden;
	opacity: 0;
	cursor: zoom-in;
}
body.carousel3d-lightbox-open {
	overflow: hidden;
}
.carousel3d-lightbox {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 5000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 56px 24px 24px;
	background: rgba(0, 0, 0, 0.88);
}
.carousel3d-lightbox[hidden] {
	display: none;
}
.carousel3d-lightbox img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: default;
}
.carousel3d-lightbox-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 42px;
	height: 42px;
	border: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	color: #26385D;
	cursor: pointer;
	font-size: 18px;
}
.carousel3d-spinner img:first-child,
.carousel3d.is-ready .carousel3d-spinner img {
	opacity: 1;
}
.carousel3d-prev,
.carousel3d-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.92);
	color: #26385D;
	cursor: pointer;
	z-index: 2;
}
.carousel3d-prev { left: 12px; }
.carousel3d-next { right: 12px; }
@media screen and (max-width: 700px) {
	.carousel3d {
		height: 340px;
	}
	.carousel3d-spinner {
		width: 220px;
		height: 280px;
		margin: 0 0 0 -110px;
		top: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.carousel3d-spinner {
		transition: none;
	}
}
