/* Reviews Slider — visa CSS po .rvs, kad nesimaišytų su tema */
.rvs {
	--rvs-per: 4;
	--rvs-gap: 18px;
	--rvs-page: #F4F7FF;
	--rvs-card-bg: #FFFFFF;
	--rvs-title: #141A2B;
	--rvs-score: #1A2233;
	--rvs-count: #8A93A5;
	--rvs-name: #1A2233;
	--rvs-date: #8A93A5;
	--rvs-check: #2054A3;
	--rvs-star-on: #00AA5C;
	--rvs-star-off: #E1E5EC;
	--rvs-text: #5B6472;
	--rvs-link: #2054A3;
	--rvs-arrow-ic: #2054A3;
	--rvs-dot: #C9D0DE;
	--rvs-dot-active: #3467E8;
	--rvs-btn-fg: #FFFFFF;

	position: relative;
	box-sizing: border-box;
/* 	padding: 28px clamp(16px, 4vw, 40px) 32px; */
	background: var(--rvs-page);
	font-family: inherit;
}
.rvs *, .rvs *::before, .rvs *::after { box-sizing: border-box; }

/* ---------- Antraštė ---------- */
.rvs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-bottom: 22px;
}
.rvs-title {
	margin: 0;
	color: var(--rvs-title);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 800;
	line-height: 1.1;
}
.rvs-summary { display: flex; align-items: center; gap: 10px; }
.rvs-score { color: var(--rvs-score); font-size: 24px; font-weight: 800; line-height: 1; }
.rvs-count { color: var(--rvs-count); font-size: 14px; }

.rvs-sum-stars { position: relative; display: inline-block; line-height: 0; }
.rvs-sum-row { display: flex; gap: 2px; }
.rvs-sum-front {
	position: absolute;
	top: 0; left: 0;
	overflow: hidden;
	white-space: nowrap;
}
.rvs-sum-row svg { flex: 0 0 auto; display: block; }
.rvs-sum-back svg  { fill: var(--rvs-star-off); }
.rvs-sum-front svg { fill: var(--rvs-star-on); }

/* ---------- Viewport + rodyklės ---------- */
.rvs-viewport {
	position: relative;
	display: block;
}
.rvs-track {
	width: 100%;
	display: flex;
	gap: var(--rvs-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px 2px 8px;
	margin: -6px 0 -8px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.rvs-track::-webkit-scrollbar { display: none; }

/* ---------- Kortelė ---------- */
.rvs-card {
	flex: 0 0 calc((100% - (var(--rvs-per) - 1) * var(--rvs-gap)) / var(--rvs-per));
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: var(--rvs-card-bg);
	border-radius: 16px;
	border: 1px solid rgba(20, 30, 60, .06);
	box-shadow: 0 2px 10px rgba(31, 45, 90, .02);
}
.rvs-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rvs-avatar { position: relative; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #e7eaf0; }
.rvs-avatar img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; }
.rvs-initial { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: #5b6472; font-weight: 700; font-size: 18px; }
.rvs-gbadge { position: absolute; right: -3px; bottom: -3px; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.rvs-gbadge svg { display: block; }

.rvs-meta { min-width: 0; }
.rvs-name { display: flex; align-items: center; gap: 6px; color: var(--rvs-name); font-weight: 700; font-size: 15px; line-height: 1.25; }
.rvs-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvs-check { flex: 0 0 auto; display: inline-flex; color: var(--rvs-check); }
.rvs-check svg { display: block; }
.rvs-date { margin-top: 2px; color: var(--rvs-date); font-size: 13px; line-height: 1.2; }

.rvs-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.rvs-stars svg { display: block; }
.rvs-stars svg.is-on  { fill: var(--rvs-star-on); }
.rvs-stars svg.is-off { fill: var(--rvs-star-off); }

.rvs-text {
	margin: 0;
	color: var(--rvs-text);
	font-size: 14px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.rvs-text.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rvs-more { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--rvs-link); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.rvs-more[hidden] { display: none !important; }
.rvs-more:hover, .rvs-more:focus { background: transparent; color: var(--rvs-link); text-decoration: underline; }

/* ---------- Arrows ---------- */
.rvs-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #2D60AD !important;
	color: #FFFFFF !important;
	cursor: pointer;
	box-shadow: none;
	transform: translateY(-50%);
	transition: opacity .18s ease;
}
.rvs-prev { left: -16px; }
.rvs-next { right: -16px; }
.rvs-arrow:hover,
.rvs-arrow:focus,
.rvs-arrow:active { background: #2D60AD !important; color: #FFFFFF !important; box-shadow: none !important; }
.rvs-arrow:disabled { opacity: .28; cursor: default; background: #2D60AD !important; color: #FFFFFF !important; }
.rvs-arrow svg { display: block; width: 32px; height: 32px; }
.rvs-next svg { transform: scaleX(-1); }

/* ---------- Taškai ---------- */
.rvs-dots { display: flex; justify-content: center; gap: 7px; margin-top: 30px; }
.rvs-dot { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: var(--rvs-dot); cursor: pointer; transition: background .2s ease, width .2s ease; }
.rvs-dot.is-active { width: 30px; background: var(--rvs-dot-active); }

/* ---------- Mygtukas ---------- */
.rvs-btnwrap { display: flex; justify-content: center; margin-top: 24px; }
.rvs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--Linear, linear-gradient(90deg, #AD2D60 -4.03%, #651334 104.57%));
	color: var(--rvs-btn-fg);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(101, 19, 52, .22);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.rvs-btn:hover { transform: translateY(-1px); box-shadow: 0 13px 26px rgba(101, 19, 52, .30); filter: brightness(1.04); color:white !important;}
.rvs-btn svg { display: block; }

.rvs-btnwrap {
   margin-top: 30px;
}

/* ---------- Fokusas ---------- */
.rvs-arrow:focus-visible, .rvs-dot:focus-visible, .rvs-more:focus-visible, .rvs-btn:focus-visible {
	outline: 2px solid var(--rvs-link);
	outline-offset: 2px;
}

/* ---------- Mobilus ---------- */
@media (max-width: 767px) {
	.rvs { padding-left: 14px; padding-right: 14px; }
	.rvs-arrow { display: none; }
	.rvs-header { gap: 8px 16px; }
	.rvs-summary { width: 100%; }
}
