/* ═══════════════════════════════════════════════════════════════
   Google Reviews — live reviews from the Places API
   ═══════════════════════════════════════════════════════════════ */

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews {
  width: 100%;
  padding: var(--google-reviews-pad-y, 48px) 0;
  color: var(--color-text-primary);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* ─── Header ──────────────────────────────────────────────── */

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-summary-score {
  font-weight: 600;
  color: var(--color-text-primary);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-arrows {
  display: none;
  gap: 6px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-arrows { display: flex; }
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 150ms ease;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-arrow:hover { border-color: var(--color-text-muted); }

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ─── Stars ───────────────────────────────────────────────── */

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-stars {
  display: inline-flex;
  gap: 1px;
  line-height: 0;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-star {
  width: 15px;
  height: 15px;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-star-bg { fill: var(--color-border); }
.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-star-fg { fill: var(--color-rating, #D9A23A); }

/* ─── Cards row (scrolls sideways, snaps to cards) ────────── */

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 2px 2px 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  scrollbar-width: none;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-list::-webkit-scrollbar { display: none; }

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-item {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-list { gap: 16px; }
  .cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-item { flex-basis: calc((100% - 16px) / 2); }
}

@media (min-width: 1024px) {
  .cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-item { flex-basis: calc((100% - 2 * 16px) / 3); }
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-card--placeholder {
  min-height: 200px;
  background: var(--color-surface-alt);
  border-color: transparent;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  background: var(--color-surface-alt);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-author {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc_pD1lGtPUQa_EABgH9R3iR a.google-reviews-author:hover { text-decoration: underline; text-underline-offset: 3px; }

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-when {
  font-family: var(--font-body);
  font-size: var(--text-label);
  color: var(--color-text-muted);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--color-text-secondary);
  white-space: pre-line;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-more {
  align-self: flex-start;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ─── Footer: attribution + link to the Maps listing ──────── */

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px var(--space-sm);
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-label);
  color: var(--color-text-muted);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-view-all {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-view-all:hover { color: var(--color-accent); }

@media (prefers-reduced-motion: reduce) {
  .cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-arrow { transition: none; }
}

/* ─── Editor-only setup notice ────────────────────────────── */

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 var(--space-md);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px dashed var(--color-text-muted);
  border-radius: var(--radius-md);
}

.cc_pD1lGtPUQa_EABgH9R3iR .google-reviews-notice-hint {
  font-size: var(--text-label);
  color: var(--color-text-muted);
}
