/**
 * SHYFT Reviews – Clean Premium 2026 (default).
 * Backend Custom CSS loads after this file and can override any rule.
 */

/* ======================================
   COMPACT BADGE
   ====================================== */

.shyft-reviews-badge--inline {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	max-width: 100%;
	line-height: 1.2;
}

.shyft-reviews-badge__summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
	color: #172a39;
	text-decoration: none;
}

.shyft-reviews-badge__summary--link:hover {
	opacity: 0.85;
}

.shyft-reviews-badge__icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
}

.shyft-reviews-badge__google {
	display: block;
	width: 20px;
	height: 20px;
}

.shyft-reviews-badge__stars {
	color: #fbbc04;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1;
}

.shyft-reviews-badge__rating,
.shyft-reviews-badge__count,
.shyft-reviews-badge__extra {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #172a39;
}

.shyft-reviews-badge__sep {
	color: #172a39;
	font-size: 15px;
	font-weight: 400;
	opacity: 0.35;
	line-height: 1;
}

/* Card / Trust-Badge */

.shyft-reviews-badge--card {
	display: inline-block;
	max-width: 100%;
	line-height: 1.2;
}

.shyft-reviews-badge__card-inner {
	display: inline-flex;
	align-items: stretch;
	max-width: 100%;
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(23, 42, 57, 0.08);
	overflow: hidden;
}

.shyft-reviews-badge__card-inner:hover {
	text-decoration: none;
	color: inherit;
}

.shyft-reviews-badge__card-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 16px;
	flex-shrink: 0;
}

.shyft-reviews-badge__icon--card {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.shyft-reviews-badge__card-rating {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	color: #172a39 !important;
}

.shyft-reviews-badge__card-star {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	flex-shrink: 0;
}

.shyft-reviews-badge__star-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.shyft-reviews-badge__card-rating-value {
	color: #172a39 !important;
	font-weight: 800 !important;
}

.shyft-reviews-badge__card-divider {
	width: 1px;
	align-self: stretch;
	margin: 10px 0;
	background: #e6e6e6;
	flex-shrink: 0;
}

.shyft-reviews-badge__card-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 12px 16px 12px 14px;
	min-width: 0;
}

.shyft-reviews-badge__card-title {
	margin: 0;
	padding: 0;
}

.shyft-reviews-badge__card-title-line {
	display: block;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
	color: #172a39 !important;
}

.shyft-reviews-badge__card-subtitle {
	margin: 0;
	padding: 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.35;
	color: #172a39 !important;
	opacity: 0.85;
}

@media (max-width: 767px) {
	.shyft-reviews-badge--inline {
		display: flex;
		width: 100%;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.shyft-reviews-badge--card {
		display: block;
		width: 100%;
		text-align: center;
	}

	.shyft-reviews-badge__card-inner {
		margin-left: auto;
		margin-right: auto;
	}

	.shyft-reviews-badge__summary {
		justify-content: center;
	}
}

/* ======================================
   SHYFT REVIEWS
   CLEAN PREMIUM 2026
   ====================================== */

.shyft-reviews {
	--text: #172a39;
	--muted: rgba(23, 42, 57, 0.55);
	--accent: #fc573b;
	--star: #fbbc04;

	position: relative;
	padding: 40px;
	border-radius: 34px;
	overflow: hidden;

	background:
		radial-gradient(circle at top left, rgba(252, 87, 59, 0.03), transparent 35%),
		linear-gradient(135deg, #f8f9f9 0%, #f3f6f5 50%, #eef3f3 100%);

	border: 1px solid rgba(255, 255, 255, 0.7);

	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);

	box-shadow:
		0 30px 80px rgba(23, 42, 57, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ======================================
   HEADER
   ====================================== */

.shyft-reviews__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.shyft-reviews__summary {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.shyft-reviews__rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 25px rgba(23, 42, 57, 0.05);
}

.shyft-reviews__rating-value {
	font-size: 24px;
	font-weight: 800;
	color: var(--text);
}

.shyft-reviews__stars,
.shyft-reviews__stars-small {
	color: var(--star);
	letter-spacing: 1px;
}

.shyft-reviews__count {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
}

/* ======================================
   CTA
   ====================================== */

.shyft-reviews__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	border-radius: 999px;
	background: #172a39;
	color: #fff !important;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	transition: 0.25s ease;
}

.shyft-reviews__cta:hover {
	background: var(--accent);
}

/* ======================================
   TRACK
   ====================================== */

.shyft-reviews__track-wrap {
	overflow: hidden;
	padding-bottom: 18px;
}

.shyft-reviews__track {
	display: flex;
	gap: 18px;
}

.shyft-reviews--slider .shyft-reviews__track {
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

.shyft-reviews--slider .shyft-reviews__track::-webkit-scrollbar {
	display: none;
}

.shyft-reviews:not(.shyft-reviews--slider) .shyft-reviews__track {
	flex-wrap: wrap;
}

/* ======================================
   CARD
   ====================================== */

.shyft-reviews__card {
	position: relative;
	flex: 0 0 calc((100% - 36px) / 3);
	min-width: 0;
	min-height: 330px;
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
	border: 1px solid rgba(255, 255, 255, 0.95);
	overflow: hidden;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: border-color 0.25s ease, background 0.25s ease;
	scroll-snap-align: start;
}

.shyft-reviews__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 45%);
	pointer-events: none;
}

.shyft-reviews__card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		inset 0 -24px 40px rgba(23, 42, 57, 0.03);
	pointer-events: none;
}

