/* GameMarket - Shop Detail CSS */
/* Mağaza Detay Sayfası için Modern ve Responsive Stiller */

/* CSS Variables */
:root {
    --shop-header-height: 400px;
    --shop-banner-height: 300px;
    --shop-logo-size: 120px;
    --sidebar-width: 320px;
    --content-gap: 2rem;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
}

[data-theme="dark"] {
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Ana Container */
.shop-detail-container {
    min-height: calc(100vh - 200px);
}

/* Mağaza Header */
.shop-header {
    margin-bottom: 3rem;
}

.shop-banner-section {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.shop-banner-image {
    position: relative;
    height: var(--shop-banner-height);
    overflow: hidden;
}

.shop-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

.shop-profile {
    position: relative;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}

.shop-logo-large {
    position: relative;
    top: -60px;
    width: var(--shop-logo-size);
    height: var(--shop-logo-size);
    border-radius: 50%;
    border: 6px solid var(--bg-card);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.shop-logo-large:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong), 0 0 0 4px var(--primary-color);
}

.shop-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-info {
    flex: 1;
    padding-top: 1rem;
}

.shop-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.shop-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

.shop-badge.featured {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.shop-badge.verified {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.shop-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color), #5b21b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-owner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.owner-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    object-fit: cover;
}

.owner-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.owner-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.member-since {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-since i {
    color: var(--primary-color);
}

.shop-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.shop-rating-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-card));
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars .star {
    font-size: 1.5rem;
    color: #e5e7eb;
    transition: var(--transition-smooth);
}

