.google-review-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.4rem;
  margin-top: 1.15rem;
  padding: 0.85rem clamp(0.85rem, 2vw, 1.3rem);
  border: 1px solid #4c575b;
  border-inline-start: 3px solid #ff850b;
  border-radius: 4px;
  background: #232b2f;
  color: #f3f5f0;
}

.google-review-heading {
  margin: 0 0 0.2rem;
  color: #ffb579;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.google-review-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.55rem;
}

.google-review-rating strong {
  font-size: 1rem;
}

.google-review-count {
  color: #d0d6d6;
  font-size: 0.84rem;
}

.google-review-stars {
  position: relative;
  display: inline-flex;
  flex: none;
  color: #ffb45e;
}

.google-review-stars svg {
  width: 6.4rem;
  height: 1.15rem;
  overflow: visible;
}

.google-review-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  padding-inline: 0.8rem;
  border: 1px solid #677175;
  border-radius: 3px;
  color: #ffbf89;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.google-review-link:hover,
.google-review-link:focus-visible {
  border-color: #ffb579;
  color: #ffe2c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .google-review-link {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .google-review-card[data-stars-sparkle] .google-review-stars svg {
    animation: google-stars-shine 2.5s ease-out both;
  }

  .google-review-card[data-stars-sparkle] .google-review-stars::before,
  .google-review-card[data-stars-sparkle] .google-review-stars::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 7px;
    height: 7px;
    background: #fff3ca;
    clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
    pointer-events: none;
    animation: google-star-sparkle 1.05s ease-out 2 both;
  }

  .google-review-card[data-stars-sparkle] .google-review-stars::before {
    inset: -4px auto auto 22%;
  }

  .google-review-card[data-stars-sparkle] .google-review-stars::after {
    inset: -3px auto auto 76%;
    animation-delay: 350ms;
  }

  @keyframes google-stars-shine {
    0%, 46%, 100% { filter: none; }
    22%, 66% { filter: brightness(1.3) drop-shadow(0 0 3px #ffbd6b); }
  }

  @keyframes google-star-sparkle {
    0%, 100% { opacity: 0; transform: scale(0.2); }
    48% { opacity: 1; transform: scale(1.35); }
  }
}
