/* Category cards. */
.syf-coffee-cats {
	--syf-coffee-cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--syf-coffee-cols), minmax(0, 1fr));
	gap: 18px;
}

.syf-coffee-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 26px 18px 22px;
	border-radius: var(--syf-coffee-r-lg);
	color: var(--syf-coffee-ink);
	text-align: center;
	transition: transform .3s, box-shadow .3s;
}

.syf-coffee-cat:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 60px var(--syf-coffee-shadow);
	color: var(--syf-coffee-ink);
}

.syf-coffee-cat-ph {
	position: relative;
	display: block;
	overflow: hidden;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	background: var(--syf-coffee-tile);
	box-shadow: 0 0 0 7px var(--syf-coffee-glass-2), 0 0 0 8px var(--syf-coffee-dash);
}

.syf-coffee-cat-ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s;
}

.syf-coffee-cat:hover .syf-coffee-cat-ph img {
	transform: scale(1.1);
}

.syf-coffee-cat-name {
	margin-top: 8px;
	font-weight: 900;
	font-size: 1.08rem;
}

.syf-coffee-cat-name a,
.syf-coffee-cat-name a:hover {
	color: inherit;
}

/* Products: price + add to cart instead of the count line */
.syf-coffee-cat-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin-top: auto;
	padding-top: 6px;
	color: var(--syf-coffee-accent);
	font-size: 1.05rem;
}

.syf-coffee-cat-foot .syf-coffee-add {
	width: 40px;
	height: 40px;
}

.syf-coffee-cat-foot .added_to_cart {
	display: none;
}

.syf-coffee-cat .product-labels {
	z-index: 2;
}

.syf-coffee-cat-desc {
	color: var(--syf-coffee-mute);
	font-size: .86rem;
	line-height: 1.5;
}

.syf-coffee-cat-count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--syf-coffee-accent);
	font-weight: 800;
	font-size: .8rem;
}

.syf-coffee-cat-count .syf-coffee-ic {
	width: 15px;
	height: 15px;
}

@media (max-width: 640px) {
	.syf-coffee-cats {
		gap: 12px;
	}

	.syf-coffee-cat {
		padding: 18px 10px;
		border-radius: 24px;
	}

	.syf-coffee-cat-ph {
		width: 78px;
		height: 78px;
	}

	.syf-coffee-cat-desc {
		display: none;
	}
}
