/* Basic Fade Slider - estilos frontend */

.bfs-slider-wrapper {
	position: relative;
	width: 100%;
}

.bfs-slider {
	position: relative;
	width: 100%;
	height: 450px;
	overflow: hidden;
	border-radius: 4px;
	touch-action: pan-y; /* permite scroll vertical normal y detecta el swipe horizontal */
}

.bfs-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.bfs-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity ease-in-out, visibility ease-in-out;
	transition-duration: inherit;
}

.bfs-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.bfs-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bfs-slide a {
	display: block;
	width: 100%;
	height: 100%;
}

.bfs-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px 30px;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.6 ), rgba( 0, 0, 0, 0 ) );
	color: #ffffff;
	font-size: 18px;
	line-height: 1.4;
	pointer-events: none;
	z-index: 2;
}

/* Flechas de navegación */
.bfs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 3;
	background: rgba( 0, 0, 0, 0.35 );
	border: none;
	color: #ffffff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.bfs-arrow:hover {
	background: rgba( 0, 0, 0, 0.6 );
}

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

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

/* Puntos de navegación */
.bfs-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 15px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.bfs-dot {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.6 );
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

/* Área táctil ampliada e invisible, sin afectar el tamaño visual del punto */
.bfs-dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	transform: translate( -50%, -50% );
}

.bfs-dot:hover {
	transform: scale( 1.2 );
}

.bfs-dot.is-active {
	background: #e91e63;
}

/* Tablet */
@media ( max-width: 1024px ) {
	.bfs-caption {
		font-size: 16px;
		padding: 18px 24px;
	}
}

/* Celular */
@media ( max-width: 767px ) {
	.bfs-slider {
		border-radius: 0; /* de borde a borde en pantallas pequeñas */
	}

	/* El área táctil se mantiene en 40px aunque el ícono se vea más pequeño */
	.bfs-arrow {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}

	.bfs-arrow-prev {
		left: 8px;
	}

	.bfs-arrow-next {
		right: 8px;
	}

	.bfs-caption {
		font-size: 14px;
		padding: 14px 16px;
	}

	.bfs-dots {
		bottom: 10px;
		gap: 14px;
	}

	.bfs-dot {
		width: 8px;
		height: 8px;
	}
}

/* Celular pequeño */
@media ( max-width: 380px ) {
	.bfs-caption {
		font-size: 13px;
		padding: 12px 14px;
	}

	.bfs-arrow {
		width: 36px;
		height: 36px;
	}
}
