/* ---------- Reviews (market/store/place/product detail pages) ---------- */
.star-picker { display: flex; gap: 4px; }
.star-btn {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--border);
  cursor: pointer;
  padding: 2px;
}
.star-btn.active, .star-btn.hover { color: var(--brand-text); }
.review-stars { color: var(--brand-text); font-size: 14px; letter-spacing: 1px; }
.review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.review-title { font-size: 15px; font-weight: 700; margin: 4px 0 2px; }
.review-vote-row .active { background: var(--brand-tint); border-color: var(--brand-text); color: var(--brand-text); }
.rating-link { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.rating-link:hover { color: var(--brand-text); }

/* Community directions: the collapsible section heading and the Google-Maps-style step list */
.directions-toggle { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; display: inline-flex; align-items: center; gap: 8px; }
.directions-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
.route-timeline { list-style: none; margin: 10px 0 6px; padding: 0; }
.route-timeline > li { position: relative; padding: 0 0 16px 34px; min-height: 22px; }
.route-timeline > li:last-child { padding-bottom: 0; }
.route-timeline > li::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: 2px; border-left: 3px dotted var(--text-muted); opacity: .6; }
.route-timeline > li:last-child::before { display: none; }
.route-dot { position: absolute; left: 0; top: 1px; width: 14px; height: 14px; border: 3px solid var(--text); border-radius: 50%; background: var(--surface); box-sizing: content-box; }
.route-dot.leg { width: 8px; height: 8px; left: 3px; top: 4px; border-width: 2px; border-color: var(--text-muted); }
.route-dot.stop { border-color: var(--brand-text); }
.route-dot.end { border-color: var(--danger-text); background: var(--danger-text); }
.route-place { font-weight: 500; }
.route-leg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.route-mode { font-weight: 600; }
.route-leg-text { white-space: pre-line; }

