main {
	text-align: left;
	/*margin: 100px 0px;
	height: 300vh;*/
}

h1 {
	text-align: center;
	/*padding: 0px var(--inside-space);
	margin: 20px 0px 0px 0px;
	font-size: 25px;*/
}

.omit {
	filter: brightness(50%);
}

#cats {
	/*width: 25%;*/
	position: sticky;
	top: 0px;
	margin: 0px;
	padding: 5px;
	list-style: none;
	width: max(140px, 25%);
	height: 100%;
	justify-content: space-evenly;
	align-items: flex-start;
}

#cats > h3 {
	font-weight: bold;
}

#cats > li > a > div > svg {
	margin: 2px;
}

#cats > li {
	max-width: 100%;
	flex-direction: column;
	margin: 10px;
}

#cats > li > a {
	color: var(--black-1);
}

#cats > li > a:hover {
}

#cats > li > a.active {
	color: var(--purple-1);
}

#subcats {
	display: none;
	margin-bottom: 3px;
	margin-left: 10px;
}

/*
@keyframes wi {
  from {
		width: 0%;
	}
  to {
		width: 100%;
	}
}
*/
/*
@keyframes he {
  from {
		height: 0%;
	}
  to {
		height: 100%;
	}
}
*/

#subcats.active {
	display: block;
	padding: 1px;
	animation-name: he;
	animation-duration: 0.8s;
}

#subcats > a {
	color: var(--black-1);
	display: block;
	margin: 10px;
}

#subcats > a.active {
	color: var(--purple-1);
	animation-name: wi;
	animation-duration: 0.8s;
}

#subcats > a:hover {
}

#catalog {
	height: 100%;
	display: flex;
	flex-direction: column;
	margin: 10px var(--inside-space) 20px var(--inside-space);
}

#catalog > div {
	display: flex;
	height: 100%;
}

#prods {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#all {
	display: grid;
}

.products {
	left: 0px;
	top: 50px;
	grid-template-columns: repeat(3, calc(100% / 3));
	width: 100%;
	padding-bottom: 38px;
}

.products > a {
	display: flex;
	flex-direction: column;
	margin: 20px;
	transition: 0.2s ease;
}

.products > a:hover {
	margin: 10px;
	transition: 0.2s ease;
}

.products > a:hover > span {
	transition: 0.2s ease;
}

.products > a > img {
	width: 100%;
	background-color: var(--grey-1);
	border-radius: var(--soft);
}

.pro {
	user-select: none;
	position: relative;
}

.pro > span {
	display: flex;
	align-items: center;
	color: var(--black-1);
	font-weight: bold;
	padding: 5px 10px;
	width: 100%;
	height: 70px;
	transition: 0.2s ease;
}

.pro > small {
	color: white;
	font-weight: bold;
	text-align: center;
	pointer-events: none;
	user-select: text;
	padding: 2px 10px;
	background-color: var(--purple-1);
	border-top-left-radius: var(--semicircle);
	border-bottom-left-radius: var(--semicircle);
	position: absolute;
	right: 0px;
	top: 250px;
}

/*.pro > div * {
	display: none;
	color: white;
}*/

.products > a > div {
	display: flex;
	flex-direction: column;
	height: 0px;
	gap: 3px;
	transition: 0.2s ease;
	overflow: hidden;
}

.products > a:hover > div {
	height: 100%;
	padding: 5px;
	transition: 0.2s ease;
}

.pdesc {
	margin: 3px;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
}

.pdesc > div {
	/*font-weight: normal;*/
	font-size: 13px;
	display: -webkit-inline-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
	text-overflow: ellipsis;
	overflow: hidden;
	max-height: 50px !important;
}

.pdesc * {
	width: 100% !important;
	color: var(--black-1);
}

/*.pdesc > div > b {
	display: inline;
	color: black;
}*/

.getquote {
	border: none;
	background-color: var(--grey-1);
	border-radius: var(--semicircle);
	font-weight: normal;
	color: var(--purple-1);
	padding: 5px;
}

#filtered {
	display: none;
}

.pages {
	grid-column: 1 / span 3;
	text-align: center;
	padding: var(--inside-space);
	min-width: 100%;
	display: flex;
	gap: 10px;
	justify-content: center;
}

.pages a {
	border-radius: var(--semicircle);
	padding: 5px;
	display: inline-block;
	white-space: nowrap;
	min-width: 30px;
}

.pages a:hover {
	background-color: var(--purple-2);
}

.pages a.active {
	display: block;
	background-color: var(--purple-1);
	color: white;
}

.pages > div {
	display: flex;
	/*justify-content: center;*/
	overflow: hidden;
	padding: 5px;
	gap: 2px;
}

.prev, .next {
	min-width: 40px !important;
	margin: auto 10px;
}

#filters {
	overflow: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 5px;
	gap: 5px;
}

.filter {
	padding: 5px;
}

.filter > label {
	font-weight: normal;
}

.filter > select {
	border-radius: var(--semicircle);
	padding: 5px;
}

.filter > input {
	border-top-left-radius: var(--semicircle);
	border-bottom-left-radius: var(--semicircle);
}

.viewer {
	display: none;
}

#find-filter {
	display: flex;
}

#find {
	border: 1px solid var(--black-1);
	padding: 5px;
}

#go {
	cursor: pointer;
	border: 1px solid var(--black-1);
	border-left: none;
	padding: 5px;
	border-top-right-radius: var(--semicircle);
	border-bottom-right-radius: var(--semicircle);
}

#go > icon > svg {
	margin-top: 2px;
	margin-right: 4px;
}

#search {
	visibility: hidden;
	height: 1px !important;
}

#features2 {
	display: none;
}

@media screen and (max-width: 960px) {
	.products {
		grid-template-columns: repeat(2, 50%);
	}

	#find-filter {
		display: none;
	}

	.pages {
		grid-column: 1 / span 2;
	}
}

@media screen and (max-width: 595px) {
	/*#cats {
		font-size: 12px;
	}

	.pages {
		font-size: 12px;
	}

	#subcats > a {
		font-size: 10px;
	}*/

	.pages {
		grid-column: 1 / span 1;
	}

	.pages a {
		display: none;
	}

	.next, .prev {
		display: block !important;
	}

	.products {
		grid-template-columns: repeat(1, 100%);
		font-size: 12px;
		top: 0px;
	}

	#filters {
		display: none;
	}

	#burger {
		top: -123px !important;
	}
}