.shyft-reviews__card:hover {
	border-color: rgba(252, 87, 59, 0.18);
}

/* ======================================
   CARD HEADER
   ====================================== */

.shyft-reviews__card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	min-width: 0;
}

.shyft-reviews__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	flex-shrink: 0;
}

.shyft-reviews__avatar--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f29900;
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
}

.shyft-reviews__author {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--text);
	overflow-wrap: anywhere;
}

.shyft-reviews__stars-small {
	margin: 0 0 10px;
}

.shyft-reviews__text {
	margin: 0;
	color: rgba(23, 42, 57, 0.7);
	line-height: 1.7;
	font-size: 15px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.shyft-reviews__card-footer {
	margin-top: auto;
	padding-top: 20px;
}

.shyft-reviews__time {
	display: inline-flex;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(23, 42, 57, 0.05);
	color: rgba(23, 42, 57, 0.5);
	font-size: 12px;
	font-weight: 700;
	margin: 0;
}

/* ======================================
   CONTROLS
   ====================================== */

.shyft-reviews__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
}

.shyft-reviews__nav-group {
	display: flex;
	gap: 10px;
}

.shyft-reviews .shyft-reviews__nav {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	max-width: 46px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #172a39 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-align: center !important;
	box-shadow: 0 10px 25px rgba(23, 42, 57, 0.08) !important;
	cursor: pointer !important;
	transition: 0.25s ease;
}

.shyft-reviews .shyft-reviews__nav:hover:not(:disabled) {
	background: #172a39 !important;
	color: #fff !important;
}

.shyft-reviews .shyft-reviews__nav:disabled {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
}

.shyft-reviews__dots {
	display: flex;
	gap: 8px;
}

.shyft-reviews .shyft-reviews__dot {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: block !important;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px !important;
	min-height: 8px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(23, 42, 57, 0.18) !important;
	box-shadow: none !important;
	cursor: pointer !important;
	transition: 0.25s ease;
}

.shyft-reviews .shyft-reviews__dot.is-active {
	width: 28px !important;
	background: #fc573b !important;
}

/* ======================================
   TABLET
   ====================================== */

@media (max-width: 1024px) {
	.shyft-reviews__card {
		flex-basis: calc((100% - 18px) / 2);
	}
}

/* ======================================
   MOBILE
   ====================================== */

@media (max-width: 767px) {
	.shyft-reviews {
		padding: 24px;
		border-radius: 26px;
	}

	.shyft-reviews__header {
		flex-direction: column;
		align-items: stretch;
	}

	.shyft-reviews__cta {
		width: 100%;
	}

	.shyft-reviews__card {
		flex-basis: 88%;
		min-height: 320px;
	}

	.shyft-reviews__text {
		font-size: 14px;
	}

	.shyft-reviews,
	.shyft-reviews__card,
	.shyft-reviews__cta {
		border-radius: 10px !important;
	}

	.shyft-reviews__rating,
	.shyft-reviews__time {
		border-radius: 999px !important;
	}
}
