.ri-rp-panel {
	position: fixed;
	z-index: 99998;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	padding: 10px 12px;
	max-height: 360px;
	overflow-y: auto;
	font-family: inherit;
}

.ri-rp-panel[hidden] {
	display: none;
}

.ri-rp-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #999;
	margin: 8px 0 6px;
}

.ri-rp-header:first-child {
	margin-top: 0;
}

.ri-rp-clear {
	font-size: 12px;
	color: #888;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	text-decoration: underline;
}

.ri-rp-clear:hover {
	color: #222;
}

.ri-rp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.ri-rp-chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f2f2f2;
	color: #222;
	font-size: 13px;
	cursor: pointer;
}

.ri-rp-chip:hover {
	background: #e6e6e6;
}

.ri-rp-chip-category {
	background: #eef4ff;
	color: #1a5cff;
	text-decoration: none;
}

.ri-rp-chip-category:hover {
	background: #dce9ff;
}

/* ---- Bascule Produits | Vendeurs ---- */
.ri-type-toggle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	margin: 0 0 18px;
	background: #f3f3f3;
	border-radius: 999px;
}

.ri-type-toggle__btn {
	padding: 7px 18px;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.2;
	color: #333;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.ri-type-toggle__btn:hover {
	color: #000;
}

.ri-type-toggle__btn.is-active {
	background: #111;
	color: #fff;
}

.ri-type-toggle__count {
	display: inline-block;
	margin-left: 4px;
	font-size: 12px;
	opacity: .7;
}

/* ---- Résultats vendeurs ---- */
.ri-vendor-heading {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
}

.ri-vendor-empty {
	margin: 0 0 18px;
	font-size: 15px;
}

.ri-vendor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
	margin-bottom: 28px;
}

.ri-vendor-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}

.ri-vendor-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	transform: translateY(-1px);
}

.ri-vendor-card__logo {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	background: #f0f0f0;
}

.ri-vendor-card__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ri-vendor-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ri-vendor-card__name {
	font-weight: 600;
	font-size: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ri-vendor-card__meta {
	font-size: 13px;
	color: #777;
}
