.goodest-review-form-wrapper,
.goodest-reviews-feed,
.goodest-summary-widget {
  border: 0.1rem solid #ddd;
  border-radius: 0.8rem;
  padding: 1.6rem;
  margin-bottom: 2rem;
}

.goodest-review-form p {
  margin-bottom: 1.2rem;
}

.goodest-review-form label {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.goodest-review-form input[type="text"],
.goodest-review-form input[type="email"],
.goodest-review-form textarea {
  width: 100%;
  max-width: 48rem;
  font-size: 1.4rem;
  padding: 0.8rem;
}

.goodest-review-form button,
.goodest-load-more,
.goodest-summary-toggle {
  font-size: 1.4rem;
  padding: 0.8rem 1.2rem;
  border: 0.1rem solid #999;
  border-radius: 0.6rem;
  cursor: pointer;
  background: #fff;
}

.goodest-rating-input {
  display: inline-flex;
  flex-direction: row;
  gap: 0.2rem;
}

.goodest-star-btn {
  font-size: 2.4rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.goodest-star-btn.is-active {
  color: #e9a800;
}

.goodest-images-preview {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.goodest-image-thumb {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 0.1rem solid #ddd;
}

.goodest-alert {
  padding: 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.goodest-success {
  background: #e7f7ea;
  color: #14532d;
}

.goodest-error {
  background: #fde8e8;
  color: #7f1d1d;
}

.goodest-sort-row {
  margin-bottom: 1.2rem;
}

.goodest-sort-row label {
  margin-left: 0.8rem;
  font-size: 1.4rem;
}

.goodest-review-item {
  border: 0.1rem solid #e0e0e0;
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  background: #fff;
}

.goodest-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.goodest-review-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.goodest-pinned-badge {
  font-size: 1.3rem;
  line-height: 1;
}

.goodest-review-stars {
  font-size: 1.8rem;
  color: #e9a800;
  margin-bottom: 0.6rem;
}

.goodest-review-text {
  font-size: 1.4rem;
  line-height: 1.6;
}

.goodest-review-images {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.goodest-review-images img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 0.1rem solid #ddd;
}

.goodest-review-global-note,
.goodest-owner-reply,
.goodest-review-source {
  margin-top: 1rem;
  font-size: 1.3rem;
}

.goodest-owner-reply {
  background: #f8f8f8;
  border-radius: 0.6rem;
  padding: 0.8rem;
}

.goodest-source-external {
  background: #f6f9ff;
}

.goodest-summary-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
}

.goodest-summary-avg {
  font-size: 2rem;
  font-weight: 700;
}

.goodest-summary-popup {
  margin-top: 1rem;
  border-top: 0.1rem solid #e0e0e0;
  padding-top: 1rem;
}

.goodest-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.goodest-summary-empty {
  font-size: 1.4rem;
  margin: 0;
}
