/* ========== urundetay.css ========== */
/* Ürün Detay Sayfası Stilleri */

.urun-detay-page {
    padding: 30px 0 60px;
    background: #f8f9fa;
    min-height: 600px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrapper {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-item {
    font-size: 13px;
    color: #666;
}

.breadcrumb-item a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ff5252;
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item:before {
    content: "›";
    padding: 0 8px;
    color: #999;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* ===== ANA ÜRÜN BÖLÜMÜ ===== */
.urun-detay-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

/* Galeri */
.urun-galeri {
    position: relative;
}

.urun-ana-resim {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    min-height: 400px;
}

.urun-ana-resim img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.urun-ana-resim:hover img {
    transform: scale(1.05);
}

.urun-detay-arac-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    z-index: 5;
}

.urun-detay-arac-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Ürün Bilgileri */
.urun-bilgiler {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.urun-baslik {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.urun-kodlar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #ff6b6b;
}

.kod-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.kod-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    min-width: 100px;
}

.kod-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    font-family: monospace;
}

.urun-marka-bilgi {
    background: #fff;
    padding: 10px 0;
}

.marka-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.marka-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.marka-value {
    font-size: 16px;
    color: #ff6b6b;
    font-weight: 600;
}

.urun-arac-bilgi {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.bilgi-baslik {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

.bilgi-baslik:before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 16px;
    background: #ff6b6b;
    border-radius: 2px;
}

.arac-detay {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

.arac-item i {
    color: #ff6b6b;
    width: 20px;
    font-size: 16px;
}

.arac-item strong {
    color: #333;
    font-weight: 600;
    margin-right: 5px;
}

.urun-stok-bilgi {
    margin: 10px 0;
}

.stok-durum {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.stok-var {
    background: #e8f5e9;
    color: #2e7d32;
}

.stok-var i {
    color: #4caf50;
}

.stok-yok {
    background: #ffebee;
    color: #c62828;
}

.stok-yok i {
    color: #f44336;
}

.urun-fiyat-alani {
    border-top: 2px solid #f0f0f0;
    padding-top: 25px;
    margin-top: 10px;
}

.fiyat-wrapper {
    margin-bottom: 15px;
}

/* Fiyat ve KDV aynı satırda */
.fiyat-kdv-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fiyat {
    font-size: 25px;
    font-weight: 700;
    color: #ff6b6b;
    line-height: 1.2;
    white-space: nowrap;
}

.fiyat-sor {
    color: #ff9800;
    font-size: 24px;
}

.fiyat-bilgi {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    white-space: nowrap;
}

.sepete-ekle-alani {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.adet-secici {
    display: flex;
    align-items: center;
    border: 1px solid #e1e1e1;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.adet-btn {
    width: 40px;
    height: 48px;
    background: #f8f9fa;
    border: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adet-btn:hover {
    background: #ff6b6b;
    color: #fff;
}

.adet-input {
    width: 60px;
    height: 48px;
    border: none;
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
}

.adet-input::-webkit-outer-spin-button,
.adet-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-sepete-ekle {
    flex: 1;
    min-width: 200px;
    height: 48px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-sepete-ekle:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
}

.btn-fiyat-sor {
    flex: 1;
    height: 48px;
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-fiyat-sor:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,152,0,0.3);
}

.btn-stok-yok {
    flex: 1;
    height: 48px;
    background: #999;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-favori {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-favori:hover {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.btn-favori.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
}

/* ===== TAB MENÜSÜ ===== */
.urun-detay-tabs {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.tab-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #f0f0f0;
    gap: 5px;
}

.tab-item {
    margin-bottom: -2px;
}

.tab-link {
    padding: 12px 25px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-link i {
    font-size: 16px;
}

.tab-link:hover {
    color: #ff6b6b;
}

.tab-item.active .tab-link {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}

.tab-content {
    padding: 20px 10px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Açıklama İçeriği */
.aciklama-icerik {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
}

.aciklama-icerik p {
    margin-bottom: 15px;
}

/* Özellikler Tablosu */
.ozellikler-grid {
    overflow-x: auto;
}

.ozellikler-tablo {
    width: 100%;
    border-collapse: collapse;
}

.ozellikler-tablo tr {
    border-bottom: 1px solid #f0f0f0;
}

.ozellikler-tablo tr:last-child {
    border-bottom: none;
}

.ozellikler-tablo th {
    width: 200px;
    padding: 12px 15px;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    border-right: 1px solid #f0f0f0;
}

.ozellikler-tablo td {
    padding: 12px 20px;
    color: #555;
    font-size: 14px;
}

/* Grup Listesi */
.grup-icerik h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.grup-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grup-list li {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    color: #666;
    border: 1px solid #f0f0f0;
}

/* ===== BENZER ÜRÜNLER ===== */
.benzer-urunler {
    margin-top: 40px;
}

/* Benzer Ürünler Butonları */
.btn-benzer-fiyat-sor {
    width: 100%;
    padding: 8px;
    background: #ff9800;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.btn-benzer-fiyat-sor:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255,152,0,0.3);
    text-decoration: none;
    color: #fff;
}

.btn-benzer-stok-yok {
    width: 100%;
    padding: 8px;
    background: #999;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: not-allowed;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-benzer-sepete-ekle {
    width: 100%;
    padding: 8px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-benzer-sepete-ekle:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255,107,107,0.3);
}

.benzer-baslik {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.benzer-baslik:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 22px;
    background: #ff6b6b;
    border-radius: 3px;
}

.benzer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benzer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.benzer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,107,107,0.15);
    border-color: #ff6b6b;
}

.benzer-link {
    text-decoration: none;
    color: #333;
    display: block;
}

.benzer-resim {
    height: 150px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.benzer-resim img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.benzer-card:hover .benzer-resim img {
    transform: scale(1.08);
}

.benzer-arac-logo {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benzer-arac-logo img {
    max-width: 100%;
    max-height: 100%;
}

.benzer-bilgi {
    padding: 15px;
}

.benzer-marka {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
}

.benzer-adi {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
}

.benzer-fiyat .fiyat {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b6b;
}

.benzer-fiyat .fiyat-sor {
    font-size: 13px;
    color: #ff9800;
}

.benzer-actions {
    padding: 0 15px 15px 15px;
}

.btn-benzer-sepete-ekle {
    width: 100%;
    padding: 8px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-benzer-sepete-ekle:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255,107,107,0.3);
}


/* ===== TOAST BİLDİRİMLERİ ===== */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.success i {
    color: #4caf50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.error i {
    color: #f44336;
}

.toast.warning {
    border-left-color: #ff9800;
}

.toast.warning i {
    color: #ff9800;
}

.toast.info {
    border-left-color: #2196f3;
}

.toast.info i {
    color: #2196f3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .benzer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .urun-detay-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benzer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .urun-detay-page {
        padding: 20px 0 40px;
    }
    
    .urun-baslik {
        font-size: 22px;
    }
    
    .fiyat {
        font-size: 26px;
    }
    
    .fiyat-kdv-wrapper {
        flex-direction: row;
        align-items: baseline;
    }
    
    .sepete-ekle-alani {
        flex-direction: column;
    }
    
    .adet-secici {
        width: 100%;
    }
    
    .adet-btn {
        width: 50px;
    }
    
    .adet-input {
        flex: 1;
    }
    
    .btn-sepete-ekle,
    .btn-fiyat-sor,
    .btn-stok-yok {
        width: 100%;
    }
    
    .btn-favori {
        width: 100%;
        border-radius: 50px;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .ozellikler-tablo th {
        width: 140px;
    }
    
    /* Benzer Ürünler - Mobilde 2'li Kolon */
    .benzer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .benzer-card {
        width: 100%;
        margin: 0;
    }

    .benzer-adi {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .benzer-fiyat .fiyat {
        font-size: 13px;
    }

    .btn-benzer-sepete-ekle, 
    .btn-benzer-fiyat-sor, 
    .btn-benzer-stok-yok {
        font-size: 12px;
        padding: 8px 5px;
        width: 100%;
        text-align: center;
    }

    .btn-benzer-sepete-ekle i {
        margin-right: 3px;
    }
}

@media (max-width: 480px) {
    .urun-ana-resim {
        min-height: 250px;
    }
    
    .urun-detay-arac-logo {
        width: 50px;
        height: 50px;
    }
    
    .kod-label {
        min-width: 80px;
    }
    
    .fiyat {
        font-size: 22px;
    }
    
    .fiyat-bilgi {
        font-size: 12px;
    }
    
    .ozellikler-tablo th {
        display: block;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .ozellikler-tablo td {
        display: block;
        width: 100%;
        padding-top: 0;
    }

    /* Çok küçük ekranlarda benzer ürünler */
    .benzer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ========== MOBİLDE ANA ÜRÜN RESMİ TAŞMA SORUNU  ========== */
@media (max-width: 768px) {
    /* Resmin kapsayıcısını sınırla */
    .urun-ana-resim {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Ana ürün resmini tamamen kontrol et */
    #mainProductImage,
    .urun-ana-resim img#mainProductImage,
    img#mainProductImage {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        float: none !important;
        clear: both !important;
        transform: none !important;
        -webkit-transform: none !important;
        box-sizing: border-box !important;
    }
    
    /* Hover efekti sırasında da taşmasın */
    .urun-ana-resim:hover #mainProductImage,
    .urun-ana-resim:hover img#mainProductImage {
        transform: scale(0.99) !important;
        -webkit-transform: scale(0.99) !important;
    }
}

/* Ekstra güvenlik - tüm ekran boyutları için */
#mainProductImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===== STOK BİLGİSİ VE LOGOLAR ===== */
.urun-stok-bilgi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.stok-durum {
    flex-shrink: 0;
}

.odeme-kargo-logolar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    transition: transform 0.2s ease;
    border-radius: 6px;
    background: #fff;
    padding: 4px 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* ===== MOBİL UYUM (ORTALI) ===== */
@media (max-width: 768px) {
    .urun-stok-bilgi {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    
    .stok-durum {
        text-align: center;
    }
    
    .odeme-kargo-logolar {
        justify-content: center;
        gap: 15px;
    }
    
    .logo-img {
        height: 45px;
        max-width: 90px;
    }
}

@media (max-width: 480px) {
    .urun-stok-bilgi {
        gap: 10px;
    }
    
    .logo-img {
        height: 40px;
        max-width: 80px;
        padding: 3px 6px;
    }
}


/* Referans Kodları Tab Stili */
.referans-kodlari-icerik {
    padding: 30px;
    text-align: center;
}

.referans-baslik {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Tek kod görünümü */
.referans-tek-kod {
    padding: 20px;
}

.referans-buyuk-kod {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px 40px;
    border-radius: 16px;
    display: inline-block;
    letter-spacing: 3px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Çoklu kod görünümü */
.referans-coklu-kod {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.referans-kod-listesi {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.referans-kod-listesi li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0d6efd;
    transition: all 0.2s ease;
}

.referans-kod-listesi li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.referans-kod-degeri {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

.referans-not {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 13px;
    color: #6c757d;
}

.referans-not i {
    margin-right: 6px;
    color: #0d6efd;
}


/* ============================================ */
/* === ÖZELLİKLER - KART TASARIMI (FLEX) === */
/* ============================================ */

.kart-ozellikler .ozellikler-grid {
    overflow-x: visible;
}

.kart-ozellikler .ozellikler-tablo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    box-shadow: none;
}

.kart-ozellikler .ozellikler-tablo tr {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.kart-ozellikler .ozellikler-tablo tr:hover {
    border-color: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.1);
}

.kart-ozellikler .ozellikler-tablo th {
    flex: 0 0 140px;
    padding: 14px 18px;
    background: #f8f9fa;
    font-size: 13px;
    font-weight: 600;
    color: #ff6b6b;
    border-right: 1px solid #f0f0f0;
}

.kart-ozellikler .ozellikler-tablo td {
    flex: 1;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
}

@media (max-width: 768px) {
    .kart-ozellikler .ozellikler-tablo tr {
        flex-direction: column;
    }
    
    .kart-ozellikler .ozellikler-tablo th {
        flex: auto;
        padding: 10px 16px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .kart-ozellikler .ozellikler-tablo td {
        padding: 12px 16px;
    }
}

/* ============================================ */
/* === MOBİL ÖZELLİKLER - YAN YANA TABLO GÖRÜNÜMÜ === */
/* ============================================ */

@media (max-width: 768px) {
    
    /* Özellikler sekmesi için özel düzenleme */
    .tab-pane#tab-ozellikler-pane .ozellikler-grid.kart-ozellikler .ozellikler-tablo,
    .kart-ozellikler .ozellikler-tablo {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    .kart-ozellikler .ozellikler-tablo tr {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #fff;
        border: 1px solid #eef2f6;
        border-radius: 10px;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    
    .kart-ozellikler .ozellikler-tablo th {
        flex: 0 0 110px !important;
        width: 110px !important;
        min-width: 110px !important;
        padding: 10px 12px !important;
        background: #fafbfc;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #ff6b6b !important;
        border-right: 1px solid #eef2f6 !important;
        border-bottom: none !important;
        text-align: left !important;
        margin: 0 !important;
    }
    
    .kart-ozellikler .ozellikler-tablo td {
        flex: 1 !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #1a1a2e !important;
        background: #fff;
        border-bottom: none !important;
        text-align: left !important;
        word-break: break-word;
    }
    
    /* OEM kodu için özel font */
    .kart-ozellikler .ozellikler-tablo td {
        font-family: monospace;
        font-size: 12px;
    }
    
    /* Stok durumu özel */
    .kart-ozellikler .ozellikler-tablo tr:last-child td {
        color: #2e7d32;
        font-weight: 600;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .kart-ozellikler .ozellikler-tablo th {
        flex: 0 0 90px !important;
        width: 90px !important;
        min-width: 90px !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    .kart-ozellikler .ozellikler-tablo td {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

/* Özellikler Tablosu Link Stili */
.ozellik-link {
    color: #1a1a2e;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px dashed #ff6b6b;
    display: inline-block;
}

.ozellik-link:hover {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
    transform: translateX(2px);
}

/* Mobilde linkler */
@media (max-width: 768px) {
    .kart-ozellikler .ozellikler-tablo td .ozellik-link {
        display: inline-block;
        word-break: break-word;
        width: 100%;
    }
}

/* ========== REFERANS KODLARI - MOBİL DÜZENLEME ========== */

/* Genel referans kodları container */
.referans-kodlari-icerik {
    padding: 30px 15px;
    text-align: center;
    width: 100%;
    overflow-x: hidden;
}

/* Tek kod görünümü - mobil düzeltme */
.referans-tek-kod {
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
}

.referans-buyuk-kod {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #2c3e50;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px 20px;
    border-radius: 16px;
    display: inline-block;
    letter-spacing: 3px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Çoklu kod görünümü - mobil uyum */
.referans-coklu-kod {
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.referans-kod-listesi {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.referans-kod-listesi li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0d6efd;
    transition: all 0.2s ease;
}

/* ===== MOBİL ÖZEL DÜZELTMELER ===== */
@media (max-width: 768px) {
    .referans-kodlari-icerik {
        padding: 20px 12px;
    }
    
    /* TEK KOD - MOBİL */
    .referans-tek-kod {
        padding: 15px 5px;
    }
    
    .referans-buyuk-kod {
        font-size: 18px !important;
        padding: 15px 12px !important;
        letter-spacing: 2px;
        display: block;
        width: 100%;
        text-align: center;
        word-break: break-all;
        white-space: normal;
        line-height: 1.4;
    }
    
    /* ÇOKLU KOD - MOBİL */
    .referans-coklu-kod {
        padding: 0;
    }
    
    .referans-kod-listesi li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }
        
    .referans-kod-degeri {
        font-size: 13px;
        word-break: break-all;
        white-space: normal;
    }
    
    .referans-baslik {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .referans-not {
        font-size: 11px;
        margin-top: 20px;
        padding: 12px;
        text-align: center;
    }
}

/* Çok küçük ekranlar için (max-width: 480px) */
@media (max-width: 480px) {
    .referans-buyuk-kod {
        font-size: 16px !important;
        padding: 12px 10px !important;
        letter-spacing: 1px;
    }
    
    .referans-kod-listesi li {
        padding: 10px;
    }
    
    .referans-kod-degeri {
        font-size: 12px;
    }
}