/* Custom Elementor Carousel - Frontend Styles */

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

.cec-carousel {
	width: 100%;
	overflow: hidden;
}

.cec-carousel .swiper-wrapper {
	align-items: stretch;
}

.cec-carousel-wrapper.cec-equal-height .swiper-slide {
	height: auto;
}

.cec-slide-inner {
	position: relative;
	width: 100%;
	min-height: 200px;
	box-sizing: border-box;
}

/* Elementor Template ke andar jo bhi section/container render ho, use pura width le lena chahiye */
.cec-slide-inner > .elementor {
	width: 100%;
}

.cec-slide-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 20px;
	background: #f4f4f4;
	color: #888;
	font-size: 14px;
	text-align: center;
	border: 1px dashed #ccc;
	box-sizing: border-box;
}

/* Navigation Arrows */
.cec-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	transition: background-color 0.3s ease;
	font-size: 16px;
	user-select: none;
}

.cec-arrow:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.cec-arrow-prev {
	left: 15px;
}

.cec-arrow-next {
	right: 15px;
}

.cec-arrow .cec-arrow-fallback {
	line-height: 1;
}

.cec-arrow i[class*="eicon-"] {
	display: inline-block;
}

/* Pagination */
.cec-carousel .swiper-pagination {
	position: relative;
	margin-top: 15px;
	text-align: center;
}

.cec-carousel .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.3);
	opacity: 1;
	margin: 0 5px;
}

.cec-carousel .swiper-pagination-bullet-active {
	background: #6c3cf0;
}

.cec-carousel .swiper-pagination-progressbar {
	background: rgba(0, 0, 0, 0.15);
	height: 4px;
}

.cec-carousel .swiper-pagination-progressbar-fill {
	background: #6c3cf0;
}

.cec-carousel .swiper-pagination-fraction {
	color: #333;
	font-size: 14px;
}

@media (max-width: 767px) {
	.cec-arrow {
		width: 32px;
		height: 32px;
	}
}
