/* Web2u Google Reviews — front-end widgets */

.w2r {
	--w2r-card: #ffffff;
	--w2r-text: #1f2328;
	--w2r-muted: #5f6368;
	--w2r-border: #e3e5e8;
	--w2r-star: #fbbc04;
	--w2r-star-empty: #dadce0;
	--w2r-accent: #1a73e8;
	--w2r-accent-text: #ffffff;
	--w2r-radius: 12px;
	--w2r-gap: 16px;
	--w2r-shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.06);

	color: var(--w2r-text);
	font-family: var(--w2r-family, inherit);
	font-size: var(--w2r-font, 15px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: normal;
	text-transform: none;
	box-sizing: border-box;
	margin: 0 0 24px;
}

.w2r *,
.w2r *::before,
.w2r *::after {
	box-sizing: inherit;
}

/* Themes often style every p, blockquote or button on the page (font, size, spacing).
   Inside a widget, text follows the widget's own font and size instead. */
.w2r.w2r p,
.w2r.w2r blockquote,
.w2r.w2r figcaption,
.w2r.w2r li,
.w2r.w2r button,
.w2r.w2r a,
.w2r.w2r strong {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.w2r.w2r .w2r-review__text {
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
}

.w2r--theme-dark {
	--w2r-card: #202124;
	--w2r-text: #e8eaed;
	--w2r-muted: #9aa0a6;
	--w2r-border: #3c4043;
	--w2r-star-empty: #5f6368;
	--w2r-accent: #8ab4f8;
	--w2r-accent-text: #202124;
	--w2r-shadow: none;
}

@media (prefers-color-scheme: dark) {
	.w2r--theme-auto {
		--w2r-card: #202124;
		--w2r-text: #e8eaed;
		--w2r-muted: #9aa0a6;
		--w2r-border: #3c4043;
		--w2r-star-empty: #5f6368;
		--w2r-accent: #8ab4f8;
		--w2r-accent-text: #202124;
		--w2r-shadow: none;
	}
}

.w2r a {
	color: inherit;
	text-decoration: none;
}

/* ---------- Stars ---------- */

.w2r-stars {
	position: relative;
	display: inline-flex;
	/* Never stretch: the fill width is a percentage of this box. */
	width: max-content;
	flex: 0 0 auto;
	vertical-align: middle;
	line-height: 0;
}

.w2r-stars__base,
.w2r-stars__fill {
	display: inline-flex;
	gap: 2px;
}

.w2r-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	overflow: hidden;
	white-space: nowrap;
}

.w2r-stars svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.w2r-stars--sm svg {
	width: 16px;
	height: 16px;
}

.w2r-stars__base svg {
	fill: var(--w2r-star-empty);
}

.w2r-stars__fill svg {
	fill: var(--w2r-star);
}

.w2r-g {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.w2r-g--sm {
	width: 16px;
	height: 16px;
}

.w2r-g--lg {
	width: 32px;
	height: 32px;
}

/* ---------- Summary ---------- */

.w2r-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-bottom: var(--w2r-gap);
}

.w2r-summary__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.w2r-summary__name {
	font-weight: 600;
	font-size: calc(var(--w2r-font, 15px) * 1.0667);
}

.w2r-summary__source {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r-summary__score {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	flex: 1 1 auto;
}

.w2r-summary__label {
	font-weight: 700;
	font-size: calc(var(--w2r-font, 15px) * 1.0667);
}

.w2r-summary__value {
	font-weight: 700;
	font-size: calc(var(--w2r-font, 15px) * 1.0667);
}

.w2r .w2r-summary__count {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.w2r .w2r-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--w2r-accent);
	color: var(--w2r-accent-text);
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: filter 0.15s ease;
}

.w2r .w2r-btn:hover,
.w2r .w2r-btn:focus-visible {
	filter: brightness(0.92);
}

/* ---------- Review card ---------- */

.w2r-review {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
	min-width: 0;
}

