.dashify-google-reviews {
  --dgr-blue: #3f7cf5;
  --dgr-text: #171717;
  --dgr-muted: #858585;
  --dgr-border: #e7e7e7;
  --dgr-star: #f6bf26;
  --dgr-card-radius: 30px;
  color: var(--dgr-text);
  font-family: inherit;
  margin: 32px 0;
}

.dgr-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 38px;
}

.dgr-rating-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dgr-rating-number {
  color: #050505;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.dgr-rating-copy {
  align-items: center;
  color: #1f1f1f;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 22px;
  gap: 5px;
  line-height: 1.25;
}

.dgr-google-wordmark {
  display: inline-flex;
  font-weight: 500;
  letter-spacing: 0;
}

.dgr-google-wordmark span:nth-child(1),
.dgr-google-wordmark span:nth-child(4) {
  color: #4285f4;
}

.dgr-google-wordmark span:nth-child(2),
.dgr-google-wordmark span:nth-child(6) {
  color: #db4437;
}

.dgr-google-wordmark span:nth-child(3) {
  color: #f4b400;
}

.dgr-google-wordmark span:nth-child(5) {
  color: #0f9d58;
}

.dgr-review-button {
  align-items: center;
  background: var(--dgr-blue);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 22px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 64px;
  padding: 14px 38px;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.dgr-review-button:focus,
.dgr-review-button:hover {
  background: #2f6fe9;
  color: #fff;
  transform: translateY(-1px);
}

.dgr-carousel-wrap {
  position: relative;
}

.dgr-carousel {
  overflow: hidden;
  padding: 0 0 54px;
}

.dgr-carousel .swiper-wrapper {
  align-items: stretch;
}

.dgr-card {
  background: #fff;
  border: 1px solid var(--dgr-border);
  border-radius: var(--dgr-card-radius);
  box-sizing: border-box;
  color: var(--dgr-text);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 430px;
  padding: 30px;
}

.dgr-reviewer {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
  min-height: 66px;
  position: relative;
}

.dgr-avatar {
  background: #6368c5;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 30px;
  font-weight: 500;
  height: 64px;
  justify-content: center;
  line-height: 64px;
  object-fit: cover;
  width: 64px;
}

.dgr-avatar-fallback {
  align-items: center;
}

.dgr-google-badge {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  bottom: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: #4285f4;
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  left: 46px;
  position: absolute;
  width: 30px;
}

.dgr-reviewer-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.dgr-reviewer-name {
  color: #1c1c1c;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.dgr-reviewer-name:focus,
.dgr-reviewer-name:hover {
  color: var(--dgr-blue);
}

.dgr-review-time {
  color: var(--dgr-muted);
  font-size: 20px;
  line-height: 1.35;
  margin-top: 4px;
}

.dgr-stars {
  color: #d6d6d6;
  display: inline-block;
  flex: 0 0 auto;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.dgr-stars span {
  color: var(--dgr-star);
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
}

.dgr-card-stars {
  margin-bottom: 18px;
}

.dgr-review-text {
  color: #1f1f1f;
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.dgr-nav {
  align-items: center;
  background: #565656;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: absolute;
  top: calc(50% - 28px);
  transform: translateY(-50%);
  transition: background-color 180ms ease;
  width: 58px;
  z-index: 3;
}

.dgr-nav::before {
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
  content: "";
  display: block;
  height: 15px;
  width: 15px;
}

.dgr-nav-prev {
  left: 0px;
}

.dgr-nav-prev::before {
  transform: rotate(-135deg);
}

.dgr-nav-next {
  right: 0px;
}

.dgr-nav-next::before {
  transform: rotate(45deg);
}

.dgr-nav:focus,
.dgr-nav:hover {
  background: #333;
}

.dgr-pagination {
  align-items: center;
  bottom: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
}

.dgr-pagination .swiper-pagination-bullet {
  background: #a7a7a7;
  height: 8px;
  margin: 0 !important;
  opacity: 1;
  width: 8px;
}

.dgr-pagination .swiper-pagination-bullet-active {
  background: #111;
  height: 11px;
  width: 11px;
}

.dashify-google-reviews-notice {
  background: #fff8e5;
  border: 1px solid #f4d27c;
  border-radius: 8px;
  color: #4d3800;
  margin: 20px 0;
  padding: 14px 16px;
}

.dgr-browser-loading {
  align-items: center;
  border: 1px solid var(--dgr-border);
  border-radius: 18px;
  color: var(--dgr-muted);
  display: flex;
  min-height: 180px;
  padding: 28px;
}

.dashify-google-reviews[data-dgr-fallback="true"] .dgr-carousel {
  overflow-x: auto;
}

.dashify-google-reviews[data-dgr-fallback="true"] .swiper-wrapper {
  display: grid;
  gap: 20px;
  grid-auto-columns: minmax(280px, 1fr);
  grid-auto-flow: column;
}

.dashify-google-reviews[data-dgr-fallback="true"] .dgr-nav,
.dashify-google-reviews[data-dgr-fallback="true"] .dgr-pagination {
  display: none;
}

@media (max-width: 767px) {
  .dashify-google-reviews {
    --dgr-card-radius: 22px;
  }

  .dgr-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .dgr-review-button {
    min-height: 52px;
    padding: 12px 24px;
    white-space: normal;
    width: 100%;
  }

  .dgr-card {
    min-height: 360px;
    padding: 24px;
  }

  .dgr-rating-number {
    font-size: 48px;
  }

  .dgr-rating-copy,
  .dgr-review-button {
    font-size: 17px;
  }

  .dgr-reviewer-name,
  .dgr-review-text {
    font-size: 21px;
  }

  .dgr-review-time {
    font-size: 16px;
  }

  .dgr-stars {
    font-size: 23px;
  }

  .dgr-nav {
    display: none;
  }
}
