.bsr-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	touch-action: pan-y; /* permite scroll vertical, captura swipe horizontal */
	transition: height 0.35s ease;
}

/* Modo pantalla completa: rompe el contenedor del tema y ocupa todo el ancho */
.bsr-slider.bsr-full {
	width: 100vw;
	max-width: 100vw;
	height: fit-content !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.bsr-track {
	display: flex;
	
	transition: transform 0.45s ease;
	will-change: transform;
}

.bsr-slide {
	flex: 0 0 100%;
	min-width: 100%;
	height: 100%;
}

.bsr-slide a,
.bsr-slide picture {
	display: flex;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* La imagen cubre TODO el contenedor: ancho completo, centrada,
   y recorta lo mínimo necesario si la proporción no coincide */
.bsr-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	user-select: none;
	-webkit-user-drag: none;
}

/* Flechas */
.bsr-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	border: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bsr-arrow:hover { background: rgba(0, 0, 0, 0.75); }

.bsr-prev { left: 12px; }
.bsr-next { right: 12px; }

/* Puntos */
.bsr-dots {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 2;
}

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

.bsr-dot.active {
	background: #fff;
	transform: scale(1.25);
}

@media (max-width: 767px) {
	.bsr-arrow {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}
	.bsr-prev { left: 8px; }
	.bsr-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.bsr-track,
	.bsr-slider { transition: none; }
}
