.brands-page {
	/* padding-bottom: 30px; */
	padding-bottom: 8px;
}

.brands-page__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 -5px;
	overflow: hidden;
}

.brands-section {
	margin: 0 -4px;
}

.brands-page__item {
	width: calc((100% / 6) - 10px);
	margin: 0 5px 5px;
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.brands-page__item:hover::before {
	opacity: .6;
}


.brands-page__item::before {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 2;
	background: #212121;
	opacity: 0;
	transition: all .3s ease-in-out 0s;
	-moz-transition: all .3s ease-in-out 0s;
	-webkit-transition: all .3s ease-in-out 0s;
}

.brands-page__item:hover .brands-page__hidden {
	opacity: 1;
}

.brands-page__item:hover .brands-page__hidden>div {
	transform: translateY(0);
}

.brands-page__hidden {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: column;
	padding: 10px;
	top: 0;
	left: 0;
	z-index: 3;
	opacity: 0;
	transition: all .3s ease-in-out 0s;
	-moz-transition: all .3s ease-in-out 0s;
	-webkit-transition: all .3s ease-in-out 0s;
}

.brands-page__hidden>div {
	width: 100%;
}

.brands-name {
	margin-bottom: 10px;
	transform: translateY(15px);
	transition: all .75s ease-in-out;
	-moz-transition: all .75s ease-in-out;
	-webkit-transition: all .75s ease-in-out;
}

.brands-name span {
	display: block;
	position: relative;
	color: #fff;
	font-family: var(--main-font);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .4px;
	line-height: 28px;
	text-transform: uppercase;
	z-index: 1;
}

.brands-count {
	font-size: 16px;
	line-height: 20px;
	font-style: italic;
	font-family: var(--main-font);
	color: #fff;
	transform: translateY(15px);
	transition: all .75s ease-in-out;
	-moz-transition: all .75s ease-in-out;
	-webkit-transition: all .75s ease-in-out;
}

.brands-button {
	margin-top: 25px;
	transform: translateY(25px);
	transition: all .75s ease-in-out;
	-moz-transition: all .75s ease-in-out;
	-webkit-transition: all .75s ease-in-out;
}

.brands-button a {
	padding: 10px 20px;
	border: 2px solid #fff;
	color: #fff;
	font-family: var(--main-font);
	font-size: 14px;
	line-height: 18px;
	text-transform: uppercase;
	display: inline-block;
	vertical-align: top;
	min-width: 130px;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	background: linear-gradient(to left, transparent 50%, #fff 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	text-decoration: none !important;
}

.brands-button a:hover,
.brands-button a:focus {
	background-position: left bottom;
	color: #000 !important;
}


.brands-navigation {
	/* margin: 30px 0; */
	margin: 13px 0 21px 0;
}

.brands-navigation__letters {
	margin: 0 -8px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	overflow-x: auto;
}

.brands-navigation__item {
	position: relative;
	margin: 0 10px 20px;
	border-bottom: 2px solid #121212;
	color: #121212;
	line-height: 1;
	font-family: var(--main-font);
	text-transform: uppercase;
	/* font-size: 16px; */
	font-size: 21px;
	text-decoration: none !important;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	border-bottom: none !important;
}

.brands-navigation__item::before {
	/* bottom: -3px; */
	bottom: -4px;
	left: 0;
	width: 100%;
	opacity: 1;
	visibility: visible;
	background-color: #121212;
	content: '';
	height: 2px;
	border-radius: 2px;
	position: absolute;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;

}

.brands-navigation__item:hover,
.brands-navigation__item:focus {
	color: #999;
	border-bottom: 2px solid #999;
}

.brands-navigation__item:hover::before,
.brands-navigation__item:focus::before {
	width: 0;
	opacity: 0;
	visibility: hidden;
}

span.brands-navigation__item {
	cursor: pointer;
	color: #999;
}

span.brands-navigation__item::before {
	width: 0;
	opacity: 0;
	visibility: hidden;
}

.brands-indexes-row {
	padding: 25px 0;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	background-color: transparent;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.brands-indexes-row.active {
	background-color: #f8f8f8;
}

.brands-indexes-letter {
	/* width: 35px; */
	width: 38px;
	text-align: left;
	/* font-size: 16px; */
	font-size: 20px;
	font-weight: 700;
	color: #000;
	font-family: var(--main-font);
	/* padding-left: 5px; */
}


/* Container for the category section */
.category-section {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 40px;
}

.category-indexes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}


.category-indexes-item {
	font-size: 22px;
	font-weight: 500;
	text-transform: uppercase;
	white-space: nowrap;
	margin-bottom: 10px;
}

.category-indexes-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.category-indexes-column li {
	margin-bottom: 5px;
}

.category-indexes-column li a {
	text-decoration: none;
	color: #333;
	font-size: 14px;
}

.category-indexes-column li a:hover {
	text-decoration: underline;
	color: #007bff;
}


.brands-indexes-container {
	/* width: calc(100% - 35px); */
	width: calc(100% - 38px);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding-top: 2px;
}

.brands-indexes-column,
.brands-indexes-item.in-column {
	/* width: calc(100% / 6); */
	width: calc(100% / 5);
	padding-right: 10px;
}

.brands-indexes-column:last-child,
.brands-indexes-item.in-column:last-child {
	padding-right: 0;
}

.brands-indexes-item {
	margin-bottom: 15px;
}

.brands-indexes-item, .brands-indexes-item>* {
	/* font-size: 16px; */
	font-size: 20px;
	color: #121212;
	font-family: var(--main-font);
	font-weight: 400;
	line-height: 1.2;
}

.brands-indexes-item a {
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	position: relative;
}

.brands-indexes-item a::before {
	bottom: -3px;
	left: 0;
	width: 0;
	opacity: 0;
	visibility: hidden;
	background-color: #999;
	content: '';
	height: 2px;
	position: absolute;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
}

.brands-indexes-item span {
	margin-left: 2px;
}

.brands-indexes-item a:hover,
.brands-indexes-item a:focus {
	text-decoration: none !important;
	color: #999 !important;
}

.brands-indexes-item a:hover::before,
.brands-indexes-item a:focus::before {
	opacity: 1;
	visibility: visible;
	width: 100%;
}


@media screen and (max-width: 1199px) {
	.brands-page__item {
		width: calc(25% - 10px);
	}

	.brands-indexes-column,
	.brands-indexes-item.in-column {
		width: 25%;
		margin-bottom: 20px;
	}

	.brands-name {
		margin-bottom: 5px;
	}

	.brands-button {
		margin-top: 15px;
	}

	.brands-name span {
		font-size: 20px;
		line-height: 1.2;
		letter-spacing: .3px;
	}

	.brands-navigation {
		margin: 13px 13px 21px;
	}

	.brands-navigation__letters {
		margin: 0;
	}

	.brands-navigation__item {
		margin: 0 18px 20px;
	}

	.brands-navigation__item:first-child {
		margin-left: 0;
	}

	.brands-navigation__item:last-child {
		margin-right: 0;
	}

	.brands-indexes-row {
		padding: 0 0 25px 0;
	}

	.brands-indexes-letter,
	.brands-indexes-item>* {
		font-size: 17px;
	}

	.brands-indexes-letter {
		padding-left: 1px;
	}

	.brands-indexes {
		margin: 0 7px;
	}
}

@media screen and (max-width: 767px) {
	.brands-page__item {
		width: calc(50% - 10px);
		display: none;
	}

	.brands-page__item:nth-child(-n+8) {
		display: unset;
	}

	.brands-indexes-column,
	.brands-indexes-item.in-column {
		width: calc(100% / 3);
	}
}

@media screen and (max-width: 568px) {
	.brands-indexes-column,
	.brands-indexes-item.in-column {
		width: 50%;
		padding-right: 0;
		display: flex;
		/* align-items: center; */
		align-items: baseline;
	}

	.brands-indexes-column:last-child,
	.brands-indexes-item.in-column:last-child {
		padding-right: 0;
	}
	.brands-button a {
		padding: 10px 5px;
		min-width: 100px;
	}
}