/* ===============================
   Pager / Pagination Styling
   =============================== */

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem auto 0;
  padding: 0.75rem 1rem;
  max-width: 1100px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.pager .btn {
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  background: #7b1e1e;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.05s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pager .btn:hover {
  background: #681919;
}

.pager .btn:active {
  transform: translateY(1px);
}

.pager .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(123, 30, 30, 0.25);
}

.pager .btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background: #a98e8e;
}

.pager-label {
  font-size: 0.95rem;
  color: #444;
  min-width: 120px;
  text-align: center;
  user-select: none;
}

/* ===========================
   Rating Stars & Review Count
   =========================== */

.hot-rating, .search-result-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.hot-stars, .search-result-stars {
  display: inline-flex;
  gap: 2px;
}

.hot-star, .search-result-star {
  width: 16px;
  height: 16px;
  fill: #ffb400; /* gold star */
}

.search-result-star.empty path {
  fill: #e0e0e0; /* gray for empty stars */
}

.hot-review-count, .search-result-review-count {
  font-size: 0.95rem;
  color: #333;
}

/* Optional: numeric rating label above stars */
.search-result-rating-label {
  display: block;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
  color: #1f1f1f;
  font-variant-numeric: tabular-nums; /* neat number alignment */
}


/* Optional: Responsive adjustments */
@media (max-width: 600px) {
  .pager {
    flex-direction: column;
    gap: 0.5rem;
  }
  .pager-label {
    min-width: auto;
  }
}
