/* =========================================================
   ROOT – ISOLAMENTO TOTAL
========================================================= */

.wm-google-reviews,
.wm-google-reviews * {
  box-sizing: border-box;
}

/* neutraliza img/SVG globais do tema */
.wm-google-reviews img {
  max-width: none;
}

/* =========================================================
   HEADER GOOGLE RATING
========================================================= */

.wm-google-rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: #fafafa;
  border-radius: 12px;
}

.wm-google-rating-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.wm-google-rating-left img {
  width: 16px !important;
  height: 16px !important;
}

.wm-google-rating-center {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.wm-rating-stars {
  color: #fbbc04;
}

.wm-rating-count {
  color: #666;
}

.wm-google-rating-right a {
  background: #1a73e8;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}

/* =========================================================
   CARROSSEL
========================================================= */

.wm-reviews-wrapper {
  position: relative;
}

.wm-reviews-viewport {
  overflow: hidden;
}

.wm-reviews-track {
  display: flex;
  transition: transform 0.4s ease;
}

.wm-reviews-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 10px;
}

/* =========================================================
   CARD
========================================================= */

.wm-review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.04),
    0 8px 20px rgba(0,0,0,0.06);
}

.wm-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.wm-review-stars {
  color: #fbbc04;
  font-size: 14px;
}

.wm-google-icon {
  width: 16px !important;
  height: 16px !important;
}

/* =========================================================
   TEXTO
========================================================= */

.wm-review-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  flex-grow: 1;
}

.wm-review-text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wm-review-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  font-size: 13px;
  color: #1a73e8;
  cursor: pointer;
}

/* =========================================================
   FOOTER
========================================================= */

.wm-review-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.wm-review-avatar,
.wm-review-avatar-fallback {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.wm-review-avatar {
  object-fit: cover;
}

.wm-review-avatar-fallback {
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* =========================================================
   SETAS
========================================================= */

.wm-arrow {
  position: absolute;
  top: 45%;
  background: #fff;
  border: none;
  font-size: 26px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.wm-prev { left: -12px; }
.wm-next { right: -12px; }

/* =============*
