/* Google Reviews Showcase — Elementor widget styles */

/* ---------- Stars (shared) ---------- */
.grs-stars {
	--grs-star: #FBBC04;
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}
.grs-stars__star {
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
	background: linear-gradient(currentColor, currentColor);
	color: rgba(0, 0, 0, 0.15);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.2l7.1-.6z'/></svg>") center / contain no-repeat;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.2l7.1-.6z'/></svg>") center / contain no-repeat;
}
.grs-stars__fill {
	position: absolute;
	inset: 0;
	width: 0;
	background: var(--grs-star);
}

/* ---------- Hero widget ---------- */
.grs-hero {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.grs-hero__headline {
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
}
.grs-hero__rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.4rem;
}
.grs-hero__rating .grs-stars { font-size: 1.4rem; }
.grs-hero__rating-num {
	font-weight: 700;
	font-size: 1.1rem;
}
.grs-hero__subtitle {
	font-size: 1rem;
	margin: 0 0 4px;
	opacity: 0.95;
}

/* Pill */
.grs-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px 8px 8px;
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	width: fit-content;
	max-width: 100%;
	transition: transform .15s ease, box-shadow .15s ease;
}
a.grs-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12); }
.grs-pill__avatars {
	display: inline-flex;
	align-items: center;
}
.grs-pill__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #fff;
	object-fit: cover;
	margin-left: -10px;
	background: #e5e7eb;
}
.grs-pill__avatar:first-child { margin-left: 0; }
.grs-pill__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #6b46f0;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	margin-left: -10px;
}
.grs-pill__text { display: inline-flex; flex-direction: column; line-height: 1.15; }
.grs-pill__text strong { font-size: .95rem; font-weight: 700; }
.grs-pill__text small { font-size: .78rem; opacity: 0.7; }

/* ---------- Section widget ---------- */
.grs-section {
	width: 100%;
}
.grs-section__head {
	text-align: center;
	max-width: 820px;
	margin: 0 auto 32px;
}
.grs-section__eyebrow {
	font-size: .85rem;
	letter-spacing: .04em;
	margin-bottom: 8px;
}
.grs-section__headline {
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 800;
	margin: 0 0 12px;
	line-height: 1.2;
}
.grs-section__intro {
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

.grs-section__body {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 32px;
	align-items: stretch;
}
@media (max-width: 900px) {
	.grs-section__body { grid-template-columns: 1fr; }
}

/* Business card (left) */
.grs-card-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	padding: 16px;
}
.grs-card-info__logo {
	max-width: 120px;
	max-height: 80px;
	object-fit: contain;
	margin-bottom: 6px;
}
.grs-card-info__name {
	font-weight: 700;
	font-size: 1.05rem;
}
.grs-card-info .grs-stars { font-size: 1.1rem; color: rgba(0, 0, 0, 0.18); }
.grs-card-info__count {
	font-size: .9rem;
	color: #4b5563;
}
.grs-card-info__button {
	display: inline-block;
	margin-top: 8px;
	padding: 10px 20px;
	border: 1.5px solid #111827;
	border-radius: 6px;
	background: #fff;
	color: #111827;
	text-decoration: none;
	font-weight: 600;
	font-size: .92rem;
	transition: background .15s ease, color .15s ease;
}
.grs-card-info__button:hover {
	background: #111827;
	color: #fff;
}

/* Carousel (right) */
.grs-carousel {
	position: relative;
	overflow: hidden;
	min-width: 0;
}
.grs-carousel__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.grs-carousel__track::-webkit-scrollbar { display: none; }
.grs-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	color: #111827;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}
.grs-carousel__nav:disabled { opacity: 0; pointer-events: none; }
.grs-carousel__nav--prev { left: -8px; }
.grs-carousel__nav--next { right: -8px; }

/* Review card */
.grs-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	width: calc((100% - (var(--grs-pv, 3) - 1) * 16px) / var(--grs-pv, 3));
	min-width: 240px;
	background: #fff;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
}
@media (max-width: 700px) {
	.grs-card { width: 85%; }
}

.grs-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.grs-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background: #e5e7eb;
	flex-shrink: 0;
}
.grs-card__avatar--blank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #111827;
	color: #fff;
	font-weight: 700;
}
.grs-card__meta { flex: 1; min-width: 0; }
.grs-card__name {
	font-weight: 600;
	font-size: .95rem;
	line-height: 1.2;
	color: #111827;
}
.grs-card__date {
	font-size: .8rem;
	color: #6b7280;
	margin-top: 2px;
}
.grs-card__g { flex-shrink: 0; line-height: 0; }

.grs-card__rating {
	display: flex;
	align-items: center;
	gap: 6px;
}
.grs-card__rating .grs-stars {
	font-size: 1.05rem;
	color: rgba(0, 0, 0, 0.15);
}
.grs-card__verified { display: inline-flex; align-items: center; }

.grs-card__text {
	font-size: .92rem;
	line-height: 1.55;
	color: #1f2937;
	margin: 0;
	flex: 1;
}
.grs-card__more {
	background: none;
	border: none;
	color: #1f2937;
	padding: 0;
	font-size: .85rem;
	font-weight: 500;
	cursor: pointer;
	text-decoration: underline;
	align-self: flex-start;
}

.grs-empty {
	color: #6b7280;
	font-style: italic;
	padding: 16px;
	background: #f9fafb;
	border-radius: 8px;
}