.w2r-review__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.w2r-avatar {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.w2r-avatar--initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--w2r-accent);
	color: var(--w2r-accent-text);
	font-weight: 600;
	font-size: calc(var(--w2r-font, 15px) * 1.1333);
}

.w2r-review__meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.w2r-review__author {
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.w2r a.w2r-review__author:hover {
	text-decoration: underline;
}

.w2r-review__time {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r-review__text {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.w2r-review--open .w2r-review__text {
	display: block;
	-webkit-line-clamp: unset;
}

.w2r .w2r-review__more {
	align-self: flex-start;
	margin: -4px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--w2r-accent);
	font: inherit;
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
	font-weight: 600;
	cursor: pointer;
	box-shadow: none;
}

.w2r .w2r-review__more[hidden] {
	display: none;
}

.w2r-empty {
	color: var(--w2r-muted);
}

/* ---------- Micro star ---------- */

.w2r--micro-star {
	margin: 0;
}

.w2r .w2r-micro {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
}

.w2r-micro__label {
	font-size: calc(var(--w2r-font, 15px) * 1);
}

.w2r-micro__text {
	color: var(--w2r-muted);
}

.w2r-micro__brand {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
}

.w2r .w2r-micro:hover .w2r-micro__text {
	text-decoration: underline;
}

/* ---------- Carousel ---------- */

.w2r-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.w2r-track {
	display: flex;
	gap: var(--w2r-gap);
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 2px 2px 4px;
	scroll-padding-inline: 2px;
	align-items: stretch;
}

.w2r-track::-webkit-scrollbar {
	display: none;
}

.w2r-track:focus-visible {
	outline: 2px solid var(--w2r-accent);
	outline-offset: 2px;
}

.w2r-track > .w2r-review {
	flex: 0 0 calc((100% - 2 * var(--w2r-gap)) / 3);
	scroll-snap-align: start;
}

@media (max-width: 900px) {
	.w2r-track > .w2r-review {
		flex-basis: calc((100% - var(--w2r-gap)) / 2);
	}
}

@media (max-width: 600px) {
	.w2r-track > .w2r-review {
		flex-basis: 85%;
	}
}

.w2r .w2r-nav {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--w2r-border);
	border-radius: 50%;
	background: var(--w2r-card);
	color: var(--w2r-text);
	box-shadow: var(--w2r-shadow);
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.w2r .w2r-nav svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.w2r .w2r-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Phones swipe instead. */
@media (max-width: 600px) {
	.w2r .w2r-nav {
		display: none;
	}
}

/* ---------- Grid ---------- */

.w2r-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--w2r-gap);
	align-items: stretch; /* Every card in a row is the same height. */
}

/* ---------- List ---------- */

.w2r--list.w2r--has-aside {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.w2r-list__aside {
	position: sticky;
	top: 24px;
	padding: 20px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
}

.w2r-list__aside .w2r-summary {
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
}

.w2r-list {
	display: flex;
	flex-direction: column;
	gap: var(--w2r-gap);
}

@media (max-width: 720px) {
	.w2r--list.w2r--has-aside {
		grid-template-columns: 1fr;
	}

	.w2r-list__aside {
		position: static;
	}
}

@media (prefers-reduced-motion: reduce) {
	.w2r-track {
		scroll-behavior: auto;
	}
}

/* =========================================================
   Appearance options
   ========================================================= */

.w2r--cards-border {
	--w2r-shadow: none;
}

.w2r--cards-flat {
	--w2r-shadow: none;
	--w2r-border: transparent;
	--w2r-card: #f3f4f6;
}

.w2r--theme-dark.w2r--cards-flat {
	--w2r-card: #2a2b2e;
}

@media (prefers-color-scheme: dark) {
	.w2r--theme-auto.w2r--cards-flat {
		--w2r-card: #2a2b2e;
	}
}

.w2r-stars--xs svg {
	width: 12px;
	height: 12px;
}

.w2r-stars--lg svg {
	width: 22px;
	height: 22px;
}

/* =========================================================
   Badges
   ========================================================= */

.w2r--micro-count,
.w2r--micro-button,
.w2r--mini {
	margin: 0;
}

.w2r-micro__text--strong {
	color: var(--w2r-text);
}

/* Review button */
.w2r .w2r-mbtn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border: 1px solid var(--w2r-border);
	border-radius: 999px;
	background: var(--w2r-card);
	box-shadow: var(--w2r-shadow);
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
	font-weight: 600;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.w2r .w2r-mbtn:hover,
.w2r .w2r-mbtn:focus-visible {
	border-color: var(--w2r-accent);
	box-shadow: 0 0 0 1px var(--w2r-accent);
}

.w2r-mbtn__g {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--w2r-border);
}

