/* =============================================================================
   Webwinkelkeur Service Reviews – frontend stylesheet
   ============================================================================= */

/* Container */
.wsr-reviews-container {
	margin: 1.5rem 0;
}

.wsr-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Single review card */
.wsr-review-item {
	padding: 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

/* Stars */
.wsr-stars {
	display: inline-flex;
	gap: 2px;
	font-size: 1.2em;
	line-height: 1;
}

.wsr-star-filled { color: #f59e0b; }
.wsr-star-empty  { color: #d1d5db; }

/* Header row: flag + name */
.wsr-review-header {
	display: flex;
	align-items: center;
	gap: .4rem;
	margin-top: .5rem;
}

.wsr-review-country {
	font-size: 1.1em;
}

.wsr-review-title {
	font-weight: 600;
	color: #111827;
}

.wsr-review-meta-container {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}
.wsr-review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: .875rem;
	color: #6b7280;
}

.wsr-review-verified {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	color: #059669;
	font-weight: 500;
}

.wsr-checkmark {
	font-size: 1em;
	line-height: 1;
}

.wsr-review-comment {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.6;
	color: #374151;
}

.wsr-review-comment p {
	margin: 0 0 .5em;
}

.wsr-review-comment p:last-child {
	margin-bottom: 0;
}

.wsr-no-reviews {
	padding: 1rem;
	color: #6b7280;
	font-style: italic;
}

/* =============================================================================
   Badge – [wsr_badge]
   ============================================================================= */

.wsr-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px 10px 10px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-family: inherit;
	line-height: 1.3;
	white-space: nowrap;
}

.wsr-badge__medal {
	position: relative;
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	background-image: url('../img/badge-reviews-super@2x.webp');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.wsr-badge__score {
	position: relative;
	font-size: 1.6rem;
	font-weight: 900;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
	line-height: 56px;
	margin-left: 13px;
	white-space: nowrap;
}

.wsr-badge__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wsr-stars--summary {
	display: inline-flex;
	gap: 2px;
}

.wsr-star--partial {
	display: inline-block;
	width: 22px;
	height: 22px;
}

.wsr-star--partial svg {
	width: 100%;
	height: 100%;
	display: block;
}

.wsr-badge__count {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: .875rem;
	font-weight: bold;
	color: #374151;
}

.wsr-badge__count-icon {
	display: inline-flex;
	align-items: center;
	width: 16px;
	height: 16px;
	color: #6b7280;
}

.wsr-badge__count-icon svg {
	width: 100%;
	height: 100%;
}
