/* 好评轮播样式 */
.review-carousel {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.review-header {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.review-header h3 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.review-header .stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 8px;
}

.review-content {
    padding: 30px;
    color: white;
}

.review-text {
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 25px;
    font-style: italic;
}

.review-meta {
    text-align: center;
    margin-bottom: 25px;
}

.review-user {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-date {
    opacity: 0.8;
    font-size: 0.9rem;
}

.review-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.review-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.review-buttons .btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.review-buttons .btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.view-details-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.view-details-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 详情模态框样式 */
.review-detail-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.review-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.review-detail-body {
    padding: 30px;
}

.review-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

.review-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-main-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.review-thumbnail {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.review-thumbnail:hover,
.review-thumbnail.active {
    opacity: 1;
    border-color: #667eea;
    transform: scale(1.05);
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-rating-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.4rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.review-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.review-full-text {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.review-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .review-detail-content {
        grid-template-columns: 1fr;
    }

    .review-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 添加缩略图滚动和放大相关样式 */
.review-thumbnails-container {
    position: relative;
    max-height: 120px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.review-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 8px;
    padding: 5px;
}

.review-thumbnail {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.review-thumbnail:hover,
.review-thumbnail.active {
    opacity: 1;
    border-color: #667eea;
    transform: scale(1.05);
}

/* 图片放大模态框样式 */
.image-zoom-modal .modal-dialog {
    max-width: 90%;
    max-height: 90vh;
}

.image-zoom-modal .modal-content {
    background: transparent;
    border: none;
}

.image-zoom-modal .modal-body {
    padding: 0;
    text-align: center;
    background: rgba(0,0,0,0.8);
}

.zoomed-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.zoom-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 1000;
}

.zoom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    z-index: 1000;
}

.zoom-prev-btn {
    left: 20px;
}

.zoom-next-btn {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.5);
    padding: 5px;
}

