
  * { box-sizing: border-box }

  .ReviewCard h1 {
    font-size: 22px;
    margin: 0 0 18px;
    font-weight: 700;
  }

  .ReviewCard-track {
  display: flex;
  gap: 16px; /* gap between cards */
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 16px 16px;
  scrollbar-width: none;
}

.ReviewCard-track::-webkit-scrollbar { display: none; }

/* Desktop: 4 cards exactly */
@media (min-width: 769px) {
  .ReviewCard-item {
    flex: 0 0 calc((100% - 16px*3)/4); /* 4 cards with 3 gaps */
    max-width: calc((100% - 16px*3)/4);
  }
}


/* Mobile: show 2 cards at a time */
@media (max-width: 768px) {
  .ReviewCard-item {
    flex: 0 0 calc((100% - 16px)/2); /* 2 cards with 16px gap */
    max-width: calc((100% - 16px)/2);
  }
}


.ReviewCard-item {
 
  background: #fff;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow:
    -4px 0 6px -2px rgba(0,0,0,0.08),
     0 -4px 6px -2px rgba(0,0,0,0.08),
     0 4px 6px -2px rgba(0,0,0,0.08);
}

  .ReviewCard-imgWrap { height: 300px; overflow: hidden; background: transparent; }
  .ReviewCard-imgWrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .ReviewCard-pad { padding: 16px 16px 18px; }
  .ReviewCard-stars { color: #f59e0b;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 6px;
    text-align: center; }
  .ReviewCard-meta { display: flex; align-items: center; gap: 8px;  color: #374151; }
  .ReviewCard-content { font-size: 14px; color: #4b5563; line-height: 1.5; }
  .ReviewCard-product { font-size: 13px; color: #6b7280; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

 .ReviewCard-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
  }

  .ReviewCard-btn {
    background: #fff;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .ReviewCard-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: scale(1.05);
  }

  .ReviewCard-btn svg 
  {
    width: 30px;
    height: 30px;
    stroke: #374151; /* gray-700 */
    stroke-width: 2.5;
    fill: none;
  }

/* === Review Cards Animation === */
.ReviewCard-item {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
}

.ReviewCard-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ReviewCard-item.visible {
  transition-delay: var(--delay, 0s);
}

