/* ============================================
   ALL REVIEWS - Enterprise Styles
   TelefoncuSepeti.com
   ============================================ */

/* --- Review Stats / Hero Section --- */
.ar-stats {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.ar-stats-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ar-stats-avg {
    text-align: center;
}

.ar-stats-avg-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #f6d365;
}

.ar-stats-avg-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.ar-stats-stars {
    display: flex;
    gap: 4px;
    margin: 4px 0;
}

.ar-stats-stars .fa,
.ar-stats-stars .fas,
.ar-stats-stars .far {
    color: #f6d365;
    font-size: 18px;
}

.ar-stats-total {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
}

.ar-stats-bars {
    flex: 1;
    min-width: 220px;
}

.ar-stat-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

.ar-stat-bar-label {
    width: 50px;
    text-align: right;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    flex-shrink: 0;
}

.ar-stat-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
}

.ar-stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f6d365, #fda085);
    transition: width 0.6s ease;
}

.ar-stat-bar-count {
    width: 36px;
    text-align: left;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    flex-shrink: 0;
}

/* --- Sort Controls --- */
.ar-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #eef2f7;
}

.ar-sort-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.ar-sort-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ar-sort-btn {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ar-sort-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e1;
    color: #1e293b;
}

.ar-sort-btn.active {
    background: #1a1a2e;
    border-color: #1a1a2e;
    color: #fff;
}

.ar-sort-btn .fa,
.ar-sort-btn .fas {
    font-size: 12px;
}

/* --- Review Cards --- */
.ar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ar-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #eef2f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    position: relative;
}

.ar-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #dde4ed;
    transform: translateY(-1px);
}

.ar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ar-card-author-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ar-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.ar-card-meta {
    display: flex;
    flex-direction: column;
}

.ar-card-author {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.ar-card-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.ar-card-rating {
    color: #f6b83d;
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.ar-card-product {
    margin-bottom: 12px;
}

.ar-card-product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #eef2f7;
}

.ar-card-product-link:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.ar-card-product-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.ar-card-text {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 14px;
}

/* --- Review Images / Gallery --- */
.ar-card-images {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ar-card-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #eef2f7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ar-card-image:hover {
    border-color: #2563eb;
    transform: scale(1.05);
}

/* --- Pagination --- */
.ar-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
}

.ar-pagination-results {
    font-size: 13px;
    color: #64748b;
}

.ar-pagination-results strong {
    color: #1e293b;
}

/* --- Empty State --- */
.ar-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 14px;
    border: 2px dashed #e2e8f0;
}

.ar-empty-icon {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.ar-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.ar-empty-text {
    font-size: 14px;
    color: #94a3b8;
}

/* --- Lightbox --- */
#ar-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

#ar-lightbox.active {
    display: flex;
}

#ar-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}

#ar-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 1000000;
    opacity: 0.7;
    transition: opacity 0.2s;
    background: none;
    border: none;
    font-family: inherit;
}

#ar-lightbox-close:hover {
    opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ar-stats {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .ar-stats-left {
        justify-content: center;
    }

    .ar-stats-avg-number {
        font-size: 36px;
    }

    .ar-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ar-sort-buttons {
        justify-content: center;
    }

    .ar-card-header {
        flex-direction: column;
    }

    .ar-card-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ar-pagination {
        flex-direction: column;
        text-align: center;
    }
}
