.ab-testi-wrap {
	--ab-red: #d10d14;
	--ab-black: #111319;
	font-family: 'Inter', Arial, sans-serif;
	color: var(--ab-black);
	background: #fafafa;
	padding: 70px 0
}

.ab-testi-wrap * {
	box-sizing: border-box
}

.ab-testi-wrap .ab-container {
	width: min(1440px, calc(100% - 76px));
	margin: auto
}

/* Background style variants */
.ab-testi-wrap.ab-bg-white {
	background: #fff
}

.ab-testi-wrap.ab-bg-grey {
	background: #f5f6f8
}

.ab-testi-wrap.ab-bg-gradient {
	background: linear-gradient(135deg, var(--ab-red) 0%, var(--ab-black) 65%)
}

.ab-testi-wrap.ab-bg-dark {
	background: var(--ab-black)
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-title,
.ab-testi-wrap.ab-bg-dark .ab-testi-title {
	color: #fff !important
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-sub,
.ab-testi-wrap.ab-bg-dark .ab-testi-sub {
	color: #d8d8dc !important
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-card,
.ab-testi-wrap.ab-bg-dark .ab-testi-card {
	background: #1b1d24;
	box-shadow: 0 2px 14px #00000040
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-text,
.ab-testi-wrap.ab-bg-dark .ab-testi-text {
	color: #d8d8dc !important
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-person-text b,
.ab-testi-wrap.ab-bg-dark .ab-testi-person-text b {
	color: #fff !important
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-person-text small,
.ab-testi-wrap.ab-bg-dark .ab-testi-person-text small {
	color: #a5a6ab !important
}

.ab-testi-wrap.ab-bg-gradient .ab-testi-dot,
.ab-testi-wrap.ab-bg-dark .ab-testi-dot {
	background: #ffffff33
}

.ab-testi-head {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center
}

.ab-testi-badge {
	display: inline-block;
	margin: 0 0 14px;
	padding: 7px 18px;
	border-radius: 50px;
	background: var(--ab-soft, #fff1f1);
	color: var(--ab-red) !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase
}

.ab-testi-title {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.3;
	color: #111 !important
}

.ab-testi-sub {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #777 !important
}

.ab-testi-track {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 4px;
	-ms-overflow-style: none;
	scrollbar-width: none
}

.ab-testi-track::-webkit-scrollbar {
	display: none
}

.ab-testi-cols-3 .ab-testi-card {
	flex: 0 0 calc((100% - 2 * 26px) / 3)
}

.ab-testi-cols-2 .ab-testi-card {
	flex: 0 0 calc((100% - 26px) / 2)
}

.ab-testi-cols-4 .ab-testi-card {
	flex: 0 0 calc((100% - 3 * 26px) / 4)
}

.ab-testi-card {
	scroll-snap-align: start;
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px;
	box-shadow: 0 2px 14px #00000010
}

.ab-testi-quote {
	display: block;
	color: var(--ab-red);
	opacity: .9;
	font-size: 26px;
	margin-bottom: 12px
}

.ab-testi-text {
	margin: 0 0 16px;
	font-size: 14.5px;
	font-style: italic;
	line-height: 1.7;
	color: #333 !important
}

.ab-testi-stars {
	margin: 0 0 18px;
	color: #f5a623;
	font-size: 14px;
	letter-spacing: 2px
}

.ab-testi-stars .fa-regular {
	color: #e2e2e2
}

.ab-testi-person {
	display: flex;
	align-items: center;
	gap: 12px
}

.ab-testi-avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	display: block
}

.ab-testi-avatar-fallback {
	display: grid;
	place-items: center;
	background: var(--ab-red);
	color: #fff !important;
	font-weight: 800;
	font-size: 16px
}

.ab-testi-person-text {
	display: flex;
	flex-direction: column;
	gap: 3px
}

.ab-testi-person-text b {
	font-size: 14px;
	font-weight: 700;
	color: #111 !important
}

.ab-testi-person-text small {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 400;
	color: #888 !important
}

.ab-testi-person-text small i {
	color: var(--ab-red);
	font-size: 10px
}

.ab-testi-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px
}

.ab-testi-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: #d8d8dc;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease
}

.ab-testi-dot:hover {
	background: #b8b8bd
}

.ab-testi-dot-active {
	background: var(--ab-red);
	transform: scale(1.2)
}

@media(max-width:1200px) {
	.ab-testi-wrap .ab-container {
		width: calc(100% - 36px)
	}

	.ab-testi-title {
		font-size: 27px
	}
}

@media(max-width:900px) {
	.ab-testi-wrap {
		padding: 44px 0
	}

	.ab-testi-title {
		font-size: 22px
	}

	.ab-testi-sub {
		font-size: 13.5px
	}

	.ab-testi-track {
		gap: 16px
	}

	.ab-testi-cols-2 .ab-testi-card,
	.ab-testi-cols-3 .ab-testi-card,
	.ab-testi-cols-4 .ab-testi-card {
		flex: 0 0 calc(100% - 40px)
	}

	.ab-testi-card {
		padding: 22px 18px
	}
}
