/**
 * Styles for Single Review/Testimonial Page
 */

.single-review-wrapper {
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #333;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Main Review Card */
.single-review-card {
    border: 2px solid #000;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.8);
    padding: 30px;
    margin-bottom: 50px;
    background-color: white;
}

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.review-product-link {
    display: flex;
    align-items: center;
}

.review-product-image {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd;
    padding: 4px;
    margin-right: 15px;
}

.review-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.review-product-info {
    display: flex;
    flex-direction: column;
}

.review-for {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.product-link {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    text-decoration: none;
}

.product-link:hover {
    text-decoration: underline;
}

.review-meta-info {
    text-align: right;
}

.review-rating-large {
    margin-bottom: 10px;
}

.review-rating-large .star {
    font-size: 28px;
    color: #ddd;
    margin-right: 2px;
}

.star.filled {
    color: #ff69b4;
}

.star.small {
    font-size: 16px;
}

.review-date-verified {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.review-date {
    color: #777;
    font-size: 14px;
    margin-bottom: 5px;
}

.verified-badge {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Review Body */
.review-body {
    display: flex;
    margin-bottom: 30px;
}

.reviewer-profile {
    width: 180px;
    padding-right: 30px;
    flex-shrink: 0;
}

.reviewer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ff69b4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
}

.reviewer-name {
    font-size: 20px;
    margin: 0 0 5px;
}

.reviewer-role {
    font-size: 14px;
    color: #666;
}

.review-content-area {
    flex-grow: 1;
}

.review-title {
    font-size: 26px;
    margin: 0 0 20px;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* Review Images */
.review-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.review-image-large {
    overflow: hidden;
    border-radius: 8px;
    display: block;
    height: 200px;
}

.review-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-image-large:hover img {
    transform: scale(1.05);
}

/* Review Footer */
.review-footer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.view-product-btn,
.write-review-btn,
.all-reviews-btn {
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    text-align: center;
}

.view-product-btn,
.write-review-btn {
    background-color: #ff69b4;
    color: #fff;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
}

.all-reviews-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.view-product-btn:hover,
.write-review-btn:hover {
    background-color: #e5509e;
}

.all-reviews-btn:hover {
    background-color: #eaeaea;
}

/* Other Reviews Section */
.other-product-reviews {
    margin-top: 50px;
}

.other-product-reviews h3 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.related-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-review-card {
    border: 2px solid #000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8);
    padding: 20px;
    background-color: white;
}

.related-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.related-reviewer {
    font-weight: 600;
    font-size: 15px;
}

.related-review-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.related-review-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more-link {
    display: inline-block;
    font-size: 14px;
    color: #ff69b4;
    text-decoration: none;
    font-weight: 500;
}

.read-more-link:hover {
    text-decoration: underline;
}

.no-related-reviews {
    grid-column: 1/-1;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    color: #666;
}

/* Responsive styles */
@media (max-width: 768px) {
    .single-review-wrapper {
        padding: 30px 0;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-meta-info {
        margin-top: 20px;
        text-align: left;
    }
    
    .review-date-verified {
        align-items: flex-start;
    }
    
    .review-body {
        flex-direction: column;
    }
    
    .reviewer-profile {
        width: 100%;
        padding-right: 0;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
    }
    
    .reviewer-avatar {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .review-footer {
        flex-direction: column;
    }
    
    .view-product-btn,
    .write-review-btn,
    .all-reviews-btn {
        width: 100%;
    }
    
    .related-reviews-grid {
        grid-template-columns: 1fr;
    }
} 