/* =========================================
   1. GENEL DEĞİŞKENLER VE TEMEL YAPI
   ========================================= */
:root { 
    --dark-green: #1a4332; 
    --leaf-green: #2d6a4f; 
    --soft-green: #f0f4f2; 
    --bamboo-yellow: #d4e09b;
    --gold: #b79d5c;
}
body { 
    font-family: 'Segoe UI', Roboto, sans-serif; 
    color: var(--dark-green);
    background-color: var(--soft-green); 
    overflow-x: hidden;
}

/* =========================================
   2. ORTAK ŞABLON (NAVBAR, FOOTER, HEADER)
   ========================================= */
.navbar { background: rgba(255, 255, 255, 0.95) !important; backdrop-filter: blur(10px); border-bottom: 2px solid var(--leaf-green); }
.nav-link { color: var(--dark-green) !important; font-weight: 600; margin: 0 10px; }
.nav-link:hover, .nav-link.active { color: var(--leaf-green) !important; }

/* Hakkımızda ve Markalarımız Sayfaları Ortak Üst Başlık */
.page-header, .about-header { background: linear-gradient(135deg, var(--dark-green) 0%, var(--leaf-green) 100%); color: white; padding: 60px 0; border-bottom: 4px solid var(--gold); text-align: center; }

footer { background: var(--dark-green); color: white; padding: 50px 0; margin-top: 80px; }

/* =========================================
   3. KARTLAR VE KUTULAR (UI BİLEŞENLERİ)
   ========================================= */
/* Ortak Gölgeli Kutu Özellikleri */
.feature-card, .direct-brand-box, .cta-box { background: var(--soft-green); border-radius: 20px; transition: 0.3s; }
.feature-card:hover, .direct-brand-box:hover { background: var(--bamboo-yellow); transform: scale(1.05); }
.feature-card { padding: 30px; height: 100%; border: none; }

.firm-card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; transition: all 0.3s ease; height: 100%; box-shadow: 0 4px 6px rgba(0,0,0,0.01); }
.firm-card:hover { transform: translateY(-5px); box-shadow: 0 12px 20px rgba(26, 67, 50, 0.08); border-color: var(--leaf-green); }

