/**
 * WPBakery Image Carousel - Estilos frontend.
 *
 * @package WPB_Image_Carousel
 */

.wpbic-carousel-wrapper {
	position: relative;
	width: 100%;
	margin: 0 0 1.5em;
}

.wpbic-carousel-wrapper .wpbic-swiper {
	width: 100%;
	padding-bottom: 2.5em; /* deja espacio para la paginación */
}

.wpbic-carousel-wrapper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 6px;
	background: #f2f2f2;
}

.wpbic-carousel-wrapper .swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpbic-carousel-wrapper .swiper-slide a {
	display: block;
	width: 100%;
	height: 100%;
}

/* Flechas de navegación */
.wpbic-carousel-wrapper .swiper-button-next,
.wpbic-carousel-wrapper .swiper-button-prev {
	width: 40px;
	height: 40px;
	background-color: rgba( 255, 255, 255, 0.85 );
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.2 );
	color: #222;
	transition: background-color 0.2s ease;
}

.wpbic-carousel-wrapper .swiper-button-next:hover,
.wpbic-carousel-wrapper .swiper-button-prev:hover {
	background-color: #fff;
}

.wpbic-carousel-wrapper .swiper-button-next::after,
.wpbic-carousel-wrapper .swiper-button-prev::after {
	font-size: 16px;
	font-weight: bold;
}

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

.wpbic-carousel-wrapper .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #bbb;
	opacity: 1;
}

.wpbic-carousel-wrapper .swiper-pagination-bullet-active {
	background: #333;
}

@media ( max-width: 575px ) {
	.wpbic-carousel-wrapper .swiper-button-next,
	.wpbic-carousel-wrapper .swiper-button-prev {
		width: 32px;
		height: 32px;
	}
}
