.hf-reviews {
  padding: 96px 0;
  border-top: 1px solid var(--hf-line, #dfe4df);
  border-bottom: 1px solid var(--hf-line, #dfe4df);
  background: #f7f5ee;
}

.hf-reviews-head {
  align-items: end;
  margin-bottom: 34px;
}

.hf-reviews-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.hf-reviews-summary {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--hf-line, #dfe4df);
  border-radius: 24px;
  background: var(--hf-white, #fff);
}

.hf-reviews-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hf-ink, #071631);
  font-size: 14px;
  font-weight: 700;
}

.hf-reviews-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #4285f4;
  font-size: 20px;
  font-weight: 700;
}

.hf-reviews-rating {
  margin-top: 24px;
  color: var(--hf-ink, #071631);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 48px;
  line-height: 1;
}

.hf-reviews-stars,
.hf-review-stars {
  color: #f2b529;
  letter-spacing: 0.12em;
}

.hf-reviews-stars {
  margin-top: 14px;
  font-size: 20px;
}

.hf-reviews-count {
  margin: 12px 0 28px;
  color: var(--hf-muted, #66707c);
  font-size: 14px;
  line-height: 1.5;
}

.hf-review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--hf-green, #245a42);
  font-weight: 700;
  text-decoration: none;
}

.hf-review-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hf-reviews-viewport {
  min-width: 0;
  overflow: hidden;
}

.hf-reviews-track {
  display: flex;
  gap: 22px;
  transition: transform 420ms ease;
  will-change: transform;
}

.hf-review-card {
  display: flex;
  flex: 0 0 calc((100% - 22px) / 2);
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--hf-line, #dfe4df);
  border-radius: 24px;
  background: var(--hf-white, #fff);
  box-shadow: 0 12px 30px rgba(7, 22, 49, 0.06);
}

.hf-review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hf-review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--hf-ink, #071631);
  background: #e7eee6;
  font-size: 14px;
  font-weight: 700;
}

.hf-review-author {
  margin: 0;
  color: var(--hf-ink, #071631);
  font-size: 16px;
}

.hf-review-date {
  margin: 4px 0 0;
  color: var(--hf-muted, #66707c);
  font-size: 12px;
}

.hf-review-google {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: auto;
  place-items: center;
  color: #4285f4;
  font-size: 23px;
  font-weight: 700;
}

.hf-review-stars {
  margin-top: 20px;
  font-size: 17px;
}

.hf-review-card blockquote {
  margin: 18px 0 20px;
  color: var(--hf-ink, #071631);
  font-size: 16px;
  line-height: 1.6;
}

.hf-review-source {
  margin-top: auto;
  color: var(--hf-muted, #66707c);
  font-size: 12px;
}

.hf-reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.hf-reviews-arrow,
.hf-reviews-dot {
  border: 1px solid var(--hf-line, #dfe4df);
  color: var(--hf-ink, #071631);
  background: var(--hf-white, #fff);
  cursor: pointer;
}

.hf-reviews-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
}

.hf-reviews-arrow:hover:not(:disabled),
.hf-reviews-dot:hover,
.hf-reviews-dot[aria-current='true'] {
  border-color: var(--hf-green, #245a42);
  color: #fff;
  background: var(--hf-green, #245a42);
}

.hf-reviews-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.hf-reviews-dots {
  display: flex;
  gap: 8px;
}

.hf-reviews-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}

.hf-reviews-dot[aria-current='true'] {
  width: 24px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .hf-reviews-layout {
    grid-template-columns: 1fr;
  }

  .hf-reviews-summary {
    min-height: 0;
  }

  .hf-review-link {
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .hf-reviews {
    padding: 72px 0;
  }

  .hf-review-card {
    flex-basis: 100%;
    min-height: 280px;
    padding: 22px;
  }
}
