/* BRANDS LANDING */
/* brands carousel */
.brands-carousel {
	margin: 41px 0 65px;
}

.brands-carousel .manufacturer-item .title {
	display: none;
}

.brands-carousel .manufacturer-item .picture {
	text-align: center;
}

.brands-carousel .manufacturer-item .picture img {
	width: 132px;
	margin: auto;
}

/* brands header */
.brands-header-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	padding: 16px 0;
	border-bottom: 1px solid #e6e6e6;
}

.brands-title {
	color: var(--color-main);
	font-size: 18px;
	font-weight: 700;
}

/* brands search */
.brands-search {
	width: 250px;
	margin-right: auto;
	position: relative;
}

.brands-search::before {
	content: '\e811';
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 32px;
	height: 32px;
	text-align: center;
	font: 18px pacific;
	border-radius: 10px;
	background: var(--color-alt);
	position: absolute;
	left: 4px;
	top: 4px;
}

.brands-search-input {
	width: 100%;
	height: 40px !important;
}

/* brands-filter */
.brands-filter {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 34px 0;
}

.brands-filter-title {
	color: #000;
	font-size: 16px;
	font-weight: 500;
	margin-left: 50px;
	white-space: nowrap;
}

.brands-filter-list {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	gap: 5px 16px;
}

.brands-filter-list::after {
	/* content: ''; */
	-webkit-box-flex: 1;
	-ms-flex: auto;
	flex: auto;
}

.brands-filter-list a {
	color: #7f7f7f;
	font-size: 16px;
	font-weight: 400;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.brands-filter-item a:hover,
.brands-filter-item.active a {
	color: var(--color-main);
}

.brands-filter-item.active a {
	font-weight: bold;
}

.brands-filter-item:not(.have-any),
.brands-filter-item:not(.have-any) a {
	color: #c0c0c0;
	pointer-events: none;
}

/* brand alphabet list */
.brand-alphabet-wrap {
	--grid-column-count: 6;
    --grid-layout-gap: 20px;
    --grid-item-min-width: 270px;
    --gap-count: calc(var(
	--grid-column-count) - 1);
    --total-gap-width: calc(var(
	--gap-count) * var(--grid-layout-gap));
    --grid-item-max-width: calc((100% - var(
	--total-gap-width)) / var(--grid-column-count));
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item-min-width), var(--grid-item-max-width)), 1fr));
	grid-gap: 10px var(--grid-layout-gap);
	margin: 70px 0 34px;
}

.brand-alphabet-title {
	color: #4d4d4d;
	font-size: 14px;
	font-weight: 700;
	padding: 5px 0;
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 15px;
}

.brand-alphabet-list {
	/* max-height: 220px; */
	overflow-x: hidden;
	overflow-y: auto;
}

.brand-alphabet-item a {
	display: inline-block;
	color: #4d4d4d;
	font-size: 12px;
	font-weight: 300;
	padding: 2px 0;
	-webkit-transition: .3s;
	-o-transition: .3s;
	transition: .3s;
}

.brand-alphabet-item a:hover {
	color: var(--color-main);
	font-weight: bold;
	letter-spacing: -0.2px;
	-webkit-transform: translateX(-5px);
    -ms-transform: translateX(-5px);
    transform: translateX(-5px);
}

/* media query */
@media (max-width: 768px) {
	.brands-filter {
		display: none;
	}
}

@media (max-width: 460px) {
	.brands-search {
		width: 100%;
	}

	.brands-carousel {
		margin:  0;
	}

	.brand-alphabet-wrap {
		margin: 10px;
	}
}