/* Carrusel de categorías. El carrusel (flechas, paginación) viene de product-carousel.css. */

.wzpy-cats .wzpy-cats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
	transition: all .2s;
}

.wzpy-cats .wzpy-cats__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 80px;
	overflow: hidden;
	box-sizing: border-box;
	transition: all .2s;
}

.wzpy-cats__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .3s, filter .3s;
}

.wzpy-cats__item:hover .wzpy-cats__image img {
	transform: scale(1.05);
}

/* Circular: siempre cuadrado (alto = ancho), fondo blanco para que se note el círculo. */
.wzpy-cats--shape-circle .wzpy-cats__image {
	height: auto;
	aspect-ratio: 1;
	padding: 10%;
	border-radius: 50%;
	background: #fff;
}

.wzpy-cats .wzpy-cats__name {
	display: block;
	box-sizing: border-box;
	max-width: 100%;
	padding: 8px 6px;
	border-radius: 4px;
	background: #fdeedd;
	color: #ff6500;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	transition: all .2s;
}

.wzpy-cats__item:hover .wzpy-cats__name {
	background: #ff6500;
	color: #fff;
}

.wzpy-cats .wzpy-cats__count {
	color: #777;
	font-size: 12px;
}
