.custom-review-form {
  padding: var(--spacing-lg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin: auto;

  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.woocommerce-message {
  margin-bottom: var(--spacing-lg);
}

.custom-review-form h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

#review-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.custom-review-form .rating-title {
  text-align: center;
  font-size: 16px;
  color: #666;
}

.custom-review-form .review-rating {
  text-align: center;
}

.custom-review-form textarea {
  width: 100%;
  max-width: calc(100% - var(--spacing-md) * 2);

  border: 1px solid #var(--border-color);
  border-radius: var(--border-radius);

  padding: var(--spacing-md);
  resize: none;
}

.custom-review-form .submit-review-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.stars a {
  color: #ccc;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.stars a.active,
.stars a:hover,
.stars a.active::before {
  content: "\e020" !important;
  color: #f5a623;
}

.woocommerce p.stars:hover a::before {
  color: #f5a623;
}

.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-review {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.review-location {
  font-size: 0.9rem;
  color: #888;
  margin-left: 5px;
}

.review-date {
  font-size: 0.9rem;
  color: #aaa;
}

.review-rating {
  display: flex;
  align-items: center;
}

#review_form_wrapper .review-rating {
  flex-direction: column;
}

.review-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: #f5a623;
}

.review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);

  width: 100%;
}

.delete-button,
.delete-review-button {
  background: transparent !important;
  color: var(--color-text-primary) !important;
}
