/* ── Google Reviews Widget ─────────────────────────────────── */

.grw {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.10);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1;
  min-width: 0;
}

/* Top row */
.grw__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.grw__brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.grw__g {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.grw__google-text {
  font-size: 13px;
  font-weight: 500;
  color: #202124;
  letter-spacing: -.1px;
}

.grw__ext {
  color: #80868b;
  line-height: 0;
  flex-shrink: 0;
}

.grw__ext:hover {
  color: #1a73e8;
}

/* Bottom row */
.grw__bottom {
  display: flex;
  align-items: center;
  gap: 5px;
}

.grw__num {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -.3px;
}

/* Stars */
.grw__stars {
  display: flex;
  gap: 0;
  font-size: 13px;
}

.grw__star {
  display: inline-block;
}

.grw__star--full {
  color: #fbbc04;
}

.grw__star--empty {
  color: #dadce0;
}

/* Half star */
.grw__star--half {
  position: relative;
  color: #dadce0;
}

.grw__star-clip {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #fbbc04;
}

/* Count */
.grw__count {
  font-size: 11px;
  color: #80868b;
  white-space: nowrap;
}

.grw__count a {
  color: #80868b;
  text-decoration: none;
}

.grw__count a:hover {
  color: #1a73e8;
  text-decoration: underline;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .grw {
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
  }

  /* Top row: tik logo, be tarpų */
  .grw__top {
    flex-shrink: 0;
    gap: 0;
    justify-content: flex-start;
  }

  /* Paslepiam "Google" tekstą ir išorinę ikonėlę */
  .grw__google-text,
  .grw__ext {
    display: none;
  }

  /* G logo šiek tiek mažesnis */
  .grw__g {
    width: 14px;
    height: 14px;
  }

  /* Bottom row šalia logo, viskas vienoje eilutėje */
  .grw__bottom {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .grw__num {
    font-size: 13px;
  }

  .grw__stars {
    font-size: 11px;
  }

  .grw__count {
    font-size: 10px;
  }
}