.rating-stars .star.filled {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.rating-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.action-btn {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 160px;
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.follow-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.share-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* İstatistikler Bölümü */
.shop-stats-section {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.sales {
    background: linear-gradient(135deg, var(--primary-color), #5b21b6);
}

.stat-icon.rating {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.stat-icon.listings {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stat-icon.earnings {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--primary-color), #5b21b6);
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.stat-card:nth-child(4)::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Ana İçerik */
.shop-content {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: var(--content-gap);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.sidebar-section:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.sidebar-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-section h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Kategori Listesi */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.category-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.category-item.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-soft);
}

.category-name {
    font-weight: 500;
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-item:not(.active) .category-count {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

/* Son Satışlar */
.recent-sales {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sale-item {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.sale-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.sale-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sale-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.sale-price {
    color: var(--primary-color);
    font-weight: 700;
}

.sale-date {
    color: var(--text-muted);
}

/* Mağaza Meta Bilgiler */
.shop-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.meta-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.meta-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.meta-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Ana İçerik Alanı */
.content-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-soft);
}

.header-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.results-count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.sort-dropdown {
    position: relative;
}

.sort-select {
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-width: 200px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* İlanlar Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.listing-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.game-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.card-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    z-index: 2;
}

.listing-card:hover .card-actions {
    opacity: 1;
    transform: translateX(0);
}

.card-actions .action-btn {
    width: 40px;
    height: 40px;
    min-width: auto;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
}

.card-actions .action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.card-meta .category {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.card-meta .date {
    color: var(--text-muted);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.original-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.card-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Boş İlan Durumu */
.no-listings {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-listings i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-listings h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.no-listings p {
    font-size: 1rem;
}

/* Sayfalama */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    list-style: none;
}

.page-link {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 2.5rem;
    justify-content: center;
}

.page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-soft);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .shop-content {
        grid-template-columns: 280px 1fr;
        gap: 1.5rem;
    }
    
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .shop-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-sidebar {
        order: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .content-main {
        order: 1;
    }
    
    .shop-profile {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .shop-logo-large {
        margin: 0 auto;
        top: -40px;
    }
    
    .shop-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .listings-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --shop-banner-height: 200px;
        --shop-logo-size: 80px;
    }
    
    .shop-profile {
        padding: 1.5rem;
    }
    
    .shop-name {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .content-sidebar {
        grid-template-columns: 1fr;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .shop-detail-container {
        padding: 0 0.5rem;
    }
    
    .shop-profile {
        padding: 1rem;
    }
    
    .shop-name {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .listings-header {
        padding: 1rem;
    }
    
    .sort-select {
        min-width: auto;
        width: 100%;
    }
    
    .card-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.listing-card {
    animation: fadeInUp 0.6s ease-out;
}

.listing-card:nth-child(1) { animation-delay: 0.1s; }
.listing-card:nth-child(2) { animation-delay: 0.2s; }
.listing-card:nth-child(3) { animation-delay: 0.3s; }
.listing-card:nth-child(4) { animation-delay: 0.4s; }
.listing-card:nth-child(5) { animation-delay: 0.5s; }
.listing-card:nth-child(6) { animation-delay: 0.6s; }

/* Dark Mode Iyileştirmeleri */
[data-theme="dark"] .shop-badge {
    backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .game-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

[data-theme="dark"] .card-actions .action-btn {
    background: rgba(30, 30, 30, 0.9);
    color: white;
}

/* Loading States */
.listings-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.listings-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hover Efektleri */
.shop-header:hover .shop-banner-image img {
    transform: scale(1.02);
}

.sidebar-section:hover h3 i {
    transform: scale(1.1);
    color: var(--primary-hover);
}

/* Focus States */
.action-btn:focus,
.btn:focus,
.sort-select:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Print Styles */
@media print {
    .shop-actions,
    .card-actions,
    .pagination-nav {
        display: none !important;
    }
    
    .shop-detail-container {
        box-shadow: none !important;
    }
    
    .listing-card {
        break-inside: avoid;
    }
}

/* Yorumlar Bölümü */
.reviews-section {
    margin-top: 4rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.reviews-container {
    padding: 2rem;
}

.reviews-header {
    margin-bottom: 2rem;
    text-align: center;
}

.reviews-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.reviews-header h2 i {
    color: var(--primary-color);
}

/* Yorum İstatistikleri */
.rating-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars-large {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.rating-stars-large .star {
    font-size: 1.75rem;
    color: #e5e7eb;
    transition: var(--transition-smooth);
}

.rating-stars-large .star.filled {
    color: #fbbf24;
    text-shadow: 0 2px 6px rgba(251, 191, 36, 0.4);
}

.total-reviews {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 300px;
}

.rating-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 60px;
}

.rating-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    min-width: 30px;
    text-align: right;
}

/* Yorum Formu */
.review-form-section {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.review-form-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-form-section h3 i {
    color: var(--primary-color);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Yıldız Rating Input */
.rating-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.rating-input input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.star-label:hover,
.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input input[type="radio"]:checked + .star-label {
    color: #fbbf24;
    transform: scale(1.1);
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.rating-input input[type="radio"]:checked + .star-label ~ .star-label {
    color: #e5e7eb;
    transform: scale(1);
    text-shadow: none;
}

/* Hover efekti için */
.rating-input:hover .star-label {
    color: #e5e7eb;
}

.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label {
    color: #fbbf24;
}

.review-form textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: var(--transition-smooth);
}

.review-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Uyarı mesajları */
.review-info {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.review-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.review-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.review-info a:hover {
    text-decoration: underline;
}

/* Alert mesajları */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

[data-theme="dark"] .alert-error {
    background: #2d1b1b;
    color: #f87171;
    border-color: #4b1d1d;
}

[data-theme="dark"] .alert-success {
    background: #1a2e1a;
    color: #4ade80;
    border-color: #1d4d1d;
}

/* Yorumlar Listesi */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.no-reviews i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.no-reviews h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.no-reviews p {
    font-size: 1rem;
    margin: 0;
}

/* Yorum İtem */
.review-item {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.review-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.reviewer-username {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating .star {
    font-size: 1rem;
    color: #e5e7eb;
}

.review-rating .star.filled {
    color: #fbbf24;
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.review-content {
    line-height: 1.6;
}

.review-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Admin Yanıtı */
.admin-reply {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.admin-reply p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rating-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .rating-breakdown {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .reviews-container {
        padding: 1.5rem;
    }
    
    .review-form-section {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .review-meta {
        align-items: flex-start;
    }
    
    .rating-overview {
        padding: 1.5rem;
    }
    
    .average-rating .rating-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .reviews-container {
        padding: 1rem;
    }
    
    .review-form-section {
        padding: 1rem;
    }
    
    .review-item {
        padding: 1rem;
    }
    
    .star-label {
        font-size: 1.75rem;
    }
    
    .rating-overview {
        padding: 1rem;
    }
} 