/* Reset box-sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

.rce-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0px;
  border-radius: 12px;
}

.rce-carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.rce-review {
  margin-right: 15px; /* używany przez JS */
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.rce-text {
	color:#000;
	margin-top:15px;
	font-size:13px;
}
.rce-author {
	margin-top:10px;
	color:#B08460;
	font-size:15px;
}

.rce-review:last-child {
  margin-right: 0;
}

.rce-review:hover {
  transform: translateY(-5px);
}

.rce-avatar {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
}

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

.rce-prev,
.rce-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #B27F55;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.2s ease;
  z-index: 10;
}

.rce-prev:hover,
.rce-next:hover {
  background: #9e6841;
}

.rce-prev { left: 15px; line-height: 0.9; }
.rce-next { right: 15px; line-height: 0.9;}

.rce-prev:disabled,
.rce-next:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Kropki nawigacyjne */
.rce-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.rce-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  transition: background 0.3s ease;
  cursor: pointer;
}

.fa-star{
	color:#f0b647;
}

.rce-dot.active {
  background: #B27F55;
}

/* Responsywność */
@media (max-width: 1024px) {
  .rce-review {
    flex: 0 0 auto; /* JS ustawia szerokość dynamicznie */
  }
}
@media (max-width: 768px) {
  .rce-review {
    flex: 0 0 auto;
  }
}
@media (max-width: 480px) {
  .rce-carousel {
    padding: 20px 0px;
  }
  .rce-review {
    margin-right: 0 !important;
    flex: 0 0 auto;
  }
  .rce-review:hover {
    transform: none;
  }
	.rce-text {
	color:#000;
	margin: 10px 43px 0px 43px;
	font-size:13px;
}
}
