/*
 * Testimonials scroll section — homepage [mr_testimonials]
 * @package log-core
 */

.scroll-row {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 8px 4px 20px;
	margin-top: 34px;
	scrollbar-width: none;
	cursor: grab;
}

.scroll-row.dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	user-select: none;
}

.scroll-row::-webkit-scrollbar {
	display: none;
}

.scroll-row>* {
	scroll-snap-align: start;
	flex-shrink: 0;
}

/* ── Test Card ── */
.test-card {
	width: 340px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .35s var(--ease), transform .12s linear;
}

.test-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.verified-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--blush-100, #fdf0f4);
	color: var(--plum-700, #5a2d91);
	font-size: 11px;
	font-weight: 800;
	padding: 6px 12px;
	border-radius: var(--r-pill);
	width: fit-content;
}

.verified-chip .icon {
	width: 11px;
	height: 11px;
	stroke: currentColor;
}

.test-stars {
	display: flex;
	gap: 3px;
	color: var(--sage-600, #4a7c59);
}

.test-stars .icon {
	width: 14px;
	height: 14px;
}

.quote {
	font-size: 14px;
	line-height: 1.65;
	color: var(--gray-600);
	margin: 0;
	flex: 1;
}

/* ── Test Footer ── */
.test-foot {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.test-avatar {
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 50%;
	background: linear-gradient(150deg, var(--sage-600, #12b377), var(--plum-700, #7a1f6e));
	color: #ffff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 800;
	font-family: var(--display, 'Playfair Display', Georgia, serif);
	font-size: 14px;
	line-height: 1;
	flex-shrink: 0;
	overflow: hidden;
}

.test-foot strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-900);
}

.test-foot span {
	display: block;
	font-size: 12px;
	color: var(--gray-600);
	margin-top: 2px;
}

@media (max-width: 640px) {
	.test-card {
		width: 280px;
	}
}