/* Squatch Reviews: card slider */
.sqr-widget {
	position: relative;
	max-width: 1080px;
	margin: 0 auto 15px;
	padding: 0 22px;
	box-sizing: border-box;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #000;
}
.sqr-widget *,
.sqr-widget *::before,
.sqr-widget *::after { box-sizing: border-box; }

.sqr-viewport { overflow: hidden; }
.sqr-track {
	display: flex;
	align-items: flex-start;
	transition: transform 0.5s ease;
	will-change: transform;
	touch-action: pan-y;
}
.sqr-item {
	flex: 0 0 calc(100% / var(--sqr-cols, 3));
	padding: 0 8px;
	display: flex;
}
.sqr-inner {
	width: 100%;
	background: #f4f4f4;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	min-height: 234px;
}

.sqr-header { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.sqr-header .sqr-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 40px;
	display: block;
	margin: 0;
}
.sqr-name {
	font-size: 15px;
	font-weight: 600;
	line-height: 21px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 25px;
}

.sqr-stars { display: flex; align-items: center; margin: 11px 0; line-height: 17px; }
.sqr-star { width: 17px; height: 17px; margin-right: 1px; display: block; }

.sqr-verified { position: relative; display: inline-flex; margin-left: 7px; cursor: default; outline: none; }
.sqr-verified svg { display: block; }
.sqr-tip {
	position: absolute;
	bottom: calc(100% + 7px);
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	color: #000;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
	padding: 5px 9px;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
	z-index: 2;
}
.sqr-verified:hover .sqr-tip,
.sqr-verified:focus .sqr-tip { opacity: 1; }

.sqr-text {
	font-size: 15px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
	word-break: break-word;
}
.sqr-text strong { font-weight: 400; }
.sqr-item.is-open .sqr-text { -webkit-line-clamp: unset; line-clamp: unset; display: block; }

.sqr-more {
	align-self: flex-start;
	margin: 6px 0 0;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	font-size: 14px;
	color: #6b6b6b;
	cursor: pointer;
	text-decoration: none;
}
.sqr-more:hover { text-decoration: underline; }

.sqr-nav {
	position: absolute;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 15px;
	border: 0;
	padding: 0;
	background: #fff;
	cursor: pointer;
	z-index: 3;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.sqr-nav::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #333;
	border-right: 2px solid #333;
}
.sqr-prev { left: 0; }
.sqr-next { right: 0; }
.sqr-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.sqr-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.sqr-nav[hidden] { display: none; }
