.discover-title {
	font-size: 21px;
	font-weight: 400;
	margin-top: 50px;
	margin-bottom: 10px;
}

.discover-title.big {
	font-size: 28px;
	text-align: center;
	margin-bottom: 20px;
}

.discover-grid {
	--grid-layout-gap: 20px;
	--grid-column-count: 3;
	--grid-item--min-width: 200px;

	--gap-count: calc(var(--grid-column-count) - 1);
	--total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
	--grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
	gap: var(--grid-layout-gap);

	margin-bottom: 20px;
}

.discover-grid.cat_full {
	grid-template-columns: 1fr;
}

.discover-grid .card {
	min-height: 100px;
	border-radius: 15px;
	padding: 30px;

	background-color: var(--tertiary-color);
	color: #fff;
	font-weight: 400;

	display: flex;
	gap: 10px;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.discover-grid .card:hover {
	box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}

.discover-grid a {
	text-decoration: none;
}

.discover-grid:not(.cat_small) .card {
	--gradient: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
	background-image: var(--gradient);
	align-items: flex-start;
	justify-content: flex-end;
}

.discover-grid.cat_small .card {
	height: 150px;
	font-size: 24px;
	font-weight: 500;
}

.discover-grid.cat_medium .card {
	height: 350px;
	font-size: 21px;
}

.discover-grid.cat_large .card {
	height: 510px;
	padding: 30px 45px;
	font-size: 28px;
}

.discover-grid.cat_full .card {
	height: 430px;
	padding: 45px 65px;
	font-size: 28px;
}

.discover-grid .card span {
	font-size: 14px;
	text-decoration: underline;
}

.discover-products {
	margin-bottom: 20px;
}

@media (max-width:768px) {
	.discover-grid.cat_full .card {
		padding: 30px;
	}
}

/* fix grid gap below products */
.discover-products ul.products::after {
	display: none;
}

/* HOW TO */
.how-to {
	min-height: 100px;
	border-radius: 15px;
	padding: 40px;
	margin-bottom: 35px;
	position: relative;

	background-color: #fff;
	font-weight: 400;

	display: flex;
	gap: 35px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.how-to .close {
	width: 15px;
	height: 15px;
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}

.how-to a {
	text-decoration: none;
}

.how-to>h3 {
	font-size: 28px;
	font-weight: 400;
}

.how-to .how-to-grid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 40px;
}

.how-to .how-to-cell {
	display: flex;
	flex-direction: column;
	gap: 15px;

	text-align: center;
}

.how-to .how-to-cell img {
	height: 170px;
	background-color: var(--primary-color);
	border-radius: 10px;
	object-fit: cover;
}

.how-to .how-to-cell h4 {
	font-size: 18px;
	font-weight: 400;
}

.how-to .how-to-cell span {
	color: #353535;
	font-size: 13px;
	text-decoration: underline;
}

.how-to .how-to-cell h4:empty,
.how-to .how-to-cell span:empty {
	display: none;
}

.how-to .how-to-cell:hover img {
	box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
}

@media (max-width: 1024px) {
	.how-to .how-to-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.discover-loading {
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 700;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	gap: 10px;
}