/**
 * =========================================================
 * CLEMIX KİMYA – ÜRÜN DETAY SAYFASI STİLLERİ (FULL VERSION)
 * =========================================================
 */

/* 1️⃣ GENEL SAYFA VE KONTEYNER AYARLARI */
html {
    scroll-behavior: auto !important;
}

.urun-detay-main {
    /* Header yüksekliğine göre üst boşluk, alt için dengeli padding */
    padding: 140px 0 100px 0; 
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    
    /* Clemix Kurumsal Arka Plan Yapısı */
    background-color: #0F2A6B; /* --primary-blue */
    
    /* Arka plan katmanları: Nokta dokusu ve 3'lü gradyan geçişi */
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.08) 0.8px, transparent 0.8px), 
        radial-gradient(at 0% 0%, rgba(30, 136, 229, 0.15) 0px, transparent 50%), 
        radial-gradient(at 100% 0%, rgba(245, 124, 34, 0.1) 0px, transparent 50%),
        linear-gradient(135deg, #0F2A6B 0%, #2a52be 50%, #16327a 100%);

    background-size: 30px 30px, 100% 100%, 100% 100%, 100% 100%;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed; /* Sayfa kayarken derinlik hissi sağlar */
}

.urun-detay-main::before {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(120px);
    width: 500px; 
    height: 500px;
    background: radial-gradient(circle, rgba(245, 124, 34, 0.1) 0%, transparent 70%);
    top: 10%; 
    left: -100px;
    opacity: 0.6;
}

.urun-detay-main::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 124, 34, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.clemix-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 2️⃣ ÜST BÖLÜM */
.urun-ust-izgara {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 75px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(15, 42, 107, 0.05);
    margin-top: 50px;
}

.ana-gorsel-cerceve img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 3️⃣ EKMEK KIRINTISI VE TEKLİF BUTONU */
.kategori-ekmek-kirintisi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.kategori-ekmek-kirintisi a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.teklif-al-btn {
    background: linear-gradient(135deg, #F57C22 0%, #0F2A6B 100%);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
    min-width: fit-content;

}

.teklif-al-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* 4️⃣ ÜRÜN BAŞLIĞI */
.urun-baslik-alan h1 {
    font-size: 24px;
    color: #0F2A6B;
    margin: 15px 0;
    line-height: 1.3;
}

.urun-baslik-alan img.marka-logo-icon {
    width: auto !important;
    height: 50px !important;
    max-width: 150px !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 10px;
}

/* 5️⃣ TEKNİK BİLGİ TABLOSU */
.teknik-tablo {
    border: 1px solid #e1e8ed;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tablo-satir {
    display: flex;
    border-bottom: 1px solid #f0f4f8;
}

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

.tablo-hucre {
    flex: 1;
    padding: 20px 10px;
    text-align: center;
    border-right: 1px solid #f0f4f8;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tablo-hucre:last-child { border-right: none; }

.teknik-ikon-yeni {
    font-size: 22px;
    color: #94a3b8;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.tablo-hucre .etiket {
    display: block;
    font-size: 10px;
    color: #F57C22;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tablo-hucre .deger {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.barkod-alan {
    flex: 1.8 !important;
    background: #ffffff !important;
    padding: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.teknik-barkod-img {
    max-width: 100%;
    height: auto;
    max-height: 65px;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.1) brightness(0.98);
}

.hakkinda-btn {
    transition: all 0.4s ease;
    background-color: #f9fdfd;
    cursor: pointer;
    border-left: 2px solid #F57C22;
}

.hakkinda-btn:hover {
    background: linear-gradient(90deg, #0F2A6B 0%, #F57C22 100%) !important;
}

.hakkinda-btn:hover .etiket,
.hakkinda-btn:hover .deger,
.hakkinda-btn:hover i {
    color: #ffffff !important;
}

.hakkinda-btn i {
    margin-top: 8px;
    font-size: 16px;
    color: #F57C22;
    transition: transform 0.3s ease;
}

.hakkinda-btn:hover i {
    transform: translateY(4px);
}

/* 6️⃣ ALT BÖLÜM */
.urun-alt-detay {
    margin-top: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    border-top: 5px solid #F57C22;
}

.urun-uzun-baslik {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.urun-uzun-baslik h2 {
    font-size: 20px;
    color: #0F2A6B;
    margin: 0;
    font-weight: 600;
}

.urun-metin-icerik {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
    margin-bottom: 40px;
}

/* 7️⃣ DOKÜMAN KARTLARI */
.dokuman-kartlari {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    width: 100%;
}

.detay-kart {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: space-between;
}

.detay-kart h3 {
    width: 100%;
    text-align: center;
    color: #0F2A6B;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0 !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.dosya-bilgi {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.pdf-ikon-ozel {
    font-size: 28px !important;
    color: #E53935 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.dosya-bilgi span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1;
}

.pasif-btn {
    background: #ccc !important;
    color: #888 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
    filter: grayscale(1) !important;
}

.pasif-btn i {
    color: #888 !important;
}

.indir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(90deg, #F57C22 0%, #0F2A6B 100%);
    color: #fff !important;
    padding: 8px 20px !important;
    height: 40px !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0 !important;
}

.indir-btn:hover {
    background: linear-gradient(90deg, #0F2A6B 0%, #F57C22 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 124, 34, 0.4);
}

.indir-btn i {
    font-size: 18px !important;
    margin: 0 !important;
}

.indir-btn img {
    width: 20px !important;
    height: auto !important;
    margin: 0 !important;
}

/* 8️⃣ HATA ÖNLEME */
.marka-logo-icon, .breadcrumb-icon-small {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.breadcrumb-icon-small {
    width: 20px;
    height: 20px;
}

.marka-logo-icon[src=""], .marka-logo-icon:not([src]) {
    display: none !important;
}