.mepal-product-grid {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}

.mepal-product-card {
	background: #fff;
	border: 1px solid #e6ddd3;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.mepal-product-card__media {
	background: #f4eee7;
	display: block;
	overflow: hidden;
}

.mepal-product-card__image {
	aspect-ratio: 1 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 0.25s ease;
	width: 100%;
}

.mepal-product-card__media:hover .mepal-product-card__image {
	transform: scale(1.025);
}

.mepal-product-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.15rem, 2vw, 1.5rem);
}

.mepal-product-card__title {
	color: #2f241e;
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
	line-height: 1.3;
	margin: 0 0 0.7rem;
}

.mepal-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.mepal-product-card__description {
	color: #5f534b;
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 0 0 1.15rem;
}

.mepal-product-card__link {
	align-self: flex-start;
	color: #6f4529;
	font-weight: 700;
	margin-top: auto;
	text-decoration: underline;
	text-decoration-color: rgba(111, 69, 41, 0.35);
	text-underline-offset: 0.22em;
}

.mepal-product-card__title a:hover,
.mepal-product-card__link:hover {
	color: #9e6e3a;
}

.mepal-product-card a:focus-visible {
	border-radius: 3px;
	outline: 3px solid #9e6e3a;
	outline-offset: 4px;
}

@media (max-width: 1024px) {
	.mepal-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mepal-product-grid {
		grid-template-columns: 1fr;
	}
}
