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

.a123-feedback-carousel {
	--a123-feedback-gap: 18px;
	--a123-feedback-card-width: 280px;
	--a123-feedback-nav-offset: 10px;
	position: relative;
	width: 100%;
	min-width: 0;
}

.a123-feedback-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--a123-feedback-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-feedback-carousel__track::-webkit-scrollbar {
	display: none;
}

.a123-feedback-item {
	display: flex;
	flex: 0 0 var(--a123-feedback-card-width);
	flex-direction: column;
	width: var(--a123-feedback-card-width);
	min-width: 0;
	height: auto;
	margin: 0;
	background: #fff;
	border: 1px solid #343434;
	border-radius: 18px;
	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-feedback-item__header {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.a123-feedback-item__avatar {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	overflow: hidden;
	background: #ededed;
	border-radius: 50%;
}

.a123-feedback-item__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.a123-feedback-item__avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #555;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.a123-feedback-item__identity {
	min-width: 0;
}

.a123-feedback-item__name {
	margin: 0;
	padding: 0;
	color: #151515;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.a123-feedback-item__stars {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1;
}

.a123-feedback-item__star--active {
	color: #f5b301;
}

.a123-feedback-item__star--inactive {
	color: #d7d7d7;
}

.a123-feedback-item__content {
	--a123-feedback-lines: 0;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--a123-feedback-lines);
	margin-top: 14px;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42;
}

.a123-feedback-item__content p {
	margin: 0 0 .65em;
}

.a123-feedback-item__content p:last-child {
	margin-bottom: 0;
}

.a123-feedback-carousel__nav {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #222;
	background: rgba(255, 255, 255, .9);
	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-feedback-carousel__nav--prev {
	left: var(--a123-feedback-nav-offset);
}

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

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

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

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

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

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

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

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

	.a123-feedback-item,
	.a123-feedback-carousel__nav {
		transition-duration: .01ms !important;
	}
}
