/* karton_canta.css */

/* Sayfa Üst Başlıkları */
.karton-canta-title-container {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0.5rem;
    background-color: #375e38; /* Koyu Yeşil Arka Plan */
}

.page-title-main {
    font-size: 2.5rem;
    font-weight: 900;
    color: white; 
    margin-bottom: 0.2rem;
}

.page-subtitle-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff9800; /* Turuncu Vurgu */
    margin: 0;
    padding: 0 10px;
}

/* Tablo Genel Stili */
.karton-canta-tables table {
    width: 85%; /* Orta genişlik */
    margin: 2rem auto;
    border-collapse: collapse;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Tablo Başlık Satırı */
.karton-canta-tables .table-header-row th {
    background-color: #333; /* Koyu Gri Başlık */
    color: white;
    font-weight: 700;
    padding: 1rem 0.5rem;
    border: 1px solid #222;
}

/* Tablo Satırları */
.karton-canta-tables .table-row {
    background-color: #fcfcfc;
}

.karton-canta-tables td {
    padding: 1rem 0.5rem;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* Kod ve Ebat Kolonları */
.karton-canta-tables .kod-col {
    font-weight: 700;
    color: #c0392b; /* Kırmızı Kod */
    background-color: #eee;
    width: 10%;
}

.karton-canta-tables .ebat-col {
    font-weight: 600;
    color: #1e3a5f; /* Koyu Mavi Ebat */
    text-align: left;
    padding-left: 1rem;
    width: 35%;
}

.karton-canta-tables .highlight-ebat {
    background-color: #fffde7; /* Yatay ebatlar için hafif sarı arka plan */
}

/* Fiyat Hücreleri */
.karton-canta-tables .price-cell {
    font-weight: 900;
    color: #375e38; /* Koyu Yeşil Fiyat */
    font-size: 1.1rem;
    width: 18.3%; /* Kalanı eşit dağıtmak için */
}

/* Yeni Satır Vurgusu */
.karton-canta-tables .new-row {
    background-color: #e8f5e9; /* Açık Yeşil */
}

.badge-yeni {
    background: #c0392b;
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 900;
    margin-right: 5px;
}

/* Alt Resim */
.bottom-image-container {
    text-align: center;
    margin-top: 30px;
    padding: 0 15px;
}

.bottom-image-container .bottom-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* ORTAK ALT NOTLAR STİLİ (index.css'ten gelmeli, ancak burada da tanımlandı) */
.alt-notlar {
    text-align: center;
    padding: 2rem 0 3rem;
    line-height: 1.5;
}

.warning-text-large {
    font-size: 1.5rem;
    font-weight: 900;
    color: #c0392b; /* Kırmızı renk */
    margin-bottom: 0.5rem;
}

.warning-text-small {
    font-size: 0.9rem;
    color: #2b547d;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .karton-canta-tables table {
        width: 100%;
        margin: 1rem auto;
    }
    
    .page-title-main {
        font-size: 1.8rem;
    }
    
    .page-subtitle-main {
        font-size: 0.9rem;
    }

    .karton-canta-tables th, .karton-canta-tables td {
        padding: 0.7rem 0.3rem;
        font-size: 0.75rem;
    }
    
    .karton-canta-tables .ebat-col {
        width: 40%;
        padding-left: 0.5rem;
    }
    
    .karton-canta-tables .price-cell {
        font-size: 0.9rem;
    }
    
    .warning-text-large {
        font-size: 1.2rem;
    }
}


<script>
    function toggleMenu() {
        const sidebar = document.querySelector('.sidebar');
        sidebar.classList.toggle('open');
    }
</script>