.product-card { background: #fff; border: 2px solid transparent; border-radius: 18px; transition: 0.3s; height: 100%; display: flex; flex-direction: column; overflow: hidden; position: relative; contain: content; }
.product-card.in-cart { border-color: var(--leaf-green); box-shadow: 0 8px 20px rgba(45, 106, 79, 0.15); }

.main-card { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; margin-top: -30px; position: relative; z-index: 10; }
.product-container { background: white; border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); overflow: hidden; max-width: 1300px; width: 100%; border: 1px solid #eee; position: relative; margin: 40px auto; }

/* =========================================
   4. BUTONLAR VE ETİKETLER (BADGES)
   ========================================= */
.btn-chook { background-color: var(--leaf-green); color: white; border-radius: 50px; padding: 12px 35px; font-weight: bold; transition: 0.3s; border: none; display: inline-block; text-decoration: none; }
.btn-chook:hover { background-color: var(--dark-green); color: var(--bamboo-yellow); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.region-badge, .stock-badge { border-radius: 50px; font-weight: bold; }
.region-badge { background: var(--soft-green); color: var(--leaf-green); border: 1px solid rgba(45, 106, 79, 0.2); padding: 6px 14px; font-size: 13px; display: inline-block; margin: 4px; }
.stock-badge { position: absolute; top: 15px; right: 15px; z-index: 5; font-size: 11px; padding: 5px 10px; }

/* Sabit Yüzen Butonlar (Sepet, Geri, Paylaş) */
.back-btn, .share-btn, .order-page-btn { background: white; border: none; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; transition: 0.3s; z-index: 100; cursor: pointer; }
.back-btn { position: fixed; top: 80px; left: 20px; width: 45px; height: 45px; border-radius: 50%; color: var(--dark-green); }
.order-page-btn { position: fixed; top: 80px; left: 75px; padding: 0 20px; height: 45px; border-radius: 25px; color: var(--dark-green); text-decoration: none; font-weight: bold; font-size: 14px; }
.share-btn { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; color: var(--leaf-green); border: 1px solid #ddd; }
.back-btn:hover, .order-page-btn:hover { background: var(--dark-green); color: white; }
.share-btn:hover { background: var(--soft-green); transform: scale(1.1); }

#cartFloatBtn { position: fixed; bottom: 30px; right: 30px; background: var(--dark-green); color: white; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: none; z-index: 1050; }
#cartCount { position: absolute; top: 0; right: 5px; background: #ffc107; color: #000; border-radius: 50%; width: 24px; height: 24px; font-size: 12px; font-weight: bold; display: flex; align-items: center; justify-content: center; }

/* Form ve Adet Kontrolleri */
.qty-controls-container, .qty-controls { display: flex; align-items: center; justify-content: center; border-radius: 50px; padding: 4px; }
.qty-controls-container { background: var(--dark-green); min-width: 105px; }
.qty-controls { background: white; border: 2px solid var(--dark-green); width: fit-content; padding: 5px; }
.qty-btn-inline { background: rgba(255,255,255,0.2); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.qty-btn { border: none; background: var(--dark-green); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.qty-btn:hover { background: var(--leaf-green); }
.qty-text { color: white; font-weight: bold; margin: 0 10px; font-size: 0.9rem; }
.qty-val { min-width: 50px; text-align: center; font-weight: bold; font-size: 1.3rem; color: var(--dark-green); }

/* =========================================
   5. İÇERİK VE İNCE AYARLAR (GÖRSELLER, LİSTELER)
   ========================================= */
/* Görsel Çakışmasını Önleyen Sistem (Scoping) */
.product-card .product-img { height: 180px; object-fit: contain; padding: 15px; width: 100%; cursor: pointer; background: #fff; }
.product-img-side .product-img { width: 100%; max-height: 800px; object-fit: contain; transition: 0.3s; }

.price-tag { font-size: 2.8rem; font-weight: 800; color: var(--dark-green); margin: 15px 0; }
.section-title { color: var(--dark-green); font-weight: 800; position: relative; padding-bottom: 12px; margin-top: 50px; margin-bottom: 30px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 4px; background-color: var(--gold); border-radius: 2px; }

/* Sipariş Sayfası Izgara/Liste Yapısı */
.list-view-item { flex-direction: row !important; align-items: center; padding: 10px 20px; height: auto !important; }
.list-view-item .product-img { display: none; }
.list-view-item .card-body { padding: 5px 0; width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.list-view-item .item-info { flex: 1; min-width: 200px; }
.list-view-item .item-actions { display: flex; align-items: center; gap: 15px; min-width: 200px; justify-content: flex-end; }
.wrapper { display: flex; align-items: stretch; min-height: 100vh; }
#sidebar { min-width: 300px; max-width: 300px; background: #fff; border-right: 1px solid #dee2e6; padding: 20px; z-index: 100; }
#content { width: 100%; padding: 25px; padding-bottom: 120px; }
.cat-item { padding: 12px; margin-bottom: 4px; border-radius: 10px; cursor: pointer; color: #555; font-weight: 500; display: flex; align-items: center; }
.cat-item:hover { background-color: var(--soft-green); }
.cat-item.active { background-color: var(--dark-green); color: white; }

/* Diğer Bileşenler (Küçük Resimler, Hizmet Listesi vb.) */
.hero-section { background: linear-gradient(rgba(20, 50, 35, 0.9), rgba(20, 50, 35, 0.9)), url('https://images.unsplash.com/photo-1543062229-334157d3c33d?auto=format&fit=crop&q=80&w=2000&fm=webp'); background-size: cover; background-position: center; min-height: 80vh; display: flex; align-items: center; color: white; position: relative; }
.hero-section::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(to top, #fff, transparent); }
.out-of-stock { opacity: 0.7; }
.product-link { text-decoration: none; color: inherit; cursor: pointer; }
.product-link:hover { color: var(--leaf-green); }
.view-toggle-btn { background: white; border: 1px solid #dee2e6; color: #555; padding: 5px 12px; transition: 0.2s; }
.view-toggle-btn.active { background: var(--dark-green); color: white; border-color: var(--dark-green); }
#reader { width: 100%; border-radius: 15px; overflow: hidden; display: none; margin-bottom: 15px; }
.thumb-container { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; width: 100%; justify-content: center; }
.thumb-img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: 0.2s; background: #fff; }
.thumb-img:hover { transform: scale(1.05); }
.thumb-img.active { border-color: var(--leaf-green); }
.service-item { border-left: 3px solid var(--gold); padding-left: 15px; margin-bottom: 20px; }
.product-img-side { background: #fff; display: flex; align-items: center; justify-content: center; padding: 40px; position: relative; min-height: 400px; }
.info-side { padding: 40px; background: #fafafa; border-left: 1px solid #f0f0f0; }
.firm-name { color: var(--dark-green); font-weight: 700; font-size: 1.3rem; margin-bottom: 2px; }
.firm-web { font-size: 13px; color: var(--leaf-green); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 15px; }
.firm-web:hover { text-decoration: underline; color: var(--gold); }
.sub-brand-list { list-style: none; padding-left: 0; margin-bottom: 0; border-top: 1px solid #f1f5f9; padding-top: 12px; }
.sub-brand-list li { padding: 5px 0; font-size: 14px; color: #475569; display: flex; align-items: center; gap: 8px; }
.sub-brand-list li i { color: var(--gold); }
.direct-brand-title { font-weight: 700; font-size: 16px; margin-bottom: 2px; color: var(--dark-green); }
.details-section { border-top: 1px solid #eee; margin-top: 30px; padding-top: 25px; }
.details-content { color: #555; line-height: 1.6; font-size: 0.95rem; white-space: pre-line; }

/* =========================================
   6. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .wrapper { flex-direction: column; }
    #sidebar { min-width: 100%; max-width: 100%; border-bottom: 1px solid #eee; }
    .cat-list { display: flex; overflow-x: auto; padding-bottom: 10px; }
}
@media (max-width: 768px) {
    .product-container { flex-direction: column; }
    .info-side { border-left: none; border-top: 1px solid #eee; padding: 30px; }
    .price-tag { font-size: 2.2rem; }
    .order-page-btn { padding: 0 15px; font-size: 12px; left: 70px; }
}
/* =========================================
   9. BANKALAR (BANKALAR.HTML) SAYFASI ÖZEL STİLLERİ
   ========================================= */
.bank-container { background: white; border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); overflow: hidden; max-width: 750px; width: 100%; border: 1px solid #eee; margin: auto; padding: 35px; }
.navbar-brand-custom { text-decoration: none; display: block; text-align: center; margin-bottom: 25px; }
.bank-card { border: 1px solid #eee; transition: 0.2s; }
.bank-card:hover { border-color: var(--leaf-green); background-color: #fafafa; }
.copy-btn { color: var(--leaf-green); cursor: pointer; transition: 0.2s; }
.copy-btn:hover { color: var(--dark-green); transform: scale(1.1); }

@media (max-width: 768px) {
    .bank-container { padding: 80px 15px 30px 15px; margin-top: 20px; }
}

/* =========================================
   10. ÜRÜN LİSTESİ (SEO) SAYFASI ÖZEL STİLLERİ
   ========================================= */
.list-header { position: sticky; top: 0; z-index: 1000; text-align: center; padding: 20px; background: linear-gradient(135deg, var(--dark-green) 0%, var(--leaf-green) 100%); color: white; border-bottom: 4px solid var(--gold); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.nav-home { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: white; text-decoration: none; font-size: 14px; border: 1px solid rgba(255,255,255,0.4); padding: 8px 15px; border-radius: 20px; transition: 0.3s; background: rgba(255,255,255,0.1); }
.nav-home:hover { background: var(--gold); border-color: var(--gold); color: white; }
.brand-name { font-size: clamp(20px, 5vw, 32px); font-weight: 900; margin: 0; letter-spacing: 3px; text-transform: uppercase; }
.sub-title { font-size: clamp(10px, 3vw, 14px); font-weight: 300; margin-top: 5px; opacity: 0.9; letter-spacing: 2px; }

.seo-table-container { max-width: 1100px; margin: 30px auto; padding: 0 15px; }
.seo-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.seo-table th { background-color: var(--dark-green); color: white; padding: 15px; text-align: left; font-size: 13px; text-transform: uppercase; border: none; }
.seo-table tr { background-color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: 0.2s; }
.seo-table tr:hover { transform: scale(1.01); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.seo-table td { padding: 15px; vertical-align: middle; border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: white; }
.seo-table td:first-child { border-left: 1px solid #eee; border-radius: 10px 0 0 10px; }
.seo-table td:last-child { border-right: 1px solid #eee; border-radius: 0 10px 10px 0; }

.barcode-badge { font-family: monospace; font-weight: bold; color: var(--dark-green); background: #e9f5ee; padding: 5px 10px; border-radius: 5px; }
.prod-img-list { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; border: 1px solid #eee; background: #fff; }
.prod-name { font-weight: 600; color: var(--dark-green); }
.btn-go { display: inline-block; padding: 8px 18px; background: var(--dark-green); color: white; text-decoration: none; border-radius: 20px; font-weight: bold; font-size: 13px; transition: 0.3s; }
.btn-go:hover { background: var(--gold); color: white; }

@media (max-width: 768px) {
    .nav-home { position: static; display: inline-block; margin-bottom: 10px; transform: none; }
    .list-header { padding: 15px; }
    .seo-table, .seo-table thead, .seo-table tbody, .seo-table th, .seo-table td, .seo-table tr { display: block; }
    .seo-table thead tr { position: absolute; top: -9999px; left: -9999px; }
    .seo-table tr { margin-bottom: 20px; border-radius: 10px; border: 1px solid #ddd; }
    .seo-table td { border: none; position: relative; padding-left: 45%; text-align: right; min-height: 40px; }
    .seo-table td:before { position: absolute; left: 15px; width: 40%; padding-right: 10px; white-space: nowrap; text-align: left; font-weight: bold; color: var(--dark-green); content: attr(data-label); }
    .seo-table td:first-child, .seo-table td:last-child { border-radius: 0; }
    .prod-img-list { width: 120px; height: 120px; }
}

/* =========================================
   11. CHOOK NEDİR (HİKAYE) SAYFASI ÖZEL STİLLERİ
   ========================================= */
.story-container { max-width: 900px; margin: 50px auto; padding: 20px; }
.story-card { background: white; border-radius: 30px; padding: 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05); line-height: 1.8; }
.story-header-title { color: var(--leaf-green); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.story-sub-title { color: #666; font-size: 1.1rem; margin-bottom: 40px; display: block; }

.formula-section { background: var(--dark-green); color: var(--bamboo-yellow); padding: 40px; border-radius: 20px; text-align: center; margin: 40px 0; }
.formula-text { font-family: 'Times New Roman', serif; font-size: 3rem; font-weight: bold; display: block; margin-bottom: 10px; }
.formula-desc { font-size: 1.2rem; opacity: 0.9; }

.highlight-box { border-left: 5px solid var(--leaf-green); padding-left: 25px; margin: 30px 0; font-style: italic; font-size: 1.2rem; }
.element-breakdown { font-weight: 800; color: var(--leaf-green); font-size: 1.5rem; letter-spacing: 5px; }
.story-footer-note { font-weight: bold; text-align: center; margin-top: 50px; color: var(--leaf-green); }

@media (max-width: 768px) {
    .story-card { padding: 30px; }
    .formula-text { font-size: 2rem; }
}

/* =========================================
   12. SİPARİŞ TAKİP (TAKİP) SAYFASI ÖZEL STİLLERİ
   ========================================= */
.tracking-container { background: white; border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); overflow: hidden; max-width: 750px; width: 100%; border: 1px solid #eee; margin: auto; padding: 35px; }
.status-timeline { position: relative; padding-left: 30px; margin-top: 25px; }
.status-timeline::before { content: ''; position: absolute; left: 9px; top: 5px; bottom: 5px; width: 2px; background: #dee2e6; }
.timeline-item { position: relative; margin-bottom: 25px; opacity: 0.5; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #ced4da; border: 2px solid white; box-shadow: 0 0 0 3px #dee2e6; }
.timeline-item.active { opacity: 1; }
.timeline-item.active::before { background: var(--leaf-green); box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.25); }
.captcha-box { background: #e9ecef; font-weight: bold; font-size: 1.2rem; letter-spacing: 3px; font-style: italic; color: var(--dark-green); border-radius: 10px; user-select: none; padding: 8px 20px; border: 1px dashed #ced4da; }
.timeline-comment-link { color: var(--leaf-green); font-weight: 600; text-decoration: underline; word-break: break-all; }
.timeline-comment-link:hover { color: var(--dark-green); }

@media (max-width: 768px) {
    .tracking-container { padding: 35px 15px; margin-top: 20px; }
}

