.mvwp-product-catalog,
.mvwp-product-catalog * {
	box-sizing: border-box;
}

.mvwp-product-catalog {
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.mvwp-product-catalog__filters {
	display: grid;
	grid-template-columns: minmax(240px, 1.45fr) minmax(200px, 1fr) auto;
	align-items: end;
	gap: 1rem;
	margin: 0 0 1.25rem;
	padding: 1.25rem;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 0.75rem;
	background: color-mix(in srgb, currentColor 3%, transparent);
}

.mvwp-product-catalog__filters label {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.mvwp-product-catalog__filters input,
.mvwp-product-catalog__filters select,
.mvwp-product-catalog__filters button {
	box-sizing: border-box;
	width: 100%;
	height: 42px;
	min-height: 42px;
	max-height: 42px;
	margin: 0;
	padding: 0.55rem 0.75rem;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 0.45rem;
	font: inherit;
}

.mvwp-product-catalog__filters button {
	width: auto;
	min-width: 100px;
	align-self: end;
	padding-inline: 1rem;
	padding-block: 0;
	cursor: pointer;
	font-weight: 600;
	line-height: 1;
	background: color-mix(in srgb, currentColor 6%, transparent);
	color: inherit;
}

.mvwp-product-catalog__filters button:hover {
	background: color-mix(in srgb, currentColor 11%, transparent);
}

.mvwp-product-catalog__count {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	opacity: 0.75;
}

.mvwp-product-catalog__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 2rem 0;
}

.mvwp-product-catalog__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
}

.mvwp-product-catalog__page-size {
	display: flex;
	align-items: end;
	gap: 0.65rem;
}

.mvwp-product-catalog__page-size label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.mvwp-product-catalog__page-size select,
.mvwp-product-catalog__page-size button {
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	margin: 0;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 0.45rem;
	font: inherit;
}

.mvwp-product-catalog__page-size select {
	min-width: 84px;
	padding: 0.45rem 0.6rem;
}

.mvwp-product-catalog__page-size button {
	align-self: end;
	padding: 0 0.85rem;
	color: inherit;
	background: color-mix(in srgb, currentColor 6%, transparent);
	cursor: pointer;
	line-height: 1;
}

.mvwp-product-catalog__pagination a,
.mvwp-product-catalog__pagination .is-current,
.mvwp-product-catalog__pages > span[aria-hidden] {
	display: inline-flex;
	min-width: 2.5rem;
	min-height: 2.5rem;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.65rem;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 0.45rem;
	color: inherit;
	text-decoration: none;
}

.mvwp-product-catalog__pagination .is-current {
	font-weight: 700;
	background: color-mix(in srgb, currentColor 10%, transparent);
}

.mvwp-product-catalog__pages {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
}

.mvwp-product-catalog__footer .mvwp-product-catalog__pagination {
	justify-content: flex-end;
	margin: 0;
}

.mvwp-product-catalog__category {
	margin: 2rem 0 1rem;
}

.mvwp-product-catalog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
	gap: 1rem;
}

.mvwp-product-catalog__card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
	padding: 0.75rem;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 0.5rem;
	color: inherit;
	text-decoration: none;
}

.mvwp-product-catalog__card:hover,
.mvwp-product-catalog__card:focus-visible {
	box-shadow: 0 0 0 2px currentColor;
}

.mvwp-product-catalog__image {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 5%, transparent);
}

.mvwp-product-catalog__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mvwp-product-catalog__title {
	font-weight: 700;
}

.mvwp-product-catalog__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	font-weight: 600;
}

.mvwp-product-catalog__price del {
	color: color-mix(in srgb, currentColor 68%, transparent);
	font-size: 0.88em;
	font-weight: 400;
}

.mvwp-product-catalog__price ins {
	text-decoration: none;
}

.mvwp-product-catalog__price .mvwp-discount-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.15em 0.5em;
	border-radius: 999px;
	background: #b42318;
	color: #fff;
	font-size: 0.78em;
	font-weight: 700;
	line-height: 1.4;
}

.mvwp-product-catalog__producer {
	font-size: 0.9em;
}

.mvwp-product-catalog__unavailable {
	align-self: flex-start;
	margin-top: 0.25rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, #b32d2e 10%, transparent);
	color: #8a2424;
	font-size: 0.8rem;
	font-weight: 600;
}

@media (max-width: 760px) {
	.mvwp-product-catalog__filters {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}

	.mvwp-product-catalog__filter-name {
		grid-column: 1;
	}

	.mvwp-product-catalog__filters button {
		width: 100%;
		grid-column: 1 / -1;
	}

	.mvwp-product-catalog__footer {
		align-items: center;
	}
}

@media (max-width: 480px) {
	.mvwp-product-catalog__filters {
		grid-template-columns: minmax(0, 1fr);
		padding: 1rem;
	}

	.mvwp-product-catalog__filter-name {
		grid-column: auto;
	}

	.mvwp-product-catalog__footer {
		align-items: stretch;
	}

	.mvwp-product-catalog__page-size {
		justify-content: flex-start;
	}

	.mvwp-product-catalog__footer .mvwp-product-catalog__pagination {
		justify-content: center;
	}
}
.mvwp-product-catalog .mvwp-quantity-discounts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mvwp-product-catalog .mvwp-quantity-discount {
	padding: 3px 8px;
	border: 1px solid #cfe2d5;
	border-radius: 999px;
	color: #1b5532;
	background: #eff8f1;
	font-size: 0.8em;
}
