/* Kiwi Testimonials Widget Styles */

.kiwi-testimonials-wrapper {
	width: 100%;
}

/* Section Title */
.kiwi-testimonials-title {
	margin: 0 0 30px 0;
	font-size: 28px;
	font-weight: 600;
	color: #000000;
	text-align: center;
	letter-spacing: 0.5px;
}

/* Testimonials Grid Container */
.kiwi-testimonials-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 100%;
}

/* Carousel Mode - Override Grid Layout */
.kiwi-testimonials-carousel-mode .kiwi-testimonials-items {
	display: flex;
}

/* Testimonial Card */
.testimonial-card {
	display: flex;
	flex-direction: column;
	padding: 30px 25px;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	transition: all 0.3s ease;
	height: 100%;
}

.testimonial-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
}

/* Avatar */
.testimonial-avatar {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.testimonial-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #f0f0f0;
}

/* Review Text */
.testimonial-text {
	margin: 0 0 20px 0;
	font-size: 14px;
	color: #666666;
	line-height: 1.6;
	font-style: italic;
}

/* Meta Information */
.testimonial-meta {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* Stars */
.testimonial-stars {
	display: flex;
	gap: 3px;
	font-size: 14px;
}

.testimonial-stars .star-filled {
	color: #ffc107;
}

.testimonial-stars .star-empty {
	color: #e0e0e0;
}

/* Testimonial Info */
.testimonial-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* Name */
.testimonial-name {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #000000;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Verified Badge */
.verified-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #4caf50;
	color: #ffffff;
	font-size: 10px;
	font-weight: bold;
}

/* Location */
.testimonial-location {
	margin: 0;
	font-size: 12px;
	color: #999999;
}

/* Content Area */
.testimonial-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Ensure testimonial text and meta are positioned correctly */
.testimonial-text {
	flex: 1;
}

.testimonial-meta {
	margin-top: auto;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
	.kiwi-testimonials-items {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.testimonial-card {
		padding: 20px 15px;
	}

	.testimonial-avatar img {
		width: 70px;
		height: 70px;
	}

	.testimonial-text {
		font-size: 13px;
	}

	/* Carousel navigation responsive */
	.wd-nav-arrows.wd-pos-sep {
		left: -50px;
		right: -50px;
	}

	.wd-btn-arrow {
		width: 35px;
		height: 35px;
	}
}

/* Responsive - Mobile */
@media (max-width: 576px) {
	.kiwi-testimonials-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.kiwi-testimonials-items {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.testimonial-card {
		padding: 15px 12px;
	}

	.testimonial-avatar img {
		width: 60px;
		height: 60px;
	}

	.testimonial-text {
		font-size: 12px;
		margin-bottom: 15px;
	}

	.testimonial-name {
		font-size: 14px;
	}

	.testimonial-location {
		font-size: 11px;
	}

	/* Carousel navigation on mobile */
	.wd-nav-arrows.wd-pos-sep {
		left: -35px;
		right: -35px;
	}

	.wd-btn-arrow {
		width: 30px;
		height: 30px;
	}

	.wd-btn-arrow.wd-prev .wd-arrow-inner::before,
	.wd-btn-arrow.wd-next .wd-arrow-inner::before {
		font-size: 18px;
	}

	/* Stack navigation below on very small screens */
	@media (max-width: 380px) {
		.wd-nav-arrows.wd-pos-sep {
			position: relative;
			top: auto;
			transform: none;
			left: auto;
			right: auto;
			justify-content: center;
			margin-top: 15px;
			gap: 10px;
		}
	}
}

/* Carousel Styles */
.wd-carousel-wrap {
	display: flex;
	gap: 30px;
}

.wd-carousel-item {
	flex: 0 0 calc((100% - (var(--wd-col-lg) - 1) * var(--wd-gap)) / var(--wd-col-lg));
	height: 100%;
}

.wd-carousel-item .testimonial-card {
	min-width: 100%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Carousel container styles */
.kiwi-testimonials-carousel-container {
	width: 100%;
	position: relative;
}

.kiwi-testimonials-carousel-container .wd-carousel-inner {
	position: relative;
}

.kiwi-testimonials-carousel {
	--wd-col: 3;
	--wd-col-lg: 3;
	--wd-col-md: 2;
	--wd-col-sm: 1;
	--wd-gap: 30px;
}


/* Navigation arrows styles */
.wd-nav-arrows {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	gap: 15px;
	z-index: 10;
}

.wd-nav-arrows.wd-pos-sep {
	left: -70px;
	right: -70px;
	justify-content: space-between;
}

.wd-btn-arrow {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.wd-btn-arrow:hover:not(.wd-disabled) {
	background-color: #000;
	border-color: #000;
}

.wd-btn-arrow:hover:not(.wd-disabled) .wd-arrow-inner {
	color: #fff;
}

.wd-btn-arrow.wd-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wd-arrow-inner {
	width: 0;
	height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	font-size: 16px;
	transition: color 0.3s ease;
}

.wd-btn-arrow.wd-prev .wd-arrow-inner::before {
	content: '‹';
	font-size: 24px;
	font-weight: bold;
}

.wd-btn-arrow.wd-next .wd-arrow-inner::before {
	content: '›';
	font-size: 24px;
	font-weight: bold;
}

/* Pagination styles */
.wd-nav-pagin-wrap {
	margin-top: 30px;
	display: flex;
	justify-content: center;
}

.wd-nav-pagin {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}

.wd-nav-pagin-item {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #e0e0e0;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.wd-nav-pagin-item:hover {
	background-color: #999;
}

.wd-nav-pagin-item.wd-active {
	background-color: #000;
}
