/* Review Section - Match Legacy Design Exactly */

.reviews-section {
    padding: 60px 0;
    background: #f8f9fa;
}

:root[data-theme="dark"] .reviews-section,
.dark .reviews-section {
    background: #1e1e2d;
}

.reviews-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    flex-shrink: 0;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

:root[data-theme="dark"] .review-card,
.dark .review-card {
    background: #2d2d3d;
    box-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.review-stars {
    margin-bottom: 15px;
}

.review-stars i {
    color: #ddd;
    font-size: 16px;
    margin-right: 2px;
}

.review-stars i.filled {
    color: #ffc107;
}

.review-text {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

:root[data-theme="dark"] .review-text,
.dark .review-text {
    color: #ced4da;
}

.review-images {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.review-img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.review-img-wrapper:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.review-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

:root[data-theme="dark"] .review-author,
.dark .review-author {
    border-top-color: #495057;
}

.author-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    border: 3px solid #f0f0f0;
}

.author-info {
    flex: 1;
}

.author-info strong {
    display: block;
    color: #333;
    font-size: 15px;
    margin-bottom: 3px;
}

:root[data-theme="dark"] .author-info strong,
.dark .author-info strong {
    color: #ffffff;
}

.author-info span {
    color: #777;
    font-size: 13px;
}

:root[data-theme="dark"] .author-info span,
.dark .author-info span {
    color: #adb5bd;
}

.author-info a {
    color: var(--primary);
    text-decoration: none;
}

.author-info a:hover {
    text-decoration: underline;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

:root[data-theme="dark"] .slider-btn,
.dark .slider-btn {
    background: #2d2d3d;
    border-color: #495057;
    color: #ffffff;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.slider-prev-btn {
    left: 0;
}

.slider-next-btn {
    right: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .review-slide {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .review-slide {
        min-width: calc(100% - 20px);
    }
    
    .reviews-slider-wrapper {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
}

/* Product Placeholder */
.product-placeholder {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.placeholder-icon {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

.product-placeholder p {
    color: #999;
    font-size: 16px;
    margin: 0;
}