.w2r-mbtn__score {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding-left: 10px;
	border-left: 1px solid var(--w2r-border);
	color: var(--w2r-muted);
	font-weight: 600;
}

/* Mini */
.w2r .w2r-mini {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	min-width: 220px;
	padding: 16px 18px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
}

.w2r-mini__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
}

.w2r-mini__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.w2r-mini__score {
	font-size: calc(var(--w2r-font, 15px) * 2.1333);
	font-weight: 700;
	line-height: 1;
}

.w2r-mini__foot {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r-mini__foot strong {
	color: var(--w2r-text);
}

/* =========================================================
   Masonry
   ========================================================= */

.w2r-masonry {
	column-width: 260px;
	column-gap: var(--w2r-gap);
}

.w2r-masonry > .w2r-review {
	break-inside: avoid;
	margin-bottom: var(--w2r-gap);
}

.w2r-masonry .w2r-review__text {
	display: block;
	-webkit-line-clamp: unset;
}

.w2r-masonry .w2r-review__more {
	display: none;
}

/* =========================================================
   Slider
   ========================================================= */

.w2r-slider {
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
	padding: 32px 24px 20px;
	text-align: center;
}

.w2r-slider__viewport {
	overflow: hidden;
}

.w2r-slider__track {
	display: flex;
	transition: transform 0.5s ease;
}

.w2r-slide {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
	padding: 0 4%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.w2r-slide__text {
	margin: 0;
	padding: 0;
	border: 0;
	max-width: 720px;
	font-size: 1.25em;
	line-height: 1.55;
	font-style: normal;
	color: var(--w2r-text);
}

.w2r-slide__text p {
	margin: 0;
}

.w2r-slide__author,
.w2r-quote__author {
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}

.w2r-slide__author > span,
.w2r-quote__author > span {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.w2r-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 20px;
}

.w2r .w2r-slider__controls .w2r-nav {
	display: inline-flex;
	width: 34px;
	height: 34px;
}

.w2r-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.w2r .w2r-dot {
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--w2r-star-empty);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.w2r .w2r-dot[aria-current="true"] {
	width: 22px;
	background: var(--w2r-accent);
}

/* =========================================================
   Horizontal bar
   ========================================================= */

.w2r-hbar {
	display: flex;
	align-items: stretch;
	gap: var(--w2r-gap);
	padding: 12px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
}

.w2r .w2r-hbar__score {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	padding: 6px 18px 6px 8px;
	border-right: 1px solid var(--w2r-border);
}

.w2r-hbar__label {
	font-size: calc(var(--w2r-font, 15px) * 1.1333);
}

.w2r-hbar__count {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r-hbar__reviews {
	display: flex;
	flex: 1 1 auto;
	gap: 12px;
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.w2r-review--compact {
	flex: 0 0 260px;
	gap: 6px;
	padding: 12px 14px;
	box-shadow: none;
	scroll-snap-align: start;
}

.w2r-review--compact .w2r-avatar {
	width: 28px;
	height: 28px;
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r-review--compact .w2r-review__text {
	-webkit-line-clamp: 3;
	font-size: 0.93em;
}

@media (max-width: 720px) {
	.w2r-hbar {
		flex-direction: column;
	}

	.w2r .w2r-hbar__score {
		padding: 4px 4px 12px;
		border-right: 0;
		border-bottom: 1px solid var(--w2r-border);
	}

	.w2r-review--compact {
		flex-basis: 80%;
	}
}

/* =========================================================
   Featured quote
   ========================================================= */

.w2r-quote {
	position: relative;
	margin: 0;
	padding: 36px 36px 28px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.w2r-quote__mark {
	position: absolute;
	top: 24px;
	right: 28px;
	width: 56px;
	height: 42px;
	fill: var(--w2r-accent);
	opacity: 0.14;
}

.w2r-quote__text {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.45em;
	line-height: 1.5;
	font-weight: 500;
	font-style: normal;
	color: var(--w2r-text);
}

.w2r-quote__text p {
	margin: 0;
}

.w2r-quote__author .w2r-g {
	margin-left: auto;
}

/* =========================================================
   Rating breakdown
   ========================================================= */

.w2r-breakdown {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 36px;
	padding: 24px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
}

.w2r-breakdown__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 150px;
	text-align: center;
}

.w2r-breakdown__value {
	font-size: calc(var(--w2r-font, 15px) * 3.2);
	font-weight: 700;
	line-height: 1;
}

.w2r-breakdown__label {
	font-weight: 600;
}

.w2r .w2r-breakdown__count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r-breakdown__bars {
	flex: 1 1 260px;
}

.w2r-breakdown__bars ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.w2r-breakdown__bars li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.w2r-breakdown__star {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	width: 30px;
	font-weight: 600;
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
}

.w2r-breakdown__star svg {
	width: 13px;
	height: 13px;
	fill: var(--w2r-star);
}

.w2r-bar {
	flex: 1 1 auto;
	height: 10px;
	border-radius: 999px;
	background: var(--w2r-star-empty);
	overflow: hidden;
}

.w2r-bar > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--w2r-star);
}

.w2r-breakdown__pct {
	width: 40px;
	text-align: right;
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
	font-variant-numeric: tabular-nums;
}

.w2r-breakdown__note {
	margin: 12px 0 0;
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8);
}

/* =========================================================
   Review collector
   ========================================================= */

.w2r-collector {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 28px 24px;
	text-align: center;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
}

.w2r-collector__title {
	margin: 6px 0 0;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1.35;
}

.w2r-collector__sub {
	margin: 0;
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.9333);
}

/* Stars are in reverse order so hovering one lights it and every star before it. */
.w2r-collector__stars {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 4px;
	margin: 6px 0 10px;
}

.w2r .w2r-collector__stars a {
	display: inline-flex;
	padding: 2px;
	border-radius: 6px;
}

.w2r-collector__stars svg {
	width: 38px;
	height: 38px;
	fill: var(--w2r-star-empty);
	transition: fill 0.12s ease, transform 0.12s ease;
}

.w2r-collector__stars a:hover svg,
.w2r-collector__stars a:hover ~ a svg,
.w2r-collector__stars a:focus-visible svg,
.w2r-collector__stars a:focus-visible ~ a svg {
	fill: var(--w2r-star);
}

.w2r-collector__stars a:hover svg {
	transform: scale(1.12);
}

/* =========================================================
   Floating badge
   ========================================================= */

.w2r--floating {
	position: fixed;
	bottom: 20px;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.w2r-floating--bottom-right {
	right: 20px;
	align-items: flex-end;
}

.w2r-floating--bottom-left {
	left: 20px;
	align-items: flex-start;
}

.w2r-floating--inline {
	position: relative;
	right: auto;
	left: auto;
	bottom: auto;
	z-index: 1;
}

@media (max-width: 600px) {
	.w2r-floating--desktop-only {
		display: none;
	}

	.w2r--floating:not(.w2r-floating--inline) {
		bottom: 12px;
	}

	.w2r-floating--bottom-right:not(.w2r-floating--inline) {
		right: 12px;
	}

	.w2r-floating--bottom-left:not(.w2r-floating--inline) {
		left: 12px;
	}
}

.w2r .w2r-floating__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 16px 10px 12px;
	border: 1px solid var(--w2r-border);
	border-radius: 999px;
	background: var(--w2r-card);
	color: var(--w2r-text);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.w2r .w2r-floating__badge:hover {
	transform: translateY(-2px);
}

.w2r-floating__badge .w2r-g {
	width: 26px;
	height: 26px;
}

.w2r-floating__badge-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.w2r-floating__badge-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.w2r-floating__badge-sub {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8);
}

.w2r-floating__panel {
	display: flex;
	flex-direction: column;
	width: min(380px, calc(100vw - 24px));
	max-height: min(560px, calc(100vh - 110px));
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: calc(var(--w2r-radius) + 4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
	overflow: hidden;
}

.w2r-floating__panel[hidden] {
	display: none;
}

.w2r-floating--inline .w2r-floating__panel {
	max-height: 420px;
}

.w2r-floating__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 16px;
	border-bottom: 1px solid var(--w2r-border);
}

.w2r-floating__title {
	display: flex;
	gap: 10px;
	align-items: center;
	min-width: 0;
}

.w2r-floating__title .w2r-g {
	width: 28px;
	height: 28px;
}

.w2r-floating__title > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.w2r-floating__score {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.8667);
}

