/* Tema değişkenleri */
[data-theme="light"] {
    --bg-color: #f3f3f3;
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-color: #eeeeee;
    --section-bg: #f8f8f8;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #404040;
    --section-bg: #333333;
}

.product-detail-wrapper {
    padding: 20px;
    margin-top: 80px;
    background: var(--bg-color);
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    border: 1px solid var(--border-color);
}

/* Resim Tarafı ve Thumbnails */
.product-gallery {
    position: relative;
    padding-right: 30px;
    border-right: 1px solid var(--border-color);
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

.thumbnail-list img:hover {
    border-color: #c40c0c;
    transform: translateY(-2px);
}

.thumbnail-list img.active {
    border-color: #c40c0c;
}

/* Bilgi Tarafı */
.product-info {
    padding: 0 20px;
}

.product-header h1 {
    font-size: 28px;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

.product-meta {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.product-price {
    margin: 30px 0;
    padding: 20px;
    background: var(--section-bg);
    border-radius: 10px;
    
}

.price-label {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
}

.price-value {
    font-size: 25px;
    font-weight: bold;
    color: #c40c0c;
}

.details-table {
    width: 100%;
    margin: 20px 0;
}

.details-table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.details-table td:first-child {
    width: 150px;
    color: var(--text-secondary);
    font-weight: 500;
}

.seller-info {
    margin: 30px 0;
    padding: 20px;
    background: var(--section-bg);
    border-radius: 10px;
}

.seller-details > div {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seller-details i {
    color: #c40c0c;
}

/* Satıcı bilgileri için yeni stiller */
.product-gallery .seller-info {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.product-gallery .product-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.contact-btn {
    flex: 1;
    padding: 14px; /* Padding'i biraz azalttık */
    border: none;
    border-radius: 8px;
    font-size: 14px; /* Yazı boyutunu 16px'den 14px'e düşürdük */
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Gap'i de biraz azalttık */
    transition: all 0.3s ease;
}

.contact-btn.primary {
    background: #c40c0c;
    color: white;
}

.contact-btn.primary:hover {
    background: #a00a0a;
}

.contact-btn.secondary {
    background: var(--section-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.contact-btn.secondary:hover {
    background: #eee;
}

.product-description {
    margin: 30px 0;
    padding: 20px;
    background: var(--section-bg);
    border-radius: 10px;
    color: var(--text-color);
}

.product-description h2 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-description ul {
    list-style: none;
    padding: 0;
}

.product-description li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-secondary);
}

.product-description li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c40c0c;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }

    .product-info {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .main-image {
        height: 300px;
    }
    
    .product-actions {
        flex-direction: column;
    }
}
