/* ═══════════════════════════════════════════════════════════════
   RP3 Banner Pro — Frontend Slider
═══════════════════════════════════════════════════════════════ */

/* ── Wrapper ────────────────────────────────────────────────── */
.rp3-bp-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	-webkit-user-select: none;
	user-select: none;
}

/* ── Track (contenedor de slides) ───────────────────────────── */
.rp3-bp-track {
	display: flex;
	will-change: transform;
	/* La transición se aplica via JS (data-transition) */
}

/* ── Slide individual ───────────────────────────────────────── */
.rp3-bp-slide {
	flex: 0 0 100%;
	min-width: 100%;
	position: relative;
}
.rp3-bp-slide img {
	width: 100%;
	height: auto;
	display: block;
	pointer-events: none;  /* evita arrastre accidental */
}
.rp3-bp-slide a {
	display: block;
	line-height: 0;
}
.rp3-bp-slide a img {
	pointer-events: auto;
}

/* ══════════════════════════════════════════════════════════════
   FLECHAS — base
══════════════════════════════════════════════════════════════ */
.rp3-bp-arrow {
	position: absolute;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	border: none;
	border-radius: 3px;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	outline: none;
	transition: background 0.2s ease, opacity 0.2s ease;
	padding: 0;
}
.rp3-bp-arrow:hover {
	background: rgba(0, 0, 0, 0.75);
}

/* ── Posición horizontal: EXTREMOS (por defecto) ────────────── */
.rp3-bp-arrow-prev { left: 0; }
.rp3-bp-arrow-next { right: 0; }

/* ── Posición horizontal: DENTRO del slider ─────────────────── */
.rp3-bp-h-inside .rp3-bp-arrow-prev { left: 15px; }
.rp3-bp-h-inside .rp3-bp-arrow-next { right: 15px; }

/* ── Posición VERTICAL: ARRIBA ──────────────────────────────── */
.rp3-bp-v-top .rp3-bp-arrow {
	top: 15px;
	transform: none;
}

/* ── Posición VERTICAL: CENTRO (por defecto) ────────────────── */
.rp3-bp-v-center .rp3-bp-arrow {
	top: 50%;
	transform: translateY(-50%);
}

/* ── Posición VERTICAL: ABAJO ───────────────────────────────── */
.rp3-bp-v-bottom .rp3-bp-arrow {
	bottom: 15px;
	top: auto;
	transform: none;
}

/* ══════════════════════════════════════════════════════════════
   PUNTOS — base
══════════════════════════════════════════════════════════════ */
.rp3-bp-dots {
	position: absolute;
	bottom: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 20;
	line-height: 1;
}

.rp3-bp-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: 2px solid rgba(255, 255, 255, 0.85);
	cursor: pointer;
	padding: 0;
	outline: none;
	transition: background 0.25s ease, transform 0.2s ease;
	flex-shrink: 0;
}
.rp3-bp-dot:hover {
	background: rgba(255, 255, 255, 0.8);
}
.rp3-bp-dot.active {
	background: #fff;
	transform: scale(1.25);
}

/* ══════════════════════════════════════════════════════════════
   VISIBILIDAD POR DISPOSITIVO
══════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
	.rp3-bp-mobile-only { display: none !important; }
}
@media (max-width: 768px) {
	.rp3-bp-desktop-only { display: none !important; }
}
