/* Corker Google Reviews carousel */
.cgr {
	--cgr-bg: #f5f5f5;
	--cgr-card: #ffffff;
	--cgr-text: #1f1f1f;
	--cgr-muted: #6b6b6b;
	--cgr-star: #fbbc04;
	--cgr-star-off: rgba(0, 0, 0, 0.18);
	--cgr-gap: 24px;
	--cgr-per-view: 4;
	background: var(--cgr-bg);
	color: var(--cgr-text);
	padding: 56px 16px 40px;
	box-sizing: border-box;
}
.cgr *, .cgr *::before, .cgr *::after { box-sizing: border-box; }

/* Header */
.cgr-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
	margin: 0 auto 36px;
	font-size: 22px;
	line-height: 1.3;
	text-align: center;
}
.cgr-head__label { font-weight: 700; }
.cgr-head__text a { color: inherit; text-decoration: none; }
.cgr-head__text a:hover { text-decoration: underline; }

/* Stars */
.cgr-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; vertical-align: middle; }
.cgr-stars svg { width: 18px; height: 18px; margin-right: 2px; }
.cgr-stars--lg svg { width: 28px; height: 28px; margin-right: 3px; }
.cgr-stars__bg svg { fill: var(--cgr-star-off); }
.cgr-stars__fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.cgr-stars__fg svg { fill: var(--cgr-star); }

/* Carousel */
.cgr-carousel { position: relative; max-width: 1840px; margin: 0 auto; padding: 0 44px; }
.cgr-track {
	display: flex;
	gap: var(--cgr-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 0 8px;
	outline: none;
}
.cgr-track::-webkit-scrollbar { display: none; }
.cgr-card {
	flex: 0 0 calc((100% - (var(--cgr-per-view) - 1) * var(--cgr-gap)) / var(--cgr-per-view));
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--cgr-card);
	padding: 28px 32px 24px;
	min-height: 300px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.cgr-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cgr-card__name { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cgr-g { width: 20px; height: 20px; flex: 0 0 20px; }
.cgr-card__text {
	font-size: 17px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cgr-card.is-open .cgr-card__text { -webkit-line-clamp: unset; display: block; }
.cgr-card__more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	color: var(--cgr-muted);
	font: inherit;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}
.cgr-card__date { margin-top: auto; padding-top: 12px; text-align: right; font-size: 14px; color: var(--cgr-muted); }

.cgr-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--cgr-text);
}
.cgr-nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cgr-nav--prev { left: 0; }
.cgr-nav--next { right: 0; }
.cgr-nav:hover { opacity: 0.6; }

/* Footer */
.cgr-foot {
	max-width: 1840px;
	margin: 20px auto 0;
	padding: 0 44px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 18px;
}
.cgr-pause {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 15px;
	color: var(--cgr-text);
	cursor: pointer;
}
.cgr-pause__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.cgr-pause[aria-pressed="true"] .cgr-pause__icon { border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }
.cgr-brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--cgr-muted); }
.cgr-wordmark { font-family: Arial, Helvetica, sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -0.5px; }
.cgr-wordmark span:nth-child(1), .cgr-wordmark span:nth-child(4) { color: #4285f4; }
.cgr-wordmark span:nth-child(2), .cgr-wordmark span:nth-child(6) { color: #ea4335; }
.cgr-wordmark span:nth-child(3) { color: #fbbc04; }
.cgr-wordmark span:nth-child(5) { color: #34a853; }
.cgr-brand__sub { font-size: 18px; }
.cgr-write { max-width: 1840px; margin: 6px auto 0; padding: 0 44px; text-align: right; font-size: 14px; }
.cgr-write a { color: var(--cgr-muted); }

@media (max-width: 1200px) { .cgr { --cgr-per-view: 3; } }
@media (max-width: 900px)  { .cgr { --cgr-per-view: 2; } .cgr-head { font-size: 19px; } }
@media (max-width: 600px)  {
	.cgr { --cgr-per-view: 1; --cgr-gap: 16px; padding: 40px 16px 32px; }
	.cgr-carousel, .cgr-foot, .cgr-write { padding: 0 32px; }
	.cgr-head { font-size: 17px; }
	.cgr-stars--lg svg { width: 22px; height: 22px; }
	.cgr-card { padding: 22px 22px 18px; min-height: 0; }
	.cgr-nav { width: 32px; }
}
@media (prefers-reduced-motion: reduce) { .cgr-track { scroll-behavior: auto; } }

/* Basket badge */
.cgr-badge {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 10px;
	max-width: 400px;
	margin: 20px 0 0;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	color: #1f1f1f;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
}
.cgr-badge:hover { border-color: rgba(0, 0, 0, 0.25); }
.cgr-badge__label { font-weight: 700; }
.cgr-badge .cgr-stars { --cgr-star: #fbbc04; --cgr-star-off: rgba(0, 0, 0, 0.18); }
.cgr-badge .cgr-stars__bg svg { fill: rgba(0, 0, 0, 0.18); }
.cgr-badge .cgr-stars__fg svg { fill: #fbbc04; }

/* Inside the theme's grey full-width row: use its background and vertical spacing. */
.pixel-section > .cgr { background: transparent; padding-top: 8px; padding-bottom: 0; }
