.reviews__text_reviews,
.reviews__video_reviews {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews__text_reviewsWrapper,
.reviews__video_reviewsWrapper {
  display: none;
  align-items: center;
}

.reviews__active {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
}

.reviews__text_reviews__arrow,
.reviews__video_reviews__arrow {
  cursor: pointer;
}

.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.content-section {
  min-width: 0;
}

.review-text p {
  word-break: break-word;
}

.review-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 80px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-content {
  display: flex;
  gap: 120px;
}

.avatar-section {
  flex-shrink: 0;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  text-align: center;
  margin-top: 20px;
}

.user-name {
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 8px;
}

.user-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.location-icon {
  width: 20px;
  height: 20px;
  color: #9ca3af;
}

.location-text {
  font-size: 14px;
  color: #6b7280;
}

.content-section {
  flex: 1;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 15px;
}

.star {
  width: 20px;
  height: 20px;
  fill: #d4a574;
}

.review-title {
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  margin: 0 0 25px 0;
}

.review-text {
  margin-bottom: 35px;
}

.review-paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: #1f2937;
  margin: 0 0 20px 0;
}

.review-paragraph:last-child {
  margin-bottom: 0;
}

.photo-gallery {
  display: flex;
  align-items: center;
  gap: 20px;
}

.photo-item,
.more-photos {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item.is-hidden {
  display: none !important;
}

.more-photos {
  font-size: 16px;
  color: #6b7280;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00000029;
}

/* Responsive design */
@media (max-width: 1200px) {
  .review-card {
    padding: 60px;
    max-width: 1200px;
  }

  .review-content {
    gap: 80px;
  }
}

@media (max-width: 768px) {
  .review-card {
    padding: 40px;
  }

  .review-content {
    flex-direction: column;
    gap: 40px;
  }

  .photo-gallery {
    flex-wrap: wrap;
    gap: 15px;
  }

  .photo-item {
    width: 150px;
    height: 120px;
  }

  .avatar {
    margin: auto;
  }

  .rating {
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .review-card {
    padding: 30px;
  }

  .photo-item {
    width: 120px;
    height: 90px;
  }
}

.video-wrapper {
  max-width: 600px;
}

.video-player-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
  height: 0;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-player-container .video-thumbnail,
.video-player-container .play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-player-container .video-thumbnail {
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.video-player-container .play-button-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.video-player-container .play-icon {
  width: 68px;
  height: 68px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3));
}

.video-player-container:hover .video-thumbnail {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.video-player-container:hover .play-icon {
  transform: scale(1.1);
}

.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-player-container.video-loaded {
  cursor: default;
}

#lightbox-swiper .swiper-wrapper {
  position: relative;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  width: 100% !important;
  box-sizing: border-box;
}

.photo-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox-swiper {
  overflow: hidden !important;
}

.photo-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  position: relative;
  transition-property: transform;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.photo-lightbox .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.photo-lightbox .swiper-button-next,
.photo-lightbox .swiper-button-prev {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox .swiper-button-next::after,
.photo-lightbox .swiper-button-prev::after {
  content: "";
}

.photo-lightbox .swiper-button-prev {
  left: 15px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.photo-lightbox .swiper-button-next {
  right: 15px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.photo-lightbox .swiper-button-disabled {
  opacity: 0.35;
  cursor: auto;
  pointer-events: none;
}

.photo-lightbox .swiper-button-prev,
.photo-lightbox .swiper-button-next {
  background-color: rgb(71, 59, 240);
  border-radius: 50%;
  color: white;
}

@media (max-width: 768px) {
  .photo-lightbox #lightbox-swiper {
    width: 90%;
    height: 90%;
  }
}
