.mec-carousel-wrapper {
	--mec-slides-per-view: 4;
	--mec-space-between: 20px;
	position: relative;
	width: 100%;
	direction: ltr;
}

.mec-carousel-wrapper[data-rtl="true"] {
	direction: rtl;
}

.mec-swiper {
	width: 100%;
	overflow: hidden;
	padding: 0 4px 40px;
	box-sizing: border-box;
}

.mec-swiper .swiper-wrapper {
	align-items: stretch;
}

.mec-slide {
	height: auto;
}

.mec-slide-inner {
	display: block;
	height: 100%;
	text-decoration: none;
	box-sizing: border-box;
}

.mec-slide-image {
	width: 100%;
	overflow: hidden;
}

.mec-slide-image img {
	display: block;
	max-width: 100%;
}

.mec-slide-title {
	font-size: 16px;
	line-height: 1.5;
}

/* فلش‌ها */
.mec-swiper .swiper-button-next,
.mec-swiper .swiper-button-prev {
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mec-swiper .swiper-button-next::after,
.mec-swiper .swiper-button-prev::after {
	font-size: 14px;
	font-weight: bold;
}

/* نقاط */
.mec-swiper .swiper-pagination {
	bottom: 0;
}

.mec-swiper .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	opacity: 0.4;
}

.mec-swiper .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width: 1024px) {
	.mec-carousel-wrapper {
		--mec-slides-per-view-current: var(--mec-slides-per-view-tablet, 2);
	}
}

@media (max-width: 767px) {
	.mec-carousel-wrapper {
		--mec-slides-per-view-current: var(--mec-slides-per-view-mobile, 1);
	}
}
