/* Instagram Carousel for Elementor — estilos base */

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

.ice-carousel {
	width: 100%;
	padding-bottom: 40px; /* espacio para la paginación */
}

.ice-carousel .swiper-slide {
	height: auto;
	display: flex;
}

.ice-slide-inner {
	width: 100%;
	background: #ffffff;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* El embed de Instagram trae su propio estilo; forzamos que respete el ancho del contenedor */
.ice-slide-inner .instagram-media {
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.ice-caption {
	margin: 0;
	padding: 10px 14px 14px;
	font-size: 14px;
	line-height: 1.4;
	color: #444;
	text-align: center;
}

/* Flechas */
.ice-carousel .swiper-button-next,
.ice-carousel .swiper-button-prev {
	color: #111111;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s ease, background 0.15s ease;
}

.ice-carousel .swiper-button-next:hover,
.ice-carousel .swiper-button-prev:hover {
	background: #ffffff;
	transform: scale(1.05);
}

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

/* Paginación (puntos) */
.ice-carousel .swiper-pagination {
	bottom: 0;
}

.ice-carousel .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	opacity: 0.35;
	background: #111111;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.ice-carousel .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale(1.2);
	background: #111111;
}

/* Placeholder mostrado dentro del editor de Elementor (los embeds reales no cargan ahí) */
.ice-carousel-editor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.ice-editor-card {
	min-height: 220px;
	border: 1px dashed #d0d0d0;
	align-items: center;
	justify-content: center;
}

.ice-editor-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px;
	text-align: center;
	color: #888;
	font-size: 13px;
	word-break: break-all;
}

.ice-editor-placeholder i {
	font-size: 32px;
	color: #c4c4c4;
}

@media (max-width: 767px) {
	.ice-caption {
		font-size: 13px;
	}
}
