/* ==========================================================================
   GS Reviews (Reviews.io-style carousel) — loaded by henry-woocommerce-support
   ========================================================================== */
.gs-reviews {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1.5rem;
	max-width: 100%;
	background: #fff;
	color: #0e1311;
	font-family: arial, sans-serif;
	line-height: 1.4;
}
.gs-reviews-header {
	flex: 0 0 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.5em;
}
.gs-reviews-label {
	font-size: inherit;
	font-weight: 600;
	margin: 0 0 0.25em;
	line-height: 1.3;
	color: unset !important;
}
.gs-reviews-title {
	font-size: 0.9em;
	margin: 0 0 0.5em;
	opacity: 0.85;
}
.gs-reviews-summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35em;
}
.gs-reviews-rating {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2em;
}
.gs-reviews-stars {
	display: inline-block;
	position: relative;
	font-size: 22px;
	letter-spacing: 0.05em;
	line-height: 1;
	color: rgba(0,0,0,0.2);
}
.gs-reviews-stars::before {
	content: "★★★★★";
}
.gs-reviews-stars::after {
	content: "★★★★★";
	position: absolute;
	left: 0;
	top: 0;
	color: #7f4401;
	width: calc( (var(--gs-avg, 5) / 5) * 100% );
	overflow: hidden;
	white-space: nowrap;
}
.gs-reviews-average-line {
	display: inline-block;
}
.gs-reviews-average {
	font-weight: 600;
}
.gs-reviews-average-label {
	font-size: 0.95em;
}
.gs-reviews-count {
	font-size: 0.95em;
}
.gs-reviews-count strong {
	font-weight: 600;
}

.gs-reviews-logo {
	padding-top: 0.75em;
}
.gs-reviews-logo a {
	display: inline-block;
}
.gs-reviews-logo img {
	display: block;
	height: 19px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
}

/* Carousel list */
.gs-reviews-list {
	display: flex;
	gap: 0.5em;
	list-style: none;
	margin: 0;
	padding: 0.5em 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.9em;
}
.gs-reviews-list {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.gs-reviews-list::-webkit-scrollbar {
	display: none;
}

/* Review card — desktop: 3 visible */
.gs-review {
	flex: 0 0 calc((100% - 1em) / 3);
	min-width: 0;
	max-width: none;
	min-height: 200px;
	padding: 0.5em;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}
.gs-review-link,
.gs-review-link:hover,
.gs-review-link:focus,
.gs-review-link:visited,
.gs-review-link:active {
	color: inherit !important;
	text-decoration: none !important;
}
.gs-review-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.35em;
}
.gs-review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.5em;
}
.gs-review-author {
	font-weight: 600;
	font-size: 0.95em;
}
.gs-review-rating {
	display: inline-block;
	font-size: 19px;
	line-height: 1;
	letter-spacing: 0.03em;
	color: #7f4401;
}
.gs-review-rating[data-rating="1"]::before { content: "★☆☆☆☆"; }
.gs-review-rating[data-rating="2"]::before { content: "★★☆☆☆"; }
.gs-review-rating[data-rating="3"]::before { content: "★★★☆☆"; }
.gs-review-rating[data-rating="4"]::before { content: "★★★★☆"; }
.gs-review-rating[data-rating="5"]::before { content: "★★★★★"; }
.gs-review-badge {
	display: flex;
	align-items: center;
	gap: 0.35em;
	font-size: 0.8em;
	margin-top: 0.25em;
}
.gs-review-badge-icon {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
	color: var(--gs-primary, #538543);
}
.gs-review-badge-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}
.gs-review-badge-text {
	font-weight: 500;
}
.gs-review-body {
	margin: 0;
	font-size: 0.9em;
	font-weight: 400;
	border: none;
	padding: 0;
	quotes: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}
.gs-review-body p {
	margin: 0 0 0.4em;
}
.gs-review-body p:last-child {
	margin-bottom: 0;
}
.gs-review-date {
	margin: 0;
	margin-top: auto;
	font-size: 0.8em;
	text-align: right;
	opacity: 0.85;
}

@media (max-width: 768px) {
	.gs-reviews {
		flex-direction: column;
	}
	.gs-reviews-header {
		flex: none;
		padding: 0.75em;
	}
	.gs-review {
		flex: 0 0 100%;
		min-width: 0;
	}
}
