
.tb-reviews-wrap {
  padding: 40px 14px;
  box-sizing: border-box;
}

/* Centered Header Text & Rating */
.tb-review-header { 
  margin-bottom: 22px; 
  text-align: center; 
}
.tb-review-header h2 { 
  font-size: 28px; 
  font-weight: 700; 
  color: #111; 
  margin-bottom: 10px; 
}
.tb-review-rating { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
  justify-content: center; /* Centers flex items */
  flex-wrap: wrap; 
  font-size: 14px; 
  color: #666; 
}
.tb-stars { color: #00b67a; font-size: 18px; letter-spacing: 1px; }

.tb-review-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  cursor: grab;
}

.tb-review-scroll:active { cursor: grabbing; }
.tb-review-scroll::-webkit-scrollbar { display: none; }

.tb-review-card {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 22px;
  padding: 18px;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  scroll-snap-align: start;
  user-select: none;
}

.tb-review-top { margin-bottom: 12px; }
.tb-user { display: flex; align-items: center; gap: 12px; }
.tb-avatar { width: 42px; height: 42px; border-radius: 50%; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.tb-name { font-size: 14px; font-weight: 700; color: #111; }
.tb-date { font-size: 12px; color: #888; margin-top: 3px; }
.tb-stars-card { color: #00b67a; font-size: 15px; margin-bottom: 12px; letter-spacing: 1px; }
.tb-text { font-size: 14px; color: #333; line-height: 1.7; min-height: 96px; }

.tb-review-img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; margin-top: auto; cursor: pointer; transition: .3s; display: block; }
.tb-review-img:hover { transform: scale(1.02); }

.tb-review-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 999999; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; }
.tb-review-modal img { max-width: 95%; max-height: 92%; border-radius: 18px; }
.tb-close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; cursor: pointer; }

/* View More Button Styles */
.tb-review-actions {
  text-align: center;
  margin-top: 30px;
}
.tb-btn-view-more {
  display: inline-block;
  padding: 12px 32px;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}
.tb-btn-view-more:hover {
  background-color: #333;
}

@media(max-width:768px){
  .tb-review-card { width: 82vw; min-width: 82vw; max-width: 82vw; }
  .tb-review-img { height: 260px; }
  .tb-review-header h2 { font-size: 24px; }
  .tb-text { min-height: 88px; }
}
