.rp-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 18px;
}

.rp-filter {
	background: #fff;
	border: 1px solid #d9dee3;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	line-height: 1.2;
	color: #333;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rp-filter:hover {
	border-color: #a4d80c;
	color: #6f9200;
}

.rp-filter.rp-active {
	background: #a4d80c;
	border-color: #a4d80c;
	color: #fff;
}

.rp-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.rp-viewport {
	overflow: hidden;
	width: 100%;
}

.rp-track {
	display: flex;
	transition: transform 0.35s ease;
}

.rp-slide {
	flex: 0 0 25%;
	max-width: 25%;
	box-sizing: border-box;
	padding: 10px;
}

.rp-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	padding: 14px;
	height: 100%;
	box-sizing: border-box;
}

/* ---- Before / After ---- */
.rp-ba {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	user-select: none;
	touch-action: pan-y;
	cursor: ew-resize;
	background: #eee;
}

.rp-ba img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.rp-ba-after {
	z-index: 1;
}

.rp-ba-before {
	position: absolute;
	inset: 0;
	width: 100%;
	z-index: 2;
	clip-path: inset(0 50% 0 0);
}

.rp-ba-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	background: #a4d80c;
	transform: translateX(-50%);
	z-index: 4;
	cursor: ew-resize;
}

.rp-ba-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #a4d80c;
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	transform: translate(-50%, -50%);
}

.rp-label {
	position: absolute;
	bottom: 12px;
	z-index: 3;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	line-height: 1;
}

.rp-label-after {
	left: 12px;
	background: #a4d80c;
	color: #1a1a1a;
}

.rp-label-before {
	right: 12px;
	background: rgba(255, 255, 255, 0.9);
	color: #1a1a1a;
}

.rp-title {
	margin: 14px 4px 4px;
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
}

/* ---- Nav buttons ---- */
.rp-nav {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: #1a1a1a;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}

.rp-nav:disabled {
	opacity: 0.3;
	cursor: default;
}

@media (max-width: 600px) {
	.rp-slide {
		flex: 0 0 100%;
		max-width: 100%;
	}
}
