.reviews-slider-section {
  padding: 40px 20px;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.slider-wrapper-reviews {
  /*display: flex;*/
  align-items: center;
}

.testimonial-item {
  display: flex !important;
  align-items: center;
  gap: 30px;
  background-color: transparent;
  padding: 20px 100px;
  box-sizing: border-box;
}
.testimonial-thumb {
  margin-right: 30px;
}

.testimonial-thumb img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #ccc;
}

.testimonial-info .testimonial-name {
  font-size: 20px;
  font-weight: 700;
  color: #555;
  margin-bottom: 4px;
}

.testimonial-info .testimonial-role {
  font-size: 14px;
  color: #999;
  font-style: italic;
}

.testimonial-body {
  color: #999;
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
}

.testimonial-icon {
  margin-bottom: 10px;
}

.slick-prev,
.slick-next {
  background-color: #94b300 !important;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  z-index: 2;
}

.slick-prev {
  left: -60px;
}

.slick-next {
  right: -60px;
}

.slick-prev:before,
.slick-next:before {
  color: white;
  font-size: 22px;
  line-height: 45px;
}
.slick-arrow:after {
  border-radius: 100px 100px 100px 100px;
  background-color: #8cb501;
  color: #ffffff !important;
}
.d-flex {
  display: flex;
}
.gem-prev,
.gem-next,
.ls-thegem a.ls-nav-prev,
.ls-thegem a.ls-nav-next {
  border: none;
  background: transparent;
}

@media (max-width: 768px) {
  .testimonial-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .slider-wrapper-reviews {
    flex-direction: column;
  }
  .testimonial-item {
    padding: 20px 20px !important;
    flex-direction: column;
    text-align: center;
  }
  .testimonial-body {
    max-width: 100% !important;
  }
  .d-flex {
    flex-direction: column;
  }
  .testimonial-thumb {
    margin: auto;
  }
  .gem-prev {
    left: -40px;
  }
  .gem-next {
    right: -40px;
  }
}

/*
-------------------------
*/

/* Contenedor principal con el mismo estilo que propiedades */
.reviews-carousel-module {
  margin-bottom: 50px;
}

.reviews-header-section {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-main-title {
  font-family: "Cardo", Sans-serif;
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.houzez_section_subtitle_bub {
  color: #666;
  font-size: 1.14rem;
}

/* Card de rating de Google - SIN SOMBRA */
.google-rating-summary {
  background: transparent;
  border-radius: 0;
  padding: 25px;
  box-shadow: none;
  max-width: 350px;
  margin: 0 auto 40px;
  border: none;
}

.rating-badge-excellent {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ea4335;
  margin-bottom: 12px;
  display: block;
}

.rating-stars-large {
  margin: 12px 0;
}

.rating-stars-large .star {
  font-size: 24px;
  color: #fbbc04;
  margin: 0 1px;
}

.rating-stars-large .star:before {
  content: "★";
}

.reviews-total-count {
  color: #666;
  font-size: 0.95rem;
  margin: 12px 0;
}

.reviews-total-count strong {
  color: #333;
  font-weight: 600;
}

.google-logo-wrap {
  margin-top: 15px;
}

.google-logo-img {
  max-width: 100px;
  height: auto;
}
/* Contenedor del carrusel con el mismo estilo que propiedades */
.reviews-listing-view {
  position: relative;
}

/* Cards de reseñas con ALTURA FIJA */
.review-item-wrap {
  padding: 0 10px;
}

.review-card-inner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 280px;
  /* ALTURA FIJA */
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.review-card-inner:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.review-card-header {
  padding: 20px 20px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
  flex-shrink: 0;
  /* No se comprime */
}

.reviewer-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid #f0f0f0;
  flex-shrink: 0;
  margin: 1rem !important;
}

.reviewer-details {
  flex: 1;
  min-width: 0;
}

.reviewer-name-text {
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date-text {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

.review-card-body {
  padding: 15px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  /* Importante para que funcione el overflow */
}

.review-rating-stars {
  margin-bottom: 12px;
  flex-shrink: 0;
  /* No se comprime */
}

.review-rating-stars .star {
  font-size: 16px;
  color: #fbbc04;
  margin: 0 1px;
}

.review-rating-stars .star:before {
  content: "★";
}

.review-text-content {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* Máximo 4 líneas */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

/* Botón de ver más reseñas - MÁS SEPARADO */
.reviews-cta-section {
  text-align: center;
  margin-top: 60px;
  /* Aumentado de 40px a 60px */
}

/* Boton de VER MAS RESEÑAS EN GOOGLE */
.btn-view-all-reviews {
  display: inline-block;
  background-color: transparent !important;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 100%
  ) !important;
  color: #111 !important;
  border: 1px solid #111;
  padding: 12px 35px;
  border-radius: 55px;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
  /* REGLAS ESPECIALES */
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  border-bottom-left-radius: 32px;
  padding-top: 12px;
  padding-right: 20px;
  padding-bottom: 12px;
  padding-left: 20px;
}

.btn-view-all-reviews:hover {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, #000000 0%, #000000 86%) !important;
  /*color: #ffffff !important;*/
  border: 1px solid #111;
}