.w2r .w2r-floating__close {
	flex-shrink: 0;
	display: inline-flex;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--w2r-muted);
	cursor: pointer;
}

.w2r .w2r-floating__close:hover {
	background: var(--w2r-border);
	color: var(--w2r-text);
}

.w2r-floating__close svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.w2r-floating__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	overflow-y: auto;
}

.w2r-floating__list .w2r-review--compact {
	flex: 0 0 auto;
}

.w2r-floating__foot {
	padding: 12px 16px;
	border-top: 1px solid var(--w2r-border);
	text-align: center;
}

.w2r-floating__foot .w2r-btn {
	width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.w2r-slider__track,
	.w2r .w2r-floating__badge,
	.w2r-collector__stars svg {
		transition: none;
	}
}


/* =========================================================
   0.4.0 — rating row, verified tick, card looks
   ========================================================= */

.w2r-review__rating {
	display: flex;
	align-items: center;
	gap: 6px;
}

.w2r-tick {
	position: relative; /* Keeps its hidden screen-reader label inside the card. */
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

.w2r-tick svg {
	width: 100%;
	height: 100%;
	fill: #1a73e8;
}

.w2r-tick .w2r-tick__mark {
	stroke: #ffffff;
}

.w2r .screen-reader-text {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.w2r-review__author {
	font-size: calc(var(--w2r-font, 15px) * 1);
	line-height: 1.3;
}

.w2r-review__text {
	font-size: calc(var(--w2r-font, 15px) * 0.94);
}

/* The "Read more" link sits at the bottom of the card, so equal-height cards line up. */
.w2r-review__more {
	margin-top: auto !important;
}

.w2r--cards-outline {
	--w2r-shadow: none;
	--w2r-border: #1f2328;
}

.w2r--cards-outline .w2r-review {
	border-width: 2px;
}

.w2r--theme-dark.w2r--cards-outline {
	--w2r-border: #e8eaed;
}

.w2r--cards-minimal {
	--w2r-shadow: none;
	--w2r-border: transparent;
	--w2r-card: transparent;
}

.w2r--cards-minimal .w2r-review {
	padding: 6px 4px;
}

.w2r--cards-minimal .w2r-grid .w2r-review,
.w2r--cards-minimal .w2r-list .w2r-review {
	border-bottom: 1px solid #e3e5e8;
	border-radius: 0;
	padding-bottom: 16px;
}

.w2r--cards-lifted {
	--w2r-border: transparent;
	--w2r-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
}

.w2r--theme-dark.w2r--cards-lifted {
	--w2r-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ---------- Big rating panel (carousel with panel, sidebar) ---------- */

.w2r-side {
	display: grid;
	grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
	gap: 20px;
	align-items: center;
}

.w2r-panel-score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	padding: 8px 4px;
}

.w2r-panel-score__label {
	font-size: calc(var(--w2r-font, 15px) * 1.4);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.1;
}

.w2r-panel-score__value {
	display: flex;
	align-items: center;
	gap: 8px;
}

.w2r-panel-score__number {
	font-size: calc(var(--w2r-font, 15px) * 1.6);
	font-weight: 700;
	line-height: 1;
}

.w2r .w2r-panel-score__count {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.94);
}

.w2r .w2r-panel-score__count strong {
	color: var(--w2r-text);
	font-weight: 700;
}

.w2r-panel-score__google {
	margin-top: 2px;
}

.w2r-wordmark {
	display: inline-flex;
	font-family: 'Product Sans', Arial, sans-serif;
	font-size: calc(var(--w2r-font, 15px) * 1.9);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1;
}

.w2r .w2r-panel-score__write {
	margin-top: 6px;
	padding: 7px 14px;
	border: 1px solid var(--w2r-border);
	border-radius: 999px;
	font-size: calc(var(--w2r-font, 15px) * 0.87);
	font-weight: 600;
}

.w2r .w2r-panel-score__write:hover {
	border-color: var(--w2r-accent);
	color: var(--w2r-accent);
}

.w2r-side > * {
	min-width: 0; /* Let the sliding row shrink inside the grid instead of widening the page. */
}

.w2r-side .w2r-track > .w2r-review {
	flex-basis: calc((100% - 2 * var(--w2r-gap)) / 3);
}

@media (max-width: 900px) {
	.w2r-side .w2r-track > .w2r-review {
		flex-basis: calc((100% - var(--w2r-gap)) / 2);
	}
}

@media (max-width: 640px) {
	.w2r-side {
		grid-template-columns: 1fr;
	}

	.w2r-side .w2r-track > .w2r-review {
		flex-basis: 86%;
	}
}

/* ---------- Company badge ---------- */

.w2r--badge-card {
	display: inline-block;
	margin: 0;
}

.w2r .w2r-badge-card {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px 14px 16px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
}

.w2r-badge-card__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.w2r-badge-card__name {
	font-weight: 700;
	font-size: calc(var(--w2r-font, 15px) * 1.0667);
	line-height: 1.2;
}

.w2r-badge-card__row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.w2r-badge-card__score {
	font-weight: 700;
}

.w2r-badge-card__count {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.867);
}

