/* قاب کاروسل. خود ردیف در اسکریپت جابه‌جا می‌شود و نوار اسکرول ندارد. */

.oz-carousel-shell {
	position: relative;
}

.oz-carousel-viewport {
	overflow: hidden;
	border: 1px solid #e8eef6;
	border-radius: 16px;
	padding: 16px 48px;
	background: #fff;
}

.oz-carousel-viewport .oz-carousel {
	display: flex;
	gap: 16px;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	border-radius: 0;
	scroll-snap-type: none !important;
	scrollbar-width: none;
}

.oz-carousel-viewport .oz-carousel::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.oz-carousel-viewport .oz-carousel > * {
	flex: 0 0 auto;
}

.oz-carousel-btn {
	position: absolute;
	top: 42%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 1px solid #e8eef6;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: #1f4fa3;
	box-shadow: 0 4px 12px rgba(27, 36, 51, .1);
	transform: translateY(-50%);
	cursor: pointer;
}

.oz-carousel-btn:hover,
.oz-carousel-btn:focus-visible {
	background: #fff;
	color: #163f86;
	border-color: #1f4fa3;
}

.oz-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}

.oz-carousel-dots button {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d5deea;
	cursor: pointer;
}

.oz-carousel-dots button.is-active {
	width: 18px;
	background: #1f4fa3;
}

.oz-carousel-prev {
	inset-inline-start: 8px;
}

.oz-carousel-next {
	inset-inline-end: 8px;
}

.oz-carousel-prev svg {
	transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
	.oz-carousel-viewport .oz-carousel,
	.oz-carousel-btn {
		transition: none;
	}
}
