/* ==========================================================================
   ODF Google Reviews Widget
   ========================================================================== */

/* --- Carousel Container (fixed card + slider side by side) --- */
.odf-reviews__carousel {
	display: flex;
	align-items: stretch;
	gap: 20px;
	color: #ffffff;
	box-sizing: border-box;
}

.odf-reviews__carousel *,
.odf-reviews__carousel *::before,
.odf-reviews__carousel *::after {
	box-sizing: border-box;
}

/* --- Fixed Summary Card --- */
.odf-reviews__card--summary {
	flex: 0 0 404px;
	width: 404px;
	background: #333332;
	border-radius: 10px;
	border: 0;
	padding: 20px 24px 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.odf-reviews__rating-score {
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 148px;
	line-height: 132%;
}

.odf-reviews__rating-label {
	color: #FFFFFF;
	margin-top: -12px;
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 132%;
}

.odf-reviews__summary-stars {
	margin-top: auto;
	display: flex;
	gap: 2px;
	padding-top: 24px;
}

.odf-reviews__brand {
	margin-top: 16px;
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 132%;
}

.odf-reviews__tagline {
	color: rgba(255, 255, 255, 0.8);
	margin-top: 2px;
	font-family: Mona Sans, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 132%;
}

/* --- Swiper Slider Area --- */
.odf-reviews__slider {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.odf-reviews__slider::before {
	content: "";
	background: linear-gradient(270deg, rgba(30, 30, 29, 0) 75.29%, #1E1E1D 100%);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	pointer-events: none;
}

/* --- Review Cards --- */
.odf-reviews__card--review {
	background: #3A3A3A;
	border-radius: 10px;
	border: 0;
	padding: 32px 20px;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 492px;
}


.swiper-slide.swiper-slide-active .odf-reviews__card--review {
	background: linear-gradient(180deg, #C4C4C4 -83.48%, #1E1E1D 146.29%);
}

/* Swiper slide sizing */
.odf-reviews__slider .swiper-slide {
	width: 404px;
	height: auto;
}

/* --- Stars --- */
.odf-reviews__star {
	font-size: 18px;
	line-height: 1;
}

.odf-reviews__star--full {
	color: #FBBF24;
}

.odf-reviews__star--half {
	color: #FBBF24;
	opacity: 0.5;
}

/* --- Reviewer Header --- */
.odf-reviews__reviewer {
	display: flex;
	align-items: center;
	gap: 12px;
}

.odf-reviews__avatar {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Mona Sans, sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #ffffff;
	flex-shrink: 0;
}

.odf-reviews__reviewer-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.odf-reviews__name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 132%;
}

.odf-reviews__role {
	color: rgba(255, 255, 255, 0.62);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: Mona Sans, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 132%;
}

.odf-reviews__time {
	color: rgba(255, 255, 255, 0.9);
	margin-left: auto;
	white-space: nowrap;
	flex-shrink: 0;
	background: transparent;
	padding: 0;
	border-radius: 0;
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 132%;
}

/* --- Review Body --- */
.odf-reviews__stars {
	display: flex;
	gap: 2px;
	margin-top: auto;
	padding-top: 24px;
}

.odf-reviews__text {
	color: #fff;
	margin: 12px 0 0;
	padding: 0;
	border: none;
	font-style: normal;
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 120%;
}

/* --- Read More Toggle --- */
.odf-reviews__read-more {
	display: inline;
	color: #FBBF24;
	cursor: pointer;
	font-family: Mona Sans, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 120%;
	margin-top: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* --- Tablet (769px – 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
	.odf-reviews__card--summary {
		flex: 0 0 280px;
		width: 280px;
		padding: 20px 20px 24px;
	}

	.odf-reviews__rating-score {
		font-size: 96px;
	}

	.odf-reviews__rating-label {
		font-size: 18px;
	}

	.odf-reviews__brand {
		font-size: 20px;
	}

	.odf-reviews__tagline {
		font-size: 14px;
	}

	.odf-reviews__slider .swiper-slide {
		width: 300px;
	}

	.odf-reviews__card--review {
		min-height: 400px;
		padding: 24px 18px;
	}

	.odf-reviews__name {
		font-size: 20px;
	}

	.odf-reviews__text {
		font-size: 20px;
	}

	.odf-reviews__avatar {
		width: 50px;
		height: 50px;
		font-size: 14px;
	}
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
	.odf-reviews__carousel {
		flex-direction: column;
		gap: 12px;
	}

	/* Summary card: compact for mobile */
	.odf-reviews__card--summary {
		flex: 0 0 auto;
		width: 100%;
		padding: 16px 20px 20px;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 4px 16px;
	}

	.odf-reviews__rating-score {
		font-size: 56px;
		line-height: 1;
	}

	.odf-reviews__rating-label {
		font-size: 16px;
		margin-top: 0;
	}

	.odf-reviews__summary-stars {
		padding-top: 0;
		margin-top: 100px;
		width: 100%;
	}

	.odf-reviews__brand {
		margin-top: 4px;
		font-size: 18px;
	}

	.odf-reviews__tagline {
		font-size: 14px;
	}

	/* Slider: full width */
	.odf-reviews__slider {
		width: 100%;
		flex: none;
	}

	.odf-reviews__slider .swiper-slide {
		width: 75vw;
	}

	.odf-reviews__slider::before {
		display: none;
	}

	.odf-reviews__card--review {
		padding: 20px 16px;
		min-height: auto;
	}

	/* Reviewer header */
	.odf-reviews__avatar {
		width: 44px;
		height: 44px;
		font-size: 13px;
	}

	.odf-reviews__name {
		font-size: 18px;
	}

	.odf-reviews__time {
		font-size: 12px;
	}

	/* Review text */
	.odf-reviews__text {
		font-size: 18px;
	}
}
