/* Reviews & comments — extends css/styles.css design tokens */

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.reviews-summary-score {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.reviews-summary-stars .star { color: var(--text-tertiary); font-size: 18px; }
.reviews-summary-stars .star.filled { color: #f5a623; }

.reviews-summary-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.review-form-card { margin-bottom: 28px; }

.star-input {
  display: inline-flex;
  gap: 4px;
  font-size: 28px;
  line-height: 1;
}

.star-btn {
  border: none;
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s ease, transform 0.1s ease;
}

.star-btn:hover { transform: scale(1.12); }
.star-btn.filled { color: #f5a623; }

.input-shell-textarea { align-items: flex-start; padding: 4px 12px; }
.input-shell-textarea textarea {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 10px 0;
  resize: vertical;
  min-height: 90px;
}
.input-shell-textarea textarea::placeholder { color: var(--text-tertiary); }

/* Honeypot — invisible to real visitors, present for bots that fill every field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.review-form-msg {
  min-height: 18px;
  margin-top: 12px;
  font-size: 13.5px;
  text-align: center;
}
.review-form-msg.ok { color: var(--green); }
.review-form-msg.err { color: var(--red); }

.reviews-list-section { margin-top: 8px; }

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  animation: fadeUp 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.review-name { font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }

.review-stars .star { color: var(--text-tertiary); font-size: 14px; }
.review-stars .star.filled { color: #f5a623; }

.review-comment {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.review-time {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.reviews-empty {
  color: var(--text-secondary);
  font-size: 14.5px;
  text-align: center;
  padding: 20px 0;
}