/* ---------- Top rated seal ---------- */

.w2r--top-rated {
	display: inline-block;
	margin: 0;
}

.w2r .w2r-seal {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px 10px 10px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: 999px;
	box-shadow: var(--w2r-shadow);
}

.w2r-seal__ring {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--w2r-accent);
	color: var(--w2r-accent-text);
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.w2r-seal__ring .w2r-stars__base svg {
	fill: rgba(255, 255, 255, 0.35);
}

.w2r-seal__score {
	font-size: calc(var(--w2r-font, 15px) * 1.33);
	font-weight: 700;
	line-height: 1;
}

.w2r-seal__text {
	display: flex;
	flex-direction: column;
}

.w2r-seal__title {
	font-weight: 700;
	font-size: calc(var(--w2r-font, 15px) * 1.0667);
	line-height: 1.2;
}

.w2r-seal__sub {
	color: var(--w2r-muted);
	font-size: calc(var(--w2r-font, 15px) * 0.867);
}

/* ---------- Sidebar ---------- */

.w2r-sidebar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 360px;
	padding: 18px;
	background: var(--w2r-card);
	border: 1px solid var(--w2r-border);
	border-radius: var(--w2r-radius);
	box-shadow: var(--w2r-shadow);
}

.w2r-sidebar .w2r-panel-score {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--w2r-border);
}

.w2r-sidebar__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 460px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.w2r-sidebar__list .w2r-review {
	padding: 12px;
	box-shadow: none;
}

.w2r--theme-dark .w2r-wordmark span {
	filter: brightness(1.15);
}

/* Sideways-scrolling rows never widen the page or the builder column they sit in
   (Elementor containers and theme grids size themselves from their content). */
.w2r-track,
.w2r-hbar__reviews {
	contain: inline-size;
}

.w2r {
	max-width: 100%;
	min-width: 0;
}
