/**
 * FF DIBA Partner Slider — Stylesheet
 * Author: René Lüth
 */

/* ── Wrapper ──────────────────────────────────────────────────────────── */
.ffdiba-ps-wrap {
	position: relative;
	overflow: hidden;
	background: var(--ps-bg, #fff);
	padding: 0 48px;
	box-sizing: border-box;
}

/* ── Viewport & Track ─────────────────────────────────────────────────── */
.ffdiba-ps-viewport {
	overflow: hidden;
	width: 100%;
}

.ffdiba-ps-track {
	display: flex;
	align-items: stretch;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

/* ── Single Item ──────────────────────────────────────────────────────── */
.ffdiba-ps-item {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
}

.ffdiba-ps-item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	width: 100%;
}

.ffdiba-ps-item img {
	display: block;
	width: 100%;
	height: var(--ps-h, 120px);
	object-fit: contain;
	object-position: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ffdiba-ps-item a:hover img {
	transform: scale(1.04);
	opacity: 0.85;
}

/* Border variant */
.ffdiba-ps-bordered {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
}

/* Partner name */
.ffdiba-ps-name {
	display: block;
	margin-top: 8px;
	font-size: 0.78rem;
	font-weight: 600;
	text-align: center;
	color: #555;
	letter-spacing: 0.02em;
}

/* ── Navigation Buttons ───────────────────────────────────────────────── */
.ffdiba-ps-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	color: #333;
	box-shadow: 0 2px 6px rgba(0,0,0,.12);
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.ffdiba-ps-btn:hover {
	background: #C8191A;
	color: #fff;
	border-color: #C8191A;
	box-shadow: 0 4px 10px rgba(200,25,26,.3);
}

.ffdiba-ps-prev { left: 4px; }
.ffdiba-ps-next { right: 4px; }

/* ── Nav visibility modes ─────────────────────────────────────────────── */
.ffdiba-ps-nav-never .ffdiba-ps-btn {
	display: none;
}

.ffdiba-ps-nav-hover .ffdiba-ps-btn {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.ffdiba-ps-nav-hover:hover .ffdiba-ps-btn {
	opacity: 1;
	pointer-events: auto;
}

/* ── Dots ─────────────────────────────────────────────────────────────── */
.ffdiba-ps-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 10px 0 4px;
}

.ffdiba-ps-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ddd;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.ffdiba-ps-dot.active,
.ffdiba-ps-dot:hover {
	background: #C8191A;
	transform: scale(1.3);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
	.ffdiba-ps-wrap {
		padding: 0 38px;
	}
	.ffdiba-ps-btn {
		width: 30px;
		height: 30px;
	}
}
