/**
 * Highlighted products — scoped under .vz-highlighted-products
 */

.vz-highlighted-products {
	background-color: #fff;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media (min-width: 768px) {
	.vz-highlighted-products {
		padding-left: 2.75rem;
		padding-right: 2.75rem;
	}
}

.vz-highlighted-products__inner {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
}

.vz-highlighted-products__heading {
	display: flex;
	align-items: center;
	color: var(--color-gray-eleva);
}

.vz-highlighted-products__rule {
	width: 100%;
	border: none;
	border-top: 1px solid currentColor;
	margin: 0;
}

.vz-highlighted-products__title {
	display: flex;
	height: 3rem;
	align-items: center;
	flex-grow: 1;
	white-space: nowrap;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	font-size: 1.125rem;
	font-weight: 200;
	color: #6b7280;
}

@media (min-width: 768px) {
	.vz-highlighted-products__title {
		height: 4rem;
	}
}

.vz-highlighted-products__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3.5rem;
	margin-bottom: 2.5rem;
}

.vz-highlighted-products__grid > *:nth-child(n + 5) {
	display: none;
}

@media (min-width: 640px) {
	.vz-highlighted-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vz-highlighted-products__grid > *:nth-child(n + 5) {
		display: block;
	}
}

@media (min-width: 768px) {
	.vz-highlighted-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.vz-highlighted-products__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
