.a123-services-carousel,
.a123-services-carousel * {
	box-sizing: border-box;
}

.a123-services-carousel {
	--a123-services-gap: 18px;
	--a123-services-card-width: 240px;
	--a123-services-image-height: 300px;
	--a123-services-nav-offset: 12px;
	position: relative;
	width: 100%;
	min-width: 0;
}

.a123-services-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--a123-services-gap);
	width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
}

.a123-services-carousel__track::-webkit-scrollbar {
	display: none;
}

.a123-service-item {
	flex: 0 0 var(--a123-services-card-width);
	width: var(--a123-services-card-width);
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.a123-service-item__image {
	position: relative;
	width: 100%;
	height: var(--a123-services-image-height);
	overflow: hidden;
	background: #f3f4f6;
	isolation: isolate;
}

.a123-service-item__lightbox {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	cursor: zoom-in;
}

.a123-service-item__lightbox:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -3px;
}

.a123-service-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .35s ease;
}

.a123-service-item__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f1f1f1, #e2e2e2);
}

.a123-service-item__title {
	margin: 12px 0 0;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #151515;
	transition: color .2s ease;
}

.a123-services-carousel__nav {
	position: absolute;
	z-index: 3;
	top: 45%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #222;
	background: rgba(255, 255, 255, .85);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	cursor: pointer;
	transform: translateY(-50%);
	transition: color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.a123-services-carousel__nav--prev {
	left: var(--a123-services-nav-offset);
}

.a123-services-carousel__nav--next {
	right: var(--a123-services-nav-offset);
}

.a123-services-carousel__nav:hover:not(:disabled),
.a123-services-carousel__nav:focus-visible:not(:disabled) {
	transform: translateY(-50%) scale(1.04);
}

.a123-services-carousel__nav:focus-visible,
.a123-services-carousel__track:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.a123-services-carousel__nav:disabled {
	opacity: .35;
	cursor: default;
}

.a123-services-carousel__nav[hidden] {
	display: none !important;
}

.a123-services-carousel__nav svg,
.a123-services-carousel__nav i {
	display: block;
	pointer-events: none;
}

.a123-services-empty {
	padding: 22px;
	border: 1px dashed #d6d6d6;
	border-radius: 12px;
	color: #666;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.a123-services-carousel__track {
		scroll-behavior: auto;
	}

	.a123-service-item,
	.a123-service-item__image img,
	.a123-services-carousel__nav {
		transition-duration: .01ms !important;
	}
}
