/* Ürün Detay Sayfası Özel Stilleri */

.product-detail-section {
    padding: 80px 0;
}

.product-detail-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sol Taraf - Fotoğraf Bölümü */
.product-images-section {
    flex: 0 0 45%;
    max-width: 45%;
}

.main-product-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.thumbnail-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 3px solid transparent;
}

.thumbnail-item.active {
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}

.thumbnail-item:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

/* Sağ Taraf - İçerik Bölümü */
.product-info-section {
    flex: 0 0 55%;
    max-width: 55%;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* Ürün Özellikleri Tablosu */
.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.product-specs-table tr {
    border-bottom: 1px solid #e8e8e8;
}

.product-specs-table tr:last-child {
    border-bottom: none;
}

.product-specs-table td {
    padding: 16px 20px;
    font-size: 15px;
}

.product-specs-table td:first-child {
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    width: 40%;
}

.product-specs-table td:last-child {
    color: #666;
    text-align: right;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .product-detail-layout {
        gap: 30px;
    }
    
    .product-images-section {
        flex: 0 0 42%;
        max-width: 42%;
    }
    
    .product-info-section {
        flex: 0 0 58%;
        max-width: 58%;
    }
}

@media (max-width: 768px) {
    .product-detail-layout {
        flex-direction: column;
    }
    
    .product-images-section,
    .product-info-section {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-title {
        font-size: 26px;
    }
    
    .thumbnail-item img {
        height: 100px;
    }
    
    .product-specs-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        padding: 40px 0;
    }
    
    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .thumbnail-item img {
        height: 80px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-description {
        font-size: 14px;
    }
    
    .product-specs-table td:first-child {
        width: 45%;
    }
}
