.ab-brands-wrap {
	--ab-red: #d10d14;
	--ab-black: #111319;
	--ab-brands-bg: #f7f4f4;
	font-family: 'Inter', Arial, sans-serif;
	background: var(--ab-brands-bg);
	padding: 26px 0;
	overflow: hidden
}

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

.ab-brands-wrap a,
.ab-brands-wrap a:hover,
.ab-brands-wrap a:focus,
.ab-brands-wrap a:visited {
	text-decoration: none !important;
	box-shadow: none !important
}

.ab-brands-wrap button {
	text-decoration: none !important
}

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

/* Background style variants */
.ab-brands-wrap.ab-bg-white {
	--ab-brands-bg: #ffffff
}

.ab-brands-wrap.ab-bg-grey {
	--ab-brands-bg: #f5f6f8
}

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

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

.ab-brands-wrap.ab-bg-gradient .ab-brands-heading,
.ab-brands-wrap.ab-bg-dark .ab-brands-heading {
	color: #ff9d9d !important
}

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

.ab-brands-wrap.ab-bg-gradient .ab-brands-nav,
.ab-brands-wrap.ab-bg-dark .ab-brands-nav {
	background: #ffffff1a;
	border-color: #ffffff40;
	color: #fff !important
}

.ab-brands-heading {
	margin: 0 0 16px;
	text-align: center;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--ab-red) !important
}

.ab-brands-row {
	display: flex;
	align-items: center;
	gap: 14px
}

.ab-brands-nav {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	min-width: 0;
	padding: 0;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 50%;
	border: 1px solid #e2dede;
	background: #fff;
	color: var(--ab-black) !important;
	display: grid;
	place-items: center;
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
	box-shadow: none;
	outline: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease
}

.ab-brands-nav:hover,
.ab-brands-nav:focus-visible {
	background: var(--ab-red);
	border-color: var(--ab-red);
	color: #fff !important;
	box-shadow: none;
	outline: none
}

.ab-brands-viewport {
	position: relative;
	flex: 1 1 auto;
	overflow: hidden
}

.ab-brands-viewport:before,
.ab-brands-viewport:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 70px;
	z-index: 2;
	pointer-events: none
}

.ab-brands-viewport:before {
	left: 0;
	background: linear-gradient(90deg, var(--ab-brands-bg), transparent)
}

.ab-brands-viewport:after {
	right: 0;
	background: linear-gradient(270deg, var(--ab-brands-bg), transparent)
}

.ab-brands-track {
	display: flex;
	align-items: center;
	gap: 46px;
	width: max-content;
	will-change: transform
}

.ab-brands-track.ab-brands-anim {
	animation: ab-marquee-scroll var(--ab-marquee-duration, 30s) linear infinite
}

.ab-brands-wrap.ab-marquee-rtl .ab-brands-track.ab-brands-anim {
	animation-direction: reverse
}

.ab-brands-viewport:hover .ab-brands-track.ab-brands-anim:not(.ab-no-pause) {
	animation-play-state: paused
}

@keyframes ab-marquee-scroll {
	from {
		transform: translateX(0)
	}

	to {
		transform: translateX(-50%)
	}
}

.ab-brands-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	transition: transform .2s ease
}

.ab-brands-item:hover {
	transform: translateY(-3px)
}

.ab-brands-item img {
	max-height: 44px;
	max-width: 140px;
	width: auto;
	height: auto;
	object-fit: contain
}

.ab-brands-text {
	font-size: 19px;
	font-weight: 800;
	color: #2b2b2f !important;
	letter-spacing: .3px;
	white-space: nowrap
}

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

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

	.ab-brands-heading {
		font-size: 10px;
		margin-bottom: 12px
	}

	.ab-brands-row {
		gap: 8px
	}

	.ab-brands-nav {
		flex: 0 0 30px;
		width: 30px;
		height: 30px;
		font-size: 11px
	}

	.ab-brands-track {
		gap: 28px
	}

	.ab-brands-item {
		height: 38px
	}

	.ab-brands-item img {
		max-height: 30px;
		max-width: 96px
	}

	.ab-brands-text {
		font-size: 14px
	}

	.ab-brands-viewport:before,
	.ab-brands-viewport:after {
		width: 30px
	}
}
