/* ==========================================================================
   Vendavo Icon Carousel
   Inherits pagination + arrow styles from vendavo-carousel.css when both
   are enqueued; also works standalone via the rules below.
   ========================================================================== */

.vendavo-icon-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.vendavo-icon-carousel .vendavo-swiper {
	overflow: visible;
	width: 100%;
}
.vendavo-icon-carousel .vendavo-swiper-wrapper {
	display: flex;
	align-items: stretch;
}
.vendavo-icon-carousel .vendavo-swiper-slide {
	height: auto;
	box-sizing: border-box;
	display: flex;
}

/* ── Card ───────────────────────────────────────────────────────────────── */
.vendavo-ic-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	padding: 16px;
	background-color: transparent;
	box-sizing: border-box;
	justify-content:space-evenly;
}

.vendavo-ic-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 42px;
	color: #1A1440;
	margin-bottom: 20px;
}
.vendavo-ic-icon svg {
	width: 42px;
	height: 42px;
	fill: currentColor;
}

.vendavo-ic-title {
	margin: 0 0 12px;
	color: #1A1440;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;

	/* Base for -webkit-line-clamp (line count set from the panel). */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vendavo-ic-desc {
	margin: 0 0 20px;
	color: #1A1440;
	font-size: 15px;
	line-height: 1.5;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vendavo-ic-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border-radius: 40px;
	background-color: #A8F3D4;
	color: #1A1440;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
	white-space: nowrap;
}
.vendavo-ic-btn:hover {
	background-color: #1A1440;
	color: #FFFFFF;
}

/* ── Controls bar (pagination + arrows) ─────────────────────────────────── */
.vendavo-icon-carousel .vendavo-carousel-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 32px;
	gap: 16px;
}
.vendavo-icon-carousel .vendavo-pagination-wrap { flex: 1; }

.vendavo-icon-carousel .vendavo-swiper-pagination {
	--progress: 0%;
	--progress-color: #2AC29F;

	position: relative;
	display: block;
	width: 100%;
	max-width: 340px;
	height: 10px;
	background-color: rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow:
		inset 0 1px 2px rgba(0, 0, 0, 0.3),
		0 2px 4px rgba(0, 0, 0, 0.2);
}

.vendavo-icon-carousel .vendavo-swiper-pagination::before {
	content: '';
	position: absolute;
	inset-block: 0;
	left: 0;
	width: var(--progress, 0%);
	background: var(--progress-color, #2AC29F);
	border-radius: 6px;
	transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.vendavo-icon-carousel .vendavo-arrows {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	margin:10px 0px;
}
.vendavo-icon-carousel .vendavo-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background-color: #A8F3D4;
	color: #1A1440;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.15s ease;
	padding: 0;
	line-height: 1;
}
.vendavo-icon-carousel .vendavo-arrow:hover {
	opacity: 0.85;
	transform: scale(1.05);
}
.vendavo-icon-carousel .vendavo-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

body.elementor-editor-active .vendavo-icon-carousel .vendavo-swiper,
body.elementor-editor-active .vendavo-icon-carousel .vendavo-swiper-wrapper {
	overflow: visible;
}
