/**
 * Product Category Carousel styles.
 * Most visual properties are controllable from the Elementor Style tab;
 * these are sensible defaults.
 */

.pcc-carousel {
	position: relative;
	width: 100%;
}

.pcc-carousel__swiper {
	width: 100%;
	overflow: hidden;
}

/* Each slide centers its content (image + title). */
.pcc-carousel .swiper-slide {
	height: auto;
	display: flex;
}

.pcc-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease;
}

a.pcc-item:hover {
	transform: translateY(-3px);
}

/* Image wrapper — width/height/radius are overridden by the widget controls. */
.pcc-item__image {
	width: 120px;
	height: 120px;
	max-width: 100%;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.pcc-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}

.pcc-item__title {
	margin-top: 14px;
	font-weight: 600;
	line-height: 1.3;
	width: 100%;
}

/* Arrows: clean rounded buttons by default. */
.pcc-carousel .swiper-button-prev,
.pcc-carousel .swiper-button-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #ffffff;
	color: #222222;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.12 );
	top: 50%;
	transform: translateY( -50% );
	margin-top: 0;
}

/* Keep arrows clear of the titles by anchoring to the image row. */
.pcc-carousel .swiper-button-prev { left: 0; }
.pcc-carousel .swiper-button-next { right: 0; }

.pcc-carousel .swiper-button-prev::after,
.pcc-carousel .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}

.pcc-carousel .swiper-button-disabled {
	opacity: 0.35;
}

/* Pagination dots. */
.pcc-carousel .swiper-pagination {
	position: static;
	margin-top: 18px;
}
