.review-section {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.review-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.review-date {
    color: #666;
    font-size: 0.9em;
}

.review-rating {
    color: #f6a623;
    margin-top: 5px;
}

.review-content {
    margin: 15px 0;
    color: #444;
    line-height: 1.6;
}

.review-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.review-photo {
    position: relative;
    padding-bottom: 100%;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.review-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-photo:hover img {
    transform: scale(1.05);
}

.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.review-modal.active {
    display: flex;
}

.review-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.review-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.review-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.review-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .review-photos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .review-modal-close {
        top: 10px;
        right: 10px;
    }
    
    .review-card {
        padding: 15px;
    }
}
