.google-reviews-widget {
  padding: 10px 0 20px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.google-reviews-title {
  display: block !important;
  position: static !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  font-size: 1.7rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  color: #111 !important;
  background: none !important;
  -webkit-text-fill-color: #111 !important;
}

.google-reviews-title::before,
.google-reviews-title::after {
  content: none !important;
  display: none !important;
}

.gr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(17, 17, 17, 0.05);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 18px;
}

.gr-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a73e8;
  font-weight: 600;
  font-size: 1.05rem;
}

.gr-brand svg {
  width: 22px;
  height: 22px;
  display: block;
}

.gr-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #111;
  font-weight: 700;
  font-size: 1.15rem;
}

.gr-stars {
  display: inline-flex;
  gap: 2px;
  color: #fcbf02;
}

.gr-stars svg {
  width: 18px;
  height: 18px;
  display: block;
}

.gr-count {
  color: rgba(17, 17, 17, 0.55);
  font-weight: 500;
  font-size: 0.95rem;
}

.gr-write {
  display: inline-block;
  background: #006dff !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  padding: 10px 18px;
  white-space: nowrap;
}

.gr-write:hover {
  background: #0056cc !important;
  color: #fff !important;
}

.gr-carousel {
  position: relative;
}

.gr-viewport {
  overflow: hidden;
}

.gr-track {
  display: flex;
  gap: 16px;
  transition: transform 420ms ease;
}

.gr-card {
  flex: 0 0 calc((100% - 48px) / 4);
  box-sizing: border-box;
  background: rgba(17, 17, 17, 0.05);
  border-radius: 8px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  text-align: left;
}

.gr-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.gr-avatar,
.gr-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: 0 0 40px;
}

.gr-avatar {
  object-fit: cover;
  background: #ddd;
}

.gr-initial {
  display: none;
  align-items: center;
  justify-content: center;
  background: #9aa0a6;
  color: #fff;
  font-weight: 700;
}

.gr-person.is-fallback .gr-avatar { display: none; }
.gr-person.is-fallback .gr-initial { display: flex; }

.gr-name {
  margin: 0;
  color: #202124;
  font-weight: 600;
  font-size: 0.95rem;
}

.gr-when {
  margin: 0;
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.8rem;
}

.gr-card .gr-stars {
  margin: 4px 0 8px;
}

.gr-card .gr-stars svg {
  width: 16px;
  height: 16px;
}

.gr-text {
  margin: 0;
  color: #202124;
  font-size: 0.95rem;
  line-height: 1.45;
}

.gr-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gr-more {
  align-self: flex-start;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(17, 17, 17, 0.55);
  font-size: 0.9rem;
  cursor: pointer;
}

.gr-more:hover { color: #111; }

.gr-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  color: rgba(17, 17, 17, 0.55) !important;
  text-decoration: none;
  font-size: 0.82rem;
}

.gr-source svg {
  width: 16px;
  height: 16px;
  display: block;
}

.gr-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.5);
  color: #fff !important;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.gr-arrow:hover { background: #111; }
.gr-arrow:disabled { opacity: 0.35; cursor: default; }
.gr-prev { left: -6px; }
.gr-next { right: -6px; }

@media (max-width: 1100px) {
  .gr-card { flex-basis: calc((100% - 32px) / 3); }
}

@media (max-width: 800px) {
  .gr-header { flex-direction: column; align-items: flex-start; }
  .gr-card { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 560px) {
  .gr-card { flex-basis: 100%; }
  .google-reviews-title { font-size: 1.4rem !important; }
}
