/* =========================================
   KLIPSA HOMEPAGE CATEGORY SLIDER
========================================= */

.klipsa-cat-slider-wrapper {
	position: relative;
	width: 100%;
}

.klipsa-cat-slider-viewport {
	overflow: hidden;
	width: 100%;
	padding: 10px 0;
}

.klipsa-cat-slider-track {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	transition: transform .35s ease;
	will-change: transform;
}

.klipsa-cat-slide {
	flex: 0 0 calc((100% - 100px) / 6);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.klipsa-cat-slide a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: #111;
	width: 100%;
}

/* Category image */
.klipsa-cat-slide img {
	width: 125px;
	height: 125px;
	object-fit: cover;
	border-radius: 50%;
	background: #f7f7f7;
	padding: 7px;
	border: 1px solid rgba(214, 173, 104, .25);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.klipsa-cat-slide:hover img {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
	border-color: #d6ad68;
}

/* Category title */
.klipsa-cat-slide span,
.klipsa-cat-slide h2,
.klipsa-cat-slide .klipsa-cat-title {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
	text-align: center;
	min-height: 40px;
	max-width: 145px;
}

/* Slider buttons */
.klipsa-cat-prev,
.klipsa-cat-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #e5e5e5;
	background: #fff;
	color: #111;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .2s ease;
}

.klipsa-cat-prev:hover,
.klipsa-cat-next:hover {
	border-color: #d6ad68;
	background: #d6ad68;
	color: #fff;
}

.klipsa-cat-prev:disabled,
.klipsa-cat-next:disabled {
	opacity: .35;
	cursor: not-allowed;
}

/* Tablet */
@media (max-width: 768px) {
	.klipsa-cat-slider-track {
		gap: 16px;
	}

	.klipsa-cat-slide {
		flex: 0 0 calc((100% - 32px) / 3);
	}

	.klipsa-cat-slide img {
		width: 105px;
		height: 105px;
	}

	.klipsa-cat-slide span,
	.klipsa-cat-slide h2,
	.klipsa-cat-slide .klipsa-cat-title {
		font-size: 13px;
		max-width: 125px;
		min-height: 36px;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.klipsa-cat-slider-track {
		gap: 12px;
	}

	.klipsa-cat-slide {
		flex: 0 0 calc((100% - 12px) / 2);
	}

	.klipsa-cat-slide img {
		width: 85px;
		height: 85px;
		padding: 5px;
	}

	.klipsa-cat-slide span,
	.klipsa-cat-slide h2,
	.klipsa-cat-slide .klipsa-cat-title {
		font-size: 12px;
		max-width: 100px;
		min-height: 32px;
	}
}