.nalino-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px; /* spacing between top and bottom rows */
  overflow: hidden;
}

.slider-row {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  overflow: hidden;
  will-change: transform;
  cursor: pointer;
  user-select: none;
}


/* Fixed width slides */
.review-slide {
  flex: 0 0 450px; /* fixed width */
  height: 295px;
  border: unset;
  border-radius: 5px;
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.review-image-nalino {
  overflow: hidden;
  width: 200px;
  height: 295px;
  margin-top: -20px;
  margin-left: -20px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  flex-shrink: 0;
  position: relative;
}

/* Background version of product image */
.review-image-nalino .product-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  overflow: hidden;
  max-width: 300px;
}


.review-content h4.product-title {
    margin: 0;
    padding: 0;
}

.review-content p.author {
    margin: 0;
    padding: 0;
}

.review-content p.review {
    font-size: 14px;
    text-align: left;
    font-family: 'Reem Kufi Fun';
    text-wrap: auto;
}
.review-slide .rating {
    font-size: 24px;
}

section.nalino-container-group.nalino-slider-review {
    border: unset;
    background: #f5f5f5;
    margin: 64px 0;
}


.slider-row {
  display: flex;
  width: max-content; /* allows horizontal scroll past parent width */
  animation: slide-row 40s linear infinite;
}

.slider-row-bottom {
  animation-direction: reverse;
}

@keyframes slide-row {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* Pause animation on hover */
.slider-row:hover {
  animation-play-state: paused;
}
