#reviews {
  scroll-margin-top: 100px;
}

#side-slider-section {
  max-width: 100%;
  margin: 60px auto;
  margin-bottom: 0px;
  position: relative;
  padding-left: 20px;
  /* deja espacio para flecha izquierda */
  overflow: visible;
  display: flex;
  flex-direction: row;
  background-image: url("/img/reviews/fondo.png");
  height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#side-slider {
  max-width: 40%;
  width: 40%;
  margin: 60px auto;
  position: relative;
  padding-left: 20px;
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#side-slider .swiper-wrapper {
  padding-right: 20px;
}

#side-slider .swiper-slide {
  width: auto;
  flex-shrink: 0;
  max-width: 600px;
  transition: transform 0.4s ease;
}

/* Flecha izquierda */
#side-slider .swiper-button-prev {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#side-slider .swiper-button-prev::after {
  content: "";
  display: inline-block;
  border-style: solid;
  border-width: 8px 6px 8px 6px;
  border-color: transparent;
  border-right-color: #333;
}

/* Ocultar flecha derecha */
#side-slider .swiper-button-next {
  display: none !important;
}

#side-slider .swiper {
  width: 100%;
  height: 400px;
  margin: 0;
  padding: 0;
}

/* CARD */

#side-slider .side-slide-card {
  width: 100%;
  height: 80%;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  background: white;
}

#side-slider .side-slide-card-header {
  display: flex;
  align-items: center;
  margin: 10px auto;
  display: flex;
  padding: 0px 30px;
  margin-bottom: 20px;
}

#side-slider .side-slide-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

#side-slider .side-slide-stars {
  margin-left: 40px;
  margin-right: 40px;
  font-size: 40px;
  color: #ffc107;
  /* amarillo estrella */
  white-space: nowrap;
}

#side-slider .side-slide-card-body {
  padding: 0px 30px;
  display: flex;
  align-items: self-start;
  position: relative;
}

#side-slider .side-slide-review-text {
  font-size: 30px;
  margin: 0;
  width: 80%;
}

#side-slider .side-slide-icon {
  width: 50px;
  height: 50px;
  margin-left: 8px;
  border-radius: 0;
  position: absolute;
  right: 18%;
  top: -4%;
}

#side-slider-section .text-container {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  width: 60%;
  padding: 0px 60px;
}

#side-slider-section .text-container .text-container-title {
  font-size: 70px;
  font-family: 'Fineday', sans-serif;
  max-width: 550px;
}

#side-slider-section .text-container .text-container-subtitle {
  font-size: 32px;
  max-width: 550px;
  font-family: sans-serif;
}

#side-slider-section .text-container .text-container-button {
  background-color: #e91e63;
  border-radius: 40px;
  width: 150px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

#side-slider-section .text-container .text-container-button a {
  font-size: 22px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
}

.swiper-container {
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 900px) {
  #side-slider-section {
    flex-direction: column;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    margin: 30px 0;
  }

  #side-slider {
    max-width: 100%;
    width: 100%;
    margin: 20px 0;
    padding-left: 0;
  }


  #side-slider .swiper {
    width: 80%;
    height: 300px;
    margin: 0px auto;
    padding: 20px;
  }

  #side-slider-section .text-container {
    width: 80%;
    padding: 0 10px;
    align-items: center;
    margin: 20px auto;
  }

  #side-slider-section .text-container .text-container-title {
    font-size: 28px;
    max-width: 100%;
    text-align: center;
  }

  #side-slider-section .text-container .text-container-subtitle {
    font-size: 16px;
    max-width: 100%;
    text-align: center;
  }

}

@media (max-width: 600px) {
  #side-slider-section {
    flex-direction: column;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    margin: 20px 0;
    background-size: cover;
  }

  #side-slider {
    max-width: 100%;
    width: 100%;
    margin: 10px 0;
    padding-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  #side-slider .swiper {
    width: 80%;
    height: 300px;
    margin: 0px auto;
    padding: 20px;
  }

  #side-slider .side-slide-card {
    height: auto;
    padding: 10px;
    border-radius: 18px;
  }

  #side-slider .side-slide-card-header {
    flex-direction: column;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  #side-slider .side-slide-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
  }

  #side-slider .side-slide-stars {
    margin: 10px 0;
    font-size: 24px;
  }

  #side-slider .side-slide-card-body {
    padding: 0 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  #side-slider .side-slide-review-text {
    font-size: 18px;
    width: 100%;
  }

  #side-slider .side-slide-icon {
    width: 32px;
    height: 32px;
    right: 8%;
    top: -8%;
  }

  #side-slider-section .text-container {
    width: 80%;
    padding: 0 10px;
    align-items: center;
    margin: 20px auto;
  }

  #side-slider-section .text-container .text-container-title {
    font-size: 28px;
    max-width: 100%;
    text-align: center;
  }

  #side-slider-section .text-container .text-container-subtitle {
    font-size: 16px;
    max-width: 100%;
    text-align: center;
  }

  #side-slider-section .text-container .text-container-button {
    width: 100px;
    height: 36px;
    font-size: 16px;
    margin-top: 12px;
  }

  #side-slider-section .text-container .text-container-button a {
    font-size: 16px;
  }
}


/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
}