/* Ürün Detay Sayfası */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
    background: white;
    padding: 40px;
    border-radius: 12px;
}

.product-detail-image {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.product-detail-image img {
    width: 100%;
    border-radius: 12px;
}

.product-detail-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.product-rating-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-rating-detail .stars {
    font-size: 20px;
}

.rating-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.rating-count {
    color: #999;
    font-size: 14px;
}

.product-price-detail {
    margin-bottom: 30px;
}

.price-big {
    font-size: 36px;
    font-weight: 700;
    color: #f27a1a;
}

.product-features-detail {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-features-detail h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.product-features-detail ul {
    list-style: none;
    padding: 0;
}

.product-features-detail li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
}

.product-features-detail li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: 700;
    margin-right: 8px;
}

.product-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.spec-value {
    color: #333;
    font-size: 14px;
}

.product-stock {
    margin-bottom: 25px;
}

.stock-available {
    color: #28a745;
    font-weight: 600;
    font-size: 15px;
}

.stock-unavailable {
    color: #dc3545;
    font-weight: 600;
    font-size: 15px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-large {
    flex: 1;
    padding: 16px 30px;
    font-size: 16px;
    text-align: center;
}

.product-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.benefit-item {
    font-size: 13px;
    color: #666;
}

.product-description-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.product-description-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.product-description-section p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* Yorumlar Bölümü */
.reviews-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.reviews-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.reviews-summary {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.reviews-average {
    display: inline-block;
}

.average-score {
    font-size: 56px;
    font-weight: 700;
    color: #f27a1a;
    margin-bottom: 10px;
}

.average-stars {
    font-size: 28px;
    margin-bottom: 10px;
}

.average-text {
    color: #666;
    font-size: 14px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.review-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.review-stars {
    font-size: 16px;
}

.review-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 12px;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.no-reviews {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 15px;
}

/* Responsive Detay Sayfası */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }
    
    .product-detail-image {
        position: static;
    }
    
    .product-detail-info h1 {
        font-size: 24px;
    }
    
    .price-big {
        font-size: 28px;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .product-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 20px;
    }
    
    .product-detail-info h1 {
        font-size: 20px;
    }
    
    .price-big {
        font-size: 24px;
    }
    
    .product-specs {
        font-size: 13px;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .product-description-section,
    .reviews-section {
        padding: 20px;
    }
    
    .review-item {
        padding: 15px;
    }
    
    .average-score {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .product-detail-info h1 {
        font-size: 18px;
    }
    
    .product-rating-detail {
        flex-wrap: wrap;
    }
    
    .product-features-detail {
        padding: 15px;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 14px;
    }
}
