.brands-container {
	background-color: #eeeeee;
}

.brands-container-grid {
	display: block;
	position: relative;
	/* 	overflow: hidden; */
}

.brands-grid {
	row-gap: 4rem;
	column-gap: 2rem;
	align-content: baseline;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	padding: 4rem 5.9em;
	justify-content: center;
}

.selected-brand-icon {
	display: grid;
	grid-template-rows: 46vh 46vh;
	position: sticky;
	top: 0;
}

.selected-brand-icon .description {
	background: #000;
	color: #fff;
	padding: 30px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	position: relative;
}

.selected-brand-icon .description .desc {
	width: 100%;
}

.selected-brand-icon .description .close-tab {
	position: absolute;
	right: 30px;
	font-size: 1.5rem;
	cursor: pointer;
}

.selected-brand-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.selected-brand-icon.no-img {
	display: block;
	height: 100%;
}

.selected-brand-icon.no-img .description {
	height: 100%;
}

.single-brand img {
	cursor: pointer;
	filter: grayscale(100%);
	transition: all 0.5s ease-in-out;
}

.single-brand.active-brand img {
	filter: unset;
}

.single-brand {
	position: relative;
	opacity: 0;
	transition: all 0.4s ease-in-out;
}
.single-brand.visible {
	opacity: 1;
}
.single-brand {
	width: 12em;
	display: grid;
	align-items: center;
	justify-content: center;
}

.single-brand img.logo {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	transition: all 0.2s ease-in-out;
}

.single-brand.active-brand img.logo {
	opacity: 1;
}

.single-brand:hover img {
	filter: unset;
}

.brands-categories select {
	border-radius: 1000px;
	position: relative;
	color: #fff;
	font-size: 1.05rem;
	font-family: "Inter";
	font-weight: 400;
	padding: 0.85rem 2.1rem 0.75rem;
	border: 2px solid #000;
	background: #000;
	-webkit-appearance: none;
	transition: all 0.3s ease-in-out;
	background-position-x: 90%;
}

.select-boxes > div {
	position: relative;
}

.select-boxes > div:after {
	content: "\f078";
	font-family: "Font Awesome 6 Pro";
	position: absolute;
	font-size: 1.2rem;
	top: 0.725rem;
	right: 10%;
	color: #fff;
	pointer-events: none;
	transition: all 0.3s ease-in-out;
}

.brands-categories:hover select {
    background: #fff;
    color: #000;
}

.brands-categories:hover:after {
    color: #000;
}

.select-boxes > div select:focus {
	outline: none;
	box-shadow: none;
}

.select-boxes {
	display: grid;
	/* grid-template-columns: repeat(3, 1fr); */
	gap: 2rem;
	margin: 4rem auto;
}

@media (min-width: 600px) {
	.selected-brand-icon .description {
		padding: 30px 5rem;
	}

	/*     .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    } */
}

.selected-brand-icon-container {
	transform: translatex(100%);
}

@media (max-width: 960px) {
	.select-boxes {
		max-width: 20rem;
	}

	.brands-grid {
		padding-left: 30px;
		padding-right: 30px;
	}

	.brands-container-grid {
		overflow: hidden;
	}

	.selected-brand-icon-container {
		position: fixed;
		bottom: 0;
		top: 0;
		left: 0;
		right: 0;
		height: 100vh;
	}
	body .selected-brand-icon .description .close-tab {
		position: fixed;
		right: 30px;
		top: 4em;
		font-size: 1.5rem;
		cursor: pointer;
	}
	.selected-brand-icon .description {
		overflow: auto;
		align-content: start;
	}
}

@media (min-width: 960px) {
	.selected-brand-icon .description .close-tab {
		right: 5rem;
	}

	.selected-brand-icon-container {
		width: 44.947916666666667%;
		position: absolute;
		height: 100%;
		right: 0;
		top: 0;
	}

	/*     .brands-grid {
        grid-template-columns: repeat(7, 1fr);
    } */

	.select-boxes {
		display: grid;
		width: fit-content;
		min-width: 20em;
	}

	/*     .brands-container-grid {
        grid-template-columns: 50% 50%;
    } */
}
