.results {
	background: var(--color-bg-secondary);
}

.catalog {
	margin-bottom: 50px;
}

.group__banner {
	width: 100%;
	height: 150px;
	position: relative;
}

.group__banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	left: 0;
	top: 0;
}

.group__banner.results h1 {
	font-size: 22px;
}

.group__banner-heading {
	position: relative;
	padding-top: 30px;
	color: #fff;
}

.results .group__banner-heading {
	color: var(--color-text-primary);
	padding: 0;
	text-align: center;
}

.results.group__banner {
	display: flex;
	justify-content: center;
	align-items: center;
}

.filter__group {
	display: flex;
    justify-content: space-between;
    align-items: center;
	position: relative;
	font-size: 10px;
	border-top: 1px solid #d4d4d8;
	width: 100%;
	text-align: left;
	letter-spacing: .125em;
	text-transform: uppercase;
}

.filter__group a {
	padding: 9px 12px;
	width: 100%;
}

.filter__groups-button svg {
	height: 12px;
	width: 12px;
	transition: transform .25s ease-in-out;
}

.filter__groups-button {
	cursor: pointer;
	display: block;
	padding: 9px 12px;
}

.products__list {
	gap: 40px 20px;
}

.filter__subgroup {
	display: none;
}

.filter__group-wrapper.opened > .filter__subgroup {
	display: block;
}

.filter__group-wrapper.opened > .filter__group svg{
	transform: rotate(180deg);
}

.filter__group-wrapper--checkbox {
	display: flex;
    gap: 10px;
    align-items: center;
    height: 33px;
}

.filter__group-wrapper--checkbox input[type="checkbox"] {
  	appearance: none;
  	-webkit-appearance: none;
	width: 14px;
    height: 14px;
}


.filter__group-wrapper--checkbox input[type="checkbox"]:before {
	content: "";
    display: inline-block;
    position: relative;
    border: 1px solid #bfbfbf;
    transition: border-color .25s ease-in-out, background-color .25s ease-in-out;
	width: 12px;
    height: 12px;
}

.filter__group-wrapper--checkbox input[type="checkbox"]:checked:before {
    border: 1px solid #000;
    background-color: #000;
}

.sub-1 .filter__group a {
	padding-left: 24px;
}

.sub-2.filter__group a {
	padding-left: 36px;
}

.sub-3.filter__group a {
	padding-left: 48px;
}

.filter__groups li.active > .filter__group {
	background: #d3d3d3;
}

.sorter {
	margin-bottom: 20px;
	text-align: end;
}

.sorter__select {
	min-width: 180px;
    outline: 0;
    margin-top: 5px;
    cursor: pointer;
    background: var(--color-bg-primary-inverted);
    color: #fff;
    padding: 6px 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    font-family: var(--font-caption-family);
    border-radius: 0;
	background-image: url('https://teddybaldassarre.com/cdn/shop/t/84/assets/icon-sort-arrow.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 7px 7px;
}

.filter__button {
	margin-bottom: 15px;
}

.filter__actions button {
	cursor: pointer;
}

@media(max-width: 768px) {
	.filter {
		display: none;
	}

	.filter__group-wrapper--checkbox {
		padding: 0px 12px;
	}

	.filter.opened {
		display: block;
	}

	.filter {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 100;
		background: #fff;
		overflow: auto;
	}

	.filter__groups {
		background: #fff;
	}

	.filter__actions {
		background: #fff;
		display: flex;
		align-items: center;
		justify-content: right;
		padding: 25px;
		border-bottom: 1px solid #d4d4d8;
	}

	.results.group__banner {
		height: 110px;
	}
}

@media(min-width: 769px) {
	.filter__actions {
		display: none;
	}
	
	.products__list {
		grid-template-columns: 1fr 1fr;
	}

	.group__banner {
		height: 200px;
	}

	.results.group__banner {
		height: 150px;
	}

	.catalog {
		display: grid;
		grid-auto-flow: column;
		grid-template-columns: 250px 1fr;
		grid-gap: 24px;
	}

	.catalog__searchResults {
		display: block;
	}

	.filter__button {
		display: none;
	}

	.group__banner.results h1 {
		font-size: 34px;
	}
}

@media(min-width: 992px) {
	.group__banner {
		height: 300px;
	}

	.results.group__banner {
		height: 150px;
	}

	.catalog {
		grid-template-columns: 296px 1fr;
	}
}

@media(min-width: 1120px) {
	.products__list {
		grid-template-columns: 1fr 1fr 1fr;
	}
}