/* --- Genel Sayfa Stilleri --- */
body {
    background-color: #fff; 
}
.main-content {
    padding-top: 118px; 
}

/* --- Ürün Detay Container --- */
.product-detail-container {
    width: 100%;
    max-width: 1800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr; /* Mobilde varsayılan tek sütun */
    gap: 2rem;
}

/* --- Sol Sütun: Galeri --- */
.product-gallery-col {
    width: 100%;
}
.gallery-sticky-wrapper {
    position: sticky;
    top: 140px; /* Header yüksekliğinden biraz fazla */
}
.main-image-wrapper {
    aspect-ratio: 4 / 3;
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}
.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmi kırmadan sığdır */
}
.thumbnail-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}
.thumbnail-item {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}
.thumbnail-item:hover, .thumbnail-item.active {
    border-color: #f97116;
}
.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Sağ Sütun: Bilgiler --- */
.product-info-col {
    padding-left: 0;
}
.product-breadcrumb {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}
.product-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}
.product-breadcrumb a:hover {
    color: #f97116;
}
.product-title-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.product-category-badge {
    display: inline-block;
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.product-short-desc {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
}

/* GÜNCELLEME: Butonları Saran Konteyner */
.action-buttons {
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* GÜNCELLEME: Genel Buton Stilleri */
.whatsapp-quote-btn, .tech-specs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    flex-grow: 1; /* Mobilde eşit genişlik için */
    justify-content: center;
}
.whatsapp-quote-btn svg, .tech-specs-btn svg {
    width: 24px;
    height: 24px;
}

/* WhatsApp Butonu */
.whatsapp-quote-btn {
    background-color: #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.whatsapp-quote-btn:hover {
    background-color: #1ebe58;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.3);
}

/* Teknik Detaylar Butonu */
.tech-specs-btn {
    background-color: #374151;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.2);
}
.tech-specs-btn:hover {
    background-color: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(55, 65, 81, 0.3);
}


/* Ürün Detaylı Açıklaması */
.product-full-desc {
    line-height: 1.8;
    color: #374151;
}
.product-full-desc h2, .product-full-desc h3 {
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.product-full-desc p {
    margin-bottom: 1rem;
}
.product-full-desc ul, .product-full-desc ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.product-full-desc table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.5em 0; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.product-full-desc th, .product-full-desc td { padding: 0.75rem; border: 1px solid #e5e7eb; text-align: left; vertical-align: top; white-space: nowrap; }
.product-full-desc th { font-weight: 600; background-color: #f9fafb; }


/* --- Responsive Ayarlar --- */
@media screen and (min-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }
    .product-info-col {
        padding-left: 2rem;
    }
    .action-buttons {
       flex-wrap: nowrap; /* Masaüstünde yan yana */
    }
    .whatsapp-quote-btn, .tech-specs-btn {
        flex-grow: 0; /* Orjinal boyutlarına dönsünler */
    }
}

@media screen and (max-width: 991px) {
    .product-detail-container { display: block; margin-top: 2rem; }
    .product-gallery-col { margin-bottom: 2.5rem; }
    .product-title-main { font-size: 1.8rem; }
    .product-short-desc { font-size: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
    .whatsapp-quote-btn, .tech-specs-btn { font-size: 1rem; padding: 0.8rem 1.5rem; }
    .action-buttons { margin-bottom: 2rem; }
    .gallery-sticky-wrapper { position: static; }
    .product-full-desc { overflow: hidden; }
}

