/**
 * GLOBAL STAR-RATING TAKEOVER (overrides WooCommerce)
 * - Kills WooCommerce's ::before stars and special font
 * - Uses simple inline stars you render (★ and ☆) or SVGs
 * - Applies your look site-wide
 */

/* 1) Neutralize WooCommerce-generated stars everywhere */
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before,
.woocommerce-page .star-rating::before,
.woocommerce-page .star-rating span::before,
.woocommerce p.stars a::before,
.woocommerce p.stars a::after,
.woocommerce-page p.stars a::before,
.woocommerce-page p.stars a::after {
  content: none !important;
}

/* 2) Reset Woo containers so our flex stars behave predictably */
.woocommerce .star-rating,
.woocommerce-page .star-rating,
.woocommerce p.stars,
.woocommerce-page p.stars,
.woocommerce .star-rating > span,
.woocommerce-page .star-rating > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  overflow: visible !important;
  background: none !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  width: auto !important;
  float: none !important;
}

/* 3) Your star visuals (inline characters or SVGs) */
.star-rating {
  gap: 4px !important;
  margin: 10px 0 !important;
  width: 100% !important;
}

.star {
  color: #ffc107 !important;       /* Gold */
  font-size: 24px !important;
  display: inline-block !important;
  margin: 0 2px !important;
}

.star-empty {
  color: #e0e0e0 !important;       /* Light gray */
  font-size: 24px !important;
  display: inline-block !important;
  margin: 0 2px !important;
}

/* 4) Testimonial text (kept concise) */
.testimonial-title {
  text-align: center !important;
  margin: 0.5rem 0 15px 0 !important;
}

.testimonial-title h4 {
  font-size: 1.25rem !important;
  margin: 0 !important;
  color: #333 !important;
  font-weight: 600 !important;
}

.testimonial-rating {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0.5rem 0 1.5rem 0 !important;
}

.testimonial-content {
  margin-bottom: 1rem !important;
  text-align: center !important;
}

/* 5) Responsive */
@media (max-width: 768px) {
  .star,
  .star-empty {
    font-size: 20px !important;
  }
  .testimonial-title h4 {
    font-size: 1.1rem !important;
  }
}
.related div.star-rating, .related a.button{display:none !important;}
