main,
section,
main.category-view section>div>div {
	display: flex;
	width: 100%;
	align-content: center;
	height: min-content;
	overflow: hidden;
	justify-content: space-between;
	align-items: flex-start
}

main.landing-view,
section {
	flex-flow: column
}

#main-products-block {
    margin-left: 40px;
    width: 90%;
}

#product-display {
    display: flex;
    flex-flow: row wrap;
    gap: 17px;
}

.products-page {
	display: flex;
	flex-direction: row
}

#filter-form {
	display: flex;
	flex-direction: row;
	width: 100%;
	margin-bottom: 26px;
}

#filter-block {
	display: block;
	width: 20%;
	margin-bottom: 26px;
}

#filter-form::after {
	display: none;
}

#filter-open-button {
	display: none;
}

.align-label-checkbox {
	display: flex;
	align-items: flex-start;
}

.checkbox {
	vertical-align: middle;
}

/* FOR PAGINATION */

.sticky-pagination-bar {
	font-size: 14px;
	position: relative;
	margin: 5px 25px 5px 35px;
	width: auto;
	padding: 5px;
	bottom: 0;
	background-color: var(--color-white);
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.sticky-pagination-bar>div {
	display: flex;
	flex-direction: row;
}

.sticky-pagination-bar>div {
	margin-right: 10px;
}

.page {
	margin: 0px 10px;
}

.inputPage,
.page>span {
	display: inline-block;
	color: var(--color-primary-blue);
}

.results input {
	width: 50px;
	margin: 0px 0px;
	border: none;
	text-align: right;
}

.next-button {
	margin-right: 10px;
}

.next-button,
.previous-button {
	height: 45px;
	cursor: pointer;
}

@media only screen and (max-width: 1050px) {
	.product-block {
		min-width: 30%;
	}
}

@media only screen and (max-width: 930px) {
	#filter-block {
		width: 25%;
	}
}

@media only screen and (max-width: 905px) {

	.sticky-pagination-bar {
		display: flex;
		flex-wrap: wrap;
	}

	.sticky-pagination-bar>div {
		/* Display two child divs in a row */
		box-sizing: border-box;
	}

	.sticky-pagination-bar button,
	.sticky-pagination-bar select {
		border: none;
	}

	.sticky-pagination-bar button:disabled {
		background-color: white;
	}
}

/* Start mobile specific rules */
@media only screen and (max-width: 800px) {

		#filter-block {
			display: none;
			position: absolute;
			width: 100%;
			padding: 5% 5%;
			border: 1px solid var(--color-gray-2);
			top: 30%;
			left: 0;
			z-index: 5;
			background-color: var(--color-white);
			flex-flow: column nowrap;
			margin: initial;
		}
	
		#filter-block.block {
			display: block;
		}

		#main-products-block {
			margin-left: 0px;
			width: 100%;
		}

		#product-display{
			justify-content: center;
		}
	
		.heading-filter-btn h2 {
			display: inline-block;
		}
	
		.heading-filter-btn #filter-open-button {
			display: inline-block;
			fill: var(--color-primary-blue);
			border: none;
		}
}

@media only screen and (max-width: 500px) {

	.product-block {
		min-width: 80%;
	}

	.product-block picture {
		min-height: 80vw;
	}
}