.g-reviews {
  background: #fff;
  padding: 52px 0 28px;
  position: relative;
}

.g-reviews-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.g-reviews-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #4e4039;
}

.g-reviews-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4e4039;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 1px solid #eadfd8;
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  background: #fff;
  text-decoration: none;
}

.g-reviews-google:hover {
  color: #eb5d1e;
  border-color: #eb5d1e;
  text-decoration: none;
}

.g-reviews-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-reviews-viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
}

.g-reviews-track {
  display: flex;
  will-change: transform;
}

.g-reviews-card {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 6px 10px 14px;
  margin: 0;
}

.g-reviews-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 248px;
  background: #fff;
  border: 1px solid #f0e6df;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(78, 64, 57, 0.08);
  padding: 18px 18px 16px;
}

.g-reviews-stars {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
  color: #f4b400;
}

.g-reviews-stars-empty {
  color: #e4e0dc;
}

.g-reviews-text {
  margin: 0;
  color: #3c332e;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
  max-height: 9.3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.g-reviews-meta {
  margin-top: auto;
  padding-top: 14px;
}

.g-reviews-name,
.g-reviews-date {
  margin: 0;
}

.g-reviews-name {
  font-weight: 700;
  color: #4e4039;
}

.g-reviews-date {
  color: #7a6a62;
  font-size: 13px;
  margin-top: 2px;
}

.g-reviews-nav {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #eb5d1e;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(235, 93, 30, 0.28);
}

.g-reviews-nav:hover {
  background: #c54811;
  color: #fff;
}

.g-reviews-nav:focus-visible {
  outline: 3px solid #4e4039;
  outline-offset: 3px;
}

.g-reviews-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767.98px) {
  .g-reviews {
    padding: 36px 0 12px;
  }

  .g-reviews-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .g-reviews-title {
    font-size: 24px;
  }

  .g-reviews-card {
    padding: 6px 4px 12px;
  }

  .g-reviews-nav {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .g-reviews-track {
    transition: none !important;
  }
}
