/* Interactive star rating (native Here, Mostly review form) */
.hm-reviews-label--rating {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.hm-rating-stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hm-rating-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  line-height: 0;
  touch-action: manipulation;
}

.hm-rating-star-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: #c4c4c4;
  transition: color 0.12s ease;
}

.hm-rating-star-icon .hm-rating-star-shape {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.9;
  stroke-linejoin: round;
  stroke-linecap: round;
  paint-order: stroke fill;
  transition: fill 0.12s ease, stroke 0.12s ease;
}

.hm-rating-star.is-active .hm-rating-star-icon,
.hm-rating-star.is-preview .hm-rating-star-icon {
  color: #f5a623;
  transition: none;
}

.hm-rating-star.is-active .hm-rating-star-icon .hm-rating-star-shape,
.hm-rating-star.is-preview .hm-rating-star-icon .hm-rating-star-shape {
  fill: #f5a623;
  stroke: #f5a623;
  transition: none;
}

.hm-review-stars {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.hm-review-star {
  display: inline-flex;
  line-height: 0;
}

.hm-review-star .hm-rating-star-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.hm-review-star--filled .hm-rating-star-icon {
  color: #f5a623;
}

.hm-review-star--empty .hm-rating-star-icon {
  color: #c4c4c4;
}

.hm-rating-star:focus-visible {
  outline: 2px solid #4576bb;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .hm-rating-star-icon {
    width: 2rem;
    height: 2rem;
  }

  .hm-rating-stars {
    gap: 4px;
  }
}
