/* Google Reviews Badge
   Matches the custom pill design: white rounded card, Google G, bold rating,
   gold stars, muted count text, overlapping initial avatars. */

.grw-wrap {
	max-width: 100%;
}

.grw-badge {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	padding: 13px 22px;
	background: #ffffff;
	border-radius: 999px;
	box-shadow: 0 10px 34px rgba(20, 20, 43, 0.09), 0 2px 8px rgba(20, 20, 43, 0.05);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1;
	color: inherit;
	text-decoration: none;
	max-width: 100%;
	vertical-align: middle;
	box-sizing: border-box;
}

.grw-badge,
.grw-badge * {
	box-sizing: border-box;
}

a.grw-badge {
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

a.grw-badge:hover {
	box-shadow: 0 14px 40px rgba(20, 20, 43, 0.13), 0 3px 10px rgba(20, 20, 43, 0.07);
	transform: translateY(-1px);
}

/* Google G */
.grw-logo {
	display: inline-flex;
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.grw-logo svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* "Google reviews" */
.grw-label {
	font-size: 16px;
	font-weight: 500;
	color: #2b2b3d;
	white-space: nowrap;
}

/* "4.9" */
.grw-rating {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2b;
	margin-left: 3px;
	white-space: nowrap;
}

/* Stars (two-layer partial fill) */
.grw-stars {
	position: relative;
	display: inline-flex;
	font-size: 16px; /* controls star size */
	line-height: 1;
	flex: 0 0 auto;
}

.grw-stars-bg,
.grw-stars-fill {
	display: inline-flex;
	gap: 2px;
}

.grw-stars-bg {
	color: #e4e4ee;
}

.grw-stars-fill {
	color: #fbbc04;
	position: absolute;
	top: 0;
	left: 0;
	width: var(--grw-fill, 100%);
	overflow: hidden;
	white-space: nowrap;
}

.grw-star {
	width: 1em;
	height: 1em;
	display: block;
	fill: currentColor;
	flex: 0 0 auto;
}

/* "from 180+ reviews" */
.grw-count {
	font-size: 13.5px;
	font-weight: 400;
	color: #9a9aab;
	white-space: nowrap;
}

/* Overlapping initial avatars */
.grw-avatars {
	display: inline-flex;
	align-items: center;
	margin-left: 3px;
	flex: 0 0 auto;
}

.grw-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e7e8f6;
	color: #4a4a6a;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
	margin-left: -9px;
	text-transform: uppercase;
	overflow: hidden;
	flex: 0 0 auto;
}

.grw-avatar:first-child {
	margin-left: 0;
}

.grw-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* Small screens: let it wrap instead of overflowing */
@media (max-width: 480px) {
	.grw-badge {
		gap: 10px;
		padding: 11px 16px;
		flex-wrap: wrap;
		justify-content: center;
	}
}
