.ky-reviews {
	direction: rtl;
	text-align: right;
	font-family: inherit;
	max-width: 900px;
}

/* ---------- خلاصه امتیازات ---------- */
.ky-summary {
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 20px;
}
.ky-summary-header {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 16px;
}
.ky-summary-title {
	font-weight: 700;
	font-size: 18px;
}
.ky-summary-body {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.ky-criteria-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	flex: 2;
	min-width: 260px;
}
.ky-criteria-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.ky-criteria-score {
	font-weight: 700;
	color: #f5a623;
	font-size: 14px;
}
.ky-criteria-label {
	color: #374151;
	font-size: 13px;
}
.ky-criteria-icon {
	display: none; /* در صورت داشتن آیکن SVG می‌توان اینجا بک‌گراند گذاشت */
}

.ky-sentiment {
	flex: 1.4;
	min-width: 280px;
	display: flex;
	gap: 16px;
	align-items: center;
}
.ky-sentiment-bars {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ky-sentiment-row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ky-sentiment-emoji {
	font-size: 14px;
	width: 20px;
	text-align: center;
}
.ky-sentiment-track {
	flex: 1;
	height: 8px;
	border-radius: 5px;
	background: #eef0f2;
	overflow: hidden;
}
.ky-sentiment-fill {
	height: 100%;
	background: #f5c518;
	border-radius: 5px;
}
.ky-overall-box {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 130px;
}
.ky-overall-number {
	font-weight: 700;
	font-size: 16px;
}
.ky-overall-stars {
	color: #f5c518;
	font-size: 16px;
	letter-spacing: 2px;
}
.ky-overall-note {
	font-size: 11px;
	color: #9ca3af;
}

/* ---------- فرم ثبت نظر ---------- */
.ky-review-form {
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px;
	margin-bottom: 20px;
}
.ky-form-ratings {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0;
}
.ky-form-rating-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ky-star-input .ky-star {
	cursor: pointer;
	font-size: 20px;
	color: #d1d5db;
	margin-inline-start: 2px;
}
.ky-star-input .ky-star.active {
	color: #f5c518;
}
.ky-review-textarea,
.ky-reply-textarea {
	width: 100%;
	min-height: 80px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 10px;
	font-family: inherit;
	resize: vertical;
	margin-bottom: 10px;
}
.ky-submit-btn,
.ky-submit-reply-btn {
	background: #111827;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	cursor: pointer;
	font-family: inherit;
}
.ky-form-message {
	margin-top: 8px;
	font-size: 13px;
}
.ky-login-notice {
	color: #6b7280;
	font-size: 14px;
}

/* ---------- لیست نظرات ---------- */
.ky-review-list-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 12px;
}
.ky-review-item {
	border-bottom: 1px solid #eef0f2;
	padding: 16px 0;
}
.ky-review-stars {
	color: #f5c518;
	letter-spacing: 2px;
	margin-bottom: 4px;
}
.ky-review-meta {
	display: flex;
	gap: 10px;
	align-items: baseline;
	margin-bottom: 8px;
}
.ky-review-author {
	font-weight: 700;
}
.ky-review-date {
	color: #9ca3af;
	font-size: 12px;
}
.ky-review-content {
	color: #374151;
	line-height: 1.8;
	margin-bottom: 8px;
}

/* ---------- پاسخ‌ها ---------- */
.ky-reply-item {
	background: #f9fafb;
	border-radius: 10px;
	padding: 12px;
	display: flex;
	gap: 10px;
	margin-top: 8px;
}
.ky-reply-avatar img {
	border-radius: 50%;
}
.ky-reply-badge {
	font-weight: 700;
	font-size: 13px;
	display: block;
	margin-bottom: 4px;
}
.ky-reply-content {
	color: #374151;
	font-size: 14px;
	line-height: 1.7;
}
.ky-show-reply-form {
	background: none;
	border: none;
	color: #2563eb;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
	margin-top: 6px;
}
.ky-reply-form {
	margin-top: 10px;
}

@media (max-width: 640px) {
	.ky-summary-body {
		flex-direction: column;
	}
}
