/* Carousel styles for Homestar Reviews Elementor Widget */
.hsr-carousel-root .e-con-boxed {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.hsr-carousel-root .swiper-pagination {
  margin-top: 0;
  position: static;
}
.hsr-carousel-root .e-con-inner {
  width: 100%;
  box-sizing: border-box;
}
.hsr-carousel-root .elementor-swiper, .hsr-carousel-root .e-n-carousel.swiper {
  width: 100%;
}
.hsr-carousel-root .swiper-slide {
  border-radius: var(--hsr-carousel-radius, 8px);
  box-shadow: var(--hsr-carousel-shadow, none);
  margin-right: var(--hsr-carousel-gap, 20px);
  background: var(--hsr-carousel-bg, #fff);
}
.hsr-carousel-root .hsr-carousel-slide-inner {
  padding: 16px;
}
.hsr-carousel-root .hsr-more-btn {
  color: #0073e6;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.95em;
  margin-left: 8px;
}
.hsr-carousel-root .hsr-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  align-items: center; justify-content: center;
}
.hsr-carousel-root .hsr-popup-content {
  background: #fff;
  padding: 32px 24px;
  border-radius: 10px;
  max-width: 500px;
  margin: auto;
  position: relative;
}
.hsr-carousel-root .hsr-popup-close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.5em;
  color: #888;
  cursor: pointer;
}
.hsr-carousel-root .elementor-star-rating__stars {
  display: inline-flex;
  gap: 10px;
  vertical-align: middle;
}
.hsr-carousel-root span.elementor-star-rating__wrapper {
    display: block;
    width: 100% !important;
}
.hsr-carousel-root body.elementor-editor-active .elementor-star-rating__stars {
  gap: 20px;
  margin-bottom: 20px;
}
.hsr-carousel-root body:not(.elementor-editor-active) .elementor-star-rating__stars {
  gap: 10px;
}
