/* Carousel recenzí – Bridelux (více karet na desktopu, větší obrázek) */

/* Kontejner v patičce */
#reviewsCarouselRoot {
  padding: 40px 16px 30px;
}

@media (min-width: 768px) {
  #reviewsCarouselRoot {
    padding: 50px 0 40px;
  }
}

.reviews-carousel {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  font-family: inherit;
}

.reviews-carousel .rc-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 18px;
}

.reviews-carousel .rc-viewport {
  position: relative;
  overflow: hidden;
}

.reviews-carousel .rc-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Default: mobil – 1 karta na šířku */
.reviews-carousel .rc-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 8px 4px;
}

/* Desktop: 3 karty vedle sebe */
@media (min-width: 1024px) {
  .reviews-carousel .rc-item {
    flex: 0 0 33.3333%;
  }
}

.reviews-carousel .rc-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: none;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  height: 100%;
}

.reviews-carousel .rc-image {
  flex: 0 0 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  cursor: pointer;
}

.reviews-carousel .rc-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.reviews-carousel .rc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .reviews-carousel .rc-image {
    flex-basis: 120px;
    height: 120px;
  }
}

.reviews-carousel .rc-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}

.reviews-carousel .rc-text p {
  margin: 0;
}

.reviews-carousel .rc-name {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 13px;
  color: #555555;
}

.reviews-carousel .rc-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #d4af37; /* zlatá */
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  padding: 0;
  z-index: 2;
}

.reviews-carousel .rc-prev {
  left: 4px;
}

.reviews-carousel .rc-next {
  right: 4px;
}

@media (max-width: 600px) {
  .reviews-carousel .rc-nav {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

.reviews-carousel .rc-dots {
  margin-top: 12px;
  text-align: center;
}

.reviews-carousel .rc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0 3px;
  cursor: pointer;
  background: rgba(212, 175, 55, 0.4);
}

.reviews-carousel .rc-dot.rc-active {
  background: #d4af37;
}

.reviews-carousel .rc-title {
      text-align: center;
      font-size: 20px;
      font-weight: 400;
      margin: 0 0 18px;
      color: #000000;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }


/* Lightbox pro zvětšení fotky recenze */
.rc-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.rc-lightbox.rc-lightbox-visible {
  display: flex;
}

.rc-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.rc-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.rc-lightbox-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.rc-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
