/* ==========================================================================
   PRODUCT-DETAIL.CSS — Ürün detay sayfası
   ========================================================================== */

/* --- GÖRSEL DÜZELTMELER (URUN-DETAY) --- */

/* 1. Kırmızı Alan (Üst Boşluk) Çözümü */
body {
    padding-top: 0 !important;
}
.page-header {
    display: none !important;
}
/* Header ile içerik arasındaki mesafeyi ayarla */
.container.mx-auto.px-4.py-8 {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* 2. Mavi Alan (Boş Galeri Kutusu) Çözümü */
#gallery-thumbnails:empty {
    display: none !important;
}
#gallery-thumbnails {
    margin-top: 15px;
    min-height: 0 !important;
}

/* 3. Yeşil Alan (Sepete Ekle Butonu Hizalaması) */
.add-to-cart-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    height: 50px !important;
}

.qty-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.qty-input {
    height: 100% !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 1.2rem !important;
    width: 80px !important;
}

.btn-add-cart {
    height: 100% !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px !important;
    font-size: 1rem !important;
}

/* 4. Tablo çizgilerini Kaldırma */
.tech-table, .tech-table td, .tech-table tr {
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.tech-table tr:last-child td {
    border-bottom: none !important;
}

/* --- GÜVENLİ DÜZELTMELER --- */

/* Ürün Detay Sayfası Header Boşluğu */
.product-detail-spacer {
    padding-top: 40px !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* Admin Paneli Taşıntı Engelleyici */
.admin-body {
    overflow-x: hidden;
}

/* --- INLINE STYLES (urun-detay.html) --- */

/* Modern Seçim Kartları */
.option-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}
.option-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

input:checked + .option-card {
    border-color: #4F46E5;
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px #4F46E5;
}

/* Mini Specs Grid */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.spec-item {
    background: #f8fafc;
    padding: 8px 4px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    text-align: center;
}
.spec-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.spec-val {
    font-weight: 600;
    color: #334155;
    font-size: 0.85rem;
}

/* Simetri ve Düzen */
.content-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow: hidden;
}

.sticky-side {
    position: sticky;
    top: 20px;
}
