.lgr-reviews {
	--lgr-border: #ececec;
	--lgr-muted: #6b7280;
	--lgr-star: #f4b400;
	--lgr-text: #111827;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
	color: var(--lgr-text);
	font-family: Inter, Helvetica, Arial, sans-serif;
	padding: 20px;
}

.lgr-reviews *,
.lgr-reviews *::before,
.lgr-reviews *::after {
	box-sizing: border-box;
}

.lgr-reviews__header {
	align-items: flex-start;
	border-bottom: 1px solid var(--lgr-border);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 14px;
}

.lgr-reviews__title {
	color: var(--lgr-text);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.3;
	margin: 0;
}

.lgr-reviews__count {
	color: var(--lgr-muted);
	font-size: 0.9rem;
	margin: 5px 0 0;
}

.lgr-reviews__brand {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	font-size: 0.8rem;
	gap: 2px;
}

.lgr-reviews__brand a,
.lgr-reviews__brand span:not(.lgr-reviews__brand-stars) {
	color: #1a73e8;
	text-decoration: none;
}

.lgr-reviews__brand a:hover,
.lgr-reviews__brand a:focus-visible {
	text-decoration: underline;
}

.lgr-reviews__brand-stars,
.lgr-review__stars {
	color: var(--lgr-star);
	letter-spacing: 1px;
}

.lgr-review {
	border-bottom: 1px solid var(--lgr-border);
	padding: 16px 0;
}

.lgr-review:first-child {
	padding-top: 0;
}

.lgr-review:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.lgr-review__meta {
	align-items: center;
	display: flex;
	gap: 11px;
}

.lgr-review__avatar,
.lgr-review__initial {
	border-radius: 50%;
	flex: 0 0 44px;
	height: 44px;
	object-fit: cover;
	width: 44px;
}

.lgr-review__initial {
	align-items: center;
	background: #e8f0fe;
	color: #185abc;
	display: flex;
	font-size: 1rem;
	font-weight: 700;
	justify-content: center;
}

.lgr-review__author {
	min-width: 0;
}

.lgr-review__author h4 {
	color: var(--lgr-text);
	font-size: 0.95rem;
	line-height: 1.3;
	margin: 0 0 2px;
}

.lgr-review__details {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	gap: 8px;
}

.lgr-review__date {
	color: var(--lgr-muted);
}

.lgr-review__text {
	color: #374151;
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.6;
	margin-top: 10px;
}

.lgr-review__text p,
.lgr-review__reply p {
	margin: 0 0 0.65em;
}

.lgr-review__text p:last-child,
.lgr-review__reply p:last-child {
	margin-bottom: 0;
}

.lgr-review__reply {
	background: #f8fafc;
	border-left: 3px solid #d1d5db;
	border-radius: 0 6px 6px 0;
	color: #4b5563;
	font-size: 0.85rem;
	line-height: 1.55;
	margin-top: 12px;
	padding: 10px 12px;
}

.lgr-review__reply strong {
	color: var(--lgr-text);
	display: block;
	margin-bottom: 4px;
}

@media (max-width: 640px) {
	.lgr-reviews {
		padding: 16px;
	}

	.lgr-reviews__header {
		flex-direction: column;
		gap: 8px;
	}

	.lgr-reviews__brand {
		align-items: flex-start;
	}
}
