﻿/* ================================================================
   分页控件样式
   ================================================================ */

/* ------------------------------------------------------------
   01. 分页容器
   ------------------------------------------------------------ */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

.pagination-btn {
  padding: 8px 16px;
  min-width: 40px;
  height: 40px;
  border: 1px solid #d1d5db;
  background-color: white;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.pagination-btn.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f9fafb;
}

.pagination-ellipsis {
  color: #6b7280;
  font-size: 14px;
  padding: 8px 4px;
}

.pagination-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.pagination-jump input {
  width: 60px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

.pagination-jump input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pagination-info {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
  text-align: center;
}

/* 评论区样式优化 */
.reviews-section {
  padding: 60px 0;
  background-color: #f9fafb;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-title {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.reviews-subtitle {
  font-size: 16px;
  color: #6b7280;
}

/* 评论卡片样式 */
.review-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.rating-star {
  width: 16px;
  height: 16px;
  background-color: #fbbf24;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.rating-star.empty {
  background-color: #d1d5db;
}

.review-date {
  font-size: 14px;
  color: #6b7280;
}

.review-content {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 16px;
}

.review-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.review-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.review-image:hover {
  transform: scale(1.05);
}

.review-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.helpful-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  background-color: white;
  color: #374151;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.helpful-btn:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.review-reply {
  color: #3b82f6;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.review-reply:hover {
  color: #2563eb;
}

.merchant-reply {
  margin-top: 16px;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
}

.merchant-reply-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.merchant-badge {
  font-size: 12px;
  color: #6b7280;
}

.merchant-reply-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.merchant-reply-content {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

/* 移动端响应式 */



