
.products-wrapper-flex {
	display: flex;
	flex-wrap: wrap;
	padding: 2em 1.5em 0;
}

.ma-product-list-wrapper {
	flex-basis: 20%;
	max-width: 20%;
	box-sizing: border-box;
	padding: 2px;
}

a.product-block {
	text-decoration: none;
	color: var(--color-black);
	display: flex;
	flex-direction: column;
}

a.product-block picture {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
}

a.product-block img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	object-fit: contain;
}

.ma-product-meta {
	flex-basis: 50%;
	padding-top: 1em;
	text-align: center;
}

a.product-block .ma-product-meta h3 {}

.ma-price-block,
.ma-price-block h3,
.ma-price-block h2 {
	font-size: 15px;
}

.ma-price-block {
	display: flex;
	flex-direction: column;
}

.ma-price-block p.price-old {
	margin: 0;
	padding: 0;
	order: -1;
}

.ma-price-block h2.price-current {
	color: #dc3545;
}

.ma-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2em;
}

.previous-button, .next-button {
	background-color: white;
	border: 1px solid #c4c4c4;;
	box-shadow: none;
}

.page {
	display: flex;
	gap: .5em;
}

.ma-pagination-buttons-and-page {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
}

@media only screen and (max-width: 1000px) {
	.ma-product-list-wrapper {
		flex-basis: 24%;
		max-width: 24%;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 700px) {
	.ma-product-list-wrapper {
		flex-basis: 33%;
		max-width: 33%;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 640px) {
.ma-product-list-wrapper {
	flex-basis: 49%;
	max-width: 49%;
	box-sizing: border-box;
}

.product-wrapper-inner {
	grid-template-columns: 1fr;
}
}